www.tombraiderforums.com

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor > Tomb Raider Level Editor Tutorials

Closed Thread
 
Thread Tools
Old 25-01-16, 14:38   #1
AkyV
Moderator
 
Join Date: Dec 2011
Location: Hungary
Posts: 2,515
Default TRNG – Manually turning Lara’s chase camera ingame

Made using TRNG 1.2.2.7.+

Turning the chase camera ingame is a great feature, because the camera will keep the position you adjusted manually – till you adjust another position manually.

You say you can’t turn manually the chase camera, only the look camera. Yes, you are right, but there is a trick so you can accomplish that.
All you need are several Parameters= PARAM_SET_CAMERA Script commands. Each command will define a customized position for the chase camera. You will hit keys to make the camera jump from one position to another:

Key A: moving the camera leftwards (clockwise) around Lara.
Key D: moving the camera rightwards (anti-clockwise) around Lara.
Key W: moving the camera upwards around Lara.
Key S: moving the camera downwards around Lara.

Each horizontal (left/right) movement is 22.5 degrees.
Each vertical (up/down) movement is 33.3 degrees.

There are 16 positions horizontally in each vertical level. 22.5×16= 360 degrees, so you can turn the camera horizontally in a whole circle, either leftwards or rightwards.

There are 5 positions vertically in each horizontal level= +66.6º, +33.3º, 0º, -33.3º, -66.6º. So there is no 180 degrees’ sized interval vertically, you can’t look at Lara above +66.6º or below -66.6º. But is it really necessary? I mean, would you like to look at Lara in 90 degrees or such, from above or below? (This limitation is necessary, because of the relatively low maximal amount of PARAM_SET_CAMERA commands. I couldn’t use cameras in some extreme positions.)
The chase camera is usually behind Lara. If you want to move the camera vertically in the left/rigt/front side of Lara, then move it horizontally into the proper position, then move it vertically.

You can also restore the default chase camera position, hitting Key R (R for restore).

Important notes:

- In this setup Lara’s look and battle cameras are disabled, because they are not necessary!
- We can’t jump directly from a PARAM_SET_CAMERA position to another one. First we need to restore the basic camera. It would look really ugly sometimes, wouldn’t it? I mean, eg. if you at 135º horizontally, and you hit Key A to jump 157.5º, then the camera first jumps to 0º before jumping to 157.5º. Fortunately, the camera has no time enough during the turning time to jump back to 0º, that is why it just TRIES to jump back, before jumps to 157.5º. That is why all you will see is a little “shiver”: from 135º towards 0º a bit, and then to 157.5º.

If you are not interested in more details, just jump to the chapter of the setup, copy/paste it into your script, and use it!

How it works

The setup uses five variables:

- Local Byte Alfa1 (LBA1): to adjust the proper horizontal angle for the camera.
- Local Byte Alfa2 (LBA2): to get information about the actual horizontal movements (0: no horizontal move, 1: leftwards, 2: rightwards).
- Local Byte Alfa3 (LBA3): to adjust the proper vertical angle for the camera.
- Local Byte Alfa4 (LBA4): to get information about the actual vertical movements (0: no vertical move, 1: upwards, 2: downwards).
- Current Value (CV): to calculate if LBA1 or LBA3 is even or odd.

An illustration for the horizontal moves:



The default value is 0º. If you hit A then 1 will be added to LBA1 which is 0, so LBA1 will be 1. It is a movement leftwards so LBA2=1. LBA2=1 so 1 will be added automatically to LBA1. LBA1 is 2 now which means the camera jumps from 0º to 22.5º.
Now you hit A again. 1 will be added to LBA1 which is 2, so LBA1 will be 3. It is a movement leftwards so LBA2=1. LBA2=1 so 1 will be added automatically to LBA1. LBA1 is 4 which means the camera jumps from 22.5º to 45º.
Etc.

Go in the other direction now. If you hit D then 1 will be subtracted from LBA1 which is 4, so LBA1 will be 3. It is a movement rightwards so LBA2=2. LBA2=2 so 1 will be subtracted automatically from LBA1. LBA1 is 2 now which means the camera jumps from 45º to 22.5º.
Now you hit D again. 1 will be subtracted from LBA1 which is 2, so LBA1 will be 1. It is a movement rightwards so LBA2=2. LBA2=2 so 1 will be subtracted automatically from LBA1. LBA1 is 0 which means the camera jumps from 22.5º to 0º.
Etc.

As you see, if LBA1 is odd then 1 will be added/subtracted automatically to/from that, but if LBA1 is even, then the camera will jump into a new position. LBA2 will control the direction: if it is Key A then 1 will be added, or if it is Key D then 1 will be subtracted.

So this is what happens:

- A GlobalTrigger: if Key A is hit, then add 1 to LBA1, set 1 in LBA2.
- A GlobalTrigger: if Key D is hit, then subtract 1 from LBA1, set 2 in LBA2.

Each LBA1 value, which is even, has its own GlobalTrigger to move the camera to the proper position: “if LBA1=2 then the horizontal camera angle is 22.5º”, “if LBA1=4 then the horizontal camera angle is 45º” etc.
And there is one more GlobalTrigger, to study if LBA1 is even or odd. If it is odd, then the default camera will be restored, and 1 will be added to LBA1, to make it even (if LBA2=1), or 1 will be subtracted from LBA1, to make it even (if LBA2=2). – So we restore the basic camera for a short moment, due to technical reasons, as I said above.

Notes:

- It is a bit complicated to examine if a value is odd or even. I used this trick: TRNG is not able to use values after the decimal point. So eg. if a value must be 25.4 then it will be considered as 25.
I divide LBA1 by 2. Eg. if it is 17 then it should be 8.5 after the division, but it is 8 in TRNG. Then I multiply it by 2. It is 16, I compare it to the original value. 16 is not 17, so the number is odd.
If the original value is 16, then 16/2=8, 8×2=16, 16=16, so the number is even.
- In fact, I copy LBA1 into Current Value (CV) variable, executing the division/multiplication in CV. And then I compare CV to LBA1.
- The GlobalTriggers for Key A and D will also set 0 in LBA4. That is why the game will know that we are not moving the camera vertically. It is important, because, as you’ll see below, an even/odd analysis is also important for the vertical movement, so we need to know that CV are just used for horizontal (if LBA2 is 1 or 2, not 0) or vertical (if LBA4 is 1 or 2, not 0) movements.
- An interesting situation if the angle is 337.5º, and you hit A to turn it to 360º. 360º is 0º, so LBA1 for 360º must be 0, So if the angle is 337.5º (LBA1=30) then hitting A will add 1 to LBA1, which will be 31. Instead of adding 1 automatically again, the GlobalTrigger will turn it into 0.
- Another interesting situation, if the angle is default, 0º, and you hit D to turn it to 337.5º. So you can’t subtract 1 from LBA1=0 now, but the GlobalTrigger will turn LBA1 into 30, which is the proper value for 337.5º.
- FGT_SINGLE_SHOT_RESUMED is needful in the GlobalTriggers for keys or else the game will detect them many times, if you hit them for a longer time. So not 1, but several times 1, i.e. a bigger value will be added/subtracted to/from the variable without this flag.

An illustration for the vertical moves:



There must be a One Shot FLIPEFFECT (F232) under LARA object, that sets 6 in LBA3 when the level starts!

The default value is 0º. If you hit W then 1 will be added to LBA3 which is 6, so LBA3 will be 7. It is a movement upwards so LBA4=1. LBA4=1 so 1 will be added automatically to LBA3. LBA3 is 8 now which means the camera jumps from 0º to +33.3º.
Now you hit W again. 1 will be added to LBA3 which is 8, so LBA3 will be 9. It is a movement upwards so LBA4=1. LBA4=1 so 1 will be added automatically to LBA3. LBA3 is 10 which means the camera jumps from +33.3º to +66.6º.
Now you hit W again. 1 will be added to LBA3 which is 10, so LBA3 will be 11. As we said, the biggest possible angle is +66.6º, so, when the game detects LBA3=11, then LBA3 will be turned back into 10, Angle +66.6º will be kept.

Go in the other direction now. If you hit S then 1 will be subtracted from LBA3 which is 10, so LBA3 will be 9. It is a movement downwards so LBA4=2. LBA4=2 so 1 will subtracted automatically from LBA3. LBA3 is 8 now which means the camera jumps from +66.6º to +33.3º.
Now you hit S again. 1 will be subtracted from LBA3 which is 8, so LBA3 will be 9. It is a movement downwards so LBA4=2. LBA4=2 so 1 will subtracted automatically from LBA3. LBA3 is 6 now which means the camera jumps from +33.3º to 0º.
Now you hit S again. 1 will be subtracted from LBA3 which is 6, so LBA3 will be 5. It is a movement downwards so LBA4=2. LBA4=2 so 1 will subtracted automatically from LBA3. LBA3 is 4 now which means the camera jumps from 0º to -33.3º.
Now you hit S again. 1 will be subtracted from LBA3 which is 4, so LBA3 will be 3. It is a movement downwards so LBA4=2. LBA4=2 so 1 will subtracted automatically from LBA3. LBA3 is 2 now which means the camera jumps from -33.3º to -66.6º.
Now you hit S again. 1 will be subtracted from LBA3 which is 2, so LBA3 will be 1. As we said, the biggest possible angle is -66.6º, so, when the game detects LBA3=1, then LBA3 will be turned back into 2, Angle -66.6º will be kept.

As you see, if LBA3 is odd then 1 will be added/subtracted automatically to/from that, but if LBA3 is even, then the camera will jump into a new position. LBA4 will control the direction: if it is Key W then 1 will be added, or if it is Key S then 1 will be subtracted.

So this is what happens:

- A GlobalTrigger: if Key W is hit, then add 1 to LBA3, set 1 in LBA4.
- A GlobalTrigger: if Key S is hit, then subtract 1 from LBA3, set 2 in LBA4.

Each LBA3 value, which is even, has its own GlobalTrigger to move the camera to the proper position: “if LBA3=8 then the vertical camera angle is +33.3º”, “if LBA3=10 then the vertical camera angle is +66.6º” etc.
And there is one more GlobalTrigger, to study if LBA3 is even or odd. If it is odd, then the default camera will be restored, and 1 will be added to LBA3, to make it even (if LBA4=1), or 1 will be subtracted from LBA3, to make it even (if LBA4=2). – So we restore the basic camera for a short moment, due to technical reasons, as I said above.

Notes:

- See above how we can examine with CV if a value is odd or even.
- The GlobalTriggers for Key W and S will also set 0 in LBA2. That is why the game will know that we are not moving the camera horizontally. I said above why it is important.

GlobalTriggers for camera angles:

I said above things like this:

“if LBA1=2 then the horizontal camera angle is 22.5º”
“if LBA3=8 then the vertical camera angle is +33.3º”

Naturally those are not true clearly. I mean each camera needs both a horizontal and a vertical coordinate naturally. So, in fact, GlobalTriggers for the angles work like this:

“if LBA1=2 and LBA3=8 then the horizontal camera angle is 22.5º and the vertical camera angle is +33.3º”

Restore the default camera:

We don’t use a PARAM_SET_CAMERA to restore the default camera when you use A/D/W/S keys to reach 0º horizontal and 0º vertical, i.e. if LBA1=0 and if LBA3=6. A PARAM_SET_CAMERA for those coordinates would be meaningless.
Instead, the GlobalTrigger will just activate an F215 trigger to switch off the actual PARAM_SET_CAMERA.

And, as I said above, you can also restore it any time, if you hit Key R.

The whole setup

Just copy and paste it into your script – but first, you also need to check this:

- There must be a One Shot FLIPEFFECT (F232) under LARA object, that sets 6 in LBA3 when the level starts!

- Is there already any other setup in your Script with Current Value variable? If there is, then you need to choose: you can use only this camera setup OR that other setup, you can’t use them both at the same time!

- Is there already any other setup in your Script with any “Local Alfa” variable? If there is, then you need to change them for some other variables in that setup, because this camera setup also uses them!

- Check the GlobalTrigger, TriggerGroup and PARAM_SET_CAMERA ID’s I use in this camera setup. Change them if you already use them in another setup of your script.
If you change any of them, then don’t forget:

a, You should also change the TriggerGroup ID’s in the GlobalTrigger commands.
b, You should also change the PARAM_SET_CAMERA ID’s in “$2000, 214, …” triggers.

;---------control to move the camera left/right
GlobalTrigger= 1, FGT_SINGLE_SHOT_RESUMED, GT_CONDITION_GROUP, IGNORE, 1, 2, IGNORE
TriggerGroup= 1, $8000, 30, $10C ; if key is A
TriggerGroup= 2, $2000, 231, $140, > ; add 1 to LBA1
$2000, 232, $141, > ; set 1 in LBA2
$2000, 232, $43 ; set 0 in LBA4
GlobalTrigger= 2, FGT_SINGLE_SHOT_RESUMED, GT_CONDITION_GROUP, IGNORE, 3, 4, IGNORE
TriggerGroup= 3, $8000, 32, $10C ; if key is D
TriggerGroup= 4, $8000, 64, $2B, > ; if LBA1=0
$2000, 232, $1E40, >; set 30 in LBA1
$2000+TGROUP_ELSE, 233, $140, > ; or else subtract 1 from LBA1
$2000, 232, $241, > set 2 in LBA2
$2000, 232, $43 ; set 0 in LBA4
GlobalTrigger= 500, IGNORE, GT_CONDITION_GROUP, IGNORE, 500, 501, IGNORE ; if LBA1 is odd then...
TriggerGroup= 500, $8000, 67, $2B, > ; if LBA4=0
$2000, 271, $40, > ; copy LBA1 to CV
$2000, 253, $2FF, > ; divide CV by 2
$2000, 251, $2FF, > ; multiply CV by 2
$8000+TGROUP_NOT, 64, $39; if CV is NOT equal with LBA1
TriggerGroup= 501, $2000, 215, $0, > ; restore camera
$8000, 64, $1F2B, > ; if LBA1=31
$2000, 232, $40, > ; set 0 in LBA1
$8000+TGROUP_ELSE, 65, $12B, > ; or else if LBA2=1
$2000, 231, $140, > ; add 1 to LBA1
$2000+TGROUP_ELSE, 233, $140 ; or else subtract 1 from LBA1
;-----control to move the camera up/down
GlobalTrigger= 501, FGT_SINGLE_SHOT_RESUMED, GT_CONDITION_GROUP, IGNORE, 502, 503, IGNORE
TriggerGroup= 502, $8000, 17, $10C ; if key is W
TriggerGroup= 503, $2000, 231, $142, > ; add 1 to LBA3
$2000, 232, $143, > ;set 1 in LBA4
$2000, 232, $41 ; set 0 in LBA2
GlobalTrigger= 502, FGT_SINGLE_SHOT_RESUMED, GT_CONDITION_GROUP, IGNORE, 504, 505, IGNORE
TriggerGroup= 504, $8000, 31, $10C ; if key is S
TriggerGroup= 505, $2000, 233, $142, > ; subtract 1 from LBA3
$2000, 232, $243, > ; set 2 in LBA4
$2000, 232, $41 ; set 0 in LBA2
GlobalTrigger= 503, IGNORE, GT_CONDITION_GROUP, IGNORE, 506, 507, IGNORE ; if LBA3 is odd then...
TriggerGroup= 506, $8000, 65, $2B, > ;if LBA2=0
$2000, 271, $42, > ; copy LBA3 to CV
$2000, 253, $2FF, > ; divide CV by 2
$2000, 251, $2FF, > ; multiply CV by 2
$8000+TGROUP_NOT, 66, $39; if CV is NOT equal with LBA3
TriggerGroup= 507, $2000, 215, $0, > ; restore camera
$8000, 66, $B2B, > ; if LBA3=11
$2000, 232, $A42, > ; set 10 in LBA3
$8000+TGROUP_ELSE, 66, $12B, > ; or else if LBA3=1
$2000, 232, $242, > ; set 2 in LBA3
$8000+TGROUP_ELSE, 67, $12B, > ; or else if LBA4=1
$2000, 231, $142, > ; add 1 to LBA3
$2000+TGROUP_ELSE, 233, $142 ; or else subtract 1 from LBA3
;----------------disable Combat+Look camera
GlobalTrigger= 600, IGNORE, GT_ALWAYS, IGNORE, IGNORE, 601, IGNORE
TriggerGroup= 601, $2000, 121, $1, $2000, 121, $0 ; disable Combat+Look camera
;----------------restore the default camera
GlobalTrigger= 3, IGNORE, GT_KEYBOARD_CODE, 19, 5, IGNORE ; if key is R
TriggerGroup= 5, $2000, 215, $0, > ; restore camera
$2000, 232, $40, > ; set 0 in LBA1
$2000, 232, $642 ; set 6 in LBA3
GlobalTrigger= 700, IGNORE, GT_CONDITION_GROUP, IGNORE, 700, 701, IGNORE
TriggerGroup= 700, $8000, 64, $02B, > ;if LBA1=0
$8000, 66, $62B; if LBA3=6
TriggerGroup= 701, $2000, 215, $0; restore camera
;----------------cameras for horizontal ANY plus vertical 0 degrees (if LBA1= 2, 4... 28, 30, LBA3=6)
GlobalTrigger= 4, IGNORE, GT_CONDITION_GROUP, IGNORE, 6, 7, IGNORE
TriggerGroup= 6, $8000, 64, $22B, $8000, 66, $62B
TriggerGroup= 7, $2000, 214, $1 ; activate camera1
GlobalTrigger= 5, IGNORE, GT_CONDITION_GROUP, IGNORE, 8, 9, IGNORE
TriggerGroup= 8, $8000, 64, $42B, $8000, 66, $62B
TriggerGroup= 9, $2000, 214, $2 ; activate camera2
GlobalTrigger= 6, IGNORE, GT_CONDITION_GROUP, IGNORE, 10, 11, IGNORE
TriggerGroup= 10, $8000, 64, $62B, $8000, 66, $62B
TriggerGroup= 11, $2000, 214, $3 ; activate camera3
GlobalTrigger= 7, IGNORE, GT_CONDITION_GROUP, IGNORE, 12, 13, IGNORE
TriggerGroup= 12, $8000, 64, $82B, $8000, 66, $62B
TriggerGroup= 13, $2000, 214, $4 ; activate camera4
GlobalTrigger= 8, IGNORE, GT_CONDITION_GROUP, IGNORE, 14, 15, IGNORE
TriggerGroup= 14, $8000, 64, $A2B, $8000, 66, $62B
TriggerGroup= 15, $2000, 214, $5 ; activate camera5
GlobalTrigger= 9, IGNORE, GT_CONDITION_GROUP, IGNORE, 16, 17, IGNORE
TriggerGroup= 16, $8000, 64, $C2B, $8000, 66, $62B
TriggerGroup= 17, $2000, 214, $6 ; activate camera6
GlobalTrigger= 10, IGNORE, GT_CONDITION_GROUP, IGNORE, 18, 19, IGNORE
TriggerGroup= 18, $8000, 64, $E2B, $8000, 66, $62B
TriggerGroup= 19, $2000, 214, $7 ; activate camera7
GlobalTrigger= 11, IGNORE, GT_CONDITION_GROUP, IGNORE, 20, 21, IGNORE
TriggerGroup= 20, $8000, 64, $102B, $8000, 66, $62B
TriggerGroup= 21, $2000, 214, $8 ; activate camera8
GlobalTrigger= 12, IGNORE, GT_CONDITION_GROUP, IGNORE, 22, 23, IGNORE
TriggerGroup= 22, $8000, 64, $122B, $8000, 66, $62B
TriggerGroup= 23, $2000, 214, $9 ; activate camera9
GlobalTrigger= 13, IGNORE, GT_CONDITION_GROUP, IGNORE, 24, 25, IGNORE
TriggerGroup= 24, $8000, 64, $142B, $8000, 66, $62B
TriggerGroup= 25, $2000, 214, $A ; activate camera10
GlobalTrigger= 14, IGNORE, GT_CONDITION_GROUP, IGNORE, 26, 27, IGNORE
TriggerGroup= 26, $8000, 64, $162B, $8000, 66, $62B
TriggerGroup= 27, $2000, 214, $B ; activate camera11
GlobalTrigger= 15, IGNORE, GT_CONDITION_GROUP, IGNORE, 28, 29, IGNORE
TriggerGroup= 28, $8000, 64, $182B, $8000, 66, $62B
TriggerGroup= 29, $2000, 214, $C ; activate camera12
GlobalTrigger= 16, IGNORE, GT_CONDITION_GROUP, IGNORE, 30, 31, IGNORE
TriggerGroup= 30, $8000, 64, $1A2B, $8000, 66, $62B
TriggerGroup= 31, $2000, 214, $D ; activate camera13
GlobalTrigger= 17, IGNORE, GT_CONDITION_GROUP, IGNORE, 32, 33, IGNORE
TriggerGroup= 32, $8000, 64, $1C2B, $8000, 66, $62B
TriggerGroup= 33, $2000, 214, $E ; activate camera14
GlobalTrigger= 18, IGNORE, GT_CONDITION_GROUP, IGNORE, 34, 35, IGNORE
TriggerGroup= 34, $8000, 64, $1E2B, $8000, 66, $62B
TriggerGroup= 35, $2000, 214, $F ; activate camera15
Parameters= PARAM_SET_CAMERA, 1, IGNORE, IGNORE, IGNORE, 4096, IGNORE ; hor 22.5 ver 0
Parameters= PARAM_SET_CAMERA, 2, IGNORE, IGNORE, IGNORE, 8192, IGNORE ; hor 45 ver 0
Parameters= PARAM_SET_CAMERA, 3, IGNORE, IGNORE, IGNORE, 12288, IGNORE ; hor 67.5 ver 0
Parameters= PARAM_SET_CAMERA, 4, IGNORE, IGNORE, IGNORE, 16384, IGNORE ; hor 90 ver 0
Parameters= PARAM_SET_CAMERA, 5, IGNORE, IGNORE, IGNORE, 20480, IGNORE ; hor 112.5 ver 0
Parameters= PARAM_SET_CAMERA, 6, IGNORE, IGNORE, IGNORE, 24576, IGNORE ; hor 135 ver 0
Parameters= PARAM_SET_CAMERA, 7, IGNORE, IGNORE, IGNORE, 28672, IGNORE ; hor 157.5 ver 0
Parameters= PARAM_SET_CAMERA, 8, IGNORE, IGNORE, IGNORE, 32768, IGNORE ; hor 180 ver 0
Parameters= PARAM_SET_CAMERA, 9, IGNORE, IGNORE, IGNORE, 36864, IGNORE ; hor 202.5 ver 0
Parameters= PARAM_SET_CAMERA, 10, IGNORE, IGNORE, IGNORE, 40960, IGNORE ; hor 225 ver 0
Parameters= PARAM_SET_CAMERA, 11, IGNORE, IGNORE, IGNORE, 45056, IGNORE ; hor 247.5 ver 0
Parameters= PARAM_SET_CAMERA, 12, IGNORE, IGNORE, IGNORE, 49152, IGNORE ; hor 270 ver 0
Parameters= PARAM_SET_CAMERA, 13, IGNORE, IGNORE, IGNORE, 53248, IGNORE ; hor 292.5 ver 0
Parameters= PARAM_SET_CAMERA, 14, IGNORE, IGNORE, IGNORE, 57344, IGNORE ; hor 315 ver 0
Parameters= PARAM_SET_CAMERA, 15, IGNORE, IGNORE, IGNORE, 61440, IGNORE ; hor 337.5 ver 0
;----------------cameras for horizontal 0 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=0)
GlobalTrigger= 19, IGNORE, GT_CONDITION_GROUP, IGNORE, 36, 37, IGNORE
TriggerGroup= 36, $8000, 66, $82B, $8000, 64, $2B
TriggerGroup= 37, $2000, 214, $10 ; activate camera16
GlobalTrigger= 20, IGNORE, GT_CONDITION_GROUP, IGNORE, 38, 39, IGNORE
TriggerGroup= 38, $8000, 66, $A2B, $8000, 64, $2B
TriggerGroup= 39, $2000, 214, $11 ; activate camera17
GlobalTrigger= 21, IGNORE, GT_CONDITION_GROUP, IGNORE, 40, 41, IGNORE
TriggerGroup= 40, $8000, 66, $42B, $8000, 64, $2B
TriggerGroup= 41, $2000, 214, $12 ; activate camera18
GlobalTrigger=22, IGNORE, GT_CONDITION_GROUP, IGNORE, 42, 43, IGNORE
TriggerGroup= 42, $8000, 66, $22B, $8000, 64, $2B
TriggerGroup= 43, $2000, 214, $13 ; activate camera19
Parameters= PARAM_SET_CAMERA, 16, IGNORE, IGNORE, -5461, IGNORE, IGNORE ; hor 0 ver up 33.3
Parameters= PARAM_SET_CAMERA, 17, IGNORE, IGNORE, -10923, IGNORE, IGNORE ; hor 0 ver up 66.6
Parameters= PARAM_SET_CAMERA, 18, IGNORE, IGNORE, 5461, IGNORE, IGNORE ; hor 0 ver down 33.3
Parameters= PARAM_SET_CAMERA, 19, IGNORE, IGNORE, 10923, IGNORE, IGNORE ; hor 0 ver down 66.6
;----------------cameras for horizontal 22.5 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=2)
GlobalTrigger=23, IGNORE, GT_CONDITION_GROUP, IGNORE, 44, 45, IGNORE
TriggerGroup= 44, $8000, 66, $82B, $8000, 64, $22B
TriggerGroup= 45, $2000, 214, $14 ; activate camera20
GlobalTrigger=24, IGNORE, GT_CONDITION_GROUP, IGNORE, 46, 47, IGNORE
TriggerGroup= 46, $8000, 66, $A2B, $8000, 64, $22B
TriggerGroup= 47, $2000, 214, $15 ; activate camera21
GlobalTrigger=25, IGNORE, GT_CONDITION_GROUP, IGNORE, 48, 49, IGNORE
TriggerGroup= 48, $8000, 66, $42B, $8000, 64, $22B
TriggerGroup= 49, $2000, 214, $16 ; activate camera22
GlobalTrigger=26, IGNORE, GT_CONDITION_GROUP, IGNORE, 50, 51, IGNORE
TriggerGroup= 50, $8000, 66, $22B, $8000, 64, $22B
TriggerGroup= 51, $2000, 214, $17 ; activate camera23
Parameters= PARAM_SET_CAMERA, 20, IGNORE, IGNORE, -5461, 4096, IGNORE ; hor 22.5 ver up 33.3
Parameters= PARAM_SET_CAMERA, 21, IGNORE, IGNORE, -10923, 4096, IGNORE ; hor 22.5 ver up 66.6
Parameters= PARAM_SET_CAMERA, 22, IGNORE, IGNORE, 5461, 4096, IGNORE ; hor 22.5 ver down 33.3
Parameters= PARAM_SET_CAMERA, 23, IGNORE, IGNORE, 10923, 4096, IGNORE ; hor 22.5 ver down 66.6
;----------------cameras for horizontal 45 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=4)
GlobalTrigger= 27, IGNORE, GT_CONDITION_GROUP, IGNORE, 52, 53, IGNORE
TriggerGroup= 52, $8000, 66, $82B, $8000, 64, $42B
TriggerGroup= 53, $2000, 214, $18 ; activate camera24
GlobalTrigger= 28, IGNORE, GT_CONDITION_GROUP, IGNORE, 54, 55, IGNORE
TriggerGroup= 54, $8000, 66, $A2B, $8000, 64, $42B
TriggerGroup= 55, $2000, 214, $19 ; activate camera25
GlobalTrigger= 29, IGNORE, GT_CONDITION_GROUP, IGNORE, 56, 57, IGNORE
TriggerGroup= 56, $8000, 66, $42B, $8000, 64, $42B
TriggerGroup= 57, $2000, 214, $1A ; activate camera26
GlobalTrigger=30, IGNORE, GT_CONDITION_GROUP, IGNORE, 58, 59, IGNORE
TriggerGroup= 58, $8000, 66, $22B, $8000, 64, $42B
TriggerGroup= 59, $2000, 214, $1B ; activate camera27
Parameters= PARAM_SET_CAMERA, 24, IGNORE, IGNORE, -5461, 8192, IGNORE ; hor 45 ver up 33.3
Parameters= PARAM_SET_CAMERA, 25, IGNORE, IGNORE, -10923, 8192, IGNORE ; hor 45 ver up 66.6
Parameters= PARAM_SET_CAMERA, 26, IGNORE, IGNORE, 5461, 8192, IGNORE ; hor 45 ver down 33.3
Parameters= PARAM_SET_CAMERA, 27, IGNORE, IGNORE, 10923, 8192, IGNORE ; hor 45 ver down 66.6
;----------------cameras for horizontal 67.5 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=6)
GlobalTrigger=31, IGNORE, GT_CONDITION_GROUP, IGNORE, 60, 61, IGNORE
TriggerGroup= 60, $8000, 66, $82B, $8000, 64, $62B
TriggerGroup= 61, $2000, 214, $1C ; activate camera28
GlobalTrigger=32, IGNORE, GT_CONDITION_GROUP, IGNORE, 62, 63, IGNORE
TriggerGroup= 62, $8000, 66, $A2B, $8000, 64, $62B
TriggerGroup= 63, $2000, 214, $1D ; activate camera29
GlobalTrigger=33, IGNORE, GT_CONDITION_GROUP, IGNORE, 64, 65, IGNORE
TriggerGroup= 64, $8000, 66, $42B, $8000, 64, $62B
TriggerGroup= 65, $2000, 214, $1E ; activate camera30
GlobalTrigger=34, IGNORE, GT_CONDITION_GROUP, IGNORE, 66, 67, IGNORE
TriggerGroup= 66, $8000, 66, $22B, $8000, 64, $62B
TriggerGroup= 67, $2000, 214, $1F ; activate camera31
Parameters= PARAM_SET_CAMERA, 28, IGNORE, IGNORE, -5461, 12288, IGNORE ; hor 67.5 ver up 33.3
Parameters= PARAM_SET_CAMERA, 29, IGNORE, IGNORE, -10923, 12288, IGNORE ; hor 67.5 ver up 66.6
Parameters= PARAM_SET_CAMERA, 30, IGNORE, IGNORE, 5461, 12288, IGNORE ; hor 67.5 ver down 33.3
Parameters= PARAM_SET_CAMERA, 31, IGNORE, IGNORE, 10923, 12288, IGNORE ; hor 67.5 ver down 66.6
;----------------cameras for horizontal 90 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=8)
GlobalTrigger= 35, IGNORE, GT_CONDITION_GROUP, IGNORE, 68, 69, IGNORE
TriggerGroup= 68, $8000, 66, $82B, $8000, 64, $82B
TriggerGroup= 69, $2000, 214, $20 ; activate camera32
GlobalTrigger= 36, IGNORE, GT_CONDITION_GROUP, IGNORE, 70, 71, IGNORE
TriggerGroup= 70, $8000, 66, $A2B, $8000, 64, $82B
TriggerGroup= 71, $2000, 214, $21 ; activate camera33
GlobalTrigger= 37, IGNORE, GT_CONDITION_GROUP, IGNORE, 72, 73, IGNORE
TriggerGroup= 72, $8000, 66, $42B, $8000, 64, $82B
TriggerGroup= 73, $2000, 214, $22 ; activate camera34
GlobalTrigger=38, IGNORE, GT_CONDITION_GROUP, IGNORE, 74, 75, IGNORE
TriggerGroup= 74, $8000, 66, $22B, $8000, 64, $82B
TriggerGroup= 75, $2000, 214, $23 ; activate camera35
Parameters= PARAM_SET_CAMERA, 32, IGNORE, IGNORE, -5461, 16384, IGNORE ; hor 90 ver up 33.3
Parameters= PARAM_SET_CAMERA, 33, IGNORE, IGNORE, -10923, 16384, IGNORE ; hor 90 ver up 66.6
Parameters= PARAM_SET_CAMERA, 34, IGNORE, IGNORE, 5461, 16384, IGNORE ; hor 90 ver down 33.3
Parameters= PARAM_SET_CAMERA, 35, IGNORE, IGNORE, 10923, 16384, IGNORE ; hor 90 ver down 66.6
;----------------cameras for horizontal 112.5 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=10)
GlobalTrigger=39, IGNORE, GT_CONDITION_GROUP, IGNORE, 76, 77, IGNORE
TriggerGroup= 76, $8000, 66, $82B, $8000, 64, $A2B
TriggerGroup= 77, $2000, 214, $24 ; activate camera36
GlobalTrigger=40, IGNORE, GT_CONDITION_GROUP, IGNORE, 78, 79, IGNORE
TriggerGroup= 78, $8000, 66, $A2B, $8000, 64, $A2B
TriggerGroup= 79, $2000, 214, $25 ; activate camera37
GlobalTrigger=41, IGNORE, GT_CONDITION_GROUP, IGNORE, 80, 81, IGNORE
TriggerGroup= 80, $8000, 66, $42B, $8000, 64, $A2B
TriggerGroup= 81, $2000, 214, $26 ; activate camera38
GlobalTrigger=42, IGNORE, GT_CONDITION_GROUP, IGNORE, 82, 83, IGNORE
TriggerGroup= 82, $8000, 66, $22B, $8000, 64, $A2B
TriggerGroup= 83, $2000, 214, $27 ; activate camera39
Parameters= PARAM_SET_CAMERA, 36, IGNORE, IGNORE, -5461, 20480, IGNORE ; hor 112.5 ver up 33.3
Parameters= PARAM_SET_CAMERA, 37, IGNORE, IGNORE, -10923, 20480, IGNORE ; hor 112.5 ver up 66.6
Parameters= PARAM_SET_CAMERA, 38, IGNORE, IGNORE, 5461, 20480, IGNORE ; hor 112.5 ver down 33.3
Parameters= PARAM_SET_CAMERA, 39, IGNORE, IGNORE, 10923, 20480, IGNORE ; hor 112.5 ver down 66.6
;----------------cameras for horizontal 135 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=12)
GlobalTrigger= 43, IGNORE, GT_CONDITION_GROUP, IGNORE, 84, 85, IGNORE
TriggerGroup= 84, $8000, 66, $82B, $8000, 64, $C2B
TriggerGroup= 85, $2000, 214, $28 ; activate camera40
GlobalTrigger= 44, IGNORE, GT_CONDITION_GROUP, IGNORE, 86, 87, IGNORE
TriggerGroup= 86, $8000, 66, $A2B, $8000, 64, $C2B
TriggerGroup= 87, $2000, 214, $29 ; activate camera41
GlobalTrigger= 45, IGNORE, GT_CONDITION_GROUP, IGNORE, 88, 89, IGNORE
TriggerGroup= 88, $8000, 66, $42B, $8000, 64, $C2B
TriggerGroup= 89, $2000, 214, $2A ; activate camera42
GlobalTrigger=46, IGNORE, GT_CONDITION_GROUP, IGNORE, 90, 91, IGNORE
TriggerGroup= 90, $8000, 66, $22B, $8000, 64, $C2B
TriggerGroup= 91, $2000, 214, $2B ; activate camera43
Parameters= PARAM_SET_CAMERA, 40, IGNORE, IGNORE, -5461, 24576, IGNORE ; hor 135 ver up 33.3
Parameters= PARAM_SET_CAMERA, 41, IGNORE, IGNORE, -10923, 24576, IGNORE ; hor 135 ver up 66.6
Parameters= PARAM_SET_CAMERA, 42, IGNORE, IGNORE, 5461, 24576, IGNORE ; hor 135 ver down 33.3
Parameters= PARAM_SET_CAMERA, 43, IGNORE, IGNORE, 10923, 24576, IGNORE ; hor 135 ver down 66.6
;----------------cameras for horizontal 157.5 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=14)
GlobalTrigger=47, IGNORE, GT_CONDITION_GROUP, IGNORE, 92, 93, IGNORE
TriggerGroup= 92, $8000, 66, $82B, $8000, 64, $E2B
TriggerGroup= 93, $2000, 214, $2C ; activate camera44
GlobalTrigger=48, IGNORE, GT_CONDITION_GROUP, IGNORE, 94, 95, IGNORE
TriggerGroup= 94, $8000, 66, $A2B, $8000, 64, $E2B
TriggerGroup= 95, $2000, 214, $2D ; activate camera45
GlobalTrigger=49, IGNORE, GT_CONDITION_GROUP, IGNORE, 96, 97, IGNORE
TriggerGroup= 96, $8000, 66, $42B, $8000, 64, $E2B
TriggerGroup= 97, $2000, 214, $2E ; activate camera46
GlobalTrigger=50, IGNORE, GT_CONDITION_GROUP, IGNORE, 98, 99, IGNORE
TriggerGroup= 98, $8000, 66, $22B, $8000, 64, $E2B
TriggerGroup= 99, $2000, 214, $2F ; activate camera47
Parameters= PARAM_SET_CAMERA, 44, IGNORE, IGNORE, -5461, 28672, IGNORE ; hor 157.5 ver up 33.3
Parameters= PARAM_SET_CAMERA, 45, IGNORE, IGNORE, -10923, 28672, IGNORE ; hor 157.5 ver up 66.6
Parameters= PARAM_SET_CAMERA, 46, IGNORE, IGNORE, 5461, 28672, IGNORE ; hor 157.5 ver down 33.3
Parameters= PARAM_SET_CAMERA, 47, IGNORE, IGNORE, 10923, 28672, IGNORE ; hor 157.5 ver down 66.6
;----------------cameras for horizontal 180 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=16)
GlobalTrigger= 51, IGNORE, GT_CONDITION_GROUP, IGNORE, 100, 101, IGNORE
TriggerGroup= 100, $8000, 66, $82B, $8000, 64, $102B
TriggerGroup= 101, $2000, 214, $30 ; activate camera48
GlobalTrigger= 52, IGNORE, GT_CONDITION_GROUP, IGNORE, 102, 103, IGNORE
TriggerGroup= 102, $8000, 66, $A2B, $8000, 64, $102B
TriggerGroup= 103, $2000, 214, $31 ; activate camera49
GlobalTrigger= 53, IGNORE, GT_CONDITION_GROUP, IGNORE, 104, 105, IGNORE
TriggerGroup= 104, $8000, 66, $42B, $8000, 64, $102B
TriggerGroup= 105, $2000, 214, $32 ; activate camera50
GlobalTrigger=54, IGNORE, GT_CONDITION_GROUP, IGNORE, 106, 107, IGNORE
TriggerGroup= 106, $8000, 66, $22B, $8000, 64, $102B
TriggerGroup= 107, $2000, 214, $33 ; activate camera51
Parameters= PARAM_SET_CAMERA, 48, IGNORE, IGNORE, -5461, 32768, IGNORE ; hor 180 ver up 33.3
Parameters= PARAM_SET_CAMERA, 49, IGNORE, IGNORE, -10923, 32768, IGNORE ; hor 180 ver up 66.6
Parameters= PARAM_SET_CAMERA, 50, IGNORE, IGNORE, 5461, 32768, IGNORE ; hor 180 ver down 33.3
Parameters= PARAM_SET_CAMERA, 51, IGNORE, IGNORE, 10923, 32768, IGNORE ; hor 180 ver down 66.6
;----------------cameras for horizontal 202.5 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=18)
GlobalTrigger=55, IGNORE, GT_CONDITION_GROUP, IGNORE, 108, 109, IGNORE
TriggerGroup= 108, $8000, 66, $82B, $8000, 64, $122B
TriggerGroup= 109, $2000, 214, $34 ; activate camera52
GlobalTrigger=56, IGNORE, GT_CONDITION_GROUP, IGNORE, 110, 111, IGNORE
TriggerGroup= 110, $8000, 66, $A2B, $8000, 64, $122B
TriggerGroup= 111, $2000, 214, $35 ; activate camera53
GlobalTrigger=57, IGNORE, GT_CONDITION_GROUP, IGNORE, 112, 113, IGNORE
TriggerGroup= 112, $8000, 66, $42B, $8000, 64, $122B
TriggerGroup= 113, $2000, 214, $36 ; activate camera54
GlobalTrigger=58, IGNORE, GT_CONDITION_GROUP, IGNORE, 114, 115, IGNORE
TriggerGroup= 114, $8000, 66, $22B, $8000, 64, $122B
TriggerGroup= 115, $2000, 214, $37 ; activate camera55
Parameters= PARAM_SET_CAMERA, 52, IGNORE, IGNORE, -5461, 36864, IGNORE ; hor 202.5 ver up 33.3
Parameters= PARAM_SET_CAMERA, 53, IGNORE, IGNORE, -10923, 36864, IGNORE ; hor 202.5 ver up 66.6
Parameters= PARAM_SET_CAMERA, 54, IGNORE, IGNORE, 5461, 36864, IGNORE ; hor 202.5 ver down 33.3
Parameters= PARAM_SET_CAMERA, 55, IGNORE, IGNORE, 10923, 36864, IGNORE ; hor 202.5 ver down 66.6
;----------------cameras for horizontal 225 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=20)
GlobalTrigger= 59, IGNORE, GT_CONDITION_GROUP, IGNORE, 116, 117, IGNORE
TriggerGroup= 116, $8000, 66, $82B, $8000, 64, $142B
TriggerGroup= 117, $2000, 214, $38 ; activate camera56
GlobalTrigger= 60, IGNORE, GT_CONDITION_GROUP, IGNORE, 118, 119, IGNORE
TriggerGroup= 118, $8000, 66, $A2B, $8000, 64, $142B
TriggerGroup= 119, $2000, 214, $39 ; activate camera57
GlobalTrigger= 61, IGNORE, GT_CONDITION_GROUP, IGNORE, 120, 121, IGNORE
TriggerGroup= 120, $8000, 66, $42B, $8000, 64, $142B
TriggerGroup= 121, $2000, 214, $3A ; activate camera58
GlobalTrigger=62, IGNORE, GT_CONDITION_GROUP, IGNORE, 122, 123, IGNORE
TriggerGroup= 122, $8000, 66, $22B, $8000, 64, $142B
TriggerGroup= 123, $2000, 214, $3B ; activate camera59
Parameters= PARAM_SET_CAMERA, 56, IGNORE, IGNORE, -5461, 40960, IGNORE ; hor 225 ver up 33.3
Parameters= PARAM_SET_CAMERA, 57, IGNORE, IGNORE, -10923, 40960, IGNORE ; hor 225 ver up 66.6
Parameters= PARAM_SET_CAMERA, 58, IGNORE, IGNORE, 5461, 40960, IGNORE ; hor 225 ver down 33.3
Parameters= PARAM_SET_CAMERA, 59, IGNORE, IGNORE, 10923, 40960, IGNORE ; hor 225 ver down 66.6
;----------------cameras for horizontal 247.5 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=22)
GlobalTrigger=63, IGNORE, GT_CONDITION_GROUP, IGNORE, 124, 125, IGNORE
TriggerGroup= 124, $8000, 66, $82B, $8000, 64, $162B
TriggerGroup= 125, $2000, 214, $3C ; activate camera60
GlobalTrigger=64, IGNORE, GT_CONDITION_GROUP, IGNORE, 126, 127, IGNORE
TriggerGroup= 126, $8000, 66, $A2B, $8000, 64, $162B
TriggerGroup= 127, $2000, 214, $3D ; activate camera61
GlobalTrigger=65, IGNORE, GT_CONDITION_GROUP, IGNORE, 128, 129, IGNORE
TriggerGroup= 128, $8000, 66, $42B, $8000, 64, $162B
TriggerGroup= 129, $2000, 214, $3E ; activate camera62
GlobalTrigger=66, IGNORE, GT_CONDITION_GROUP, IGNORE, 130, 131, IGNORE
TriggerGroup= 130, $8000, 66, $22B, $8000, 64, $162B
TriggerGroup= 131, $2000, 214, $3F ; activate camera63
Parameters= PARAM_SET_CAMERA, 60, IGNORE, IGNORE, -5461, 45056, IGNORE ; hor 247.5 ver up 33.3
Parameters= PARAM_SET_CAMERA, 61, IGNORE, IGNORE, -10923, 45056, IGNORE ; hor 247.5 ver up 66.6
Parameters= PARAM_SET_CAMERA, 62, IGNORE, IGNORE, 5461, 45056, IGNORE ; hor 247.5 ver down 33.3
Parameters= PARAM_SET_CAMERA, 63, IGNORE, IGNORE, 10923, 45056, IGNORE ; hor 247.5 ver down 66.6
;----------------cameras for horizontal 270 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=24)
GlobalTrigger= 67, IGNORE, GT_CONDITION_GROUP, IGNORE, 132, 133, IGNORE
TriggerGroup= 132, $8000, 66, $82B, $8000, 64, $182B
TriggerGroup= 133, $2000, 214, $40 ; activate camera64
GlobalTrigger= 68, IGNORE, GT_CONDITION_GROUP, IGNORE, 134, 135, IGNORE
TriggerGroup= 134, $8000, 66, $A2B, $8000, 64, $182B
TriggerGroup= 135, $2000, 214, $41 ; activate camera65
GlobalTrigger= 69, IGNORE, GT_CONDITION_GROUP, IGNORE, 136, 137, IGNORE
TriggerGroup= 136, $8000, 66, $42B, $8000, 64, $182B
TriggerGroup= 137, $2000, 214, $42 ; activate camera66
GlobalTrigger=70, IGNORE, GT_CONDITION_GROUP, IGNORE, 138, 139, IGNORE
TriggerGroup= 138, $8000, 66, $22B, $8000, 64, $182B
TriggerGroup= 139, $2000, 214, $43 ; activate camera67
Parameters= PARAM_SET_CAMERA, 64, IGNORE, IGNORE, -5461, 49152, IGNORE ; hor 270 ver up 33.3
Parameters= PARAM_SET_CAMERA, 65, IGNORE, IGNORE, -10923, 49152, IGNORE ; hor 270 ver up 66.6
Parameters= PARAM_SET_CAMERA, 66, IGNORE, IGNORE, 5461, 49152, IGNORE ; hor 270 ver down 33.3
Parameters= PARAM_SET_CAMERA, 67, IGNORE, IGNORE, 10923, 49152, IGNORE ; hor 270 ver down 66.6
;----------------cameras for horizontal 292.5 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=26)
GlobalTrigger=71, IGNORE, GT_CONDITION_GROUP, IGNORE, 140, 141, IGNORE
TriggerGroup= 140, $8000, 66, $82B, $8000, 64, $1A2B
TriggerGroup= 141, $2000, 214, $44 ; activate camera68
GlobalTrigger=72, IGNORE, GT_CONDITION_GROUP, IGNORE, 142, 143, IGNORE
TriggerGroup= 142, $8000, 66, $A2B, $8000, 64, $1A2B
TriggerGroup= 143, $2000, 214, $45 ; activate camera69
GlobalTrigger=73, IGNORE, GT_CONDITION_GROUP, IGNORE, 144, 145, IGNORE
TriggerGroup= 144, $8000, 66, $42B, $8000, 64, $1A2B
TriggerGroup= 145, $2000, 214, $46 ; activate camera70
GlobalTrigger=74, IGNORE, GT_CONDITION_GROUP, IGNORE, 146, 147, IGNORE
TriggerGroup= 146, $8000, 66, $22B, $8000, 64, $1A2B
TriggerGroup= 147, $2000, 214, $47 ; activate camera71
Parameters= PARAM_SET_CAMERA, 68, IGNORE, IGNORE, -5461, 53248, IGNORE ; hor 292.5 ver up 33.3
Parameters= PARAM_SET_CAMERA, 69, IGNORE, IGNORE, -10923, 53248, IGNORE ; hor 292.5 ver up 66.6
Parameters= PARAM_SET_CAMERA, 70, IGNORE, IGNORE, 5461, 53248, IGNORE ; hor 292.5 ver down 33.3
Parameters= PARAM_SET_CAMERA, 71, IGNORE, IGNORE, 10923, 53248, IGNORE ; hor 292.5 ver down 66.6
;----------------cameras for horizontal 315 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=28)
GlobalTrigger= 75, IGNORE, GT_CONDITION_GROUP, IGNORE, 148, 149, IGNORE
TriggerGroup= 148, $8000, 66, $82B, $8000, 64, $1C2B
TriggerGroup= 149, $2000, 214, $48 ; activate camera72
GlobalTrigger= 76, IGNORE, GT_CONDITION_GROUP, IGNORE, 150, 151, IGNORE
TriggerGroup= 150, $8000, 66, $A2B, $8000, 64, $1C2B
TriggerGroup= 151, $2000, 214, $49 ; activate camera73
GlobalTrigger= 77, IGNORE, GT_CONDITION_GROUP, IGNORE, 152, 153, IGNORE
TriggerGroup= 152, $8000, 66, $42B, $8000, 64, $1C2B
TriggerGroup= 153, $2000, 214, $4A ; activate camera74
GlobalTrigger=78, IGNORE, GT_CONDITION_GROUP, IGNORE, 154, 155, IGNORE
TriggerGroup= 154, $8000, 66, $22B, $8000, 64, $1C2B
TriggerGroup= 155, $2000, 214, $4B ; activate camera75
Parameters= PARAM_SET_CAMERA, 72, IGNORE, IGNORE, -5461, 57344, IGNORE ; hor 315 ver up 33.3
Parameters= PARAM_SET_CAMERA, 73, IGNORE, IGNORE, -10923, 57344, IGNORE ; hor 315 ver up 66.6
Parameters= PARAM_SET_CAMERA, 74, IGNORE, IGNORE, 5461, 57344, IGNORE ; hor 315 ver down 33.3
Parameters= PARAM_SET_CAMERA, 75, IGNORE, IGNORE, 10923, 57344, IGNORE ; hor 315 ver down 66.6
;----------------cameras for horizontal 337.5 plus vertical ANY degrees (if LBA3= 2... 10, LBA1=30)
GlobalTrigger=79, IGNORE, GT_CONDITION_GROUP, IGNORE, 156, 157, IGNORE
TriggerGroup= 156, $8000, 66, $82B, $8000, 64, $1E2B
TriggerGroup= 157, $2000, 214, $4C ; activate camera76
GlobalTrigger=80, IGNORE, GT_CONDITION_GROUP, IGNORE, 158, 159, IGNORE
TriggerGroup= 158, $8000, 66, $A2B, $8000, 64, $1E2B
TriggerGroup= 159, $2000, 214, $4D ; activate camera77
GlobalTrigger=81, IGNORE, GT_CONDITION_GROUP, IGNORE, 160, 161, IGNORE
TriggerGroup= 160, $8000, 66, $42B, $8000, 64, $1E2B
TriggerGroup= 161, $2000, 214, $4E ; activate camera78
GlobalTrigger=82, IGNORE, GT_CONDITION_GROUP, IGNORE, 162, 163, IGNORE
TriggerGroup= 162, $8000, 66, $22B, $8000, 64, $1E2B
TriggerGroup= 163, $2000, 214, $4F ; activate camera79
Parameters= PARAM_SET_CAMERA, 76, IGNORE, IGNORE, -5461, 61440, IGNORE ; hor 337.5 ver up 33.3
Parameters= PARAM_SET_CAMERA, 77, IGNORE, IGNORE, -10923, 61440, IGNORE ; hor 337.5 ver up 66.6
Parameters= PARAM_SET_CAMERA, 78, IGNORE, IGNORE, 5461, 61440, IGNORE ; hor 337.5 ver down 33.3
Parameters= PARAM_SET_CAMERA, 79, IGNORE, IGNORE, 10923, 61440, IGNORE ; hor 337.5 ver down 66.6

Update

Probably you’d like if the camera won’t move if Lara does a somersault, keeping its position.
I mean, if you use the setup above then the camera is fixed to Lara, so eg. if it showes her left side when she is doing a somersault, then it will still show her left side after the somersault – so the camera is not kept its position, it moved with 180 degrees.
If the camera keeps the position that means it didn’t move with 180 degrees, but it showes Lara’s right side instead of her left side.

If you’d like to keep the position, then also add this to the setup:

GlobalTrigger= 83, 32, GT_CONDITION_GROUP, IGNORE, 164, 165, IGNORE
TriggerGroup= 164, $8000, 12, $10D ; if Key ROLL is hit
TriggerGroup= 165, $2000, 215, $0, > ; restore camera
$8000, 64, $102A, > ; if LBA1<16
$2000, 231, $1040, > ; add 16 to LBA1
$8000+TGROUP_ELSE, 64, $1029, > ; or else if LBA1>=16
$2000, 233, $1040 ; subtract 16 from LBA1

If you look at the horizontal movement illustration above, then you will understand that 16 means a 180 degrees’ sized movement. The biggest LBA1 number we use is 31, so we can’t add 16 if LBA1 is bigger than 15, instead, we will subtract it.
And I don’t think I need to repeat why I restored the default camera now.

Notes:

- The position won’t be kept if you keep the ROLL key continuously pushed down, so Lara will do several somersaults one after another.
- Somersault now naturally includes the roll in the water.
- It also useful to turn the camera with 180 degrees when you can't do a somersault. (Eg. floating on water surface. - Disable the GlobalTrigger while she is doing that action if you do not want that.)
- Theoretically we should also examine if LBA1 is odd or even now, but it is important only if you change the view exactly in the moment when you hit the ROLL key. It is very unlikely. However, if you are able to do that, then probably the whole camera setup will fail, you need to load a previous savegame to fix that.

Last edited by AkyV; 28-01-16 at 10:46.
AkyV is offline  
Closed Thread

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 07:18.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.