Forum

> > CS2D > Scripts > Fast Building Upgrade
Forums overviewCS2D overview Scripts overviewLog in to reply

English Fast Building Upgrade

8 replies
To the start Previous 1 Next To the start

old Fast Building Upgrade

ArChaLV
User Off Offline

Quote
can someone help me to make a fast upgrade like have turret 1 then it not upgrade 1% but 50% can or when left click on it can select to what turret can it make 1 2 or 3
HELP!

old Re: Fast Building Upgrade

ArChaLV
User Off Offline

Quote
@2Fast4You: no like that i need like when build turret 1 then that button you holding to upgrade it upgrades 1% but i need script like it upgrades 10%

old Re: Fast Building Upgrade

Rhox
User Off Offline

Quote
maybe it's possible, if a dual turret needs more time to upgrade than a single turret then there must be a way to do a faster upgrade thing...

old Re: Fast Building Upgrade

DannyDeth
User Off Offline

Quote
Actually, Yates, it is sort of possible. However there is no hook for it. You have to add a hook to "attack1", check if the player's weapon is a spanner, figure out which tile he is pointing at, then checking building type ( this will determine if it is possible or not, couldn't find anything about checking buildings on a tile in info.txt so I assume it isn't possible ) and finally 'upgrade' the building if the building is upgradable.

old Re: Fast Building Upgrade

ArChaLV
User Off Offline

Quote
@DannyDeth: mybe some how like that attack1 if weapon==74 then turret 10% 20% 30% 40% 50% 60% 70% 80% 90% turret II then turret II 10% 20% 30% 40% 50% 60% 70% 80% 90% 95% turret III done... @Yates: it's possible!

Help! Answer!
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview