Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Nov 26, 2026 11:53 pm
All times are UTC + 0
Cheating the buildtime TS
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
OrangeNero
Commander


Joined: 11 Jan 2012

PostPosted: Fri Nov 09, 2012 6:04 am    Post subject:  Cheating the buildtime TS Reply with quote  Mark this post and the followings unread

Ever wanted to create an expensive building which is build very quickly? Well there is a way to do that. Wink .

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.

Back to top
View user's profile Send private message
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Nov 09, 2012 7:43 am    Post subject: Reply with quote  Mark this post and the followings unread

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

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
206UE
Stealth Laser Trooper


Joined: 07 Jan 2010

PostPosted: Fri Nov 09, 2012 3:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

7hanks for the useful information. I usually just change the BuildSpeed=XX in the [general] section.

Back to top
View user's profile Send private message
TiberFCSL
Cyborg Artillery


Joined: 10 Nov 2006

PostPosted: Fri Nov 09, 2012 5:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

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

Back to top
View user's profile Send private message
Ixonoclast
General


Joined: 11 Aug 2008
Location: Somewhere up high.

PostPosted: Fri Nov 09, 2012 5:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

I guess so.

Back to top
View user's profile Send private message
Bittah Commander
Defense Minister


Joined: 21 May 2003
Location: The Netherlands

PostPosted: Fri Nov 09, 2012 5:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

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.

_________________

Back to top
View user's profile Send private message ModDB Profile ID YouTube User URL Facebook Profile URL
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Nov 09, 2012 5:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

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

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
SuperJoe
Commander


Joined: 03 Sep 2009

PostPosted: Fri Nov 09, 2012 8:06 pm    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:
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.

_________________

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [8 Posts] Mark the topic unread ::  View previous topic :: View next topic
:  
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.1626s ][ Queries: 9 (0.0086s) ][ Debug on ]