Results 1 to 9 of 9

Healing aura issues. Need help.

  1. #1

    Healing aura issues. Need help.

    I made a medic squad and added a healing aura to the medic entity. (same a triage) I'm not sure how to make it so HE DOESN'T recieve healing from it; I just want nearby infantry to recieve healing. Does anyone know what the issue may be?

  2. #2
    Member
    Join Date
    May 2012
    Location
    The Netherlands (Holland)
    Hi there was a thread like this but with a halftrack, it should be the same.
    The healing aura is an action and its in (triage_center) gamedata/construction_ext/on_construction_actions/ability_actions it's the action_01, you should just copy it into your medic unit.
    Go to attrib\attrib\ebps\races\(your race)\soldiers\(your unit).rgd open it, and put the copied action in (your unit) gamedata\action_apply_ext\ability_actions\action_01
    Now every unit of your medic squad will add a health regeneration bonus of 0,25 to every soldier within a radius of 15.
    I did it myself with observation posts and it also worked with a halftrack so it can work.
    Good luck.

    Greeting WVPM

    PS: if that doesn't work please attach your medic unit file so I can take a look at it.

  3. #3
    I actually want it so it DOESN'T heal the medic. I just want it to heal nearby infantry. But thanks I got down the first step!!

  4. #4
    Member
    Join Date
    May 2012
    Location
    The Netherlands (Holland)
    Oh I must have skipped that part, but you can disable the healing of medics by all medics (takes some time) , but I think that is worse than medics self healing or you could make medics heal slower (health regeneration or the bonus).
    Sorry I can't help you any further.

    Greetings WVPM

  5. #5
    Most of these things pick up a _type what it affects or gives modifiers too. In this case its an "infantry" type thats affected by the aurora. What you can do is just make a new medic type and give that to your medics so there not affected, as only infantry type will be affected

  6. #6
    Member
    Join Date
    May 2012
    Location
    The Netherlands (Holland)
    Thanks for the help sirpsychoj but (like I said) it will disable medics being healed by eachother and things like a triage center, while Ryunnz only wants to prevent medics healing themself.

    Greetings WVPM
    Last edited by General WVPM; 20th Jun 12 at 5:23 AM.

  7. #7
    Member I_am_a_Spoon's Avatar
    Join Date
    Jan 2010
    Location
    Western Australia
    You could add a second target action to the medic that mitigates the HP regen modifier within a radius of like 0.01. So he'll negate/cancel out his own aura, but still be healable by other medics (due to the cumulative modifiers).

  8. #8
    Member
    Join Date
    May 2012
    Location
    The Netherlands (Holland)
    Thanks I_am_a_Spoon I didn't think of that and that sounds exactly like what Ryunnz wants.
    I think we can close the thread now (if Ryunnz agrees).

    Greetings WVPM

  9. #9
    Member Jes's Avatar
    Join Date
    Apr 2008
    Location
    The Phalanx.
    .. You could also just add the following unary to his heal aura's target filter:

    operation: not
    target info: type_ability_target_type\is_self.lua

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •