Difference between revisions of "01F9"

From GTAMods Wiki
Jump to navigation Jump to search
(image)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<code>01F9=9,%1g% %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d%</code><br>
+
[[File:01F9.jpg|thumb|The start of a rampage in Vice City.]]
'''Description''': Initiates a rampage<br>
+
{{OpCode
'''Parameter 1''': [[GXT]] string similar to [[00BA]] style 1<br>
+
| games      = {{Icon|t}}
'''Parameter 2''': [[Weapon]] ID number<br>
+
| command    = START_<wbr>KILL_<wbr>FRENZY
'''Parameter 3''': Time in ms allowed for the rampage<br>
+
| description = Starts a rampage
'''Parameter 4''': Number of targets required to pass rampage<br>
+
| syntax1    = 01F9: init_rampage '[''string'']' [''int1''] [''int2''] [''int3''] [''int4''] [''int5''] [''int6''] [''int7''] [''int8'']
'''Parameter 5''': Model ID as defined in peds.ide or vehicles.ide<br>
+
| p1t        = [''string'']
'''Parameter 6''': Model ID as defined in peds.ide or vehicles.ide<br>
+
| p1d        = [[GXT]] key to display at the start of the rampage
'''Parameter 7''': Model ID as defined in peds.ide or vehicles.ide<br>
+
| p2t        = [''int1'']
'''Parameter 8''': Model ID as defined in peds.ide or vehicles.ide<br>
+
| p2d        = [[Weapon#Lists of weapons|Weapon type]]
'''Parameter 9''': Flag which indicates whether (1) or not (0) to display styled text when the rampage is passed. Hardcoded to display the 'KILLPA' entry from the MAIN table of the [[GXT]] file.<br><br>
+
| p3t        = [''int2'']
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| 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 mode. You have to kill or destroy a certain amount of peds or vehicles within the time limit. Using this opcode requires [[0247]] or else the weapon would not be visible and the game can crash. Parameter 5 can have an integer of <i>-1</i> for any peds or <i>-2</i> for any vehicles.
+
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 San Andreas, while on a rampage you are stuck with your weapon and you can't pick up other weapons.
+
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
  
[[Category:OpCodes]]
+
== See also ==
 +
* {{Icon|3}} [[0367]], starts a headshot rampage

Latest revision as of 02:42, 9 July 2017

The start of a rampage in Vice City.

GTA III Vice City San Andreas START_KILL_FRENZY


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 or KILLPA 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

  • GTA III 0367, starts a headshot rampage