Light Style© by Fisana

Jump to content


Photo

Random Map Script:Fortress


  • Please log in to reply
5 replies to this topic

#1 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 588 posts

Posted 18 March 2012 - 07:49 AM

Much of the credit goes to FeXoR for his wall system. In this map you start in a fortress. There you have more starting units, some starting buildings and a bunch of resource piles.

Fortress.jpg

Unfortunately the gates don't work. So there is an open space in the walls. It'll be closed when gates are implemented.
Enjoy and don't forget to comment. :cheers:

Attached Files


  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#2 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,965 posts

Posted 18 March 2012 - 04:03 PM

Seems to cause Atlas to freeze when generating map.
  • 0

#3 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 588 posts

Posted 18 March 2012 - 04:12 PM

Can you attach your mainlog?

this looks like an error as atlas is frozen. did you use the lastest svn version? did you copy the wall system in the zip into your rmgen directory? it is a modified version.
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#4 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,965 posts

Posted 18 March 2012 - 04:15 PM

Here are the relevant lines:

Initializing map...

Creating new map...

WARNING: Fortress type '[object Object]' not found, falling back to 'palisades' default

ERROR: JavaScript error: maps/random/rmgen/wall_builder.js line 783 TypeError: element is undefined (0,0,0)@maps/random/rmgen/wall_builder.js:783 ([object Object])@maps/random/rmgen/wall_builder.js:838 @maps/random/fortress.js:178

ERROR: CMapGeneratorWorker::Run: Failed to load RMS 'maps/random/fortress.js'


  • 0

#5 Spahbod

Spahbod

    Triplicarius

  • WFG Programming Team
  • 588 posts

Posted 18 March 2012 - 04:18 PM

you need to replace your existing wall_builder with the one on SVN or in the zip file.
  • 0
Omid Davoodi [ aka Spahbod ]

Wildfire Games Random Map Designer, Low-level Programmer
Contact me: myops37@yahoo.com


Support Wildfire Games!

#6 Mythos_Ruler

Mythos_Ruler

    Senator

  • WFG Retired
  • 14,965 posts

Posted 18 March 2012 - 04:25 PM

Got it. Works. (y)
  • 0