Forum

> > CS2D > General > Infinite building
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Infinite building

8 replies
To the start Previous 1 Next To the start

old Infinite building

NESHO
User Off Offline

Quote
I want to know how to set infinite building on, so that I can build not just one turret!

old Re: Infinite building

playa slaya
COMMUNITY BANNED Off Offline

Quote
first download 1 of the infinint build scripts here at the website.then go to your Counter-Strike 2d folder and select
'sys' then in the 'sys' folder open 'lua' then in that folder
open server with notepad or wordpad then type

-- dofile("sys\lua\<lua name>.lua")

the <lua name> is the name of the lua script dont use < >

to activate remove --

to deactivate add --

the lua FILE for infinit build must be in the lua FOLDER

old Re: Infinite building

NESHO
User Off Offline

Quote
Oh, wow, that's not so simple, well I get almost everything, I go to sys, then open lua, then open server with notepad, buuut, I dont undersatnd this:"the <lua name> is the name of the lua script dont use < > " What did you mean by that? I don't have my lua script, I barely know what a lua script is, I know that it adds new features in the game, but I don't know how to make them! And yes, in the server file is already written A LOT of things, and should I write what you said on the end or...? I'm really a big n00b, so don't be harsh...please? Oh yes, and I don't know where I can find the infinite building script here at the site, nor what should I do with it! Could you please speak more n00bish!

old Re: Infinite building

playa slaya
COMMUNITY BANNED Off Offline

Quote
uhm yeah the end will do. what i meant by
the <lua name> is the name of the lua script dont use < >
is that is the name like when you download and open it
it should have a name on the lua file like for example
you download a file and you open the folder(s) then theres
a lua file and is named infinitbuild .so you would type on the server file

-- dofile("sys/lua/infinitbuild")


the< > just shows that there needs to be somthing there(the name)so you dont put that, pretend its not there
just put the name there.
if you still dont get it feel free to ask

old Re: Infinite building

Vibhor
User Off Offline

Quote
Script is not compulsory
Use mp_building_limit Turret 999999 in console
Just replace any name of the building with turret for other building limits

and for gatefield use "gate field" with the"

old Re: Infinite building

playa slaya
COMMUNITY BANNED Off Offline

Quote
Vibhor has written
Script is not compulsory
Use mp_building_limit Turret 999999 in console
Just replace any name of the building with turret for other building limits

and for gatefield use "gate field" with the"


thats true but you have to type that every time you start
a server.

old Re: Infinite building

Vectarrio
User Off Offline

Quote
create .lua file, and type in it:
1
2
parse("mp_building_limit turret 999999")
parse("mp_building_limit \"gate field\" 99999")

and in server type dofile(path to your lua and its name)

old Re: Infinite building

Zune5
COMMUNITY BANNED Off Offline

Quote
Just wondering, on default, what is the Wall I, II, III put on?
This is @DC: If you don't know the answer don't answer it...

old Re: Infinite building

DC
Admin Off Offline

Quote
the default limit is 1000 for all types of these buildings (including barbed wire and barricade)
you never reach this limit in a normal game though.

btw:
using Lua just to change a CS2D setting is TOTAL nonsense! It's actually the most difficult way you can choose! (see Vibhor's post)

open sys/server.cfg and insert the following at the end:
1
mp_building_limit "Turret" 999999

done. that's it. you can also simply enter the line in your console but then you have to do that again whenever you (re-)start the server.
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview