Change Color of Weapon Effect
-
Okay, I’ve found the releavant part of the file - thanks for the guidance!
Now I’m looking at the daunting task of knowing which of those decimal values to edit, IE:
SubEntry = 0.0000000000000000, 1.0000000000000000, 0.5019608139991760, 0.2509804069995880 SubEntry = 0.5517241358757019, 0.9529412388801575, 0.7372549176216126, 0.0784313753247261
Since the FLDev program doesn’t seem to give RGP values from decimal values it’s tough to know what is what. Are these gradients? Is one SubEntry all one color? What’s the method to the madness?
EDIT: I’ve tried changing the values to see what happens but unfortunately I can’t figure out how to properly re-encode the files ><. When I use ALE editor it just gives me my_effect.tale. My kingdom for a Readme.
-
.tale is just like .ale. Replace the old ALE file with the new one and it’ll do the trick.
FLDev actually does swap through between RGB and Decimal in the Math Tools. As long as the syntax is correct, it should work. Remember however that the first value in the SubEntry is timing and should NOT be put in FLDev.
-
.tale is just like .ale. Replace the old ALE file with the new one and it’ll do the trick.
FLDev actually does swap through between RGB and Decimal in the Math Tools. As long as the syntax is correct, it should work. Remember however that the first value in the SubEntry is timing and should NOT be put in FLDev.
Ah, of course :P. I made the changes, fixed a few FUBARs I made, and BAM It works! Thanks so much to all of you! I would never have figured that out without your assistance!
Unfortunately I’ve still got one last problem. The effect that I originally was copying from, is now mimicing the same colors (even though I put this in a totally seperate file. Here’s my references
WEAPONS_ALE.INI
[VisEffect] nickname = ku_capgun_01_proj alchemy = fx\weapons\ku_capgun_01.ale effect_crc = 147112183 textures = fx\standardeffects.txm textures = fx\photon.txm textures = fx\sarma.txm [VisEffect] nickname = dw_pulsephasers_fx alchemy = fx\weapons\dw_pulsephasers_fx.ale effect_crc = 147112183 textures = fx\standardeffects.txm textures = fx\photon.txm textures = fx\sarma.txm
EFFECTS.INI
[Effect] nickname = ku_capgun_01_proj effect_type = EFT_WEAPON_PROJ vis_effect = ku_capgun_01_proj vis_generic = ku_capgun_01_proj [Effect] nickname = dw_pulsephasers_fx effect_type = EFT_WEAPON_PROJ vis_effect = dw_pulsephasers_fx vis_generic = dw_pulsephasers_fx
I have a feeling it is the effect_crc number being the same since the two are in different fx files - but how do I generate a new one? Google yields no help yet again.
-
You should find a CRC calculator on digitalbrillance.com in the downloads section, made by our one and only Lancer Solurus (look for DB software).
-
You take the effect’s name in the AEL file and plug it into the calculator, then get the CRC out of it.
-
Both are the same…
Remember Freelancer uses unsigned integers for CRCs. this means there are always two possible ways to represent a CRC in decimal, one positive and one negative.
0xFFFFFFFF = 4 294 967 295 (maximum value of any integer)
Say I take “test” as a CRC, it gives me either -4192492930 or 102474366…
-4 192 492 930 + 4 294 967 295 = 10 2474 366
-
Well that’s certainly easier lol, thx FF
Guess they use different ones when they get bored to mix things up a bit?Hunt21: you did also rename that part of the effect in the decoded .anl and .ael files as well? That plus the correct CRC should have you up and running.
-
-
**Use my CRC/ Hash Calculator, it calculates the effect CRC for you. All you do is copy and paste the nickname of the FX in the .AEL file into the top edit box in the calculator. Then press enter or click on calculate.
As far as it not showing up, you might want to check FLSpew.txt for an ALE related error.**