Forum

> > CS2D > General > How to have unlimited buildings?
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch How to have unlimited buildings?

12 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt How to have unlimited buildings?

Louie
User Off Offline

Zitieren
I've seen in some maps that players there had more than 10 Turrets,and other buildings how do i do that also because everytime i build a building and try to build another of the same type then it says "You can't build more buildings of this type" so how do i make many buildings of the same type?(like many Turrets at the same time)

alt Re: How to have unlimited buildings?

DC
Admin Off Offline

Zitieren
You can simply put the extracted Lua file into "sys/lua/autorun". That way you don't have to touch/edit anything. Less room for mistakes.

Note that you also have to restart your server or at least change the map afterwards so the Lua stuff gets reloaded and activated.

Check the console output for Lua errors (and post them here) if it still doesn't work after these steps.

alt Re: How to have unlimited buildings?

Louie
User Off Offline

Zitieren
user BountyHunter hat geschrieben
1. Put Construction.lua in lua folder
2. Open server.lua and in the bottom of page insert this line:
dofile("sys/lua/Construction.lua")

Thats what i did but still nothing.
@DC the sys/lua/autorun theres no autorun there only sys/lua(well,for me)

alt heres some tip

DarkZBrine
User Off Offline

Zitieren
@user Louie: i know you dont understand heres some tips when you download the file it leads to sys/lua right?,.so theres the lua file name example : unli+build.lua paste in sys/lua the file then open server.lua using notepad then type at the bottom dofile("sys/lua/unli+build.lua") get it this will work

alt Re: How to have unlimited buildings?

Louie
User Off Offline

Zitieren
user DarkZBrine hat geschrieben
@user Louie: i know you dont understand heres some tips when you download the file it leads to sys/lua right?,.so theres the lua file name example : unli+build.lua paste in sys/lua the file then open server.lua using notepad then type at the bottom dofile("sys/lua/unli+build.lua") get it this will work

That is what i did i opened that server.lua file then i typed in the file
IMG:https://i.imgur.com/4w53zQh.png

And i also tried it without the --dofile thing but it still doesnt work am i doing something wrong?

alt Re: How to have unlimited buildings?

_Yank
User Off Offline

Zitieren
@user Louie: ROFL
Remove the "--", they're used for making comments (Everything after -- will be ignored like it isn't there).
You should also check if the Construction.lua is on the sys/lua folder O.o
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht