Major Joined: 11/6/2015(UTC) Posts: 152
Thanks: 8 times Was thanked: 4 time(s) in 4 post(s)
|
i'm trying to modify a vehicle-healing unit. it uses object for field auto-heal: Quote: Behavior = AutoHealBehavior ModuleTag_Repair01 HealingAmount = 8.0 Radius = 150.0 HealingDelay = 400 StartsActive = Yes KindOf = VEHICLE ForbiddenKindOf = AIRCRAFT SkipSelfForHealing = No End plan is to upgrade it to repair additionally buildings. i know i can just add STRUCTURE to KindOf but that's too bold = requirement for upgrade, or even better GP would be wonderful!(like Repair Rank2)
|
|
|
|
General Joined: 5/13/2013(UTC) Posts: 1,537 Location: Right Behind You Thanks: 574 times Was thanked: 166 time(s) in 144 post(s)
|
Just copy the USA Ambulance's module. Boom, done. :D (Just remove "INFANTRY" in the untis it can heal) Edited by user Saturday, November 7, 2015 4:51:44 PM(UTC)
| Reason: Not specified |
Any old friends still on here can add me on discord @jcdenton2187. I'm far more likely to respond there. |
|
|
|
Major Joined: 11/6/2015(UTC) Posts: 152
Thanks: 8 times Was thanked: 4 time(s) in 4 post(s)
|
i found only this block in INIZH.big Quote: Behavior = AutoHealBehavior ModuleTag_22 HealingAmount = 4 HealingDelay = 1000 ; msec Radius = 100.0f StartsActive = Yes KindOf = INFANTRY End Behavior = AutoHealBehavior ModuleTag_23 HealingAmount = 5 HealingDelay = 1000 ; msec Radius = 100.0f StartsActive = Yes KindOf = VEHICLE ForbiddenKindOf = AIRCRAFT SkipSelfForHealing = Yes End but there is no upgrade dependance here(in Ambulance block at all). i changed respectively VEHICLE for 22 and STRUCTURE for 23, added TriggeredBy = Upgrade_name to ModuleTag_23 = no luck, unit repairs both from the start. yet, is it possible at all to make GP be required? add: made it, StartsActive=Yes(need No) was the culprit. still can't make it be "triggered" by GP, RequiredScience = SCIENCE_name only 'causes crash.( Edited by user Sunday, November 8, 2015 6:38:10 AM(UTC)
| Reason: Not specified
|
|
|
|
Private Joined: 1/21/2013(UTC) Posts: 43 Location: San Sai Thanks: 7 times Was thanked: 3 time(s) in 2 post(s)
|
You might be able to have a gp grant the ability to buy an upgrade. |
"Overlord Moving." |
|
|
|
Major Joined: 11/6/2015(UTC) Posts: 152
Thanks: 8 times Was thanked: 4 time(s) in 4 post(s)
|
yeah, already understood that there is only such uncomfortable way, not worth the effort./ (at least 4 .ini to modify)
|
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.