Basic map classes defined
This defines geographical things. It includes very coarse Agrilan
map example. Examples are in green in the index.
It is partially based on AMIS,
though auto generated map is not yet here. It's more intended to
be transmitted over wire and then translated into AMIS at other
side (and store all required info somewhere so it can be
reconstructed for sending to client)
Map class tree
- geometry: Base for all geometry related map elements
- area: Some kind 2D area
- 2D_grid: Basically container for "Terrain Exception Data in AMIS".
- hilly: Defining hilly type first
(here could be for example movement_speed
attribute too for example)
- plain: Defining plain type
- lake: Defining lake type
- river: Defining river type
- road_block: Defining road types
- 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_waters: All Agrilan waters container
- agrilan_lands: All agrilan lands
- line: Some kind line
- river: Defining river type
- road_block: Defining road types
- road: Collection of road blocks
- murray_r1: This brings all roads blocks together
(line data more generic than on lower levels)
geometry
Attribute list:
- id (encoding:string): Value: geometry Id of object
- parents (encoding:list): Value: ['game_entity'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['area', 'line'] List of objects that inherit from this object.
- description (encoding:string): Value:
Base for all geometry related map elements
This gives short description of object.
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- 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).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- 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.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- specification (inherited from game_entity) (encoding:string): Value: atlas_game What specification this object is part of?
- 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 = 'map.def', attribute_order = ['id', 'parents', 'children', 'description'], lineno = 2) various info about object and its specification file
XML version:
<map>
<string name="id">geometry</string>
<list name="parents"><string>game_entity</string></list>
<list name="children"><string>area</string><string>line</string></list>
<string name="description">Base for all geometry related map elements</string>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>description</string></list>
<string name="filename">map.def</string>
<int name="lineno">2</int>
</map>
</map>
area
Attribute list:
- id (encoding:string): Value: area Id of object
- parents (encoding:list): Value: ['geometry'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['2D_grid', 'agrilan', 'agrilan_waters', 'agrilan_lands'] List of objects that inherit from this object.
- description (encoding:string): Value:
Some kind 2D area
This gives short description of object.
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- 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).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- 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.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- specification (inherited from game_entity) (encoding:string): Value: atlas_game What specification this object is part of?
- 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 = 'map.def', attribute_order = ['id', 'parents', 'children', 'description'], lineno = 7) various info about object and its specification file
XML version:
<map>
<string name="id">area</string>
<list name="parents"><string>geometry</string></list>
<list name="children"><string>2D_grid</string><string>agrilan</string><string>agrilan_waters</string><string>agrilan_lands</string></list>
<string name="description">Some kind 2D area</string>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>description</string></list>
<string name="filename">map.def</string>
<int name="lineno">7</int>
</map>
</map>
2D_grid
Attribute list:
- id (encoding:string): Value: 2D_grid Id of object
- parents (encoding:list): Value: ['area'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['hilly', 'plain', 'lake', 'river', 'road_block'] List of objects that inherit from this object.
- name (encoding:string): Value: some area Name of object.
- description (encoding:string): Value:
Basically container for "Terrain Exception Data in AMIS".
This gives short description of object.
- cell_size (encoding:list): Value: [1.0, 1.0] cell size of grid area
- grid_size (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [] grid data
- example (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- 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).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- specification (inherited from game_entity) (encoding:string): Value: atlas_game What specification this object is part of?
- 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 = 'map.def', attribute_order = ['id', 'parents', 'children', 'name', 'description', 'cell_size', 'grid_size', 'grid_data', 'example'], lineno = 28) various info about object and its specification file
XML version:
<map>
<string name="id">2D_grid</string>
<list name="parents"><string>area</string></list>
<list name="children"><string>hilly</string><string>plain</string><string>lake</string><string>river</string><string>road_block</string></list>
<string name="name">some area</string>
<string name="description">Basically container for "Terrain Exception Data in AMIS".</string>
<list name="cell_size"><float>1.0</float><float>1.0</float></list>
<list name="grid_size"><int>1</int><int>1</int></list>
<list name="grid_data"></list>
<list name="example"><string>Example usage: see agrilan_map.*</string></list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>name</string><string>description</string><string>cell_size</string><string>grid_size</string><string>grid_data</string><string>example</string></list>
<string name="filename">map.def</string>
<int name="lineno">28</int>
</map>
</map>
hilly
Attribute list:
- id (encoding:string): Value: hilly Id of object
- specification (encoding:string): Value: example What specification this object is part of?
- name (encoding:string): Value: Hilly part around Eluryh lake Name of object.
- description (encoding:string): Value:
Defining hilly type first
(here could be for example movement_speed
attribute too for example)
This gives short description of object.
- parents (encoding:list): Value: ['2D_grid'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['hilly1', 'hilly2', 'hilly3'] List of objects that inherit from this object.
- media (encoding:string): Value: media id for generic hilly type media id reference
- cell_size (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- grid_data (inherited from 2D_grid) (encoding:list): Value: [] grid data
- grid_size (inherited from 2D_grid) (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- 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).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- 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', 'specification', 'name', 'description', 'parents', 'children', 'media', 'cell_size'], lineno = 35) various info about object and its specification file
XML version:
<map>
<string name="id">hilly</string>
<string name="specification">example</string>
<string name="name">Hilly part around Eluryh lake</string>
<string name="description">Defining hilly type first
(here could be for example movement_speed
attribute too for example)</string>
<list name="parents"><string>2D_grid</string></list>
<list name="children"><string>hilly1</string><string>hilly2</string><string>hilly3</string></list>
<string name="media">media id for generic hilly type</string>
<list name="cell_size"><float>40.0</float><float>40.0</float></list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>specification</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>media</string><string>cell_size</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">35</int>
</map>
</map>
hilly1
Attribute list:
- id (encoding:string): Value: hilly1 Id of object
- description (encoding:string): Value:
Specific hilly instances: note missing place
where there is lake
This gives short description of object.
- parents (encoding:list): Value: ['hilly'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- loc (encoding:string): Value: agrilan_lands Reference object for coordinates (location).
- pos (encoding:list): Value: [-80.0, -40.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- grid_size (encoding:list): Value: [2, 3] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 10.0, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height', 'media'], lineno = 58), media = 'special media id for this tile (not shown for all)'), Object(height = 5.0, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 61)), Object(height = 4.0, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 63))], [Object(height = 3.0, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 66)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 68)), Object(height = 2.0, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 69))]] grid data
- cell_size (inherited from hilly) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from hilly) (encoding:string): Value: Hilly part around Eluryh lake Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from hilly) (encoding:string): Value: example What specification this object is part of?
- 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', 'description', 'parents', 'children', 'loc', 'pos', 'media', 'grid_size', 'grid_data'], lineno = 46) various info about object and its specification file
XML version:
<map>
<string name="id">hilly1</string>
<string name="description">Specific hilly instances: note missing place
where there is lake</string>
<list name="parents"><string>hilly</string></list>
<list name="children"></list>
<string name="loc">agrilan_lands</string>
<list name="pos"><float>-80.0</float><float>-40.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="grid_size"><int>2</int><int>3</int></list>
<list name="grid_data">
<list> <map>
<float name="height">10.0</float>
<string name="media">special media id for this tile (not shown for all)</string>
<map name="specification_file">
<list name="attribute_order"><string>height</string><string>media</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">58</int>
</map>
</map>
<map>
<float name="height">5.0</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">61</int>
</map>
</map>
<map>
<float name="height">4.0</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">63</int>
</map>
</map></list>
<list> <map>
<float name="height">3.0</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">66</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">68</int>
</map>
</map>
<map>
<float name="height">2.0</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">69</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>description</string><string>parents</string><string>children</string><string>loc</string><string>pos</string><string>media</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">46</int>
</map>
</map>
hilly2
Attribute list:
- id (encoding:string): Value: hilly2 Id of object
- parents (encoding:list): Value: ['hilly'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- description (encoding:string): Value:
This gives short description of object.
- loc (encoding:string): Value: agrilan_lands Reference object for coordinates (location).
- pos (encoding:list): Value: [40.0, -40.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- grid_size (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 10.0, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 83))]] grid data
- cell_size (inherited from hilly) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from hilly) (encoding:string): Value: Hilly part around Eluryh lake Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from hilly) (encoding:string): Value: example What specification this object is part of?
- 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', 'description', 'loc', 'pos', 'media', 'grid_size', 'grid_data'], lineno = 72) various info about object and its specification file
XML version:
<map>
<string name="id">hilly2</string>
<list name="parents"><string>hilly</string></list>
<list name="children"></list>
<string name="description"></string>
<string name="loc">agrilan_lands</string>
<list name="pos"><float>40.0</float><float>-40.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="grid_size"><int>1</int><int>1</int></list>
<list name="grid_data">
<list> <map>
<float name="height">10.0</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">83</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>description</string><string>loc</string><string>pos</string><string>media</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">72</int>
</map>
</map>
hilly3
Attribute list:
- id (encoding:string): Value: hilly3 Id of object
- parents (encoding:list): Value: ['hilly'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- description (encoding:string): Value:
This gives short description of object.
- loc (encoding:string): Value: agrilan_lands Reference object for coordinates (location).
- pos (encoding:list): Value: [40.0, 40.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- grid_size (encoding:list): Value: [2, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 10.0, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 97))], [Object(height = 10.0, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 100))]] grid data
- cell_size (inherited from hilly) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from hilly) (encoding:string): Value: Hilly part around Eluryh lake Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from hilly) (encoding:string): Value: example What specification this object is part of?
- 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', 'description', 'loc', 'pos', 'media', 'grid_size', 'grid_data'], lineno = 86) various info about object and its specification file
XML version:
<map>
<string name="id">hilly3</string>
<list name="parents"><string>hilly</string></list>
<list name="children"></list>
<string name="description"></string>
<string name="loc">agrilan_lands</string>
<list name="pos"><float>40.0</float><float>40.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="grid_size"><int>2</int><int>1</int></list>
<list name="grid_data">
<list> <map>
<float name="height">10.0</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">97</int>
</map>
</map></list>
<list> <map>
<float name="height">10.0</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">100</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>description</string><string>loc</string><string>pos</string><string>media</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">86</int>
</map>
</map>
plain
Attribute list:
- id (encoding:string): Value: plain Id of object
- specification (encoding:string): Value: example What specification this object is part of?
- name (encoding:string): Value: Plains Name of object.
- description (encoding:string): Value:
Defining plain type
This gives short description of object.
- parents (encoding:list): Value: ['2D_grid'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['plain1', 'plain2', 'plain3', 'plain4'] List of objects that inherit from this object.
- media (encoding:string): Value: media id for generic plain type media id reference
- cell_size (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- grid_data (inherited from 2D_grid) (encoding:list): Value: [] grid data
- grid_size (inherited from 2D_grid) (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- 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).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- 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', 'specification', 'name', 'description', 'parents', 'children', 'media', 'cell_size'], lineno = 103) various info about object and its specification file
XML version:
<map>
<string name="id">plain</string>
<string name="specification">example</string>
<string name="name">Plains</string>
<string name="description">Defining plain type</string>
<list name="parents"><string>2D_grid</string></list>
<list name="children"><string>plain1</string><string>plain2</string><string>plain3</string><string>plain4</string></list>
<string name="media">media id for generic plain type</string>
<list name="cell_size"><float>40.0</float><float>40.0</float></list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>specification</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>media</string><string>cell_size</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">103</int>
</map>
</map>
plain1
Attribute list:
- id (encoding:string): Value: plain1 Id of object
- parents (encoding:list): Value: ['plain'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- description (encoding:string): Value:
Specific plains
This gives short description of object.
- loc (encoding:string): Value: agrilan_lands Reference object for coordinates (location).
- pos (encoding:list): Value: [-80.0, 80.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- grid_size (encoding:list): Value: [6, 3] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 2.0, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 123)), Object(height = 2.2, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 125)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 127))], [Object(height = 1.8, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 129)), Object(height = 2.0, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 131)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 133))], [Object(height = 1.6, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 135)), Object(height = 1.8, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 137)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 139))], [Object(height = 1.4, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 141)), Object(height = 1.6, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 143)), Object(height = 1.6, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 145))], [Object(height = 1.2, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 148)), Object(height = 1.4, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 150)), Object(height = 1.4, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 152))], [Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 155)), Object(height = 1.2, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 156)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 158))]] grid data
- cell_size (inherited from plain) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from plain) (encoding:string): Value: Plains Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from plain) (encoding:string): Value: example What specification this object is part of?
- 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', 'description', 'loc', 'pos', 'media', 'grid_size', 'grid_data'], lineno = 112) various info about object and its specification file
XML version:
<map>
<string name="id">plain1</string>
<list name="parents"><string>plain</string></list>
<list name="children"></list>
<string name="description">Specific plains</string>
<string name="loc">agrilan_lands</string>
<list name="pos"><float>-80.0</float><float>80.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="grid_size"><int>6</int><int>3</int></list>
<list name="grid_data">
<list> <map>
<float name="height">2.0</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">123</int>
</map>
</map>
<map>
<float name="height">2.2</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">125</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">127</int>
</map>
</map></list>
<list> <map>
<float name="height">1.8</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">129</int>
</map>
</map>
<map>
<float name="height">2.0</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">131</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">133</int>
</map>
</map></list>
<list> <map>
<float name="height">1.6</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">135</int>
</map>
</map>
<map>
<float name="height">1.8</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">137</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">139</int>
</map>
</map></list>
<list> <map>
<float name="height">1.4</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">141</int>
</map>
</map>
<map>
<float name="height">1.6</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">143</int>
</map>
</map>
<map>
<float name="height">1.6</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">145</int>
</map>
</map></list>
<list> <map>
<float name="height">1.2</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">148</int>
</map>
</map>
<map>
<float name="height">1.4</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">150</int>
</map>
</map>
<map>
<float name="height">1.4</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">152</int>
</map>
</map></list>
<list> <map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">155</int>
</map>
</map>
<map>
<float name="height">1.2</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">156</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">158</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>description</string><string>loc</string><string>pos</string><string>media</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">112</int>
</map>
</map>
plain2
Attribute list:
- id (encoding:string): Value: plain2 Id of object
- parents (encoding:list): Value: ['plain'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- description (encoding:string): Value:
This gives short description of object.
- loc (encoding:string): Value: agrilan_lands Reference object for coordinates (location).
- pos (encoding:list): Value: [120.0, 80.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- grid_size (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.3, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 171))]] grid data
- cell_size (inherited from plain) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from plain) (encoding:string): Value: Plains Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from plain) (encoding:string): Value: example What specification this object is part of?
- 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', 'description', 'loc', 'pos', 'media', 'grid_size', 'grid_data'], lineno = 160) various info about object and its specification file
XML version:
<map>
<string name="id">plain2</string>
<list name="parents"><string>plain</string></list>
<list name="children"></list>
<string name="description"></string>
<string name="loc">agrilan_lands</string>
<list name="pos"><float>120.0</float><float>80.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="grid_size"><int>1</int><int>1</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.3</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">171</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>description</string><string>loc</string><string>pos</string><string>media</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">160</int>
</map>
</map>
plain3
Attribute list:
- id (encoding:string): Value: plain3 Id of object
- parents (encoding:list): Value: ['plain'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- description (encoding:string): Value:
This gives short description of object.
- loc (encoding:string): Value: agrilan_lands Reference object for coordinates (location).
- pos (encoding:list): Value: [200.0, 80.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- grid_size (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.3, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 185))]] grid data
- cell_size (inherited from plain) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from plain) (encoding:string): Value: Plains Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from plain) (encoding:string): Value: example What specification this object is part of?
- 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', 'description', 'loc', 'pos', 'media', 'grid_size', 'grid_data'], lineno = 174) various info about object and its specification file
XML version:
<map>
<string name="id">plain3</string>
<list name="parents"><string>plain</string></list>
<list name="children"></list>
<string name="description"></string>
<string name="loc">agrilan_lands</string>
<list name="pos"><float>200.0</float><float>80.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="grid_size"><int>1</int><int>1</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.3</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">185</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>description</string><string>loc</string><string>pos</string><string>media</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">174</int>
</map>
</map>
plain4
Attribute list:
- id (encoding:string): Value: plain4 Id of object
- parents (encoding:list): Value: ['plain'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- description (encoding:string): Value:
This gives short description of object.
- loc (encoding:string): Value: agrilan_lands Reference object for coordinates (location).
- pos (encoding:list): Value: [160.0, 80.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- grid_size (encoding:list): Value: [1, 4] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.25, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 199))], [Object(height = 1.2, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 202))], [Object(height = 1.15, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 205))], [Object(height = 1.1, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 208))]] grid data
- cell_size (inherited from plain) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from plain) (encoding:string): Value: Plains Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from plain) (encoding:string): Value: example What specification this object is part of?
- 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', 'description', 'loc', 'pos', 'media', 'grid_size', 'grid_data'], lineno = 188) various info about object and its specification file
XML version:
<map>
<string name="id">plain4</string>
<list name="parents"><string>plain</string></list>
<list name="children"></list>
<string name="description"></string>
<string name="loc">agrilan_lands</string>
<list name="pos"><float>160.0</float><float>80.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="grid_size"><int>1</int><int>4</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.25</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">199</int>
</map>
</map></list>
<list> <map>
<float name="height">1.2</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">202</int>
</map>
</map></list>
<list> <map>
<float name="height">1.15</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">205</int>
</map>
</map></list>
<list> <map>
<float name="height">1.1</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">208</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>description</string><string>loc</string><string>pos</string><string>media</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">188</int>
</map>
</map>
lake
Attribute list:
- id (encoding:string): Value: lake Id of object
- specification (encoding:string): Value: example What specification this object is part of?
- name (encoding:string): Value: Lake Name of object.
- description (encoding:string): Value:
Defining lake type
This gives short description of object.
- parents (encoding:list): Value: ['2D_grid'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['lake1'] List of objects that inherit from this object.
- media (encoding:string): Value: media id for generic lake type media id reference
- cell_size (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- grid_data (inherited from 2D_grid) (encoding:list): Value: [] grid data
- grid_size (inherited from 2D_grid) (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- 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).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- 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', 'specification', 'name', 'description', 'parents', 'children', 'media', 'cell_size'], lineno = 211) various info about object and its specification file
XML version:
<map>
<string name="id">lake</string>
<string name="specification">example</string>
<string name="name">Lake</string>
<string name="description">Defining lake type</string>
<list name="parents"><string>2D_grid</string></list>
<list name="children"><string>lake1</string></list>
<string name="media">media id for generic lake type</string>
<list name="cell_size"><float>40.0</float><float>40.0</float></list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>specification</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>media</string><string>cell_size</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">211</int>
</map>
</map>
lake1
Attribute list:
- id (encoding:string): Value: lake1 Id of object
- name (encoding:string): Value: Eluryh Name of object.
- description (encoding:string): Value:
One lake
This gives short description of object.
- parents (encoding:list): Value: ['lake'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- loc (encoding:string): Value: agrilan_waters Reference object for coordinates (location).
- pos (encoding:list): Value: [-80.0, 80.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- grid_size (encoding:list): Value: [2, 3] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 232)), Object(height = 1.15, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 233)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 235))], [Object(height = 1.15, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 237)), Object(height = 1.15, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 239)), Object(height = 1.15, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 241))]] grid data
- cell_size (inherited from lake) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from lake) (encoding:string): Value: example What specification this object is part of?
- 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', 'name', 'description', 'parents', 'children', 'loc', 'pos', 'media', 'grid_size', 'grid_data'], lineno = 220) various info about object and its specification file
XML version:
<map>
<string name="id">lake1</string>
<string name="name">Eluryh</string>
<string name="description">One lake</string>
<list name="parents"><string>lake</string></list>
<list name="children"></list>
<string name="loc">agrilan_waters</string>
<list name="pos"><float>-80.0</float><float>80.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="grid_size"><int>2</int><int>3</int></list>
<list name="grid_data">
<list> <map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">232</int>
</map>
</map>
<map>
<float name="height">1.15</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">233</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">235</int>
</map>
</map></list>
<list> <map>
<float name="height">1.15</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">237</int>
</map>
</map>
<map>
<float name="height">1.15</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">239</int>
</map>
</map>
<map>
<float name="height">1.15</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">241</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>loc</string><string>pos</string><string>media</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">220</int>
</map>
</map>
river
Attribute list:
- id (encoding:string): Value: river Id of object
- specification (encoding:string): Value: example What specification this object is part of?
- name (encoding:string): Value: River Name of object.
- description (encoding:string): Value:
Defining river type
This gives short description of object.
- parents (encoding:list): Value: ['2D_grid', 'line'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['river1', 'river2'] List of objects that inherit from this object.
- media (encoding:string): Value: media id for generic river type media id reference
- cell_size (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- grid_data (inherited from 2D_grid) (encoding:list): Value: [] grid data
- grid_size (inherited from 2D_grid) (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- line_data (inherited from line) (encoding:list): Value: [] line object
- loc (inherited from root_entity) (encoding:string): Value: Reference object for coordinates (location).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- 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
- width (inherited from line) (encoding:float): Value: 0.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'specification', 'name', 'description', 'parents', 'children', 'media', 'cell_size'], lineno = 244) various info about object and its specification file
XML version:
<map>
<string name="id">river</string>
<string name="specification">example</string>
<string name="name">River</string>
<string name="description">Defining river type</string>
<list name="parents"><string>2D_grid</string><string>line</string></list>
<list name="children"><string>river1</string><string>river2</string></list>
<string name="media">media id for generic river type</string>
<list name="cell_size"><float>40.0</float><float>40.0</float></list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>specification</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>media</string><string>cell_size</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">244</int>
</map>
</map>
river1
Attribute list:
- id (encoding:string): Value: river1 Id of object
- name (encoding:string): Value: Hardonar river Name of object.
- description (encoding:string): Value:
Few rivers
This gives short description of object.
- parents (encoding:list): Value: ['river'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- loc (encoding:string): Value: agrilan_waters Reference object for coordinates (location).
- pos (encoding:list): Value: [80.0, -40.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- width (encoding:float): Value: 25.0 width of something
- line_data (encoding:list): Value: [[100.0, -40.0, 1.1], [140.0, 20.0, 1.08], [140.0, 100.0, 1.05], [160.0, 140.0, 1.03], [160.0, 200.0, 1.0]] line object
- grid_size (encoding:list): Value: [3, 6] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.09, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 272)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 274)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 275)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 276)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 277)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 278)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 279))], [Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 281)), Object(height = 1.08, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 282)), Object(height = 1.07, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 284)), Object(height = 1.06, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 286)), Object(height = 1.05, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 288)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 290)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 291))], [Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 293)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 294)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 295)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 296)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 297)), Object(height = 1.03, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 298)), Object(height = 1.01, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 300))]] grid data
- cell_size (inherited from river) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from river) (encoding:string): Value: example What specification this object is part of?
- 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', 'name', 'description', 'parents', 'children', 'loc', 'pos', 'media', 'width', 'line_data', 'grid_size', 'grid_data'], lineno = 253) various info about object and its specification file
XML version:
<map>
<string name="id">river1</string>
<string name="name">Hardonar river</string>
<string name="description">Few rivers</string>
<list name="parents"><string>river</string></list>
<list name="children"></list>
<string name="loc">agrilan_waters</string>
<list name="pos"><float>80.0</float><float>-40.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<float name="width">25.0</float>
<list name="line_data">
<list><float>100.0</float><float>-40.0</float><float>1.1</float></list>
<list><float>140.0</float><float>20.0</float><float>1.08</float></list>
<list><float>140.0</float><float>100.0</float><float>1.05</float></list>
<list><float>160.0</float><float>140.0</float><float>1.03</float></list>
<list><float>160.0</float><float>200.0</float><float>1.0</float></list>
</list>
<list name="grid_size"><int>3</int><int>6</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.09</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">272</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">274</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">275</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">276</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">277</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">278</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">279</int>
</map>
</map></list>
<list> <map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">281</int>
</map>
</map>
<map>
<float name="height">1.08</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">282</int>
</map>
</map>
<map>
<float name="height">1.07</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">284</int>
</map>
</map>
<map>
<float name="height">1.06</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">286</int>
</map>
</map>
<map>
<float name="height">1.05</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">288</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">290</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">291</int>
</map>
</map></list>
<list> <map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">293</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">294</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">295</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">296</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">297</int>
</map>
</map>
<map>
<float name="height">1.03</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">298</int>
</map>
</map>
<map>
<float name="height">1.01</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">300</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>loc</string><string>pos</string><string>media</string><string>width</string><string>line_data</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">253</int>
</map>
</map>
river2
Attribute list:
- id (encoding:string): Value: river2 Id of object
- parents (encoding:list): Value: ['river'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- description (encoding:string): Value:
connects to lake
This gives short description of object.
- loc (encoding:string): Value: agrilan_waters Reference object for coordinates (location).
- pos (encoding:list): Value: [40.0, 0.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- width (encoding:float): Value: 5.0 width of something
- line_data (encoding:list): Value: [[140.0, 20.0, 1.08], [40.0, 20.0, 1.15]] line object
- grid_size (encoding:list): Value: [2, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.13, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 318))], [Object(height = 1.1, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 321))]] grid data
- cell_size (inherited from river) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from river) (encoding:string): Value: River Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from river) (encoding:string): Value: example What specification this object is part of?
- 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', 'description', 'loc', 'pos', 'media', 'width', 'line_data', 'grid_size', 'grid_data'], lineno = 303) various info about object and its specification file
XML version:
<map>
<string name="id">river2</string>
<list name="parents"><string>river</string></list>
<list name="children"></list>
<string name="description">connects to lake</string>
<string name="loc">agrilan_waters</string>
<list name="pos"><float>40.0</float><float>0.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<float name="width">5.0</float>
<list name="line_data">
<list><float>140.0</float><float>20.0</float><float>1.08</float></list>
<list><float>40.0</float><float>20.0</float><float>1.15</float></list>
</list>
<list name="grid_size"><int>2</int><int>1</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.13</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">318</int>
</map>
</map></list>
<list> <map>
<float name="height">1.1</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">321</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>description</string><string>loc</string><string>pos</string><string>media</string><string>width</string><string>line_data</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">303</int>
</map>
</map>
road_block
Attribute list:
- id (encoding:string): Value: road_block Id of object
- specification (encoding:string): Value: example What specification this object is part of?
- name (encoding:string): Value: Road block Name of object.
- description (encoding:string): Value:
Defining road types
This gives short description of object.
- parents (encoding:list): Value: ['2D_grid', 'line'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['bridge', 'road1', 'road2', 'road3'] List of objects that inherit from this object.
- media (encoding:string): Value: media id for generic road type media id reference
- cell_size (encoding:list): Value: [40.0, 40.0] cell size of grid area
- width (encoding:float): Value: 5.0 width of something
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- grid_data (inherited from 2D_grid) (encoding:list): Value: [] grid data
- grid_size (inherited from 2D_grid) (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- line_data (inherited from line) (encoding:list): Value: [] line object
- loc (inherited from root_entity) (encoding:string): Value: Reference object for coordinates (location).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- 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', 'specification', 'name', 'description', 'parents', 'children', 'media', 'cell_size', 'width'], lineno = 333) various info about object and its specification file
XML version:
<map>
<string name="id">road_block</string>
<string name="specification">example</string>
<string name="name">Road block</string>
<string name="description">Defining road types</string>
<list name="parents"><string>2D_grid</string><string>line</string></list>
<list name="children"><string>bridge</string><string>road1</string><string>road2</string><string>road3</string></list>
<string name="media">media id for generic road type</string>
<list name="cell_size"><float>40.0</float><float>40.0</float></list>
<float name="width">5.0</float>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>specification</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>media</string><string>cell_size</string><string>width</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">333</int>
</map>
</map>
bridge
Attribute list:
- id (encoding:string): Value: bridge Id of object
- name (encoding:string): Value: Bridge Name of object.
- description (encoding:string): Value:
Defining bridge type
This gives short description of object.
- parents (encoding:list): Value: ['road_block'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['bridge1'] List of objects that inherit from this object.
- media (encoding:string): Value: media id for generic bridge type media id reference
- cell_size (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- grid_data (inherited from 2D_grid) (encoding:list): Value: [] grid data
- grid_size (inherited from 2D_grid) (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- line_data (inherited from line) (encoding:list): Value: [] line object
- loc (inherited from root_entity) (encoding:string): Value: Reference object for coordinates (location).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- specification (inherited from road_block) (encoding:string): Value: example What specification this object is part of?
- 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
- width (inherited from road_block) (encoding:float): Value: 5.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'name', 'description', 'parents', 'children', 'media', 'cell_size'], lineno = 343) various info about object and its specification file
XML version:
<map>
<string name="id">bridge</string>
<string name="name">Bridge</string>
<string name="description">Defining bridge type</string>
<list name="parents"><string>road_block</string></list>
<list name="children"><string>bridge1</string></list>
<string name="media">media id for generic bridge type</string>
<list name="cell_size"><float>40.0</float><float>40.0</float></list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>media</string><string>cell_size</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">343</int>
</map>
</map>
bridge1
Attribute list:
- id (encoding:string): Value: bridge1 Id of object
- description (encoding:string): Value:
Actual bridge
This gives short description of object.
- parents (encoding:list): Value: ['bridge'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- name (encoding:string): Value: Murray bridge Name of object.
- loc (encoding:string): Value: murray_r1 Reference object for coordinates (location).
- pos (encoding:list): Value: [160.0, 160.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- line_data (encoding:list): Value: [[220.0, 180.0, 1.3], [140.0, 180.0, 1.3]] line object
- grid_size (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 2.0, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 420))]] grid data
- cell_size (inherited from bridge) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from road_block) (encoding:string): Value: example What specification this object is part of?
- 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
- width (inherited from road_block) (encoding:float): Value: 5.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'description', 'parents', 'children', 'name', 'loc', 'pos', 'media', 'line_data', 'grid_size', 'grid_data'], lineno = 405) various info about object and its specification file
XML version:
<map>
<string name="id">bridge1</string>
<string name="description">Actual bridge</string>
<list name="parents"><string>bridge</string></list>
<list name="children"></list>
<string name="name">Murray bridge</string>
<string name="loc">murray_r1</string>
<list name="pos"><float>160.0</float><float>160.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="line_data">
<list><float>220.0</float><float>180.0</float><float>1.3</float></list>
<list><float>140.0</float><float>180.0</float><float>1.3</float></list>
</list>
<list name="grid_size"><int>1</int><int>1</int></list>
<list name="grid_data">
<list> <map>
<float name="height">2.0</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">420</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>description</string><string>parents</string><string>children</string><string>name</string><string>loc</string><string>pos</string><string>media</string><string>line_data</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">405</int>
</map>
</map>
road1
Attribute list:
- id (encoding:string): Value: road1 Id of object
- description (encoding:string): Value:
Actual road
This gives short description of object.
- parents (encoding:list): Value: ['road_block'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- loc (encoding:string): Value: murray_r1 Reference object for coordinates (location).
- pos (encoding:list): Value: [160.0, -40.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- line_data (encoding:list): Value: [[180.0, -40.0, 1.4], [220.0, 0.0, 1.4]] line object
- grid_size (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.4, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 373))]] grid data
- cell_size (inherited from road_block) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from road_block) (encoding:string): Value: Road block Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from road_block) (encoding:string): Value: example What specification this object is part of?
- 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
- width (inherited from road_block) (encoding:float): Value: 5.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'description', 'parents', 'children', 'loc', 'pos', 'media', 'line_data', 'grid_size', 'grid_data'], lineno = 359) various info about object and its specification file
XML version:
<map>
<string name="id">road1</string>
<string name="description">Actual road</string>
<list name="parents"><string>road_block</string></list>
<list name="children"></list>
<string name="loc">murray_r1</string>
<list name="pos"><float>160.0</float><float>-40.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="line_data">
<list><float>180.0</float><float>-40.0</float><float>1.4</float></list>
<list><float>220.0</float><float>0.0</float><float>1.4</float></list>
</list>
<list name="grid_size"><int>1</int><int>1</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.4</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">373</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>description</string><string>parents</string><string>children</string><string>loc</string><string>pos</string><string>media</string><string>line_data</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">359</int>
</map>
</map>
road2
Attribute list:
- id (encoding:string): Value: road2 Id of object
- description (encoding:string): Value:
Actual road
This gives short description of object.
- parents (encoding:list): Value: ['road_block'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- loc (encoding:string): Value: murray_r1 Reference object for coordinates (location).
- pos (encoding:list): Value: [200.0, 0.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- line_data (encoding:list): Value: [[220.0, 0.0, 1.4], [220.0, 180.0, 1.3]] line object
- grid_size (encoding:list): Value: [1, 5] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.38, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 390))], [Object(height = 1.36, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 393))], [Object(height = 1.34, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 396))], [Object(height = 1.32, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 399))], [Object(height = 1.3, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 402))]] grid data
- cell_size (inherited from road_block) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from road_block) (encoding:string): Value: Road block Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from road_block) (encoding:string): Value: example What specification this object is part of?
- 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
- width (inherited from road_block) (encoding:float): Value: 5.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'description', 'parents', 'children', 'loc', 'pos', 'media', 'line_data', 'grid_size', 'grid_data'], lineno = 376) various info about object and its specification file
XML version:
<map>
<string name="id">road2</string>
<string name="description">Actual road</string>
<list name="parents"><string>road_block</string></list>
<list name="children"></list>
<string name="loc">murray_r1</string>
<list name="pos"><float>200.0</float><float>0.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="line_data">
<list><float>220.0</float><float>0.0</float><float>1.4</float></list>
<list><float>220.0</float><float>180.0</float><float>1.3</float></list>
</list>
<list name="grid_size"><int>1</int><int>5</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.38</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">390</int>
</map>
</map></list>
<list> <map>
<float name="height">1.36</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">393</int>
</map>
</map></list>
<list> <map>
<float name="height">1.34</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">396</int>
</map>
</map></list>
<list> <map>
<float name="height">1.32</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">399</int>
</map>
</map></list>
<list> <map>
<float name="height">1.3</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">402</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>description</string><string>parents</string><string>children</string><string>loc</string><string>pos</string><string>media</string><string>line_data</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">376</int>
</map>
</map>
road3
Attribute list:
- id (encoding:string): Value: road3 Id of object
- description (encoding:string): Value:
Actual road
This gives short description of object.
- parents (encoding:list): Value: ['road_block'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- loc (encoding:string): Value: murray_r1 Reference object for coordinates (location).
- pos (encoding:list): Value: [120.0, 160.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- line_data (encoding:list): Value: [[140.0, 180.0, 1.3], [100.0, 180.0, 1.2]] line object
- grid_size (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.3, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 437))]] grid data
- name (encoding:string): Value: Murdar road Name of object.
- cell_size (inherited from road_block) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from road_block) (encoding:string): Value: example What specification this object is part of?
- 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
- width (inherited from road_block) (encoding:float): Value: 5.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'description', 'parents', 'children', 'loc', 'pos', 'media', 'line_data', 'grid_size', 'grid_data', 'name'], lineno = 423) various info about object and its specification file
XML version:
<map>
<string name="id">road3</string>
<string name="description">Actual road</string>
<list name="parents"><string>road_block</string></list>
<list name="children"></list>
<string name="loc">murray_r1</string>
<list name="pos"><float>120.0</float><float>160.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="line_data">
<list><float>140.0</float><float>180.0</float><float>1.3</float></list>
<list><float>100.0</float><float>180.0</float><float>1.2</float></list>
</list>
<list name="grid_size"><int>1</int><int>1</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.3</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">437</int>
</map>
</map></list>
</list>
<string name="name">Murdar road</string>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>description</string><string>parents</string><string>children</string><string>loc</string><string>pos</string><string>media</string><string>line_data</string><string>grid_size</string><string>grid_data</string><string>name</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">423</int>
</map>
</map>
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>
agrilan_waters
Attribute list:
- id (encoding:string): Value: agrilan_waters Id of object
- specification (encoding:string): Value: example What specification this object is part of?
- description (encoding:string): Value:
All Agrilan waters container
This gives short description 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.
- loc (encoding:string): Value: agrilan Reference object for coordinates (location).
- pos (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- contains (encoding:list): Value: ['lake1', 'river1', 'river2'] List of objects that use this object as reference system (usually same as what this object contains).
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- 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', 'specification', 'description', 'parents', 'children', 'loc', 'pos', 'contains'], lineno = 324) various info about object and its specification file
XML version:
<map>
<string name="id">agrilan_waters</string>
<string name="specification">example</string>
<string name="description">All Agrilan waters container</string>
<list name="parents"><string>area</string></list>
<list name="children"></list>
<string name="loc">agrilan</string>
<list name="pos"><float>0.0</float><float>0.0</float><float>0.0</float></list>
<list name="contains"><string>lake1</string><string>river1</string><string>river2</string></list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>specification</string><string>description</string><string>parents</string><string>children</string><string>loc</string><string>pos</string><string>contains</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">324</int>
</map>
</map>
agrilan_lands
Attribute list:
- id (encoding:string): Value: agrilan_lands Id of object
- specification (encoding:string): Value: example What specification this object is part of?
- description (encoding:string): Value:
All agrilan lands
This gives short description 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.
- pos (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- contains (encoding:list): Value: ['hilly1', 'hilly2', 'hilly3', 'plain1', 'plain2', 'plain3', 'plain4', 'murray_r1'] List of objects that use this object as reference system (usually same as what this object contains).
- 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).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- 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', 'specification', 'description', 'parents', 'children', 'pos', 'contains'], lineno = 457) various info about object and its specification file
XML version:
<map>
<string name="id">agrilan_lands</string>
<string name="specification">example</string>
<string name="description">All agrilan lands</string>
<list name="parents"><string>area</string></list>
<list name="children"></list>
<list name="pos"><float>0.0</float><float>0.0</float><float>0.0</float></list>
<list name="contains"><string>hilly1</string><string>hilly2</string><string>hilly3</string><string>plain1</string><string>plain2</string><string>plain3</string><string>plain4</string><string>murray_r1</string></list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>specification</string><string>description</string><string>parents</string><string>children</string><string>pos</string><string>contains</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">457</int>
</map>
</map>
line
Attribute list:
- id (encoding:string): Value: line Id of object
- parents (encoding:list): Value: ['geometry'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['river', 'road_block', 'road'] List of objects that inherit from this object.
- description (encoding:string): Value:
Some kind line
This gives short description of object.
- width (encoding:float): Value: 0.0 width of something
- line_data (encoding:list): Value: [] line object
- example (encoding:string): Value:
<map>
<string name="id">123</string>
<list name="parents"><string>line</string></list>
<float name="width">0.1</float>
<list name="line_data">
<list><float>0.0</float><float>0.0</float><float>0.0</float></list>
<list><float>1.0</float><float>0.0</float><float>0.0</float></list>
<list><float>1.0</float><float>1.0</float><float>0.0</float></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>width</string><string>line_data</string></list>
<string name="filename">map.def</string>
<int name="lineno">19</int>
</map>
</map>
Gives some examples usage
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- 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).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- 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.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- specification (inherited from game_entity) (encoding:string): Value: atlas_game What specification this object is part of?
- 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 = 'map.def', attribute_order = ['id', 'parents', 'children', 'description', 'width', 'line_data', 'example'], lineno = 12) various info about object and its specification file
XML version:
<map>
<string name="id">line</string>
<list name="parents"><string>geometry</string></list>
<list name="children"><string>river</string><string>road_block</string><string>road</string></list>
<string name="description">Some kind line</string>
<float name="width">0.0</float>
<list name="line_data"></list>
<list name="example">
<map>
<string name="id">123</string>
<list name="parents"><string>line</string></list>
<float name="width">0.1</float>
<list name="line_data">
<list><float>0.0</float><float>0.0</float><float>0.0</float></list>
<list><float>1.0</float><float>0.0</float><float>0.0</float></list>
<list><float>1.0</float><float>1.0</float><float>0.0</float></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>width</string><string>line_data</string></list>
<string name="filename">map.def</string>
<int name="lineno">19</int>
</map>
</map>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>description</string><string>width</string><string>line_data</string><string>example</string></list>
<string name="filename">map.def</string>
<int name="lineno">12</int>
</map>
</map>
river
Attribute list:
- id (encoding:string): Value: river Id of object
- specification (encoding:string): Value: example What specification this object is part of?
- name (encoding:string): Value: River Name of object.
- description (encoding:string): Value:
Defining river type
This gives short description of object.
- parents (encoding:list): Value: ['2D_grid', 'line'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['river1', 'river2'] List of objects that inherit from this object.
- media (encoding:string): Value: media id for generic river type media id reference
- cell_size (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- grid_data (inherited from 2D_grid) (encoding:list): Value: [] grid data
- grid_size (inherited from 2D_grid) (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- line_data (inherited from line) (encoding:list): Value: [] line object
- loc (inherited from root_entity) (encoding:string): Value: Reference object for coordinates (location).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- 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
- width (inherited from line) (encoding:float): Value: 0.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'specification', 'name', 'description', 'parents', 'children', 'media', 'cell_size'], lineno = 244) various info about object and its specification file
XML version:
<map>
<string name="id">river</string>
<string name="specification">example</string>
<string name="name">River</string>
<string name="description">Defining river type</string>
<list name="parents"><string>2D_grid</string><string>line</string></list>
<list name="children"><string>river1</string><string>river2</string></list>
<string name="media">media id for generic river type</string>
<list name="cell_size"><float>40.0</float><float>40.0</float></list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>specification</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>media</string><string>cell_size</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">244</int>
</map>
</map>
river1
Attribute list:
- id (encoding:string): Value: river1 Id of object
- name (encoding:string): Value: Hardonar river Name of object.
- description (encoding:string): Value:
Few rivers
This gives short description of object.
- parents (encoding:list): Value: ['river'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- loc (encoding:string): Value: agrilan_waters Reference object for coordinates (location).
- pos (encoding:list): Value: [80.0, -40.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- width (encoding:float): Value: 25.0 width of something
- line_data (encoding:list): Value: [[100.0, -40.0, 1.1], [140.0, 20.0, 1.08], [140.0, 100.0, 1.05], [160.0, 140.0, 1.03], [160.0, 200.0, 1.0]] line object
- grid_size (encoding:list): Value: [3, 6] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.09, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 272)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 274)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 275)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 276)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 277)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 278)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 279))], [Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 281)), Object(height = 1.08, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 282)), Object(height = 1.07, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 284)), Object(height = 1.06, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 286)), Object(height = 1.05, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 288)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 290)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 291))], [Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 293)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 294)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 295)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 296)), Object(specification_file = Object(filename = 'agrilan_map.def', attribute_order = [], lineno = 297)), Object(height = 1.03, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 298)), Object(height = 1.01, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 300))]] grid data
- cell_size (inherited from river) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from river) (encoding:string): Value: example What specification this object is part of?
- 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', 'name', 'description', 'parents', 'children', 'loc', 'pos', 'media', 'width', 'line_data', 'grid_size', 'grid_data'], lineno = 253) various info about object and its specification file
XML version:
<map>
<string name="id">river1</string>
<string name="name">Hardonar river</string>
<string name="description">Few rivers</string>
<list name="parents"><string>river</string></list>
<list name="children"></list>
<string name="loc">agrilan_waters</string>
<list name="pos"><float>80.0</float><float>-40.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<float name="width">25.0</float>
<list name="line_data">
<list><float>100.0</float><float>-40.0</float><float>1.1</float></list>
<list><float>140.0</float><float>20.0</float><float>1.08</float></list>
<list><float>140.0</float><float>100.0</float><float>1.05</float></list>
<list><float>160.0</float><float>140.0</float><float>1.03</float></list>
<list><float>160.0</float><float>200.0</float><float>1.0</float></list>
</list>
<list name="grid_size"><int>3</int><int>6</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.09</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">272</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">274</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">275</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">276</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">277</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">278</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">279</int>
</map>
</map></list>
<list> <map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">281</int>
</map>
</map>
<map>
<float name="height">1.08</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">282</int>
</map>
</map>
<map>
<float name="height">1.07</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">284</int>
</map>
</map>
<map>
<float name="height">1.06</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">286</int>
</map>
</map>
<map>
<float name="height">1.05</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">288</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">290</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">291</int>
</map>
</map></list>
<list> <map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">293</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">294</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">295</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">296</int>
</map>
</map>
<map>
<map name="specification_file">
<list name="attribute_order"></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">297</int>
</map>
</map>
<map>
<float name="height">1.03</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">298</int>
</map>
</map>
<map>
<float name="height">1.01</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">300</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>loc</string><string>pos</string><string>media</string><string>width</string><string>line_data</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">253</int>
</map>
</map>
river2
Attribute list:
- id (encoding:string): Value: river2 Id of object
- parents (encoding:list): Value: ['river'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- description (encoding:string): Value:
connects to lake
This gives short description of object.
- loc (encoding:string): Value: agrilan_waters Reference object for coordinates (location).
- pos (encoding:list): Value: [40.0, 0.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- width (encoding:float): Value: 5.0 width of something
- line_data (encoding:list): Value: [[140.0, 20.0, 1.08], [40.0, 20.0, 1.15]] line object
- grid_size (encoding:list): Value: [2, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.13, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 318))], [Object(height = 1.1, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 321))]] grid data
- cell_size (inherited from river) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from river) (encoding:string): Value: River Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from river) (encoding:string): Value: example What specification this object is part of?
- 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', 'description', 'loc', 'pos', 'media', 'width', 'line_data', 'grid_size', 'grid_data'], lineno = 303) various info about object and its specification file
XML version:
<map>
<string name="id">river2</string>
<list name="parents"><string>river</string></list>
<list name="children"></list>
<string name="description">connects to lake</string>
<string name="loc">agrilan_waters</string>
<list name="pos"><float>40.0</float><float>0.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<float name="width">5.0</float>
<list name="line_data">
<list><float>140.0</float><float>20.0</float><float>1.08</float></list>
<list><float>40.0</float><float>20.0</float><float>1.15</float></list>
</list>
<list name="grid_size"><int>2</int><int>1</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.13</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">318</int>
</map>
</map></list>
<list> <map>
<float name="height">1.1</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">321</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>children</string><string>description</string><string>loc</string><string>pos</string><string>media</string><string>width</string><string>line_data</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">303</int>
</map>
</map>
road_block
Attribute list:
- id (encoding:string): Value: road_block Id of object
- specification (encoding:string): Value: example What specification this object is part of?
- name (encoding:string): Value: Road block Name of object.
- description (encoding:string): Value:
Defining road types
This gives short description of object.
- parents (encoding:list): Value: ['2D_grid', 'line'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['bridge', 'road1', 'road2', 'road3'] List of objects that inherit from this object.
- media (encoding:string): Value: media id for generic road type media id reference
- cell_size (encoding:list): Value: [40.0, 40.0] cell size of grid area
- width (encoding:float): Value: 5.0 width of something
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- grid_data (inherited from 2D_grid) (encoding:list): Value: [] grid data
- grid_size (inherited from 2D_grid) (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- line_data (inherited from line) (encoding:list): Value: [] line object
- loc (inherited from root_entity) (encoding:string): Value: Reference object for coordinates (location).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- 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', 'specification', 'name', 'description', 'parents', 'children', 'media', 'cell_size', 'width'], lineno = 333) various info about object and its specification file
XML version:
<map>
<string name="id">road_block</string>
<string name="specification">example</string>
<string name="name">Road block</string>
<string name="description">Defining road types</string>
<list name="parents"><string>2D_grid</string><string>line</string></list>
<list name="children"><string>bridge</string><string>road1</string><string>road2</string><string>road3</string></list>
<string name="media">media id for generic road type</string>
<list name="cell_size"><float>40.0</float><float>40.0</float></list>
<float name="width">5.0</float>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>specification</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>media</string><string>cell_size</string><string>width</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">333</int>
</map>
</map>
bridge
Attribute list:
- id (encoding:string): Value: bridge Id of object
- name (encoding:string): Value: Bridge Name of object.
- description (encoding:string): Value:
Defining bridge type
This gives short description of object.
- parents (encoding:list): Value: ['road_block'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['bridge1'] List of objects that inherit from this object.
- media (encoding:string): Value: media id for generic bridge type media id reference
- cell_size (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- grid_data (inherited from 2D_grid) (encoding:list): Value: [] grid data
- grid_size (inherited from 2D_grid) (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- line_data (inherited from line) (encoding:list): Value: [] line object
- loc (inherited from root_entity) (encoding:string): Value: Reference object for coordinates (location).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- specification (inherited from road_block) (encoding:string): Value: example What specification this object is part of?
- 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
- width (inherited from road_block) (encoding:float): Value: 5.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'name', 'description', 'parents', 'children', 'media', 'cell_size'], lineno = 343) various info about object and its specification file
XML version:
<map>
<string name="id">bridge</string>
<string name="name">Bridge</string>
<string name="description">Defining bridge type</string>
<list name="parents"><string>road_block</string></list>
<list name="children"><string>bridge1</string></list>
<string name="media">media id for generic bridge type</string>
<list name="cell_size"><float>40.0</float><float>40.0</float></list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>media</string><string>cell_size</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">343</int>
</map>
</map>
bridge1
Attribute list:
- id (encoding:string): Value: bridge1 Id of object
- description (encoding:string): Value:
Actual bridge
This gives short description of object.
- parents (encoding:list): Value: ['bridge'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- name (encoding:string): Value: Murray bridge Name of object.
- loc (encoding:string): Value: murray_r1 Reference object for coordinates (location).
- pos (encoding:list): Value: [160.0, 160.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- line_data (encoding:list): Value: [[220.0, 180.0, 1.3], [140.0, 180.0, 1.3]] line object
- grid_size (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 2.0, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 420))]] grid data
- cell_size (inherited from bridge) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from road_block) (encoding:string): Value: example What specification this object is part of?
- 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
- width (inherited from road_block) (encoding:float): Value: 5.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'description', 'parents', 'children', 'name', 'loc', 'pos', 'media', 'line_data', 'grid_size', 'grid_data'], lineno = 405) various info about object and its specification file
XML version:
<map>
<string name="id">bridge1</string>
<string name="description">Actual bridge</string>
<list name="parents"><string>bridge</string></list>
<list name="children"></list>
<string name="name">Murray bridge</string>
<string name="loc">murray_r1</string>
<list name="pos"><float>160.0</float><float>160.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="line_data">
<list><float>220.0</float><float>180.0</float><float>1.3</float></list>
<list><float>140.0</float><float>180.0</float><float>1.3</float></list>
</list>
<list name="grid_size"><int>1</int><int>1</int></list>
<list name="grid_data">
<list> <map>
<float name="height">2.0</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">420</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>description</string><string>parents</string><string>children</string><string>name</string><string>loc</string><string>pos</string><string>media</string><string>line_data</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">405</int>
</map>
</map>
road1
Attribute list:
- id (encoding:string): Value: road1 Id of object
- description (encoding:string): Value:
Actual road
This gives short description of object.
- parents (encoding:list): Value: ['road_block'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- loc (encoding:string): Value: murray_r1 Reference object for coordinates (location).
- pos (encoding:list): Value: [160.0, -40.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- line_data (encoding:list): Value: [[180.0, -40.0, 1.4], [220.0, 0.0, 1.4]] line object
- grid_size (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.4, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 373))]] grid data
- cell_size (inherited from road_block) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from road_block) (encoding:string): Value: Road block Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from road_block) (encoding:string): Value: example What specification this object is part of?
- 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
- width (inherited from road_block) (encoding:float): Value: 5.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'description', 'parents', 'children', 'loc', 'pos', 'media', 'line_data', 'grid_size', 'grid_data'], lineno = 359) various info about object and its specification file
XML version:
<map>
<string name="id">road1</string>
<string name="description">Actual road</string>
<list name="parents"><string>road_block</string></list>
<list name="children"></list>
<string name="loc">murray_r1</string>
<list name="pos"><float>160.0</float><float>-40.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="line_data">
<list><float>180.0</float><float>-40.0</float><float>1.4</float></list>
<list><float>220.0</float><float>0.0</float><float>1.4</float></list>
</list>
<list name="grid_size"><int>1</int><int>1</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.4</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">373</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>description</string><string>parents</string><string>children</string><string>loc</string><string>pos</string><string>media</string><string>line_data</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">359</int>
</map>
</map>
road2
Attribute list:
- id (encoding:string): Value: road2 Id of object
- description (encoding:string): Value:
Actual road
This gives short description of object.
- parents (encoding:list): Value: ['road_block'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- loc (encoding:string): Value: murray_r1 Reference object for coordinates (location).
- pos (encoding:list): Value: [200.0, 0.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- line_data (encoding:list): Value: [[220.0, 0.0, 1.4], [220.0, 180.0, 1.3]] line object
- grid_size (encoding:list): Value: [1, 5] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.38, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 390))], [Object(height = 1.36, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 393))], [Object(height = 1.34, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 396))], [Object(height = 1.32, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 399))], [Object(height = 1.3, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 402))]] grid data
- cell_size (inherited from road_block) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- name (inherited from road_block) (encoding:string): Value: Road block Name of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from road_block) (encoding:string): Value: example What specification this object is part of?
- 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
- width (inherited from road_block) (encoding:float): Value: 5.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'description', 'parents', 'children', 'loc', 'pos', 'media', 'line_data', 'grid_size', 'grid_data'], lineno = 376) various info about object and its specification file
XML version:
<map>
<string name="id">road2</string>
<string name="description">Actual road</string>
<list name="parents"><string>road_block</string></list>
<list name="children"></list>
<string name="loc">murray_r1</string>
<list name="pos"><float>200.0</float><float>0.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="line_data">
<list><float>220.0</float><float>0.0</float><float>1.4</float></list>
<list><float>220.0</float><float>180.0</float><float>1.3</float></list>
</list>
<list name="grid_size"><int>1</int><int>5</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.38</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">390</int>
</map>
</map></list>
<list> <map>
<float name="height">1.36</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">393</int>
</map>
</map></list>
<list> <map>
<float name="height">1.34</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">396</int>
</map>
</map></list>
<list> <map>
<float name="height">1.32</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">399</int>
</map>
</map></list>
<list> <map>
<float name="height">1.3</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">402</int>
</map>
</map></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>description</string><string>parents</string><string>children</string><string>loc</string><string>pos</string><string>media</string><string>line_data</string><string>grid_size</string><string>grid_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">376</int>
</map>
</map>
road3
Attribute list:
- id (encoding:string): Value: road3 Id of object
- description (encoding:string): Value:
Actual road
This gives short description of object.
- parents (encoding:list): Value: ['road_block'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- loc (encoding:string): Value: murray_r1 Reference object for coordinates (location).
- pos (encoding:list): Value: [120.0, 160.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- line_data (encoding:list): Value: [[140.0, 180.0, 1.3], [100.0, 180.0, 1.2]] line object
- grid_size (encoding:list): Value: [1, 1] size of grid area: width and height (and for space depth too) in grid units
- grid_data (encoding:list): Value: [[Object(height = 1.3, specification_file = Object(filename = 'agrilan_map.def', attribute_order = ['height'], lineno = 437))]] grid data
- name (encoding:string): Value: Murdar road Name of object.
- cell_size (inherited from road_block) (encoding:list): Value: [40.0, 40.0] cell size of grid area
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from 2D_grid) (encoding:string): Value:
Example usage: see agrilan_map.*
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from road_block) (encoding:string): Value: example What specification this object is part of?
- 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
- width (inherited from road_block) (encoding:float): Value: 5.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'description', 'parents', 'children', 'loc', 'pos', 'media', 'line_data', 'grid_size', 'grid_data', 'name'], lineno = 423) various info about object and its specification file
XML version:
<map>
<string name="id">road3</string>
<string name="description">Actual road</string>
<list name="parents"><string>road_block</string></list>
<list name="children"></list>
<string name="loc">murray_r1</string>
<list name="pos"><float>120.0</float><float>160.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="line_data">
<list><float>140.0</float><float>180.0</float><float>1.3</float></list>
<list><float>100.0</float><float>180.0</float><float>1.2</float></list>
</list>
<list name="grid_size"><int>1</int><int>1</int></list>
<list name="grid_data">
<list> <map>
<float name="height">1.3</float>
<map name="specification_file">
<list name="attribute_order"><string>height</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">437</int>
</map>
</map></list>
</list>
<string name="name">Murdar road</string>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>description</string><string>parents</string><string>children</string><string>loc</string><string>pos</string><string>media</string><string>line_data</string><string>grid_size</string><string>grid_data</string><string>name</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">423</int>
</map>
</map>
road
Attribute list:
- id (encoding:string): Value: road Id of object
- specification (encoding:string): Value: example What specification this object is part of?
- name (encoding:string): Value: Road Name of object.
- description (encoding:string): Value:
Collection of road blocks
This gives short description of object.
- parents (encoding:list): Value: ['line'] List of objects this inherits attributes from.
- children (encoding:list): Value: ['murray_r1'] List of objects that inherit from this object.
- media (encoding:string): Value: media id for generic road type media id reference
- contains (inherited from root_entity) (encoding:list): Value: [] List of objects that use this object as reference system (usually same as what this object contains).
- example (inherited from line) (encoding:string): Value:
<map>
<string name="id">123</string>
<list name="parents"><string>line</string></list>
<float name="width">0.1</float>
<list name="line_data">
<list><float>0.0</float><float>0.0</float><float>0.0</float></list>
<list><float>1.0</float><float>0.0</float><float>0.0</float></list>
<list><float>1.0</float><float>1.0</float><float>0.0</float></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>width</string><string>line_data</string></list>
<string name="filename">map.def</string>
<int name="lineno">19</int>
</map>
</map>
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- line_data (inherited from line) (encoding:list): Value: [] line object
- loc (inherited from root_entity) (encoding:string): Value: Reference object for coordinates (location).
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- pos (inherited from root_entity) (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- 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
- width (inherited from line) (encoding:float): Value: 0.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'specification', 'name', 'description', 'parents', 'children', 'media'], lineno = 351) various info about object and its specification file
XML version:
<map>
<string name="id">road</string>
<string name="specification">example</string>
<string name="name">Road</string>
<string name="description">Collection of road blocks</string>
<list name="parents"><string>line</string></list>
<list name="children"><string>murray_r1</string></list>
<string name="media">media id for generic road type</string>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>specification</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>media</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">351</int>
</map>
</map>
murray_r1
Attribute list:
- id (encoding:string): Value: murray_r1 Id of object
- name (encoding:string): Value: Murray Road Name of object.
- description (encoding:string): Value:
This brings all roads blocks together
(line data more generic than on lower levels)
This gives short description of object.
- parents (encoding:list): Value: ['road'] List of objects this inherits attributes from.
- children (encoding:list): Value: [] List of objects that inherit from this object.
- loc (encoding:string): Value: agrilan_lands Reference object for coordinates (location).
- pos (encoding:list): Value: [0.0, 0.0, 0.0] Position coordinates, usually world is 3D
- media (encoding:string): Value: media id for whole area (text media may want to use it or
overview 2D media too) media id reference
- contains (encoding:list): Value: ['road1', 'road2', 'bridge1', 'road3'] List of objects that use this object as reference system (usually same as what this object contains).
- line_data (encoding:list): Value: [[180.0, -40.0, 1.4], [220.0, 180.0, 1.3], [100.0, 180.0, 1.2]] line object
- example (inherited from line) (encoding:string): Value:
<map>
<string name="id">123</string>
<list name="parents"><string>line</string></list>
<float name="width">0.1</float>
<list name="line_data">
<list><float>0.0</float><float>0.0</float><float>0.0</float></list>
<list><float>1.0</float><float>0.0</float><float>0.0</float></list>
<list><float>1.0</float><float>1.0</float><float>0.0</float></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>parents</string><string>width</string><string>line_data</string></list>
<string name="filename">map.def</string>
<int name="lineno">19</int>
</map>
</map>
Gives some examples usage
- interface (inherited from game_entity) (encoding:string): Value: game_interface What kind of operations are legal for this object.
- long_description (inherited from root_entity) (encoding:string): Value:
Later in hierarchy tree objtype changes to 'object' when actual game objects are made.
This gives long description of object.
- objtype (inherited from root_entity) (encoding:string): Value: class What kind of object this is.
- specification (inherited from road) (encoding:string): Value: example What specification this object is part of?
- 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
- width (inherited from line) (encoding:float): Value: 0.0 width of something
- specification_file (encoding:string): Value: Object(filename = 'agrilan_map.def', attribute_order = ['id', 'name', 'description', 'parents', 'children', 'loc', 'pos', 'media', 'contains', 'line_data'], lineno = 441) various info about object and its specification file
XML version:
<map>
<string name="id">murray_r1</string>
<string name="name">Murray Road</string>
<string name="description">This brings all roads blocks together
(line data more generic than on lower levels)</string>
<list name="parents"><string>road</string></list>
<list name="children"></list>
<string name="loc">agrilan_lands</string>
<list name="pos"><float>0.0</float><float>0.0</float><float>0.0</float></list>
<string name="media">media id for whole area (text media may want to use it or
overview 2D media too)</string>
<list name="contains"><string>road1</string><string>road2</string><string>bridge1</string><string>road3</string></list>
<list name="line_data">
<list><float>180.0</float><float>-40.0</float><float>1.4</float></list>
<list><float>220.0</float><float>180.0</float><float>1.3</float></list>
<list><float>100.0</float><float>180.0</float><float>1.2</float></list>
</list>
<map name="specification_file">
<list name="attribute_order"><string>id</string><string>name</string><string>description</string><string>parents</string><string>children</string><string>loc</string><string>pos</string><string>media</string><string>contains</string><string>line_data</string></list>
<string name="filename">agrilan_map.def</string>
<int name="lineno">441</int>
</map>
</map>
Aloril
Last modified: Wed Feb 9 10:35:06 EET 2000