KIND Behavior
From TrainzOnline
(Difference between revisions)
m |
|||
| Line 1: | Line 1: | ||
| − | [[KIND Behavior]] assets are a a configurable behavior module that forms part of a gameplay [[session]]. Within the [[Surveyor]] user interface, these are known as "Rules". | + | [[KIND Behavior]] assets are a a configurable behavior module that forms part of a gameplay [[session]]. Within the [[Surveyor]] user interface, these are known as "Rules". A list of all documented rules can be found [[:Category:Rules|here]]. |
==KIND Hierarchy== | ==KIND Hierarchy== | ||
Revision as of 23:33, 11 February 2013
KIND Behavior assets are a a configurable behavior module that forms part of a gameplay session. Within the Surveyor user interface, these are known as "Rules". A list of all documented rules can be found here.
Contents |
KIND Hierarchy
Parent Classes
Child Classes
- none.
Supported Tags
Each Behavior asset supports the following tags. Each tag is shown here with its default value.
- none.
Example Config.txt
Sample config.txt file for a library asset:
username "testBehavior"
kind "behavior"
kuid <kuid:171456:100035>
script "behavior"
class "DisplayHTMLRule"
trainz-build 2.9
category-class "YH"
category-region "00"
category-era "2000s"
description "Test Behavior asset, displays an Html file."
icon-texture "html_type.tga"
string-table
{
html_description "Display page <a href=live://property/page>$0</a> of html asset <a href=live://property/asset>$1</a> in a new in-game window."
description "Display a page from a HTML asset in a browser window."
description_info "Display page $0 of html asset $1 in a new in-game window."
display-name-page "HTML page name"
display-desc-page "Name of HTML page without the .html extension"
display-name-asset "HTML asset"
display-desc-asset "HTML asset where the page can be found"
click_to_select "click to select"
}
thumbnails
{
0
{
image "thumb.jpg"
width 240
height 180
}
}
Downloads
Attach sample files here?