Tank Destroyer
10 years ago
So I want it to be that when my custom unit is hit(by any weapon) a Special Effect will pop up on the position of the unit(the one that's been hit)

I tried this:
ArmorSet
    Conditions            = PLAYER_UPGRADE
    Armor                 = Energy
    DamageFX              = SupW_OCL_PatriotEMPEffectSpheroid
  End
But it didn't work, even though I upgraded the unit the special effect didn't come up 😞, anyone can help me with this ?
Currently learning how to create 3D models with GMAX so that I can make my C&C Generals Zero Hour mod even more better. 🙂
Sponsor
Zatsupachi
10 years ago
That's an OCL not a DamageFX. It has to be an entry from DamageFX.ini
"It's precision_bomber."
Death Label HAS BEEN RELEASED(go get v0.99):
http://www.moddb.com/mods/death-label/downloads/death-label-ver-099 
Next Episode:
precision_bomber's Zero Hour SCIENCE!
Tank Destroyer
10 years ago
Ok so I'll make a DamageFX first in DamageFX.ini then put it there 😄. Though what does "OCL" stand for ?
Currently learning how to create 3D models with GMAX so that I can make my C&C Generals Zero Hour mod even more better. 🙂
klingondragon
10 years ago
Tank Destroyer
10 years ago
Ok so I added these stuff to DamageFX.ini and FXList.ini:

DamageFX.ini
DamageFX EnergyHit
  ThrottleTime = DEFAULT 100
  
  AmountForMajorFX  = DEFAULT           2.0
  MajorFX           = DEFAULT           FX_EnergyShieldStruck
  MinorFX           = DEFAULT           FX_EnergyShieldStruck
End

FXList.ini
FXList FX_EnergyShieldStruck
  LightPulse
	Color = R:20 G:50 B:255
	Radius = 50
	IncreaseTime = 0
	DecreaseTime = 7000
  End
End
And for the unit:
ArmorSet
    Conditions            = None
    Armor                 = Energy
    DamageFX              = EnergyHit
  End
Tho, it doesn't give me the result I wanted, the unit only lights-up/glow the area around it when attacked(and for some reason also when being repaired O.O)
How can I make this kind of special effect:
When the unit is hit then a Blue-ish Sphere will appear in the unit's position.
Is that even possible to make? if so then, how can I make it?
Currently learning how to create 3D models with GMAX so that I can make my C&C Generals Zero Hour mod even more better. 🙂