InVion Posted November 28, 2008 Share Posted November 28, 2008 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 edit: this is in San Andreas btw Link to comment Share on other sites More sharing options...
xmen Posted November 28, 2008 Share Posted November 28, 2008 yes, those are particles. Textures can be found in particle.txd and info about it in effect.fxp Link to comment Share on other sites More sharing options...
InVion Posted November 28, 2008 Author Share Posted November 28, 2008 Thanks, but I lookedand couldnt find them! Link to comment Share on other sites More sharing options...
Darecki Posted November 28, 2008 Share Posted November 28, 2008 Then look in EffectsPC.txd Link to comment Share on other sites More sharing options...
InVion Posted November 28, 2008 Author Share Posted November 28, 2008 (edited) THanks but its not in there either D: Is there a mod ready made that I could download that colours the sparks already? Edited November 28, 2008 by InVion Link to comment Share on other sites More sharing options...
Suction Testicle Man Posted November 29, 2008 Share Posted November 29, 2008 THanks but its not in there either D: Is there a mod ready made that I could download that colours the sparks already? 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 More sharing options...
InVion Posted November 29, 2008 Author Share Posted November 29, 2008 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 Link to comment Share on other sites More sharing options...
rebel_36 Posted November 29, 2008 Share Posted November 29, 2008 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 More sharing options...
xmen Posted November 29, 2008 Share Posted November 29, 2008 yes, just press Ctrl + F and "spark" and you will find several. Hope those will help. Link to comment Share on other sites More sharing options...
InVion Posted November 29, 2008 Author Share Posted November 29, 2008 Thanks for your help all Link to comment Share on other sites More sharing options...
InVion Posted November 30, 2008 Author Share Posted November 30, 2008 Sorry for double posting, but with what program can I open the .fxp file? Thanks :w Link to comment Share on other sites More sharing options...
xmen Posted November 30, 2008 Share Posted November 30, 2008 Sorry for double posting, but with what program can I open the .fxp file? Thanks :w notepad Link to comment Share on other sites More sharing options...
coin-god Posted November 30, 2008 Share Posted November 30, 2008 There was a GUI program but icant remmeber it name. Link to comment Share on other sites More sharing options...
Suction Testicle Man Posted December 2, 2008 Share Posted December 2, 2008 Sorry, in that case it is easily editable if its stored in a text file. Shows how much I know 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 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now