Forum

> > CS2D > Scripts > LUA map generator/editor
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch LUA map generator/editor

17 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt LUA map generator/editor

DarkBooy
User Off Offline

Zitieren
Hi users us !,

i found cool lua script on http://c4.x10.mx/lua-scripts.html
it can generate arbitary maps on fly on running server - all code in pure lua
and have sample scipts:
RANDOM MAZE generator what makes maze of any sizes and complexity from 2x2 to 100000x100000 and more
WALL CONVERTOR sample script what makes all walls on map destructibe , and it can make maps with itself (automatic).

there is some example of maze maps :
[1]
[2]
[3]

there is link of lua scripts : >
Spoiler >


Zitat
there is steps to use/work this script :
1.put lua files on root game directory, near cs2d.exe
(not to sys/lua, it can be placed anywhere, but you need edit dofile path in sample files)

2.Start server and enter in console:
lua dofile("maze.lua")
OR
lua dofile("convertwalls.lua")

3.than check new map in maps directory

4. and now you can mapchange to new maps, or start editor and add some modifications


INFO
maze maps have only one right way to exit point.

PS:
original creators of script: ........C-4........ server admins
6× editiert, zuletzt 02.05.13 09:54:21

alt Re: LUA map generator/editor

VertekS
User Off Offline

Zitieren
I saw one of these maps and I didn't thought that it is randomly generated

In my opinion, this script can make too big maps. For example, map with 301 x 301 tiles is definitely too huge.

In summary - really amazing work.

alt Re: LUA map generator/editor

DarkBooy
User Off Offline

Zitieren
user EngiN33R hat geschrieben
I get the feeling that "........C-4........ server admins" are not the original authors of this script.


@user EngiN33R: ok this is your opinion , Give me the evidence of your words
1× editiert, zuletzt 04.05.13 08:22:43

alt Re: LUA map generator/editor

Infinite Rain
Reviewer Off Offline

Zitieren
@user EngiN33R:
It happens that no one knows the real owner of c-4 server. Their site and map uploading is full-secure. I made map with a trigger_if entity, with a script which will give me RCon and tried to upload, but guess what? I get a message 'Trigger_if entity contains forbidden code'.

Whoever the admin is, he is a genius.

alt Re: LUA map generator/editor

Avo
User Off Offline

Zitieren
Owner isn´t a genius, but at least thinking guy with imagination. Script is really nice, if it´s made by ..c4..'s owner, I want to meet him (or her).

alt Re: LUA map generator/editor

Iceath
User Off Offline

Zitieren
one of the Top 15-Ranked Players,i think it was the 5.Ranked,he got the Skype of him..not sure but i'll ask some of them

alt Re: LUA map generator/editor

DannyDeth
User Off Offline

Zitieren
user Infinite Rain hat geschrieben
I know, I've made that. Tried to upload to c-4 server, but their website told me that trigger_if contain forbidden code.


Wow, you are a special child, aren't you? I meant on the server-side. The script written by C-4's owner. Although parse would probably not be the only function changed in that instance.

alt Re: LUA map generator/editor

DannyDeth
User Off Offline

Zitieren
user Infinite Rain hat geschrieben
It's still not a reason to call me 'a special child'.


You should be glad I called you special. Don't you like being special? It's good to be set apart from the norm. It defines you as a shepard instead of a sheep.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht