The internet is a lawless place with knowledge and sarcastic wit the pistols of this wild frontier.
Don't go out without being sufficiently armed.

~Blade

Other places

Ares (Current version: 0.B)

Ares's primary facilities have been moved elsewhere:

  • If you wish to report a bug in Ares, please proceed to its bugtracker.
  • If you'd like to request a feature, register a blueprint.
  • If you have questions or can provide answers regarding Ares's usage, visit the Q&A section.
  • Before you post a new question, you should check the FAQ, though.

Behavior

  • Mind the forum rules.
  • Due to its documentedly horrible quality, we do not offer NPatch support.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AmbientDamage
Author Message
Ares Tester Drogan Offline
Junior Member
**

Posts: 36
Joined: 17 Apr 2010
Reputation: 0
Post: #1
AmbientDamage
I've been trying to get a weapon to punch through enemies in front of the targeted unit using AmbientDamage. So far, I could only get it work work if I have IsSonic=yes. The entry for it on Modenc sounded like it should work on any kind of weapon though (minus the special ones of course)...

Is there a way to get AmbientDamage to work without having to use IsSonic=yes?
23.09.2011 06:04:29
Find all posts by this user Quote this message in a reply
Commander-in-Chief DCoder Offline
Not Ares Anymore
*****
Admins

Posts: 1 756
Joined: 22 Nov 2004
Reputation: 18
Post: #2
RE: AmbientDamage
With Ares, that should be possible on all Wave weapons, and iirc railguns can apply it too.

23.09.2011 06:12:34
Visit this user's website Find all posts by this user Quote this message in a reply
Ares Tester Drogan Offline
Junior Member
**

Posts: 36
Joined: 17 Apr 2010
Reputation: 0
Post: #3
RE: AmbientDamage
Hmm, would weapons with regular projectiles like cannon balls work?

EDIT: What am I saying? What meant to say was, is it suppose to work with regular projectiles?
(This post was last modified: 23.09.2011 06:44:50 by Drogan.)
23.09.2011 06:38:14
Find all posts by this user Quote this message in a reply
Commander-in-Chief Renegade Offline
Lazy Modder
*****
Admins

Posts: 1 906
Joined: 21 Nov 2004
Reputation: 14
Post: #4
RE: AmbientDamage
I was pretty sure AmbientDamage works on all weapons? Lift eyebrow
ModEnc doesn't mention any limitations, either.

Forum Rules

(01.06.2011 05:43:25)kenosis Wrote:  Oh damn don't be disgraced again!

(25.06.2011 20:42:59)Nighthawk Wrote:  The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
23.09.2011 18:47:23
Visit this user's website Find all posts by this user Quote this message in a reply
Ares Tester Drogan Offline
Junior Member
**

Posts: 36
Joined: 17 Apr 2010
Reputation: 0
Post: #5
RE: AmbientDamage
Ok, I just tried this in vanilla YR and it didn't work either...

Going through the original rules file. it looks like it only works for all weapons from TS.
That is: FireballLauncher, SonicZap, and LtRail

What a misleading entry...
I'm going to add more info about this now.
(This post was last modified: 24.09.2011 02:54:57 by Drogan.)
24.09.2011 02:25:02
Find all posts by this user Quote this message in a reply
Commander-in-Chief DCoder Offline
Not Ares Anymore
*****
Admins

Posts: 1 756
Joined: 22 Nov 2004
Reputation: 18
Post: #6
RE: AmbientDamage
After looking at the code, I can say I was right - AmbientDamage only works on Wave weapons and IsRailgun=yes . As far as I can see, FireballLauncher's particles deliver the damage, not its AmbientDamage, but since its Damage = 0, leaving AmbientDamage = 0 would make this weapon impotent as far as targeting is concerned.

24.09.2011 07:07:46
Visit this user's website Find all posts by this user Quote this message in a reply
Ares Tester Drogan Offline
Junior Member
**

Posts: 36
Joined: 17 Apr 2010
Reputation: 0
Post: #7
RE: AmbientDamage
Ok, that answers my question. I've added the bit onto its entry on ModEnc.

Thanks you guys for your help!
24.09.2011 07:32:29
Find all posts by this user Quote this message in a reply
Commander-in-Chief Renegade Offline
Lazy Modder
*****
Admins

Posts: 1 906
Joined: 21 Nov 2004
Reputation: 14
Post: #8
RE: AmbientDamage
@D: Is it possible this is a patch- or YR-change to stock RA2? 'cause I'm rather sure I've had AmbientDamage working on stuff like lasers before...Wtf (checking)
Weird.

Forum Rules

(01.06.2011 05:43:25)kenosis Wrote:  Oh damn don't be disgraced again!

(25.06.2011 20:42:59)Nighthawk Wrote:  The proverbial bearded omni-bug may be dead, but the containment campaign is still being waged in the desert.
24.09.2011 11:58:47
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)