I can't get AttachEffect to work
Has this been implemented yet? I try to use AttachEffect and it doesn't work. Here's my code:
[GENERICWH]
CellSpread=5
PercentAtMax=.5
Wall=yes
Wood=yes
Verses=
Conventional=yes
Rocker=no
AttachEffect.
AttachEffect.
AttachEffect.
Tiberium=no
Sparky=no
It doesn't seem to work for me, so it's obvious I'm either doing something wrong or it's not in 0.4 yet...
But this says "New in 0.4" so I'm guessing it's not in there yet...?
http://
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ares Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Templarfreak
- Solved:
- 2013-11-29
- Last query:
- 2013-11-29
- Last reply:
- 2013-11-29
This question was reopened
- 2013-11-29 by Templarfreak
Graion Dilach (graiondilach) said : | #1 |
Yes, AttachEffects are not applied on 0% verses. Neither does EMP or other Ares effects tbh.
Templarfreak (nodtrooper32) said : | #2 |
That doesn't help, I also tried putting it on the Super Weapon that this is attached to and it doesn't work...
[GenericSWSpecial]
UIName=
Name=SuperWeapon
IsPowered=true
RechargeTime=0.1
Type=GenericWarhead
SidebarImage=
ShowTimer=no
DisableableFrom
AttachEffect.
AttachEffect.
AttachEffect.
AttachEffect.
Cursor.Frame=431
Cursor.Count=1
SW.AnimationVis
SW.AffectsHouse
SW.ManualFire=Yes
SW.Warhead=GENRICWH
EVA.Activated=
Templarfreak (nodtrooper32) said : | #3 |
I am completely certain I am using 0.4. Does it go on the Warhead and the VS has to have at least 1% or something? o.o
Graion Dilach (graiondilach) said : | #4 |
Yes, Warhead needs to have at least 1% verses against intended target to get the AttachEffect applied to it. The exact percentage does not matter as long as it's not 0%.
Graion Dilach (graiondilach) said : | #5 |
wait... why the hell do you added AE tags to your superweapon?! Get those out, they're warhead tags, duh.
Templarfreak (nodtrooper32) said : | #6 |
Uh, sorry. Did not know, it's not very specific on the Documentations page. xD
Templarfreak (nodtrooper32) said : | #7 |
Thanks Graion Dilach, that solved my question.
Templarfreak (nodtrooper32) said : | #8 |
One more quick question, for Type=GenericWar
Graion Dilach (graiondilach) said : | #9 |
"AttachEffect tags can be applied to both the Big Four (all TechnoTypes) and Warheads, unless stated otherwise."
Second sentence. It's there.
Graion Dilach (graiondilach) said : | #10 |
No, you don't really need to use Actions on new SWs, they're just for mouse defaults.
Templarfreak (nodtrooper32) said : | #11 |
Okay, it still won't work. It's suppose to be set up like this, right?
[MINDHAZEWH]
CellSpread=5
PercentAtMax=.5
Wall=yes
Wood=yes
Verses=
AttachEffect.
AttachEffect.
AttachEffect.
AttachEffect.
Conventional=yes
Rocker=no
Tiberium=no
Sparky=no
[MindhazeSpecial]
UIName=
Name=GenericSup
IsPowered=true
RechargeTime=0.1
Type=GenericWarhead
SidebarImage=
ShowTimer=no
DisableableFrom
Cursor.Frame=431
Cursor.Count=1
SW.AnimationVis
SW.AffectsHouse
SW.ManualFire=Yes
SW.Warhead=
EVA.Activated=
Templarfreak (nodtrooper32) said : | #12 |
*Facepalm* It's an ! instead of 1...Hold on, lemme test it one more time.
Templarfreak (nodtrooper32) said : | #13 |
Okay, thanks for all the help. It's fixed now and functioning.