Files

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

English Build Helper >

64 comments2 kb, 2,538 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,538 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

admininthedeep
User Off Offline

Idk how to install it ._. can some one tell me how to add the code ?

old pls answer this!!

Black0ps
User Off Offline

How can i turn it on!? or how to do this? i follow the guide but how can i use it!? . But this is nice!!
I like it!

old

chongcsfui
User Off Offline

Vectar666 this is how to make line dofile("sys/lua/build_helper.lua) and extracted zip into right file

old

Apache uwu
User Off Offline

nicer good work

add color! having just yellow text makes the script look bland

+ antispam
I like it!

old

Vectarrio
User Off Offline

did you extracted zip into right folder?
did you make line dofile("sys/lua/build_helper.lua") in your server.lua or set mp_luamap to build_helper.lua?

old

chongcsfui
User Off Offline

Vectar666 why this not work

old

Geez
GAME BANNED Off Offline

AWESOME!!!

HAIL VECTAR666!!!
I like it!

old

Anderst
User Off Offline

HELL YEAH! THANK YOU VERY VERY VERY MUCH!
I like it!

old

Vectarrio
User Off Offline

@GunShot
Read the description carefully, this script builds LOTS of turrets with ONE message.

old

GunShoT
User Off Offline

This script is not it a lot of work.
However, I think it deserves a good review of this script.
Only one thing I want to know, you have to press a button if you want to build somehow so very many turrets in a row.
That you can explain it better but otherwise the script is great.
Greeting GunShot
I like it!

old Wooow!

viniveid3r
User Off Offline

This script is very good! Nice to build fast. Don't have Super Supply but...
jonathan indonesia has written
So Nice i will build without upgrade, but where super supply?
Quote
Copy the code down and put in this script...

1
2
3
4
5
--Super Supply
	elseif (message=="-build super supply") then
		vbh_mode[id]=15
		msg2(id,"Now builded Super Supply")
		return 1
To build: -build super supply
Thanks for the script, it's Awesome!
I like it!

old

Sudden Death
User Off Offline

wernch is better? uhhaha maybe said too "more better is my windows 98"?..
I like it!

old

Vectarrio
User Off Offline

jonathan indonesia@
This script was uploaded before new CS2D version which includes Super Supply

old

jonathan indonesia
User Off Offline

So Nice i will build without upgrade, but where super supply?
I like it!

old

Slater
User Off Offline

Not Bad... but Problems with Very Silly Player and Mines :/...
I like it!

old

HP-KingZz
User Off Offline

Its lol but it's good i like it and i downloaded it!
I like it!

old

Vectarrio
User Off Offline

@DragonAwper
Too hard to remove 4 strings of script?

old

DragonAwper
User Off Offline

shadowski has written
useless, wrench is better

wrench is better!
it's too bad
easy to build triple turret
triple turrets are not normal buildings they are upgraded buildings!

old

Krimhorn
User Off Offline

Ha, it's crazy, and i like it 5/5
I like it!
To the start Previous 1 2 3 4 Next To the start