0598

From GTAMods Wiki
Jump to navigation Jump to search
0598 with radius 5.0 and density 8 on an object

Vice City CREATE_DUST_EFFECT_FOR_CUTSCENE_HELI


Description
Creates a helicopter dust particle effect around the object
Syntax
0598: stir_ground_around_object [object handle] radius [flt] density [int]
Parameter
[object handle]
The handle of the object
[flt]
Radius in units
[int]
Density (0 to 8)

This opcode creates a helicopter dust particle effect around an object, behaving almost exactly as the one created by helicopters. The opcode must be placed within a loop, preferably with a wait of 0, in order to constantly create the particle effect. The radius parameter is the distance between the center of the object and the particles surrounding it at ground level. The density is capped at 8; any value higher than 8 is treated as 8. The player character must be within about 500 units of the object in order for the particle effect to be created. Pilotable helicopters in the game have a radius of 10.0 and density of about 9. The original script used this opcode on Lance's cutscene helicopter in the introduction scene.

Keywords

create, dust, particle, effect, cutscene, helicopter, object, stir, ground