Difference between revisions of "Particle (SA)"

From GTAMods Wiki
Jump to navigation Jump to search
(Particles)
Line 55: Line 55:
 
==Particles==
 
==Particles==
  
<source lang="scm" "blood_heli"  bloody explosion   
+
<source lang="scm">
 +
"blood_heli"  bloody explosion   
 
"boat_prop"  a surf   
 
"boat_prop"  a surf   
 
"camflash"  small flare   
 
"camflash"  small flare   

Revision as of 12:01, 16 October 2010

A particle is an animation of moving textures to simulate fuzzy effects. The new particle system in San Andreas is slightly different from GTA 3 and Vice City. Almost all particle effects are stored in the effects.fxp file in the models folder. You can also attach particle systems to your models using the 3d Studio Max script by DexX, that works also for 2dfx GTAForums topic. For developing your own particle systems, check Jost_Vice's tutorial

Mission Script

You can use the following opcodes to do stuff to your particles.
064B - Creates a particle at a location
064C - Makes the particle visible
064E - Stops the particle
064F - Releases the particle from memory
0650 - Deletes the particle with fade
0669 - Attaches a particle to an actor
066A - Attaches a particle with rotation to an actor
066B - Attaches a particle to a vehicle
066C - Attaches a particle with rotation to a vehicle
066D - Attaches a particle to an object
066E - Attaches a particle with rotation to an object
0883 - Attaches a particle to an actor
0976 - Deletes a particle instantly

List of Particles

Sanny Builder example

That example creates an particle at player's location by pressing P.

Particles

 
"blood_heli"  bloody explosion  
"boat_prop"  a surf  
"camflash"  small flare  
"carwashspray"  steam, as on a carwash  
"cement"  cement  
"cloudfast"  fast clouds  
"coke_puff"  puff of a coke  
"coke_trail"  a pouring water  
"cigarette_smoke"  a smoke from a cigarette  
"explosion_barrel"  explosion and splinters of a box  
"explosion_crate"  explosion and splinters of the large box  
"explosion_door"  a smoke with sparks  
"exhale"  a small smoke  
"explosion_fuel_car"  explosion, as from the machine  
"explosion_large"  the large explosion  
"explosion_medium"  average explosion  
"explosion_molotov"  explosion, as from a movotov cocktail  
"explosion_small"  small explosion  
"explosion_tiny"  very small explosion  
"extinguisher"  foam of the fire extinguisher  
"flame"  small fire  
"fire"  fire  
"fire_med"  average fire  
"fire_large"  large fire  
"flamethrower"  fire of the flamethrower  
"fire_bike"  fire, as from a burning motorcycle  
"fire_car"  fire, as from the burning machine  
"gunflash"  as the bullet from a trunk takes off  
"gunsmoke"  a smoke from a gun  
"insects"  insects  
"heli_dust"  a dust, as from the helicopter  
"jetpack"  a jetpack's fire  
"jetthrust"  fire from the muffler of the machine, as during use of nitrogen  
"nitro"  nitro  
"molotov_flame"  fire from a Molotov Cocktail  
"overheat_car"  smoke from damaged car  
"overheat_car_electric"  wrecked electro-machine  
"prt_boatsplash"  foam  
"prt_cardebris"  splinters from a box  
"prt_collisionsmoke"  a dense white smoke  
"prt_glass"  a crashing glass  
"prt_gunshell"  shells  
"prt_sand"  sand, which was scattered  
"prt_sand2"  there is less sand, than in previous animation  
"prt_smokeII_3_expand"  - a grey smoke  
"prt_smoke_huge"  there is a lot of grey smoke  
"prt_spark"  of a spark  
"prt_spark_2"  the large sparks  
"prt_splash"  burst  
"prt_wake"  a wave  
"prt_watersplash"  sparks  
"prt_wheeldirt"  sparks from wheels of the car  
"petrolcan"  a jet  
"puke"  belch  
"riot_smoke"  there is a lot of smoke  
"spraycan"  spray  
"smoke30lit"  a smoke  
"smoke30m"  a rich smoke  
"smoke50lit"  more richer smoke  
"shootlight"  fireworks  
"smoke_flare"  fireworks  
"tank_fire"  a shot from the tank  
"teargas"  gas, as from gas grenade  
"teargasAD"  gas, as from small gas grenade  
"tree_hit_fir"  leaf falling  
"tree_hit_palm"  falling of pair large leafs  
"vent"  slowly dissipating a smoke  
"vent2"  practically too most  
"water_hydrant"  the large flow of water  
"water_ripples"  circles on water  
"water_speed"  the large sparks from water  
"water_splash"  small sparks from water  
"water_splash_big"  average sparks  
"water_splsh_sml"  sparks, only them it is not visible almost  
"water_swim"  small sparks at navigation  
"waterfall_end"  there is a lot of pair  
"water_fnt_tme"  the large flow of water  
"water_fountain"  water of a fountain  
"wallbust"  a disappearing heap pair  
"WS_factorysmoke" smoke  
">