http://pastebin.ca/1964269
Basically, what it's supposed to do is add a customparam for weapons that will cause that weapon to not damage (or do -damage in this case) to enemy units.
Quantum already helped me some (This is a mutation of his no friendly fire gadget), and I've tried everything I could think of (Which, admittedly, isn't much).
Anyone see where I went wrong?
Can someone help fix this gadget?
Moderator: Moderators
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Can someone help fix this gadget?
In new spring don't you have to return two values for PreDamaged, being damage and impulse? Other than that it looks pretty solid.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: Can someone help fix this gadget?
Problem is, it doesn't work 
Also about the two damage values you mentioned... I don't understand

Also about the two damage values you mentioned... I don't understand

- bobthedinosaur
- Blood & Steel Developer
- Posts: 2702
- Joined: 25 Aug 2004, 13:31
Re: Can someone help fix this gadget?
well wouldnt you define them as 0, 0 for 0 damage and 0 impulse?
Re: Can someone help fix this gadget?
Yep, so you'd have:bobthedinosaur wrote:well wouldnt you define them as 0, 0 for 0 damage and 0 impulse?
return damage, 1
or
return 0, 0
At least this is what every damage gadget in BA was changed to with new spring.
Re: Can someone help fix this gadget?
You only have to return the first value, second is optional.
(Unless it was broken again in 82.6.1 but I haven't heard any complaints from S44 testers)
(Unless it was broken again in 82.6.1 but I haven't heard any complaints from S44 testers)