Forum

> > CS2D > Scripts > LUA map generator/editor
Forums overviewCS2D overview Scripts overviewLog in to reply

English LUA map generator/editor

17 replies
To the start Previous 1 Next To the start

old LUA map generator/editor

DarkBooy
User Off Offline

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


Quote
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
edited 6×, last 02.05.13 09:54:21 am

old Re: LUA map generator/editor

VertekS
User Off Offline

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

old Re: LUA map generator/editor

DarkBooy
User Off Offline

Quote
user EngiN33R has written
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
edited 1×, last 04.05.13 08:22:43 am

old Re: LUA map generator/editor

Infinite Rain
Reviewer Off Offline

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

old Re: LUA map generator/editor

Avo
User Off Offline

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

old Re: LUA map generator/editor

Iceath
User Off Offline

Quote
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

old Re: LUA map generator/editor

DannyDeth
User Off Offline

Quote
user Infinite Rain has written
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.

old Re: LUA map generator/editor

DannyDeth
User Off Offline

Quote
user Infinite Rain has written
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.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview