Files

> > CS2D > Lua Scripts > Build Helper
Files overviewCS2D overviewLua Scripts overview

English Build Helper >

64 comments2 kb, 2,460 Downloads

old Build Helper

Vectarrio
User Off Offline

This lua turns on/off making buildings behind you(on previous player tile position). It can be useful for town build maps. It can build all of the buildings, except Laser mines and portals/teleporters.

Version 2

Say commands:
-build barricade (builds barricades)
-build wire (builds barbed wires)
-build wall 1/2/3 (builds walls 1/2/3)
-build turret 1/2/3 (builds single/double/triple turrets)
-build gate field (builds gate fields)
-build mine (builds mines)
-build supply (builds supplies)
-build dispencer (builds dispensers)
-build stop (stop building anything)
-destroy all (destroy all buildings by this player)

Console commands:
buildings_destroy_T/CT/N/ALL (destroys all buildings built by CT/T/Yellow or All buildings)
added in version 2: buildings_destroy_player ID (destroys all buildings by player number ID)
I made it from scratch(except initArray function and toTable function), and I don't know if there is some scripts like that.

BEWARE OF LOTS OF MINES, if they explode, game CRASHES.
Approved by GeoB99

Download Download

2 kb, 2,460 Downloads

Comments

64 comments
Page
To the start Previous 1 2 3 4 Next To the start

Log in!

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

old

DrPyromatic
User Off Offline

You should update the script with the console command because its usefull against building spam.
I like it!

old

Vectarrio
User Off Offline

One question: Should I update the script with console commands "buildings_destroy_player ID" ?

old

DrPyromatic
User Off Offline

It is a usefull script when i play against Bots.
I like it!

old

Night Till Death
User Off Offline

Amazing i must say very helping for admins 5*
I like it!
To the start Previous 1 2 3 4 Next To the start