Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTA Online

      1. The Diamond Casino Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

      1. Events
    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA 6

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    3. Gangs

    1. News

    2. Forum Support

    3. Site Suggestions

Please be aware that this is not a tutorial request forum! Use the appropriate topic for the effect.
JostVice

[SA][2DFX] Creating your own particle effects

Recommended Posts

-DP-

What did I explain about it? And what the heck is a gain?

 

Seriously, your english gives me eye and brain cancer confused.gif

Instead of modding you should concentrate on school and learn proper english. It will help you more in life than RenderWare Modding. icon14.gif

Share this post


Link to post
Share on other sites
Michael-Knight1
What did I explain about it? And what the heck is a gain?

 

Seriously, your english gives me eye and brain cancer confused.gif

Instead of modding you should concentrate on school and learn proper english. It will help you more in life than RenderWare Modding. icon14.gif

thanks and please stop reply for my comments and goodbye icon14.gif

Share this post


Link to post
Share on other sites
Hayate Kankichi

Hey Did anyone knows Rocket's backside flare light effect's name? because i think that light should not be there, there must be a gunflash like stuff, so did anyone knows what is name of that effect?

Share this post


Link to post
Share on other sites
Vpcreations

Can someone write the program for creating Holes when bullet is hit 

Share this post


Link to post
Share on other sites
cj2000

Wondering if it´s posible to convert III/VC particle effects to SA? The formats are looking complete different, so it defenetly will not be easy.

Share this post


Link to post
Share on other sites
breant55
On 12/26/2007 at 3:27 PM, JostVice said:

Hello there... as I said, here is the tut for creating new particle effects, I will explain also the structure of them (or well, the parameters)

You need to know how to export 2dfx with DexX script, I wont explain it here...


So first, open your effects.fxp file that is in models folder. that file can be opened with notepad and such, lets copy one of the existing files, I used PRT_sand.

Copy from the start to the end, It usually starts on:

FILENAME: X:\SA\FxTools\Data\effects\gta_pc\particles/prt_sand.fxsNAME: prt_sand

and end with:

LODSTART: 30.000LODEND: 50.000OMITTEXTURES: 0TXDNAME: NOTXDSETFX_SYSTEM_DATA:109

Paste it where you want, just be sure it doesnt 'cut' any other particle system, then rename it to your one:

FILENAME: X:\SA\FxTools\Data\effects\gta_pc\particles/prt_JV.fxsNAME: prt_JV

Notice: The filename is ignored, its a path on R*s network disk but can help for identifying the particle system.

Now you have your particle system created, nice. lets spawn it then edit.

Go to your 3d max script folder, and find the SAparticle.ini: open it with notepad or any of those and search for:

 

numparticlesys=82

Thats the number of particle systems in the game, so just change it to 83

Search again for [particlesystems], you will see a list of particle effects, go to the end and add your one:

psys83=prt_JV

Done. save the ini and launch 3d Studio Max, now you will see your effect in the particle rollout Shifty41s_beerhatsmilie2.gif you should go test it so you're sure it worked.

I will explain now the structure of the particle system....

FILENAME: X:\SA\FxTools\Data\effects\gta_pc\particles/prt_JV.fxsNAME: prt_JVLENGTH: 5.000LOOPINTERVALMIN: 0.000LENGTH: 5.000PLAYMODE: 2CULLDIST: 50.000BOUNDINGSPHERE: 0.0 0.0 0.0 0.0NUM_PRIMS: 1FX_PRIM_EMITTER_DATA:

filename and name explained before. Those lenghts parameters and loop I dont know what are... I tried changing playmode without any effect and same with culldist. NUM_PRIMS looks like the number of particle effects in each system (you can have more than one, like over explosions you have the fire and the dark smoke)

FX_PRIM_BASE_DATA:NAME: ParticleEmitterMATRIX: 1.000 0.000 0.000 0.000 1.000 0.000 0.000 0.000 1.000 0.000 0.000 0.000TEXTURE: fireballTEXTURE2: NULLTEXTURE3: NULLTEXTURE4: NULLALPHAON: 1SRCBLENDID: 4DSTBLENDID: 5

I dont know what is the matrix for, not the position/rotation.
DexX explained to me sometime ago something about the textures.. I dont remember dontgetit.gif well, its just texture used, they are in effectsPC.txd in your models folder, dont know if it can load from other TXDs
The alphaon parameter is easy: if 1, alpha loaded, if 0: no alpha
http://i144.photobucket.com/albums/r161/JostVice/noalphalol.jpg

the two 'blendid' parameters looks like D3d blend types:
http://msdn2.microsoft.com/en-us/library/bb172508(VS.85).aspx

NUM_INFOS: 6FX_INFO_EMLIFE_DATA:LIFE:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 1FX_KEYFLOAT_DATA:TIME: 0.000VAL: 9.000BIAS:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 1FX_KEYFLOAT_DATA:TIME: 0.000VAL: 5.000

Thats the 'life' of the particle (time in ms for the particle to be killed (usually it fades))
For example this effect are 9000 ms, I dont know what is the bias for.

FX_INFO_EMROTATION_DATA:ANGLEMIN:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 1FX_KEYFLOAT_DATA:TIME: 0.000VAL: 0.000ANGLEMAX:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 1FX_KEYFLOAT_DATA:TIME: 0.000VAL: 360.000

Thats the rotation of the texture (in degress)

FX_INFO_FORCE_DATA:TIMEMODEPRT: 1FORCEX:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 1FX_KEYFLOAT_DATA:TIME: 0.000VAL: 0.050FORCEY:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 1FX_KEYFLOAT_DATA:TIME: 0.000VAL: 0.000FORCEZ:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 1FX_KEYFLOAT_DATA:TIME: 0.000VAL: 0.150

The force is the direction of the particle. You can check here that a X force of 0.050 and a Z force of 0.150 make this: http://i144.photobucket.com/albums/r161/JostVice/wowa.jpg

You can also change the 'force' via time. Just increase the num_keys

FX_INFO_ROTSPEED_DATA:TIMEMODEPRT: 1MINCW:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 1FX_KEYFLOAT_DATA:TIME: 0.000VAL: 50.000MAXCW:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 1FX_KEYFLOAT_DATA:TIME: 0.000VAL: 100.000MINCCW:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 1FX_KEYFLOAT_DATA:TIME: 0.000VAL: 50.000MAXCCW:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 1FX_KEYFLOAT_DATA:TIME: 0.000VAL: 100.000

Thats the rotation speed, I didnt test with it yet.

FX_INFO_COLOUR_DATA:TIMEMODEPRT: 1RED:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 4FX_KEYFLOAT_DATA:TIME: 0.000VAL: 255.000FX_KEYFLOAT_DATA:TIME: 0.100VAL: 255.000FX_KEYFLOAT_DATA:TIME: 0.600VAL: 255.000FX_KEYFLOAT_DATA:TIME: 0.900VAL: 0.000GREEN:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 4FX_KEYFLOAT_DATA:TIME: 0.000VAL: 255.000FX_KEYFLOAT_DATA:TIME: 0.100VAL: 215.000FX_KEYFLOAT_DATA:TIME: 0.600VAL: 210.000FX_KEYFLOAT_DATA:TIME: 0.900VAL: 0.000BLUE:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 4FX_KEYFLOAT_DATA:TIME: 0.000VAL: 255.000FX_KEYFLOAT_DATA:TIME: 0.100VAL: 84.000FX_KEYFLOAT_DATA:TIME: 0.600VAL: 0.000FX_KEYFLOAT_DATA:TIME: 0.900VAL: 0.000ALPHA:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 4FX_KEYFLOAT_DATA:TIME: 0.000VAL: 0.000FX_KEYFLOAT_DATA:TIME: 0.100VAL: 255.000FX_KEYFLOAT_DATA:TIME: 0.600VAL: 0.000FX_KEYFLOAT_DATA:TIME: 0.900VAL: 0.000

Thats the code (in RGB) and alpha. Check that they are on 'frames' as in time 0.000 there is an value and in 0.600 another one.

FX_INFO_SIZE_DATA:TIMEMODEPRT: 1SIZEX:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 2FX_KEYFLOAT_DATA:TIME: 0.000VAL: 0.500FX_KEYFLOAT_DATA:TIME: 1.000VAL: 3.000SIZEY:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 2FX_KEYFLOAT_DATA:TIME: 0.000VAL: 0.500FX_KEYFLOAT_DATA:TIME: 1.000VAL: 3.000SIZEXBIAS:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 2FX_KEYFLOAT_DATA:TIME: 0.000VAL: 0.500FX_KEYFLOAT_DATA:TIME: 1.000VAL: 1.500SIZEYBIAS:FX_INTERP_DATA:LOOPED: 0NUM_KEYS: 2FX_KEYFLOAT_DATA:TIME: 0.000VAL: 1.000FX_KEYFLOAT_DATA:TIME: 1.000VAL: 1.500

The size of particle effect, you can also change the value via the time like in color and force so you have that at the start its pretty small and then get bigger.

Well, i'm done. I hope I didnt miss something and that all was clear, anyway if need help or you foind that i'm wrong on something i will like to know smile.gif

good morning sir thank you for your rar knolge sir are you know how add  gta sa 3ds max dexx tol add marvick light blinking light please sugess me please

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.