-
-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Penetration damage on garrisonable structures #1370
base: develop
Are you sure you want to change the base?
Penetration damage on garrisonable structures #1370
Conversation
- Warheads can now damage garrisoned infantry at impact. - `GarrisonPenetration` Enables the logic. - `GarrisonPenetration.RandomTarget` specifies if the damage will go at some random garrisoned soldier or if all infantry should be damaged at the same time. - `GarrisonPenetration.DamageMultiplier` can be used to modify the damage applied against the garrisoned infantry. A random percentage value will be picked between the specified range. - `GarrisonPenetration.CleanSound` can be used to specify a sound to play when the structure lost all the garrisoned soldiers with this logic. - `ImmuneToGarrisonPenetration` can be set on garrisonable buildings to protect the garrisoned infantry. If used on infantry these units won't affected by this logic. In `rulesmd.ini`: [SOMEWARHEAD] ; Warhead GarrisonPenetration=false ; boolean GarrisonPenetration.RandomTarget=true ; boolean GarrisonPenetration.DamageMultiplier=1.0,1.0 ; floating point value - single or comma-sep. range (percentages) GarrisonPenetration.CleanSound= ; sound entry [SOMETECHNO] ; TechnoType ImmuneToGarrisonPenetration=false ; boolean
Nightly build for this pull request:
This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build. |
Isn't it similar to Ares Pass Through? https://ares-developers.github.io/Ares-docs/new/buildings/urbancombattrenches.html |
There were some issues with that garrison logic that i do not remember right now, and this feature here might allow for better control over what can get cleared and what not. |
GarrisonPenetration
Enables the logic.GarrisonPenetration.RandomTarget
specifies if the damage will go at some random garrisoned soldier or if all infantry should be damaged at the same time.GarrisonPenetration.DamageMultiplier
can be used to modify the damage applied against the garrisoned infantry. A random percentage value will be picked between the specified range.GarrisonPenetration.CleanSound
can be used to specify a sound to play when the structure lost all the garrisoned soldiers with this logic.ImmuneToGarrisonPenetration
can be set on garrisonable buildings to protect the garrisoned infantry. If used on infantry these units won't affected by this logic.In
rulesmd.ini
:[SOMEWARHEAD] ; Warhead
GarrisonPenetration=false ; boolean
GarrisonPenetration.RandomTarget=true ; boolean
GarrisonPenetration.DamageMultiplier=1.0,1.0 ; floating point value - single or comma-sep. range (percentages)
GarrisonPenetration.CleanSound= ; sound entry
[SOMETECHNO] ; TechnoType
ImmuneToGarrisonPenetration=false ; boolean