Forum

> > CS2D > Scripts > Unlimited build
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Unlimited build

12 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Unlimited build

kerker
User Off Offline

Zitieren
And this is again my another topic on the forum today.
I called for the question how to make so all players was unlimited buildings.
Search did not give the desired results, where they are also fast (although I think it's good, but in this case it is not necessary) or they are all free ( also in this case not necessary.)
• My english is bad...

alt Re: Unlimited build

Yates
Reviewer Off Offline

Zitieren
@user kerker: Is there anything you don't understand about the documentation? Your latest few questions are very basic and shouldn't really have been asked.

There are:
• Console commands
Want to change a server setting? You'll probably find it in this list.
• Lua Hooks
On an event (whever something happens) you can execute whatever you want.
• Lua Commands
Pretty self-explanitory.

You shouldn't ask questions before you have checked the documentation out, you will learn more by trying it yourself. Don't worry if you think you won't get it, trust me, no one got "code" their first try.

alt Re: Unlimited build

kerker
User Off Offline

Zitieren
user GeoB99 hat geschrieben
Use cs2d cmd mp_building_limit and change the value for every building to 999. No code or anything Lua scripting related needed. √

Thanks, but I have some questions:
• should I write a command for each type of building separately?
• Can be me write it in server.cfg, or where???
• This setting will be off on the next map?

alt Re: Unlimited build

Talented Doge
User Off Offline

Zitieren
1. You should write a line for every type of building that you want it to be unlimited.

2. You can write it in server.cfg, but it will possibly be overwritten the next time you change your server settings.

3. It will be gone when you change your map/restart your server if you change the limits in-game.

What you need to do: Write for every building you want it to be unlimited, and save the file as a .lua file, and put it in lua/autorun.

alt Re: Unlimited build

kerker
User Off Offline

Zitieren
user Talented Doge hat geschrieben
.
What you need to do: Write for every building you want it to be unlimited, and save the file as a .lua file, and put it in lua/autorun.

Me try, but it`s no working.
1
mp_building_limit "Turret" 999

alt Re: Unlimited build

Masea
Super User Off Offline

Zitieren
Where did you write it? Console? If yes, then try this;
mp_building_limit turret 999

If you're writing that on .lua files, use this;
parse("mp_building_limit turret 999")

Because while you writing CS2D Console Commands in .lua, you must use cs2d lua cmd parse.

alt Re: Unlimited build

Lobwver
User Off Offline

Zitieren
Zitat
3.Nope.Unless you can set @cs2d cmd mp_building_limit 0 again.

what?

You have to write the limit to every cons.
as example: mp_building_limit turret / dispenser / "gate field"

btw, the problem seems solved
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht