openOMSI GitHub Discord

Docs / Reference / Content formats

Scenery objects (.sco) - unit mc_complMapObj

1 min readEdit this pagedocs/FORMATS.md

friendlyname groups onlyeditor complexity rendertype(presurface|surface|on_surface) LightMapMapping nomaplighting NightMapMode fixed absheight collision_mesh crossing_heightdeformation nocollision surface switch traffic_lights_group traffic_light phase approachdist traffic_light_stop traffic_light_jump splinehelper path path_2 use_traffic_light blockpath crossingproblem switchdir model scriptshare varnamelist stringvarnamelist script constfile sound sound_ai paths passengercabin busstop entrypoint carpark_p trafficlight signal helparrow depot petrolstation tree add_camera_reflexion(_2) mass momentofintertia cog boundingbox crashmode_pole new_attachment (attach_trans attach_rot_x/y/z) maplight rail_enh third_rail triggerbox_new triggerbox_setreverb plus the whole model.cfg vocabulary inline.

[rendertype] presurface draws the object before terrain and ordinary scenery, keeping its mesh/material order. Alpha-blended materials still write depth at transparent texels: an invisible cover can keep terrain from hiding an excavation already drawn below it. Alpha-tested materials retain their cutouts, and [matl_noZwrite] disables blended depth writes.

Something wrong or missing? Fix it on GitHub or open an issue.

↑↓ to move↵ to open