Jump to content


Photo

Area of effect and non direct garrison clearing?


  • Please log in to reply
3 replies to this topic

#1 Madin

Madin

    title available

  • Hosted
  • 686 posts

Posted 26 August 2014 - 05:30 PM

I am wondering if there are any methods to get area of effect (for example to get an Iron curtain blast to kill garrisoned infantry) garrison clearing.

And also in a similar vain, non direct garrison clearing ( for example using something similar to the sonic tower weapon in C&C3 to clear multiple garrisons in one shot).

The first non direct clearing would be useful for my Iron curtain player power.

The second kind of non direct clearing would be useful for my Disruptor. I currently have it firing a number of projectiles that appear continuous, and each projectile has a fire weapon update which causes it to do damage while it passes through any object on its way to a target.

Because apparently garrison clearing weapons must target the structure they are going to clear (hence the frequent use of 'HitStoredTarget' attribrute), the weapon fire update is not able to clear garrisons in any building that it passes through.

Any idea how I could solve this?



#2 -SilverBane-

-SilverBane-

    Inactive Noob

  • Project Team
  • 474 posts
  • Location:Bucharest
  • Projects:Life
  •  Mapper & Coder

Posted 26 August 2014 - 06:50 PM

Should the garrisoned units don't have the object status unattackable? ( Just an idea) So they can be hit? Also i think i saw somewhere this thing "passenger hit percentage".
Try removing from tower's code that object status.

2qm3dd5.jpg


#3 Ealendril der Dunkle

Ealendril der Dunkle
  • Project Team
  • 25 posts

Posted 26 August 2014 - 09:51 PM

Try this for your Warhead:

 

    DamageContainedNugget
        KillCount = 5
        KillKindof = INFANTRY
        KillKindofNot = NONE
        DeathType = BURNED
    End

 

And this could be interesting for you Weapon:

 

    HitPassengerPercentage    = 20%



#4 Madin

Madin

    title available

  • Hosted
  • 686 posts

Posted 27 August 2014 - 02:51 AM

Thanks for the information!






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users