Model INI File

From Planimate Knowledge Base
Revision as of 10:04, 10 January 2008 by Rick (talk | contribs) (Importing text file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Planimate supports a model specific INI file which is different to the Planimate.INI file (which is used to store modeller settings). The model INI file stores definitions specific to the model including file name mappings, shares and object specific data. This note covers object specific data.

Object Specific Data


The INI file can contain settings targetted to a model object. The object to which the settings apply must be named in square brackets and must be in the object label list.

Setting Portal Attributes


Currently setting portal attributes for portals is supported. This is done using the ATT command which expects 2 quoted strings, as follows:


ATT "<attribute name>" <"formatted-value">


Example INI file:


[Portal 1]
ATT "test1" "123"
ATT "test2" "1:23"
ATT "test3" "blue"


[Portal 2]
ATT "test1" "456"
ATT "test2" "1:23"
ATT "test3" "blue"
ATT "test4" "no"


[Configurations]
ATT "expert user" "0"








Currently the only object specific data which can be set are attributes of a portal.


<portal object label name> is the name of an object as it appears in the object label list. This must be a portal.
<attribute name> is the name of a portal attribute owned by the portal
<formatted value> is the value to set it to, formatted to the attribute's format.


For example, the following sets some portal attri


idkbase note 309