deep_forest_v0.1 Random Map Generator
#21
Posted 05 March 2012 - 09:30 AM
getDistance
getDirection
getAngle
I found notepad's replace function useful here.
Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com
Support Wildfire Games!
#22
Posted 05 March 2012 - 08:41 PM
Spahbod, on 05 March 2012 - 09:30 AM, said:
getDistance
getDirection
getAngle
I found notepad's replace function useful here.
Thx, I thought so, I'll rename them...
BTW: I hope you mean @ least notepad++
Edited by FeXoR, 05 March 2012 - 08:43 PM.
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#23
Posted 05 March 2012 - 09:03 PM
Nothing changed but the function names and removed some unused stuff. EDIT: Well, indeed I put it here.
Edit2: Oh, it seams I raised the tree density... sry, well, at least it's a 'deep' forest then...
deep_forest_v0.5.zip 6.04K
37 downloads
Edited by FeXoR, 05 March 2012 - 10:01 PM.
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#24
Posted 05 March 2012 - 10:03 PM
Wildfire Games Project Leader
Contact me: michaeldhafer[at]gmail.com
Support Wildfire Games!
#25
Posted 05 March 2012 - 11:01 PM
May take some time though until the next version cause I'll do some rewrites.
Found some bad code design and since I got to know JS a bit better I want to change it.
Thy for the feedback though.
EDIT: I'll go temperate. I think it fit's best to a deep forest...
Edited by FeXoR, 05 March 2012 - 11:58 PM.
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#26
Posted 06 March 2012 - 12:25 AM
Should really have read that x)
Didn't play AoK.
Didn't meant to steel someones ideas or offense anybody by naming my map 'deep forest' and not ' Ardennes Forest' (which is already taken btw) or anything else.
Edited by FeXoR, 06 March 2012 - 12:33 AM.
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#27
Posted 06 March 2012 - 12:47 AM
Wildfire Games Project Leader
Contact me: michaeldhafer[at]gmail.com
Support Wildfire Games!
#28
Posted 06 March 2012 - 09:33 AM
FeXoR, on 06 March 2012 - 12:25 AM, said:
Should really have read that x)
Didn't play AoK.
Didn't meant to steel someones ideas or offense anybody by naming my map 'deep forest' and not ' Ardennes Forest' (which is already taken btw) or anything else.
It is well done!
#29
Posted 06 March 2012 - 11:43 AM
Guess I will more or less finalize it then.
Edited by FeXoR, 14 March 2012 - 02:40 PM.
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#30
Posted 20 March 2012 - 02:44 PM
I'm working on it...
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#31
Posted 20 March 2012 - 10:47 PM
Not finished but 1/4 of the lines of the previous version
It may happen (though it only happened to me once) that a path runs out of the map and causes an error.
deep_forest2012-3-20.zip 2.71K
32 downloadsI'm still not happy with the terrain textures. Any suggestions welcome.
If you play with many players on a small map everything will be covered with paths. But 3 players on a tiny map is ok so it's not that bad.
On large or greater maps the woods is still thin to avoid out of memory errors.
Ideas and criticism welcome.
Edit: Start position and starting resource placement not randomized yet.
Deer, sheep and chicken to be added.
Edited by FeXoR, 21 March 2012 - 12:05 AM.
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#32
Posted 21 March 2012 - 12:44 PM
I don't like wolfs so I didn't add them yet. I will when they don't destroy buildings or an acoustic alarm with event position is added.
NOTE: This is for the SVN version and will not work properly in alpha 9!
deep_forest2012-3-21.zip 3.02K
28 downloads
Edited by FeXoR, 23 March 2012 - 09:03 AM.
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#33
Posted 23 March 2012 - 02:23 PM
Get the rmgen script 'library.js' from the SVN repository for Alpha 9 (actual version in the download).
Here the overview
or take a closer look
And here's the download:
deep_forest2012-3-23.zip 6.66K
30 downloads
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#34
Posted 06 April 2012 - 07:02 AM
deep_forest2012-4-6.zip 3.35K
33 downloadsEDIT: A new version was added to the svn, thx quantumstate!
Edited by FeXoR, 08 April 2012 - 01:13 PM.
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#35
Posted 04 July 2012 - 11:42 AM
deep_forest2012-7-4.zip 3.21K
25 downloadsHere's a table of the entities per map depending on map size and the number of players:
size width tiles entities with: average tree density
8 players 1 player 8 players 1 player
tiny 128 16384 430 1827 ~0,026 ~0,112
small 192 36864 1365 5519 ~0,037 ~0,150
medium 256 65536 4862 8604 ~0,074 ~0,131
normal 320 102400 7010 9029 ~0,068 ~0,088
large 384 147456 8295 9439 ~0,056 ~0,064
very l. 448 200704 9213 9777 ~0,046 ~0,049
giant 512 262144 9916 9866 ~0,038 ~0,038
Edited by FeXoR, 04 July 2012 - 05:22 PM.
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#36
Posted 28 July 2012 - 01:09 AM
#37
Posted 02 November 2012 - 09:49 AM
(the image comes from the AI terrain detection I'm working on, you can see the white strip in the bottom left)
Wildfire Games Programmer, AI developer, auxiliary map designer, dealing with anything water.
Contact me: wraitii@wildfiregames.com
Also the world's only three-dimensional poodle.
#38
Posted 02 November 2012 - 12:04 PM
wraitii, on 02 November 2012 - 09:49 AM, said:
(the image comes from the AI terrain detection I'm working on, you can see the white strip in the bottom left)
So all the trees would have to be placed (currentX - 0.5, currentY - 0.5).
I will check this...
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#39
Posted 04 November 2012 - 08:36 AM
Fixed the corresponding check and added a comment.
Now it should be alright.
Here are the files including the SVN .diff (only one line in the .js changed): http://fexor.dyndns....rest/2012-11-4/
And a screenshot that seams to indicate it works: http://fexor.dyndns....st2012-11-4.jpg
Edited by FeXoR, 04 November 2012 - 08:41 AM.
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#40
Posted 04 November 2012 - 02:43 PM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












