IPB Style© Fisana

Jump to content


RMGEN documentation in the wiki


  • Please log in to reply
2 replies to this topic

#1 FeXoR

FeXoR

  • Community Members
    PipPipPipPipPip

  • Centurio
    (660 posts)

Posted 18 April 2012 - 10:09 AM

I want to add the wall_builder.js rmgen lib documentation to the wiki.
While reading it again I found some things that could be improved but I don't want to change things before others agree especially the original authors.
I think that are mainly Spahbod and historic_bruno is that right?


Map Coordinate System

I think it would be better to tell it uses 2D placement (x/y plane including the default rotation) and the third coordinate is set automatically (cannot be set). When given to the game engine it is converted to 3D with the x/z plane (with opposite rotation) as the map's surface. The later thing doesn't matter to random map scripting at all but is just an information for rmgen script designers that may also work on the game engine with different conventions for example.


Placing terrain and units

Before explaining area placement and unit group placement it would be good to note that there are simple placement methods for terrain and units (setTexture and placeObject).



There might be other things but I think I'll ask before I change things.

When I add the wall_builder.js documentation I'll put it after the unit group placement description I think.

Any thoughts about that?

Edited by FeXoR, 18 April 2012 - 10:09 AM.

Posted Image Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)

#2 Geek377

Geek377

  • Web Development Team

  • Primus Pilus
    (1,718 posts)

Posted 18 April 2012 - 09:31 PM

View PostFeXoR, on 18 April 2012 - 10:09 AM, said:

I think it would be better to tell it uses 2D placement (x/y plane including the default rotation) and the third coordinate is set automatically (cannot be set).

That would seem logical. It would get rid (partially) of the "floating" building anomaly I've mentioned before.
The Geek [ aka Geek377]
Wildfire Games Webmaster
Contact me: Posted Image Posted Image

#3 FeXoR

FeXoR

  • Community Members
    PipPipPipPipPip

  • Centurio
    (660 posts)

Posted 20 April 2012 - 08:42 AM

Since there have been no objections I'll start editing http://trac.wildfire...i/Rmgen_Library
Posted Image Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users