Files

> > CS2D > Lua Scripts > Upgrade Control
Files overviewCS2D overviewLua Scripts overview

English Upgrade Control >

4 comments3 kb, 435 Downloads

old Upgrade Control

Kiffer-Opa
User Off Offline

• version 1.0

Upgrade Control allows you to control which upgrades of the available buildings are allowed and which aren't. If a player tries to upgrade a building which this script forbids, the building will simply not be upgraded and the player does not pay $100.

The upgrades are:
Barricade > Wall I
Wall I > Wall II
Wall II > Wall III
Supply > Super Supply
Turret > Dual Turret
Dual Turret > Triple Turret
You can allow or disable each of them.

To use this script,
you must configure it first
by editing the file upgradecontrolconfig.lua. This file includes further inscructions.

To run this script, you must load the file "upgradecontrol.lua", for instance by writing
1
dofile("sys/lua/upgradecontrol.lua")
into server.lua.
Approved by SQ

Download Download

3 kb, 435 Downloads

Comments

4 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

RingotheMix
User Off Offline

Useful script. Its so good.
I like it!

old Tell me men!

imtheshamman
User Off Offline

Hey! i dont understand this how can i run the script? what is that dofile blah blah blah? it freaks me out i wanna know how to freaking do that code am i gonna click (Open With) ??? Men when i click that all of the Lua files will be all Txt

old

Apache uwu
User Off Offline

I like how it's highly commented. Looks nice
I like it!

old

maPmaKer
User Off Offline

Seems interesting, might give it a try. Till then , I'll rate 5/5. I know this should be great, so hopefuly it won't disapoint.
I like it!
To the start Previous 1 Next To the start