Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

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

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

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

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

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

      1. Documentation
    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. Design Your Own Mission
      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. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

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

    2. Support

    3. Suggestions

Sparks...!


InVion
 Share

Recommended Posts

I was wondering if it is possible to edit the sparks that come from under your vehicle when you grind a rail or hit a wall or something. Is it possible to change the color or something like that? If it is, can someone please tell me how and what I will need to do it?

 

Thanks icon14.gif

 

 

edit: this is in San Andreas btw smile.gif

Link to comment
Share on other sites

THanks but its not in there either D:

 

Is there a mod ready made that I could download that colours the sparks already? smile.gif

Edited by InVion
Link to comment
Share on other sites

Suction Testicle Man
THanks but its not in there either D:

 

Is there a mod ready made that I could download that colours the sparks already? smile.gif

Considering the textures are greyscale in the txd, I'm guessing the colour is hard-coded, so not easily editable I'm afraid.

If at first you don't succeed, you fail, and the test will be terminated.

Link to comment
Share on other sites

OK Thanks.

 

Do you know if someone has made a mod of this already?

If so, could you or anyone link me. I dont mind downloading one, I am just bored of the original tounge.gif

Link to comment
Share on other sites

um iirc ive changed them years ago, theres no texture for it, its all handled by data so just search effect.fxp for "spark" or something, then change the rgb to test if it works

 

if you dont know what value youre supposed to change, check the tutorial forum, theres a tut about effects.fxp editing (spray can color or something)

Link to comment
Share on other sites

Suction Testicle Man

Sorry, in that case it is easily editable if its stored in a text file. Shows how much I know biggrin.gif I had a look around the file, but didn't have time to test anything, but this is an explanation as far as I can make out:

 

Open effect.fxp, then search for 'prt_spark'. Scroll down until you find the next paragraph that starts with 'FX_INFO_COLOUR_DATA'. This paragraph contains all the colour info for this effect, in RGBA (Red, Green, Blue, Alpha) format.

 

Each colour is labelled accordingly (eg. 'RED'), so the red data for the effect is stored up until it says 'GREEN'. That section is in four parts, since there are four frames as part of this effect animation. Each frame appears to be labelled 'FX_KEYFLOAT_DATA', and 'TIME' and 'VAL' are the amount of time this frame appears for, and the RGBA value of this frame.

 

If you wanted all frames to be solid blue, you would set the VAL for every frame under RED to 0.000, then the game for GREEN. Then under BLUE, you would set the VAL for every frame to 255.000

 

In case you don't know, RGBA values are just RGB values with an Alpha (the alpha sets the transparency). RGB values are simply 3 sets of values, from 0-255 (total of 256 options) that dictate a specific colour. Here is a big list of examples.

 

Further down effect.fxp is another section labelled 'prt_spark_2' - my guess is there are two types of spark, and one section for each.

 

There are lots of other effects in that file that you can play around with too, such as the spraycan and waterspray smile.gif

 

If anyone has done more testing or knows more about the file, please contribute!

If at first you don't succeed, you fail, and the test will be terminated.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 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.