Difference between revisions of "01F9"

From GTAMods Wiki
Jump to navigation Jump to search
m (2 revisions)
(page updates)
Line 1: Line 1:
<code>01F9=9,%1g% %2d% %3d% %4d% %5d% %6d% %7d% %8d% %9d%</code><br>
+
{{OpCode
'''Description''': Initiates a rampage<br>
+
| games      = {{Icon|t}}
'''Parameter 1''': [[GXT]] string similar to [[00BA]] style 1<br>
+
| command    = START_KILL_FRENZY
'''Parameter 2''': [[Weapon]] ID number<br>
+
| description = Starts a rampage
'''Parameter 3''': Time in ms allowed for the rampage<br>
+
| syntax1    = 01F9: init_rampage '[''string'']' [''int1''] [''int2''] [''int3''] [''int4''] [''int5''] [''int6''] [''int7''] [''int8'']
'''Parameter 4''': Number of targets required to pass rampage<br>
+
| p1t        = [''string'']
'''Parameter 5''': Allowed target #1 model ID as defined in peds.ide or vehicles.ide<br>
+
| p1d        = [[GXT]] string that is displayed at the beginning of the rampage.
'''Parameter 6''': Allowed target #2 model ID as defined in peds.ide or vehicles.ide<br>
+
| p2t        = [''int1'']
'''Parameter 7''': Allowed target #3 model ID as defined in peds.ide or vehicles.ide<br>
+
| p2d        = [[Weapon]] index number
'''Parameter 8''': Allowed target #4 model ID as defined in peds.ide or vehicles.ide<br>
+
| p3t        = [''int2'']
'''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>
+
| p3d        = Time in milliseconds allowed for the rampage
'''Supports''': GTA3, Vice City, San Andreas<br>
+
| p4t        = [''int3'']
 +
| p4d        = Number of targets required to pass the rampage
 +
| p5t        = [''int4'']
 +
| p5d        = Target #1 model ID number 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 string <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 unlimited 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.
+
== Keywords ==
 +
init, start, rampage, kill, frenzy
  
==Keywords==
+
== See also ==
rampage, kill frenzy
+
* {{Icon|3}} [[0367]], starts a headshot rampage
 
 
[[Category:OpCodes]]
 

Revision as of 15:28, 14 January 2016

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 string that is displayed at the beginning of the rampage.
[int1]
Weapon index number
[int2]
Time in milliseconds allowed for the rampage
[int3]
Number of targets required to pass the rampage
[int4]
Target #1 model ID number 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 string 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 unlimited 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.

Keywords

init, start, rampage, kill, frenzy

See also

  • GTA III 0367, starts a headshot rampage