Major Joined: 11/6/2015(UTC) Posts: 152
Thanks: 8 times Was thanked: 4 time(s) in 4 post(s)
|
is it possible in any way? the only variant i found is by making copies of units with edited build-times and obj names, plus change of commandset for construction building, exchanging "old" units with "edited". but maybe there's some other way?
|
|
|
|
Private Joined: 6/20/2017(UTC) Posts: 17 Thanks: 1 times Was thanked: 2 time(s) in 2 post(s)
|
Originally Posted by: rey is it possible in any way? the only variant i found is by making copies of units with edited build-times and obj names, plus change of commandset for construction building, exchanging "old" units with "edited". but maybe there's some other way? It's the only way I think.
|
|
|
|
Private Joined: 3/14/2017(UTC) Posts: 1
|
I'll have a proper dig when I get more time, but the Remix mod does this with the tank (and others?) general. Seems to work by piggybacking or reusing existing upgrades.
Specialize this Warfactory to the production of a single unit type.
Specialized units build twice as quickly and at half the cost.
CommandButton Tank_Command_ConstructChinaTankBattleMaster_Specialize Command = OBJECT_UPGRADE Upgrade = Upgrade_ChinaOverlordGattlingCannon TextLabel = CONTROLBAR:UpgradeChinaSpecializeBattleMaster ButtonImage = SNWarMaster ButtonBorderType = UPGRADE DescriptLabel = CONTROLBAR:TooltipUpgradeChinaSpecializeBattleMaster End
Upgrade Upgrade_ChinaOverlordGattlingCannon DisplayName = UPGRADE:ObjectUpgrade Type = OBJECT BuildTime = 15.0 BuildCost = 300 ButtonImage = SSUnitUpgrade UnitSpecificSound = OverlordExpansion End
Theres probably more relevant code to this, but its late and this may get you/others on the right track.
|
|
|
|
Major Joined: 11/6/2015(UTC) Posts: 152
Thanks: 8 times Was thanked: 4 time(s) in 4 post(s)
|
actually i accidentally found solution with creating obj that has little part of code of targeted unit, but with changed build time + BuildVariations that point to original unit.
|
|
|
|
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.