Forged Alliance Forever Forged Alliance Forever Forums 2012-10-15T19:25:50+02:00 /feed.php?f=2&t=2049 2012-10-15T19:25:50+02:00 2012-10-15T19:25:50+02:00 /viewtopic.php?t=2049&p=21772#p21772 <![CDATA[Re: Random map generator]]>

a pool of maps where the mass spots are spawned: ok

This is what I was originally thinking. Now do you know anyone who is able to code this and also more importantly do you know anyone who it willing?

Statistics: Posted by noobymcnoobcake — 15 Oct 2012, 19:25


]]>
2012-10-15T18:59:42+02:00 2012-10-15T18:59:42+02:00 /viewtopic.php?t=2049&p=21770#p21770 <![CDATA[Re: Random map generator]]>
as i sad
more or less random mass spots: ok
a pool of maps where the massspots are spawned: ok
a total random map: no , that was what i was thinking of when i read nooby's post the first time

Statistics: Posted by ColonelSheppard — 15 Oct 2012, 18:59


]]>
2012-10-15T18:50:18+02:00 2012-10-15T18:50:18+02:00 /viewtopic.php?t=2049&p=21769#p21769 <![CDATA[Re: Random map generator]]>
ColonelSheppard wrote:
and how do you want to prevent mass points from spawning into hills?

if you spawn hills, you know their coords and can spawn mass points somewhere out

Statistics: Posted by Raging_Squirrel — 15 Oct 2012, 18:50


]]>
2012-10-14T23:44:08+02:00 2012-10-14T23:44:08+02:00 /viewtopic.php?t=2049&p=21752#p21752 <![CDATA[Re: Random map generator]]>

and how do you want to prevent mass points from spawning into hills?


Dont have hills and if you do make sure the editor dont spawn mex in the hill area. For instance you could have 10 diferent "base" maps with exclusion areas set around the hills or water.


ofc you do random massspots on a flat 5v5 map thats no problem i guess, but i also think that would be boring

This is an option


(and btw how should this work with the vault oO?)

Yes. Filling the vault with random numbered maps would not be a good idea.

Statistics: Posted by noobymcnoobcake — 14 Oct 2012, 23:44


]]>
2012-10-14T23:10:58+02:00 2012-10-14T23:10:58+02:00 /viewtopic.php?t=2049&p=21750#p21750 <![CDATA[Re: Random map generator]]> ofc you do random massspots on a flat 5v5 map thats no problem i guess, but i also think that would be boring

(and btw how should this work with the vault oO?)

Statistics: Posted by ColonelSheppard — 14 Oct 2012, 23:10


]]>
2012-10-14T22:59:16+02:00 2012-10-14T22:59:16+02:00 /viewtopic.php?t=2049&p=21748#p21748 <![CDATA[Re: Random map generator]]>
ColonelSheppard wrote:
thats more or less impossible

a modular-map that can be constructed by some pre-defined parts maybe
i think you would have to re-writer the whole map editor, and you would need somekind of test if the map makes sence and, and, and...

maybe:
get all maps in the whole vault <= 20x20 and press random map

You dont even need to use the map editor. The only thing that would change would be markers and wreckage and you an change that by editing a text file. I don't see how you would have to rewrite anything for that. Just make a simple program that randomizes these numbers with certain limits.

Statistics: Posted by noobymcnoobcake — 14 Oct 2012, 22:59


]]>
2012-10-14T19:30:54+02:00 2012-10-14T19:30:54+02:00 /viewtopic.php?t=2049&p=21738#p21738 <![CDATA[Re: Random map generator]]>
a modular-map that can be constructed by some pre-defined parts maybe
i think you would have to re-writer the whole map editor, and you would need somekind of test if the map makes sence and, and, and...

maybe:
get all maps in the whole vault <= 20x20 and press random map

Statistics: Posted by ColonelSheppard — 14 Oct 2012, 19:30


]]>
2012-10-14T17:08:35+02:00 2012-10-14T17:08:35+02:00 /viewtopic.php?t=2049&p=21734#p21734 <![CDATA[Random map generator]]>
It would not have to be very complex maps with hills and other things. Just 4 mex within a set distance from the starting point and 6 others around the half of the map. Then it would mirror it for the other person. Just on a plain map texture background with no hills or anything. This would be awesome. If its even possible to go this far.

If its possible to go this far then you could bring in different textures and colours for the landscape. Possibly even more players, hills or water and other things like hydrocarbons and mass wreckage.

Any coders/mappers/anyone else here willing to give this a go? Anyone else interested in it?

For a map you have 2 important files. The SCMAP file that tells the game what the map looks like. The textures, the heightmap, the water and all other things. This could be just a flat 5x5 file and be the same for all the randonly generated maps or a type of background could be selectable from like 10 different styles.

The second file is the .LUA save file. This tells the game the coordinates of the mex, the wreckage, the unit that had been wrecked and AI markers. I think someone with a bit of coding experience could easily make a randomiser for this. So long as you mirror it for the other half of the map and keep 4 mex within a certain distance of the spawn point you should be fine. I uploaded the fields of thunder save.LUA as a text file for you to examine.

Statistics: Posted by noobymcnoobcake — 14 Oct 2012, 17:08


]]>