1
edit
(→Extra string: Add more extra strings) |
(Add more extra strings) |
||
Line 45: | Line 45: | ||
* <code>:</code> | * <code>:</code> | ||
Each item can then either be just present or have a value. In some cases the value can be further split with <code>:</code> or <code>;</code>. | Each item can then either be just present or have a value. In some cases, the value can be further split with <code>:</code> or <code>;</code>. | ||
This is an incomplete list of existing extra information and their meaning: | This is an incomplete list of existing extra information and their meaning: | ||
{| class="wikitable" | {| class="wikitable" | ||
! Key !! Description !! Valid values | ! Key !! Description !! Valid values !! Example | ||
|- | |- | ||
! colspan=" | ! colspan="4" | Images | ||
|- | |- | ||
| <code>VISIBILITY</code> || Makes the image by default invisible/disabled when set to <code>FALSE</code> | | <code>VISIBILITY</code> || Makes the image by default invisible/disabled when set to <code>FALSE</code> || <code>FALSE</code> || <code>Visibility:FALSE</code> | ||
|- | |- | ||
| <code>BMP_ISMAP</code> || Does not draw the image and is only used to map a position to an value (e.g. to determine what is clicked) | | <code>BMP_ISMAP</code> || Does not draw the image and is only used to map a position to an value (e.g. to determine what is clicked) || <code>BMP_ISMAP</code> | ||
|- | |- | ||
! colspan=" | ! colspan="4" | Sound | ||
|- | |- | ||
| <code>SOUND</code> || Makes the sound by default muted/disabled when set to <code>FALSE</code> | | <code>SOUND</code> || Makes the sound by default muted/disabled when set to <code>FALSE</code> || <code>FALSE</code> || <code>Sound:FALSE</code> | ||
|- | |- | ||
! colspan=" | ! colspan="4" | Models | ||
|- | |- | ||
| <code> | | <code>DB_CREATE</code> || Spawns the model at the giving location || Name of the model in WORLD.WDB || <code>DB_CREATE:ambul</code> | ||
|- | |- | ||
! colspan=" | ! colspan="4" | Animations | ||
|- | |- | ||
| <code> | | <code>PTATCAM</code> || Point object to camera (used on the isle so that actors look at the player) || HEAD || <code>PTATCAM:HEAD</code> | ||
|- | |- | ||
| | ! colspan="4" | Dialogs | ||
|- | |- | ||
| <code>''Actor Name''</code> || Attaches a phoneme (face animation) or sound to the actor || Any valid actor name || <code>brickstr</code> | |||
|- | |- | ||
| | ! colspan="4" | Path actors | ||
|- | |- | ||
| <code> | | <code>PATH</code> || Determines the location of the actor || name of boundary, source edge, source scale, destination edge, destination scale || <code>Path:EDG03_34;2;0.60;0;0.40</code> | ||
|- | |- | ||
| <code>VARIABLE</code> || Specifies the variable which is used || The name of the variable | ! colspan="4" | Controls | ||
|- | |||
| <code>VISIBILITY</code> || Makes the control by default invisible/disabled when set to <code>FALSE</code> || <code>FALSE</code> || <code>VISIBILITY:FALSE</code> | |||
|- | |||
| <code>STYLE</code> || Can specify how the controls handles a mouse click. <code>MAP</code> and <code>GRID</code> support additional values || <code>MAP</code>, <code>GRID</code>, <code>TOGGLE</code> || <code>Style:Grid;2;2</code> | |||
|- | |||
! colspan="4" | Meters (speed/fuel) | |||
|- | |||
| <code>FILLER_INDEX</code> || Used in meters (speed/fuel) to set the color for the fill used from the image's palette || A number between 1 and 255 || <code>Filler_index:160</code> | |||
|- | |||
| <code>TYPE</code> || Determines in which direction the meter is filled. Even though all four directions are recognized <code>RIGHT_TO_LEFT</code> and <code>TOP_TO_BOTTOM</code> are not fully implemented || <code>LEFT_TO_RIGHT</code>, <code>BOTTOM_TO_TOP</code>, <code>RIGHT_TO_LEFT</code>, <code>TOP_TO_BOTTOM</code> || <code>Type:bottom_to_top</code> | |||
|- | |||
| <code>VARIABLE</code> || Specifies the variable which is used || The name of the variable || <code>Variable:jetFUEL</code> | |||
|- | |||
! colspan="4" | Currently Unknown | |||
|- | |||
| <code>World</code> || || || <code>World:current</code>, <code>World:BLDH</code> | |||
|- | |||
| <code>Object</code> || || || <code>Object:Act2Actor</code> | |||
|- | |||
| <code>HIDE_ON_STOP</code> || || || <code>HIDE_ON_STOP</code> | |||
|- | |||
| <code>COLLIDE_BOX</code> || || || <code>COLLIDE_BOX</code> | |||
|- | |||
| <code>Speed</code> || || Any non-negative floating pointer number || <code>Speed:0.0</code> | |||
|- | |||
| <code>Animation</code> || || || <code>Animation:Cm_Walk;1.0</code> | |||
|- | |||
| <code>AUTO_CREATE</code> || || || <code>AUTO_CREATE:Cm</code> | |||
|- | |||
| <code>Mute</code> || || || <code>Mute</code> | |||
|- | |||
| <code>Comp</code> || || || <code>Comp:1</code> | |||
|- | |||
| <code>Map_Locator</code> || || || <code>Map_Locator:Studs_Locator</code> | |||
|- | |||
| <code>Map_Geometry</code> || || || <code>Map_Geometry:-900;1100;480;720;150;118;366;216</code> | |||
|- | |||
| <code>Action</code> || || || <code>Action:openram</code> | |||
|- | |||
| <code>Triggers_Source</code> || || || <code>Triggers_Source:\\Lego\\Scripts\\Race\\CarRaceR</code> | |||
|- | |||
| <code>INFOHAT</code> || || || <code>INFOHAT</code> | |||
|- | |||
| <code>Must_Succeed</code> || || || <code>Must_Succeed</code> | |||
|} | |} | ||
Note: Action names are case-sensitive and are not cased consistently (e.g. <code>OBject:LegoRaceCar</code>, <code>Auto_create:actor_02</code>). | |||
== See also == | == See also == | ||
* [[JUKEBOX.SI]] | * [[JUKEBOX.SI]] | ||
* [[NOCD.SI]] | * [[NOCD.SI]] |
edit