Very coarse Agrilan map example
Example tree
- agrilan: This is whole agrilan map: at coords only hight is guessed
and because this is toplevel now, there is no ref attribute
in location
agrilan
Attribute list:
- id (encoding:string): Value: agrilan Id of object
- parents (encoding:list): Value: ['area'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- specification (encoding:string): Value: example What specification this object is part of?
- description (encoding:string): Value:
This is whole agrilan map: at coords only hight is guessed
and because this is toplevel now, there is no ref attribute
in location
This gives short description of object.
- long_description (encoding:string): Value:
Hand made example map based on
http://www.worldforge.org/images/maps/map_agrilan_4_us.jpg
No media id's here though, except few example...
First ascii map:
origin: -80,-40
HHLHRPAP
HLLRRRPA
HHLHHRPA
PPPPPRPA
PPPPPPRA
FFFPPAAA
Legend:
H=Hilly
L=Lake
R=River
A=roAd
P=Plains
F=Forest
This gives long description of object.
- pos (encoding:list): Value: [0.0, 0.0, 300.0] Position coordinates, usually world is 3D
- contains (encoding:list): Value: ['agrilan_lands', 'agrilan_waters'] List of objects that use this object as reference system (usually same as what this object contains).
- media (encoding:string): Value: refer to media entity that refers to http://www.worldforge.org/images/maps/map_agrilan_4_us.jpg media id reference
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- loc (inherited from root_entity) (encoding:string): Value: Reference object for coordinates (location).
- name (inherited from root) (encoding:string): Value: Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- stamp (inherited from root) (encoding:float): Value: 0.0 Last time this object was modified.
- stamp_contains (inherited from root_entity) (encoding:float): Value: 0.0 Last time any object that uses this as reference recursively has been modified
- stamp_inherit (inherited from root) (encoding:float): Value: 0.0 Last time any object that inherits from this has been modified
- velocity (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Velocity object is moving, usually world is 3D
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'parents', 'children', 'specification', 'description', 'long_description', 'pos', 'contains', 'media'], lineno = 2) various info about object and its specification file
XML version:
<map>
<string name="id">agrilan</string>
<list name="parents"><string>area</string></list>
<list name="children"></list>
<string name="specification">example</string>
<string name="description">This is whole agrilan map: at coords only hight is guessed
and because this is toplevel now, there is no ref attribute
in location</string>
<string name="long_description">Hand made example map based on
http://www.worldforge.org/images/maps/map_agrilan_4_us.jpg
No media id's here though, except few example...
First ascii map:
origin: -80,-40
<PRE>
HHLHRPAP
HLLRRRPA
HHLHHRPA
PPPPPRPA
PPPPPPRA
FFFPPAAA
</PRE>
Legend:<br>
H=Hilly<br>
L=Lake<br>
R=River<br>
A=roAd<br>
P=Plains<br>
F=Forest<br>
</string>
<list name="pos"><float>0.0</float><float>0.0</float><float>300.0</float></list>
<list name="contains"><string>agrilan_lands</string><string>agrilan_waters</string></list>
<string name="media">refer to media entity that refers to http://www.worldforge.org/images/maps/map_agrilan_4_us.jpg</string>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>specification</string><string>description</string><string>long_description</string><string>pos</string><string>contains</string><string>media</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">2</int>
</map>
</map>
Aloril
Last modified: Wed Feb 9 07:39:12 EET 2000