openOMSI GitHub Discord

Docs / Reference / Content formats

Vehicles (.bus/.ovh) - unit mc_roadvehicle

1 min readEdit this pagedocs/FORMATS.md

type friendlyname friendlyname_inv ai_veh_type coupling_back/front control_cable_back/front couple_back/front coupling_front_character boogies sinus rail_body_osc contact_shoe rowdy_factor ai_brakeperformance add_camera_driver add_camera_pax view_schedule view_ticketselling set_camera_std set_camera_outside_center schwerpunkt rollwiderstand rot_pnt_long inv_min_turnradius ai_deltaheight newachse (achse_long achse_maxwidth achse_minwidth achse_raddurchmesser achse_feder achse_maxforce achse_daempfer achse_antrieb achse_inertia_inv) number registration_automatic registration_list registration_free kmcounter_init + model/script/sound/paths/passengercabin. openOMSI's own blocks (read the same way, key value lines to the next block): [trolley_pole], [trolley_rheostat], [trolley_async], [trolley_battery], [trolley_aux], [trolley_vars], [trolley_none]: the poles on the roof and the traction drive of a trolleybus, or none of the game's own for a vehicle that moves its poles itself (OMSI 2 has none: its trolleybus add-ons run a plugin beside the game).

Every key, the variables the game writes for models and the map's trolley.txt ([trolley_net], [trolley_section], [trolley_span], [trolley_switch], [trolley_insulator]) are in TROLLEYBUS.md. Built-in vehicle variables are listed in program/varlist_roadvehicle.txt;

generated per axle: Wheel_Rotation_ Wheel_RotationSpeed_ Axle_Steering_ Axle_Suspension_ Axle_Springfactor_ Axle_Brakeforce_ Axle_SurfaceID_ × {n}_{L|R}, PAX_Entry{n}_Open/_Req, PAX_Exit{n}_…, Debug_0..5;

PAX_Entry8..15 and PAX_Exit8..15 besides Omsi.exe's eight, and PAX_Entry{n}_Busy / PAX_Exit{n}_Busy (somebody in that doorway; see MODDING.md). Callbacks: program/callbacklist_*.txt.

Passenger cabin: entry ({noticketsale} {withbutton}) exit linkToNextVeh linkToPrevVeh stamper ticket_sale ticket_sale_money_point(_2) ticket_sale_change_point(_2) passpos drivpos illumination_interior. Paths: stepsoundpack pathpnt pathlink pathlink_oneway next_roomheight next_stepsound.

Sound (.cfg): next_random loopsound sound 3d dir noloop important viewpoint volcurve pnt conditionSingle conditionInt conditionBool trigger checkloading onlyone.

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

↑↓ to move↵ to open