Posted: Fri Nov 09, 2012 6:04 am Post subject:
Cheating the buildtime TS
Ever wanted to create an expensive building which is build very quickly? Well there is a way to do that. .
When your building spawns a free unit like for example the refinery does with the harvester it also gets a new minimum price. This minimum price is the one of the free unit regardless of what the price in the refinery code is.
However the buildtime is not the one from the free unit, it remains the one from the refinery. BTW buildtime is calculated through the price.
So if you modify your refinery to cost 300$ it will cost 1400$ to build but is build as quickly as a barracks.
This is especially useful for mods with techleveling. Didn't yet test if deployable units also get this effect but will do and post results. I'd guess some here already knew that, its completely new for me and not really obvious so I tell about it. QUICK_EDIT
That's how DTA has made the expensive refinery to build faster in classic mode, so it works like in TD, where it costs 2000Cr but builds as quick as a 600Cr building.
OrangeNero wrote:
This is especially useful for mods with techleveling.
The other way round would be more useful for these, as we want a techbuilding to take long to build but don't cost needlessly much.
So you think twice if you really want to stop your further expansion and wait for the long building tech structure.
It might be worth a try, to give a building Cost=10000 and a FreeUnit which has Cost=-9000. So the building effectively costs 1000 but builds as slow as a 10000 credits building. Though i assume it would simply use the cost of the building as this is the more expensive one.
Tiberian Dawn was better here, as it simply summed up the two costs for the final cost. Not like TS which only uses the more expensive cost value and ignores the other.
OrangeNero wrote:
Didn't yet test if deployable units also get this effect but will do and post results. I'd guess some here already knew that, its completely new for me and not really obvious so I tell about it.
Not sure what you mean, but deployable units are build by the warfactory. Not as a building.
Deployer can use FreeUnit too, but it's bad since everytime you deploy the unit, you get another one for free. So it makes the game imbalanced. _________________ SHP Artist of Twisted Insurrection: Nod buildings
If I'd like to build a tech center that costs 10000 and I want to build it fast, BUT I don't want any free unit to appear in the game, what can I do? Is it possible to add a "fake" unit of some kind? _________________ Inactive Projects >> Tiberian Sun: Tech Level War http://www.ppmsite.com/forum/index.php?f=843
Download the latest beta: http://www.moddb.com/mods/cc-tiberian-sun-tech-level-war QUICK_EDIT
You could... But the only method I know of would result in the unit's price getting refunded entire when you place the building. To do this you simply have to make sure the free unit won't be able to move on the terrain type it'll spawn on by for example giving it MovementRestrictedTo=Rock or SpeedType=Winged. _________________ QUICK_EDIT
give the FreeUnit a weapon with Range=255, Damage=0 and give the unit GuardRange=255
Then give the weapon Anim=KILLME, while you create the new animation KILLME to do enough damage in art.ini to kill the unit.
If the FreeUnit has no explosion and is invisible (no image), then the unit will kill itself right after it's spawned. _________________ SHP Artist of Twisted Insurrection: Nod buildings
give the FreeUnit a weapon with Range=255, Damage=0 and give the unit GuardRange=255
Then give the weapon Anim=KILLME, while you create the new animation KILLME to do enough damage in art.ini to kill the unit.
If the FreeUnit has no explosion and is invisible (no image), then the unit will kill itself right after it's spawned.
Or an invisible hunterseeker with a fake weapon (and something like Speed=50). This way it will ALWAYS self-destruct, even when the enemy has only stealth units left. Dunno if in either case you can get rid of the "unit lost" EVA voice. _________________ QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum