This version is outdated by a newer approved version.DiffThis version (2017/02/04 23:09) is a draft.
Approvals: 0/1

This is an old revision of the document!


State 33

State 33 (larastate)
NameSwim (stop)
ID33
Since Engine1

Input Handling

Look Handling

Set the Camera override type to 2.

If Input is “Left”, and Y Look Rotation is $> −9100$ AU, decrease Y Look Rotation by $546$ AU.

If Input is “Right”, and Y Look Rotation is $< 9100$ AU, increase Y Look Rotation by $546$ AU.

Set Lara's Torso Y Rotation to Y Look Rotation divided by 2.

If Input is “Forward”, and X Look Rotation is $> −7280$ AU, decrease X Look Rotation by $546$ AU.

If Input is “Backward”, and X Look Rotation is $< 7280$ AU, increase X Look Rotation by $546$ AU.

Set Lara's Torso X Rotation to $0$ AU.

Non-Look Handling

If Camera override type is 2, set it to 0.

Left
Decrease Lara's Y Rotation by $728$ AU.
Right
Increase Lara's Y Rotation by $728$ AU.
Forward
Set Target State to State 34.
Backward
Set Target State to State 47.
Step Left
Set Target State to State 48.
Step Right
Set Target State to State 49.
Jump
Increase Swim-to-Dive Keypress Duration; if it becomes 10 ($333\,\mathrm{ms}$):
  • Set Current State to State 35 and Target State to State 17.
  • Use Animation 119/frame 2041.
  • Set Lara's X Rotation to $-8190$ AU.
  • Set Fall Speed to $80$.
  • Set Underwater State to “Diving”.
Not “Jump”
Set Swim-to-Dive Keypress Duration to 0.
items/details/lara/states/33.1486249757.txt.gz · Last modified: 2017/02/04 23:09 by stohrendorf
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0