Sly 1:Builds/May 19 2002: Difference between revisions

Document cut cycle, hang glider, and ski features
(Add subpage link)
(Document cut cycle, hang glider, and ski features)
Line 25:
 
{{Clear}}
 
=== LiveEdit ===
[[File:Sly 1 May 19 live edit.png|thumb]]
 
Line 39 ⟶ 40:
 
{{Clear}}
 
== Unused game mechanics ==
=== Cycle ===
{{Infobox struct
| title = CYCLE
| official = y
| size = 0x6e0
}}
 
There is code for some kind of wheeled vehicle in <code>P2/cycle.c</code>. Its appearence is unknown, but the CYCLE data structure suggests it would have multple wheels, suspension, and the ability to boost. It would kick up dirt particles on the ground as it moves. It also seems that it could go on water, as it has values for leaving ripples in its wake. It's struct is similar to {{Sly 1|SUV|the van}}.
 
The CYCLES (cycle state) enum has the following values:
{{Enum top|CYCLES}}
{{Enum value|CYCLES_Nil|-1}}
{{Enum value|CYCLES_Brake|0}}
{{Enum value|CYCLES_Accelerate|1}}
{{Enum value|CYCLES_Coast|2}}
{{Enum value|CYCLES_Max|3}}
{{Enum bottom}}
 
=== Hang Glider ===
{{Infobox struct
| title = HG
| official = y
| side = 0x900
}}
 
There is code for a hang glider in <code>P2/hg.c</code>. The JTBS (JT body state) enum uses the following values for the hang glider:
{{Enum top|JTBS}}
{{Enum value|JTBS_Hang_Forward|50}}
{{Enum value|JTBS_Hang_Neutral|51}}
{{Enum value|JTBS_Hang_Backward|52}}
{{Enum value|JTBS_Hang_Idle|53}}
{{Enum bottom}}
 
The HGS (hang glider state) enum has the following values:
{{Enum top|HGS}}
{{Enum value|HGS_Nil|-1}}
{{Enum value|HGS_Passive|0}}
{{Enum value|HGS_Stand|1}}
{{Enum value|HGS_Run|2}}
{{Enum value|HGS_Glide|3}}
{{Enum value|HGS_Zap|4}}
{{Enum value|HGS_Dead|5}}
{{Enum value|HGS_Peek|6}}
{{Enum value|HGS_Max|7}}
{{Enum bottom}}
 
==== BHG ====
{{Infobox struct
| title = BHG
| official = y
| size = 0xba0
}}
 
There is a separate struct called BHG which is used in <code>P2/mb.h</code>. The functions and data structures suggest it may be a variant of the hang glider used by guards.
 
{{Clear}}
 
=== Skiing ===
[[File:Sly1_May19_Skis.png|480px|right]]
This build has code for a cut skiing mechanic in a file named <code>P2/stepski.c</code>. It would probably be used in {{Sly 1|Fire in the Sky}}, which is not present in this build. There is no dedicated SKI struct as the skis are part of Sly's character model.
 
The JTBS (JT body state) enum uses the following values for the hang glider:
 
{{Enum top|JTBS}}
{{Enum value|JTBS_Ski_Stand|45}}
{{Enum value|JTBS_Ski_Jump|46}}
{{Enum value|JTBS_Ski_Fall|47}}
{{Enum value|JTBS_Ski_Boost|48}}
{{Enum value|JTBS_Ski_Attack|49}}
{{Enum bottom}}
 
The IBLSKI enum has the following values:
 
{{Enum top|IBLSKI}}
{{Enum value|IBLSKI_Nil|-1}}
{{Enum value|IBLSKI_Forward|0}}
{{Enum value|IBLSKI_Right|1}}
{{Enum value|IBLSKI_Left|2}}
{{Enum value|IBLSKI_Max|3}}
{{Enum bottom}}
 
There is also an IBLSKI_2 enum with these values:
 
{{Enum top|IBLSKI_2}}
{{Enum value|IBLSKI_Stand_Forward|0}}
{{Enum value|IBLSKI_Stand_Right|1}}
{{Enum value|IBLSKI_Stand_Left|2}}
{{Enum value|IBLSKI_Speed_Forward|3}}
{{Enum value|IBLSKI_Speed_Right|4}}
{{Enum value|IBLSKI_Speed_Left|5}}
{{Enum value|IBLSKI_2_Max|6}}
{{Enum bottom}}
 
== Cheat Codes ==
The following are all cheat codes in the build.