Each keyword is described in a section below or on its own page.
Model files (model.cfg, object models)#
| Keyword |
What it does |
Details |
[visible_range] |
Shows a mesh while a variable is inside a range |
Visibility |
! and || in [visible] |
Negate a condition, start an alternative group |
Visibility |
[spotlight_2] |
An extra switchable spotlight (pair or single) |
Lights |
[spotlight_cookie] |
A spotlight whose beam is a picture |
Lights |
[matl_glow] |
A material that is its own light source |
Glowing materials |
[light_emitter_interior] |
A light-mapped mesh lights the saloon |
Light-emitting meshes |
[led_glow_effect] |
How strongly an LED panel's dots glow |
Glowing materials |
[matl_emissive], [matl_emissive_nits], [matl_emissive_kelvin], [matl_emissive_texture], [matl_emissive_fade] |
A material's own light: colour, HDR strength or cd/m², temperature, script control and fading |
Emissive materials |
[matl_basecolor], [matl_metallic], [matl_roughness], [matl_normal_strength], [matl_occlusion_strength] |
PBR values of a material without texture maps |
PBR materials |
[matl_nodirt] |
A material that takes no road dirt |
Road dirt |
[htmltexture], [useHtmlTexture] |
A display drawn from an HTML page |
HTML textures |
[navigatortexture], [useNavigatorTexture] |
A GPS screen showing the navigator |
Navigator textures |
More than four numbers in [illumination_interior] |
More interior lamps per mesh |
Interior lamps |
Vehicle files (.bus, .ovh)#
| Keyword |
What it does |
Details |
[add_camera_reflexion_static] |
A fixed camera for a CCTV or reversing screen |
Camera screens |
[suspension] |
Leaf, air or progressive springs per axle |
Suspension |
[vehicle_script] |
A Lua or .oop script that belongs to the vehicle |
Plugins |
[procedural_dirt_off], [procedural_dirt_rate], [procedural_dirt_box] |
The vehicle's road dirt: off, how fast, its layout |
Road dirt |
[damage_off], [damage_stiffness], [damage_max_depth], [damage_no_scratches], [damage_rigid], [damage_glass], [damage_engine], [damage_engine_none], [damage_engine_toughness], [damage_smoke] |
How the vehicle takes realistic damage |
Damage |
[trolley_pole], [trolley_rheostat], [trolley_async] |
Trolley poles and electric drive |
Trolleybuses |
[rail_class], [rail_power], [rail_traction], [rail_brake], [rail_coupler], [rail_body_osc], [pantograph_var], [pantograph_trigger] |
Rail vehicle behaviour |
Rail |
Passenger cabin (passengercabin.cfg)#
| Keyword |
What it does |
Details |
Two extra lines after [passpos] |
Switch a place on and off, report who sits there |
Passenger places |
Several [stamper] blocks |
One validator per door |
Ticket validators |
Scenery objects (.sco)#
| Keyword |
What it does |
Details |
[lua_script], [lua_range], [lua_rate] |
Lua or .oop logic for map objects |
Object scripts |
[htmltexture] in the object's model |
A sign or screen drawn from HTML |
HTML textures |
Files in a map folder#
| File |
What it does |
Details |
radio.cfg |
The map's own radio stations and frequencies |
Map radio |
openomsi_weather.cfg |
Live weather of a real place |
Weather |
openomsi_climate.cfg |
Monthly climate for natural weather |
Climate |
trolley.txt |
The overhead wire |
Trolleybuses |
openomsi-realmap/ |
A pre-built map picture for the navigator and city map |
Map packages |
dependencies.json |
Signed publisher packs the map needs |
Publisher packs |
Script variables and callbacks#
| Name |
What it is |
Details |
PAX_Entry8_Open … PAX_Entry15_Open, the same with _Req and for PAX_Exit |
Doors 9 to 16 |
Doors |
PAX_Entry<n>_Busy, PAX_Exit<n>_Busy |
Someone stands in the doorway |
Doors |
ev_Stamper<n>, PAX_Stamper_Used, PAX_Stamper<n>_Used |
A ticket was stamped at validator n |
Ticket validators |
(M.V.GetRadioName), (M.V.GetRadioSong) |
The radio's station and song |
Bus radio display |
Snd_Radio_Text |
Station and song text for a radio display |
Bus radio display |
Trolley_Pole<k>_Elev, Trolley_Pole<k>_Azim |
Trolley pole angles |
Trolleybuses |
Damage_Engine, Damage_Body, Damage_Front, Damage_Rear, Damage_Left, Damage_Right, Damage_Glass, Damage_Misfire, Damage_Repair |
The realistic damage, read and set by scripts |
Damage |