Difference between revisions of "Particle (SA)"
(→List of Particles) |
|||
Line 1: | Line 1: | ||
− | A '''particle''' is an animation of moving | + | A '''particle''' is an [[animation]] of moving [[texture]]s 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 <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 {{U|DexX}}, that works also for 2dfx [http://www.gtaforums.com/index.php?showtopic=261624 GtaForums topic]. For developing your own particle systems, check [http://www.gtaforums.com/index.php?showtopic=304880 Jost_Vice's tutorial] |
==Mission Script== | ==Mission Script== | ||
− | You can use the following | + | You can use the following [[opcode]]s to do stuff to your particles.<br> |
[[064B]] - Creates a particle at a location<br> | [[064B]] - Creates a particle at a location<br> | ||
[[064C]] - Makes the particle visible<br> | [[064C]] - Makes the particle visible<br> | ||
Line 34: | Line 34: | ||
</gallery> | </gallery> | ||
</center> | </center> | ||
− | [[Category:Map Formats]][[Category:Mission Script]] | + | {{SA-navi}} |
− | + | [[Category:Map Formats]][[Category:Mission Script]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 20:01, 25 March 2009
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