Say you have two maps in your mod, and only one gun. Tantive 4, Hoth, and the rebel blaster rifle. You want sparky/flamey effects on Tantive 4, and snow puffs on Hoth. Here's what you can do.
Set the ordance impact effect in the blaster rifle from this
toImpactEffectSoft = "com_sfx_ord_exp"
ImpactEffectRigid = "com_sfx_ord_exp"
ImpactEffectStatic = "com_sfx_ord_exp"
ImpactEffectTerrain = "com_sfx_ord_exp"
ImpactEffectWater = "com_sfx_watersplash_ord"
ImpactEffectShield = "com_sfx_ord_exp"
ExpireEffect = "com_sfx_ord_exp"
You can name it whatever you want, but you cannot leave it with a stock name.ImpactEffectSoft = "com_fx_impact"
ImpactEffectRigid = "com_fx_impact"
ImpactEffectStatic = "com_fx_impact"
ImpactEffectTerrain = "com_fx_impact"
ImpactEffectWater = "com_sfx_watersplash_ord"
ImpactEffectShield = "com_fx_impact"
ExpireEffect = "com_fx_impact"
Next, use the side making process to make two new sides, FX1 and FX2. However, in each side there will be only one folder "effects".
For FX1, make it's REQ name FX1 and add this code.
For FX2, make it's REQ name FX2 and add this code. (Yes it is the same)ucft
{
REQN
{
"config"
"com_fx_impact"
}
}
Now go into the particle editor, make yourself a sparkey/flamey effect, and a snow puff effect (you don't have to use custom effects, this is just an example.)ucft
{
REQN
{
"config"
"com_fx_impact"
}
}
Take the sparkey/flamey effect and paste it into FX1-->effects.
Take the snow puff effect and paste it into FX2-->effects.
Now go into your mission script for the hoth level. Add these lines right before the sides are loaded, and right after the sounds are loaded.
Now on your tantive 4 level, paste these lines in the same place.ReadDataFile("dc:SIDE\\FX2.lvl",
"com_fx_impact")
Munge your rebel soldier, your script, and both of your new sides. Play your hoth map and shoot the ground, watch snow fly, then play your tantive 4 map, and watch sparks fly! As you can imagine, you can really get creative with this, adding it to explosions and other stuff. It's like a skins loading mod for effects. I used this in all of my 3.5 mod maps, and had five effect sides, with like 15 effects each.ReadDataFile("dc:SIDE\\FX1.lvl",
"com_fx_impact")
Credits:
Me, CavalryCaptainMike


