Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline rey  
#1 Posted : Saturday, November 7, 2015 9:57:33 AM(UTC)
rey
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)
Sponsor
Offline Gameanater  
#2 Posted : Saturday, November 7, 2015 1:06:11 PM(UTC)
Gameanater
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 5/13/2013(UTC)
Posts: 1,537
United States
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.
Offline rey  
#3 Posted : Sunday, November 8, 2015 5:32:06 AM(UTC)
rey
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

Offline matthewandnathan  
#4 Posted : Wednesday, November 25, 2015 2:33:13 AM(UTC)
matthewandnathan
Private
Joined: 1/21/2013(UTC)
Posts: 43
Thailand
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."
Offline rey  
#5 Posted : Wednesday, November 25, 2015 1:59:40 PM(UTC)
rey
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.