Difference between revisions of "01F9"
m (isn't unlimited) |
m |
||
Line 5: | Line 5: | ||
| syntax1 = 01F9: init_rampage '[''string'']' [''int1''] [''int2''] [''int3''] [''int4''] [''int5''] [''int6''] [''int7''] [''int8''] | | syntax1 = 01F9: init_rampage '[''string'']' [''int1''] [''int2''] [''int3''] [''int4''] [''int5''] [''int6''] [''int7''] [''int8''] | ||
| p1t = [''string''] | | p1t = [''string''] | ||
− | | p1d = [[GXT]] key that is displayed at the beginning of the rampage | + | | p1d = [[GXT]] key that is displayed at the beginning of the rampage |
| p2t = [''int1''] | | p2t = [''int1''] | ||
| p2d = [[Weapon]] index number | | p2d = [[Weapon]] index number | ||
Line 13: | Line 13: | ||
| p4d = Number of targets required to pass the rampage | | p4d = Number of targets required to pass the rampage | ||
| p5t = [''int4''] | | p5t = [''int4''] | ||
− | | p5d = Target #1 model | + | | 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''] | | p6t = [''int5''] | ||
| p6d = Target #2, use ''-1'' if target #2 is not needed | | p6d = Target #2, use ''-1'' if target #2 is not needed | ||
Line 24: | Line 24: | ||
}} | }} | ||
− | 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 Vice City, calling the opcode disables the taxi shortcut drop-off set by [[058E]]. | + | 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 Vice City, calling the opcode disables the taxi shortcut drop-off set by [[058E]]. | ||
== Keywords == | == Keywords == | ||
− | init, start, rampage, kill, frenzy | + | init, start, {{K|rampage}}, kill, frenzy |
== See also == | == See also == | ||
* {{Icon|3}} [[0367]], starts a headshot rampage | * {{Icon|3}} [[0367]], starts a headshot rampage |
Revision as of 04:59, 20 December 2016
- Description
- Starts a rampage
- Syntax
- 01F9: init_rampage '[string]' [int1] [int2] [int3] [int4] [int5] [int6] [int7] [int8]
- Parameter
- [string]
- GXT key 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 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