Forum

> > CS2D > General > Buildings Script Help
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Buildings Script Help

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Buildings Script Help

SugarRush
User Off Offline

Zitieren
I am trying to make a little more complicated building script for these purposes:

-Unlimited buildings

-Make the space allowed between dispensers ect smaller to 2 squares in between the 2 buildings

-Faster upgrades of builings (15% faster)

-Change the Money cap from 16,000 to 20,000

-Make the build time of wall 1 to 1 second, wall 2 4s, wall 3 7s

-Make gate feild instant build


As you can see, this is a much bigger building mod script to what most have made. i have done the unlimited buildings script and dont kno were to go from here. Im noob at Lua, but i kno about how to get cs2d comands into the lua and i also know how to activate the sripts in my dedi. lol

Help is much appreciated

alt Re: Buildings Script Help

ohaz
User Off Offline

Zitieren
unlimited buildings:
parse("mp_building_limit 'building' 9999999999")
dispenser space... should not be possible, except when you just spawn a building with cs2d commands ( cs2d cmd spawnobject ). but then the player is able to build infinite dispensers.
Faster Upgrades: don't know how to do this. You could set the upgrade price lower?
Money Cap: possible by using arrays with the money in it and cs2d cmd hudtext to show the player how much money he has.

alt Re: Buildings Script Help

SugarRush
User Off Offline

Zitieren
ok then i just ned to know how to make the building distance limit between buildings gone...
1× editiert, zuletzt 27.03.10 04:38:38

alt Re: Buildings Script Help

DC
Admin Off Offline

Zitieren
there is no setting for that and it is a very bad idea to remove this minimum distance. you shouldn't do it.

you can probably do it anyway by skipping the build hook and creating the building yourself.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht