AdrianeMapMaker
8 years ago
Like i wanted the player to capture a building -Technology Center-

If this building had been captured all of his tanks will be granted a plus 25 health
Is the General's Have This Logic?

Edit : I think i found it -
Strategy Center Logic But how can i use one of them
-Damage Scalar Only

What behavior can i use - is it battleplan behavior again pls need help.
A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb 

UserPostedImage




Sponsor
Unknown Editor
8 years ago
I don't think You can edit the Hold the Line Plan (or any other {If you Want to}) ...
They are all Specified in GameData.ini and I don't think can be done fine .

But for one thing if it is Possible to Gain an Upgrade by EVEN Capturing a Building , Well you sure can make it like this :

Set Grant Upgrade Module for your Really Specific Respective Building :

 AddModule
   Behavior       = GrantUpgradeCreate ModuleTag_UpHP
   UpgradeToGrant = RocketBuggyToxinUpgrade ; as It's Useless
  End
 End
End[/code] AddModule
   Behavior       = GrantUpgradeCreate ModuleTag_UpHP
   UpgradeToGrant = RocketBuggyToxinUpgrade ; as It's Useless
  End
 End
End

and then add this to your Units :

 AddModule
  Behavior        = MaxHealthUpgrade ModuleTag_MoreHP
    TriggeredBy   = RocketBuggyToxinUpgrade
    AddMaxHealth  = 25.0
    ChangeType    = ADD_CURRENT_HEALTH_TOO ; PRESERVE_RATIO SAME_CURRENTHEALTH
  End
 End
End

But for a Bug ... When You Loose the Building you sure can't get the rid of that extra HP :ashamed:
Maybe by another Upgrade and Conflicts with in the Behavior and a couple of Scripts 😁

Edit : Now to be more Honest I can Only find Weapon Bonuses in GameData.ini for the BattlePlans ...
Health Bonuses are only for Veterancy Levels ... No idea where is Hold the Line Bonus Set 😒
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel
Static : Launch Delayed
Reason : Uncool Terrain - Old Logic in use - Lack of Performance
Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300%