Difference between revisions of "01F9"
(page updates) |
m (isn't unlimited) |
||
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]] | + | | 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 21: | Line 21: | ||
| p8d = Target #4, use ''-1'' if target #4 is not needed | | p8d = Target #4, use ''-1'' if target #4 is not needed | ||
| p9t = [''int8''] | | p9t = [''int8''] | ||
− | | p9d = Normally set to ''0'', but if set to ''1'', completing the rampage will display the GXT | + | | 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 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 | + | 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 == |
Revision as of 23:06, 8 June 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 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 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