Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Tank Destroyer  
#1 Posted : Tuesday, June 30, 2015 5:18:26 AM(UTC)
Tank Destroyer
Captain
Joined: 3/8/2013(UTC)
Posts: 81
Philippines
Location: Antipolo,Rizal

Thanks: 13 times
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:
Code:
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 Sad, 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
Offline Zatsupachi  
#2 Posted : Tuesday, June 30, 2015 7:23:33 AM(UTC)
Zatsupachi
Major
Joined: 3/27/2015(UTC)
Posts: 490

Thanks: 5 times
Was thanked: 213 time(s) in 155 post(s)
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/mod...oads/death-label-ver-099

Next Episode:
precision_bomber's Zero Hour SCIENCE!
Offline Tank Destroyer  
#3 Posted : Tuesday, June 30, 2015 9:43:27 AM(UTC)
Tank Destroyer
Captain
Joined: 3/8/2013(UTC)
Posts: 81
Philippines
Location: Antipolo,Rizal

Thanks: 13 times
Ok so I'll make a DamageFX first in DamageFX.ini then put it there Smile. 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. :)
Offline klingondragon  
#4 Posted : Tuesday, June 30, 2015 10:59:09 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex

Thanks: 16 times
Was thanked: 247 time(s) in 217 post(s)
Object Creation List
thanks 1 user thanked klingondragon for this useful post.
CommieDog on 6/30/2015(UTC)
Offline Tank Destroyer  
#5 Posted : Tuesday, June 30, 2015 12:10:42 PM(UTC)
Tank Destroyer
Captain
Joined: 3/8/2013(UTC)
Posts: 81
Philippines
Location: Antipolo,Rizal

Thanks: 13 times
Ok so I added these stuff to DamageFX.ini and FXList.ini:

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


FXList.ini
Code:
FXList FX_EnergyShieldStruck
  LightPulse
	Color = R:20 G:50 B:255
	Radius = 50
	IncreaseTime = 0
	DecreaseTime = 7000
  End
End

And for the unit:
Code:
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. :)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.