View unanswered posts | View active topics It is currently Tue Mar 19, 2024 7:25 am



Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
 Random Map V6 
Author Message
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
 Random Map V6
Hi,

So this is a random map generator, and it generates random maps.
To use it open the lua console while in the main menu and type this:
Code:
RandomMap(x,y)

Replace x and y by the dimentions of the desired map in pixels(obviously bigger maps take more time to generate).
Then wait until the dos window closes and start an activity on the scene called Random Map.

Here is an example of a 5000 by 1600px random map:
Note: this picture does't have textures so the materials look bad, still they will look normal in-game, same thing for the pink sky.


Download:
Attachment:
RandomMap6.rar [309.67 KiB]
Downloaded 1564 times


Old:


Feedback is always appreciated.
Also you may use these as a starting point to create your own hand made maps.


Last edited by Mehman on Thu Mar 01, 2012 1:49 pm, edited 2 times in total.



Wed Feb 22, 2012 1:16 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Thu Jun 11, 2009 2:34 pm
Posts: 966
Location: Moscow, Russia
Reply with quote
Post Re: Random Map
We're another step closer to procedurally generated content, gentlemen :)


Wed Feb 22, 2012 5:19 pm
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Tue May 25, 2010 8:27 pm
Posts: 4521
Location: Constant motion
Reply with quote
Post Re: Random Map
I think I could make a nifty infinite base mission with this... hmm...


Wed Feb 22, 2012 6:40 pm
Profile
User avatar

Joined: Sat Oct 09, 2010 10:01 am
Posts: 303
Location: Afrique d' Sud
Reply with quote
Post Re: Random Map
Mehman, your astounding works always amaze me. You may not get thousands of pages of comments, but your mod deserves millions.


Wed Feb 22, 2012 6:41 pm
Profile YIM WWW
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: Random Map
Thanks, that means a lot to me.


Wed Feb 22, 2012 6:45 pm
Profile
User avatar

Joined: Sun Jan 28, 2007 10:32 pm
Posts: 1609
Location: UK
Reply with quote
Post Re: Random Map
Looks pretty nifty, although probably not a whole lot of use to average users? The ability to load, save and edit the scenes could be pretty handy for makers though... especially stuff like UnmappedLands. Use this to make a good starting terrain, maybe finetune it in a graphics editor if need be, and away you go!


Wed Feb 22, 2012 6:55 pm
Profile YIM
User avatar

Joined: Tue Nov 17, 2009 7:38 pm
Posts: 909
Location: France
Reply with quote
Post Re: Random Map
Arcalane wrote:
The ability to load, save and edit the scenes could be pretty handy for makers though...


The scene is saved in RandomMap.rte/carte.bmp, and it is replaced when you generate anothermap, still you can make a copy of the maps you like to modify them.


Wed Feb 22, 2012 7:00 pm
Profile
User avatar

Joined: Sun Mar 07, 2010 7:19 am
Posts: 1279
Location: Places. And things.
Reply with quote
Post Re: Random Map
Holy... My random skirmishes just got 10 times better now that I don't have to play the same map 50 times in a row.


Wed Feb 22, 2012 9:08 pm
Profile
User avatar

Joined: Wed Feb 08, 2012 10:12 pm
Posts: 611
Location: Brazil
Reply with quote
Post Re: Random Map
To make a map that is REALLY REALLY REALLY smooth, I should leave the x and y the same?


Thu Feb 23, 2012 12:11 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Mon Jul 12, 2010 5:39 am
Posts: 4557
Reply with quote
Post Re: Random Map
It's the dimensions of the map in total pixels, where x is horizontal area and y is vertical.
Creating a 500x500 map or something similar would only make it a square.


Thu Feb 23, 2012 2:20 am
Profile WWW
User avatar

Joined: Wed Feb 08, 2012 10:12 pm
Posts: 611
Location: Brazil
Reply with quote
Post Re: Random Map
Then how I make a smooth map?


Thu Feb 23, 2012 3:56 pm
Profile
User avatar

Joined: Sun Jan 28, 2007 10:32 pm
Posts: 1609
Location: UK
Reply with quote
Post Re: Random Map
If by "smooth" you mean "relatively flat"... keep generating until you get one you like, or make one the hard way. Simple as that.


Thu Feb 23, 2012 4:09 pm
Profile YIM
User avatar

Joined: Wed Feb 08, 2012 10:12 pm
Posts: 611
Location: Brazil
Reply with quote
Post Re: Random Map
The hard way? Please explain.


Thu Feb 23, 2012 6:53 pm
Profile
User avatar

Joined: Mon Feb 12, 2007 12:46 am
Posts: 1765
Location: ..............
Reply with quote
Post Re: Random Map
Joseh123 wrote:
The hard way? Please explain.

He means by making the scene handmade.


Thu Feb 23, 2012 11:09 pm
Profile
User avatar

Joined: Fri Feb 17, 2012 3:46 am
Posts: 82
Reply with quote
Post Re: Random Map
very very nice mod i love it. its funny to have a very small map like (750,750) and put the enemy difficulty on insane and let the crazy drop ship looping begin just a little glitch to bring to attention though when a map loops if you put one soldier on one side of the loop and another soldier on the second side of the loop when you put you're aim on side one you can only see that soldiers health but if you put the aim on side 2 you can only see the seconds guys heath and not the guy on the other side of the loop and sometimes on smaller maps where you can see you're self multiple times (cause of loop) it likes to jump from version of you to another so if you see you're self 3 times sometimes it will jump to the first you or the you on the right or the you on the left making it a almost impossible task to aim in a situation like that


Fri Feb 24, 2012 4:58 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 18 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.132s | 18 Queries | GZIP : Off ]