Forum

> > CS2D > General > How to have unlimited buildings?
Forums overviewCS2D overviewGeneral overviewLog in to reply

English How to have unlimited buildings?

12 replies
To the start Previous 1 Next To the start

old How to have unlimited buildings?

Louie
User Off Offline

Quote
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)

old Re: How to have unlimited buildings?

DC
Admin Off Offline

Quote
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.

old Re: How to have unlimited buildings?

Louie
User Off Offline

Quote
user BountyHunter has written
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)

old heres some tip

DarkZBrine
User Off Offline

Quote
@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

old Re: How to have unlimited buildings?

Louie
User Off Offline

Quote
user DarkZBrine has written
@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?

old Re: How to have unlimited buildings?

_Yank
User Off Offline

Quote
@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
To the start Previous 1 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview