Joined: 09 Mar 2008 Location: Osaka (JP)/Hong Kong/Germany
Posted: Fri Mar 27, 2015 10:20 am Post subject:
Is it possible to create non-Crawl-y warheads?
Subject description: For a DoT effect
Is it possible to create warheads which do not cause their target to crawl when they deal damage? I would like to have a "poisoning" effect in my mod (and a few other DoT effects) and it would seem kind of weird if infantry was crouching in order to try to take cover from being poisoned. QUICK_EDIT
Damage=0 on the weapon (so infantry don't crawl)
Real damage done by particlesystem on warhead. (infantry don't see PS damage as a normal hit to which they start crawling) _________________ SHP Artist of Twisted Insurrection: Nod buildings
Joined: 09 Mar 2008 Location: Osaka (JP)/Hong Kong/Germany
Posted: Fri Mar 27, 2015 11:17 am Post subject:
Oh sorry, I should've said that this is with AttachEffect... edited the OP now.
Not sure if AttachEffect.Animations can have a particle system, but let me try your method right away. _________________
Mao Zedong wrote:
Our mission, unfinished, may take a thousand years.
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Fri Mar 27, 2015 12:43 pm Post subject:
Via trailers, they can. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
Joined: 09 Mar 2008 Location: Osaka (JP)/Hong Kong/Germany
Posted: Fri Apr 03, 2015 11:44 am Post subject:
Is it the regular Trailer= tag on AE animations too? I've only used it for meteors and projectiles so far and it does not seem to work on my AE animation. Do they only work on meteor type animations?
Edit:
Nevermind, figured it out. It's TrailerAnim for animations, not Trailer.
Editedit:
Unfortunately!... it seems infantry DOES infact crawl from particle damage.
Have I made a mistake somewhere? There doesn't seem to be any other way to tack particles onto animations:
;------------------------------------------------------------------------------
; THE WARHEAD
[Psychotronic]
Verses=100%,100%,100%,10%,10%,10%,10%,10%,10%,10%,10%
Versus.tinfoil=0%
MindControl=yes
MindControl.Permanent=yes
AttachEffect.Animation=MINDANIMT ; the animation itself deals no damage...
AttachEffect.Duration=-1
;------------------------------------------------------------------------------
; THE AE ANIMATION
[MINDANIMT]
Image=NULL
LoopCount=-1
Rate=300
TrailerAnim=MINDTRAL
TrailerSeperation=2 ; 1pt of damage every 2 frames ; tweak this (and particle damage) to get at the MaxEC of a MC'd infantry.
;------------------------------------------------------------------------------
; THE TRAILER ANIMATION
[MINDTRAL]
Image=NULL
SpawnsParticle=ControllerPrototypePart
NumParticles=1
;------------------------------------------------------------------------------
; THE PARTICLE
[ControllerPrototypePart]
Image=none
MaxDC=1
MaxEC=1
Damage=1 ; here is the damage the effect should make against infantry per frame
Warhead=PsychicWH ; psychic damage
StartFrame=0
EndStateAI=1
Translucency=50
WindEffect=0
BehavesLike=Gas ; this needs to be gas (MaxEC ensures it won't be residual)
StateAIAdvance=3
DeleteOnStateLimit=yes
;------------------------------------------------------------------------------
; THE PARTICLE WARHEAD
[PsychicWH]
Verses=100%,100%,100%,0%,0%,0%,0%,0%,0%,0%,0%
Versus.tinfoil=0%
InfDeath=6
PsychicDamage=yes ; psychic, but not mind control
All parts of it are fully functional, the animations are invoked, the particles are invoked, the only part that does not work is that the infantry will crawl under its effect. _________________
Mao Zedong wrote:
Our mission, unfinished, may take a thousand years.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum