Difference between revisions of "01F9"
m (2 revisions) |
(image) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | [[File:01F9.jpg|thumb|The start of a rampage in Vice City.]] | |
− | ''' | + | {{OpCode |
− | ''' | + | | games = {{Icon|t}} |
− | ''' | + | | command = START_<wbr>KILL_<wbr>FRENZY |
− | '' | + | | description = Starts a rampage |
− | ''' | + | | syntax1 = 01F9: init_rampage '[''string'']' [''int1''] [''int2''] [''int3''] [''int4''] [''int5''] [''int6''] [''int7''] [''int8''] |
− | ''' | + | | p1t = [''string''] |
− | ''' | + | | p1d = [[GXT]] key to display at the start of the rampage |
− | ''' | + | | p2t = [''int1''] |
− | ''' | + | | p2d = [[Weapon#Lists of weapons|Weapon type]] |
− | ''' | + | | p3t = [''int2''] |
− | + | | p3d = Time in milliseconds allowed for the rampage | |
+ | | p4t = [''int3''] | ||
+ | | p4d = Number of targets required to pass the rampage | ||
+ | | p5t = [''int4''] | ||
+ | | p5d = Target #1 model index as defined in the [[PEDS|PEDS section]] or [[CARS (IDE Section)|CARS section]] of the [[IDE]] file; also acceptable is model's [[DFF]] name with a hash character. Use ''-1'' for any ped or ''-2'' for any vehicle. | ||
+ | | p6t = [''int5''] | ||
+ | | p6d = Target #2, use ''-1'' if target #2 is not needed | ||
+ | | p7t = [''int6''] | ||
+ | | p7d = Target #3, use ''-1'' if target #3 is not needed | ||
+ | | p8t = [''int7''] | ||
+ | | p8d = Target #4, use ''-1'' if target #4 is not needed | ||
+ | | p9t = [''int8''] | ||
+ | | p9d = Normally set to ''0'', but if set to ''1'', completing the rampage will display the GXT key <code>KF_3</code> in GTA III and Vice City or <code>KILLPA</code> in San Andreas | ||
+ | }} | ||
− | This opcode starts rampage | + | This opcode starts a rampage. A countdown timer and target kill counter appear on the right side of the HUD. The player is given the specified weapon with 30000 ammo, weapon scrolling is disabled, and the ability to collect any pickups is disabled. The model of the weapon must be [[0247|loaded]] beforehand in order for the weapon to appear correctly. The targets must be killed with the specified weapon in order to register the kill with the exception of vehicles, which are counted when they explode from anything. When the timer reaches ten seconds, beeps are sounded until the rampage ends. When the timer reaches three seconds, the timer flashes. Passing the rampage removes any wanted level. The name "kill frenzy" comes from [[GTA 2]] where rampages are called kill frenzies. |
− | In | + | In Vice City, calling the opcode disables the taxi shortcut drop-off set by [[058E]]. |
− | ==Keywords== | + | == Keywords == |
− | rampage, kill frenzy | + | init, start, {{K|rampage}}, kill, frenzy |
− | [[ | + | == See also == |
+ | * {{Icon|3}} [[0367]], starts a headshot rampage |
Latest revision as of 02:42, 9 July 2017
- Description
- Starts a rampage
- Syntax
- 01F9: init_rampage '[string]' [int1] [int2] [int3] [int4] [int5] [int6] [int7] [int8]
- Parameter
- [string]
- GXT key to display at the start of the rampage
- [int1]
- Weapon type
- [int2]
- Time in milliseconds allowed for the rampage
- [int3]
- Number of targets required to pass the rampage
- [int4]
- Target #1 model index as defined in the PEDS section or CARS section of the IDE file; also acceptable is model's DFF name with a hash character. Use -1 for any ped or -2 for any vehicle.
- [int5]
- Target #2, use -1 if target #2 is not needed
- [int6]
- Target #3, use -1 if target #3 is not needed
- [int7]
- Target #4, use -1 if target #4 is not needed
- [int8]
- Normally set to 0, but if set to 1, completing the rampage will display the GXT key
KF_3
in GTA III and Vice City orKILLPA
in San Andreas
This opcode starts a rampage. A countdown timer and target kill counter appear on the right side of the HUD. The player is given the specified weapon with 30000 ammo, weapon scrolling is disabled, and the ability to collect any pickups is disabled. The model of the weapon must be loaded beforehand in order for the weapon to appear correctly. The targets must be killed with the specified weapon in order to register the kill with the exception of vehicles, which are counted when they explode from anything. When the timer reaches ten seconds, beeps are sounded until the rampage ends. When the timer reaches three seconds, the timer flashes. Passing the rampage removes any wanted level. The name "kill frenzy" comes from GTA 2 where rampages are called kill frenzies.
In Vice City, calling the opcode disables the taxi shortcut drop-off set by 058E.
Keywords
init, start, rampage, kill, frenzy
See also
- 0367, starts a headshot rampage