Difference between revisions of "0367"
(Created page with '{{Icon|3}} <hr /> '''Description''' : Initiates a headshot rampage '''Syntax''' : 0367: init_gta3_rampage '[''string'']' [''int1''] [''int2''] [''int3''] [''int4''] [''int5''] ['…') |
m |
||
Line 15: | Line 15: | ||
:: Number of targets required to complete rampage | :: Number of targets required to complete rampage | ||
: [''int4''] | : [''int4''] | ||
− | :: | + | :: Target #1 character model ID number as defined in the [[PEDS|PEDS section]] of the [[IDE]] file; also acceptable is model's [[DFF]] name with a hash character. Use -1 for any ped. |
: [''int5''] | : [''int5''] | ||
− | :: | + | :: Target #2, use -1 if target #2 is not needed |
: [''int6''] | : [''int6''] | ||
− | :: | + | :: Target #3, use -1 if target #3 is not needed |
: [''int7''] | : [''int7''] | ||
− | :: | + | :: Target #4, use -1 if target #4 is not needed |
: [''int8''] | : [''int8''] | ||
:: Normally set to 0, but if set to 1, completing the rampage will display the GXT string <code>KF_3</code>, which does not exist by default in the GXT file, and so will display the text as "KF°3 missing". The text is light green and fades in and out while it scrolls up at the same time. | :: Normally set to 0, but if set to 1, completing the rampage will display the GXT string <code>KF_3</code>, which does not exist by default in the GXT file, and so will display the text as "KF°3 missing". The text is light green and fades in and out while it scrolls up at the same time. |
Revision as of 00:33, 30 December 2011
Description
- Initiates a headshot rampage
Syntax
- 0367: init_gta3_rampage '[string]' [int1] [int2] [int3] [int4] [int5] [int6] [int7] [int8]
Parameter
- [string]
- GXT string that is displayed at the beginning of the rampage. The text is small and yellow and fades in and out
- [int1]
- Weapon index number
- [int2]
- Time in milliseconds allowed for the rampage
- [int3]
- Number of targets required to complete rampage
- [int4]
- Target #1 character model ID number as defined in the PEDS section of the IDE file; also acceptable is model's DFF name with a hash character. Use -1 for any ped.
- [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
, which does not exist by default in the GXT file, and so will display the text as "KF°3 missing". The text is light green and fades in and out while it scrolls up at the same time.
- Normally set to 0, but if set to 1, completing the rampage will display the GXT string
This opcode initiates a rampage that requires headshots to complete the rampage. When the rampage starts, a small magenta timer appears on the right side of the screen and will count down to 0. An orange counter appears below indicating the number of headshots of the target models needed to complete the rampage. The player character will be given the set weapon with unlimited ammo and weapon scrolling is disabled. Of course, the rampage can only be completed with weapons that can shoot the head off the peds. The M16 and Sniper Rifle can instantly cause a headshot but any guns that fire bullets have a chance to cause a headshot. When the timer reaches ten seconds, beeps are sounded until the rampage ends. When the timer reaches three seconds, the timer will flash.
Initiating another rampage while the current one is in progress will instantly ends the previous one and starts the next one. But after the rampage ends, the weapon from the previous rampage does not disappear and will give the player max ammo for that weapon.
Keywords
init, rampage, head shot, kill frenzy
See also
- 01F9, for general rampage