Difference between revisions of "Particle (SA)"

From GTAMods Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
A '''particle''' is an animation of moving textures to simulate fuzzy effects. The new particle system in San Andreas is slightly different from GTA3 and Vice City. Almost all particle effects are stored in the <code>effects.fxp</code> file in the <code>models</code> folder. You can also attach particle systems to your models using the 3d Studio Max script by [[DexX]], that works also for 2dfx [http://www.gtaforums.com/index.php?showtopic=261624 GtaForums topic]
 
A '''particle''' is an animation of moving textures to simulate fuzzy effects. The new particle system in San Andreas is slightly different from GTA3 and Vice City. Almost all particle effects are stored in the <code>effects.fxp</code> file in the <code>models</code> folder. You can also attach particle systems to your models using the 3d Studio Max script by [[DexX]], that works also for 2dfx [http://www.gtaforums.com/index.php?showtopic=261624 GtaForums topic]
  
==Opcodes==
+
==Mission Script==
 
You can use the following opcodes to do stuff to your particles.<br>
 
You can use the following opcodes to do stuff to your particles.<br>
 
[[064B]] - Creates a particle at a location<br>
 
[[064B]] - Creates a particle at a location<br>
Line 22: Line 22:
 
! Name
 
! Name
 
! Description
 
! Description
 +
! Special Properties
 
! Image
 
! Image
 
|-
 
|-
 
| blood_heli
 
| blood_heli
 
| Gush of blood
 
| Gush of blood
 +
|
 
| http://img.photobucket.com/albums/v41/spaceeinstein/blood_heli.jpg
 
| http://img.photobucket.com/albums/v41/spaceeinstein/blood_heli.jpg
 
|-
 
|-
 
| camflash
 
| camflash
 
| Flash of a camera
 
| Flash of a camera
 +
|
 
| http://img.photobucket.com/albums/v41/spaceeinstein/camflash.jpg
 
| http://img.photobucket.com/albums/v41/spaceeinstein/camflash.jpg
 
|-
 
|-
 
| carwashspray
 
| carwashspray
 
| Spray of a car wash
 
| Spray of a car wash
 +
|
 
| http://img.photobucket.com/albums/v41/spaceeinstein/carwashspray.jpg
 
| http://img.photobucket.com/albums/v41/spaceeinstein/carwashspray.jpg
 
|-
 
|-
 
| cement
 
| cement
 
| Stream of pouring cement
 
| Stream of pouring cement
 +
| Should be looped
 
| http://img.photobucket.com/albums/v41/spaceeinstein/cement.jpg
 
| http://img.photobucket.com/albums/v41/spaceeinstein/cement.jpg
 
|-
 
|-
 
| cloudfast
 
| cloudfast
 
| Fast moving clouds
 
| Fast moving clouds
 +
| Should be looped
 
| http://img.photobucket.com/albums/v41/spaceeinstein/cloudfast.jpg
 
| http://img.photobucket.com/albums/v41/spaceeinstein/cloudfast.jpg
 
|-
 
|-
 
| coke_puff
 
| coke_puff
| Puff of coke splling out
+
| Puff of coke spilling out
 +
|
 
| http://img.photobucket.com/albums/v41/spaceeinstein/coke_puff.jpg
 
| http://img.photobucket.com/albums/v41/spaceeinstein/coke_puff.jpg
 +
|-
 +
| coke_trail
 +
| Trail of coke
 +
| Should be looped
 +
| http://img.photobucket.com/albums/v41/spaceeinstein/coke_trail.jpg
 +
|-
 +
| explosion_barrel
 +
|
 +
|
 +
| http://img.photobucket.com/albums/v41/spaceeinstein/explosion_barrel.jpg
 +
|-
 +
| explosion_crate
 +
|
 +
|
 +
| http://img.photobucket.com/albums/v41/spaceeinstein/explosion_crate.jpg
 +
|-
 +
| explosion_door
 +
|
 +
|
 +
| http://img.photobucket.com/albums/v41/spaceeinstein/explosion_door.jpg
 +
|-
 +
| explosion_fuel_car
 +
|
 +
|
 +
| http://img.photobucket.com/albums/v41/spaceeinstein/explosion_fuel_car.jpg
 +
|-
 +
| explosion_large
 +
|
 +
|
 +
| http://img.photobucket.com/albums/v41/spaceeinstein/explosion_large.jpg
 
|}
 
|}
 
</center>
 
</center>
Line 53: Line 90:
 
<!--Format
 
<!--Format
 
|-
 
|-
 +
|
 
|  
 
|  
 
|  
 
|  
 
| http://img.photobucket.com/albums/v41/spaceeinstein/.jpg
 
| http://img.photobucket.com/albums/v41/spaceeinstein/.jpg
 
-->
 
-->

Revision as of 20:48, 13 December 2007

A particle is an animation of moving textures to simulate fuzzy effects. The new particle system in San Andreas is slightly different from GTA3 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

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

Name Description Special Properties Image
blood_heli Gush of blood http://img.photobucket.com/albums/v41/spaceeinstein/blood_heli.jpg
camflash Flash of a camera http://img.photobucket.com/albums/v41/spaceeinstein/camflash.jpg
carwashspray Spray of a car wash http://img.photobucket.com/albums/v41/spaceeinstein/carwashspray.jpg
cement Stream of pouring cement Should be looped http://img.photobucket.com/albums/v41/spaceeinstein/cement.jpg
cloudfast Fast moving clouds Should be looped http://img.photobucket.com/albums/v41/spaceeinstein/cloudfast.jpg
coke_puff Puff of coke spilling out http://img.photobucket.com/albums/v41/spaceeinstein/coke_puff.jpg
coke_trail Trail of coke Should be looped http://img.photobucket.com/albums/v41/spaceeinstein/coke_trail.jpg
explosion_barrel http://img.photobucket.com/albums/v41/spaceeinstein/explosion_barrel.jpg
explosion_crate http://img.photobucket.com/albums/v41/spaceeinstein/explosion_crate.jpg
explosion_door http://img.photobucket.com/albums/v41/spaceeinstein/explosion_door.jpg
explosion_fuel_car http://img.photobucket.com/albums/v41/spaceeinstein/explosion_fuel_car.jpg
explosion_large http://img.photobucket.com/albums/v41/spaceeinstein/explosion_large.jpg