Petr Ohlídal

Results 340 comments of Petr Ohlídal

* Fixed beacons (M key) not working. * Fixed vehicles spawning with headlights on. * Improved light cycling (CTRL+N) to use only available flares (fog lights are omitted): 1) all...

I've restored the `lights` lamp as an alias for `sidelights` (aka "daytime running lights" in the US). It's the least wrong solution - sidelights automatically light up with low beams...

**IMPORTANT: Regenerate your cache! There was a bug and the mission entries are not filled properly.** I added rudimentary UI for missions: ![obrazek](https://user-images.githubusercontent.com/491088/218355177-3b89ddd1-5fbb-4bd2-a8b8-eb5d7ad955e9.png) ![obrazek](https://user-images.githubusercontent.com/491088/218355351-1fdf9378-ea35-4297-b706-bafb194096fc.png)

@CuriousMike56 suggested creating multiplayer challenges using this system: https://forum.rigsofrods.org/threads/mission-system-prototype.3846/#post-19130 To help with the coding, I added rorserver scripting documentation to https://developer.rigsofrods.org/ ![obrazek](https://user-images.githubusercontent.com/491088/218537095-02ec9ef0-9b7e-4bd5-8584-beb748f7f0ae.png)

New script function: `BeamClass.getAllLinkedTrucks()` ![obrazek](https://user-images.githubusercontent.com/491088/219223268-8878c4a4-7cdd-4e19-936d-3eec8cd10900.png)

I added a new mission type: 'stunt'. It uses 2 eventboxes and measures various parameters while travelling between them. This is a demo mission 'Simple Test Ramp' - the start...

TODO: * selector UI doesn't display mission descriptions, reported on Discord: https://discord.com/channels/136544456244461568/189904947649708032/1089169194169405521 * terrain-binding by GUID is not considered reliable by the community: https://discord.com/channels/136544456244461568/189904947649708032/1089272247522427040 - a binding by terrn filename...

Map icons are yours: ![obrazek](https://user-images.githubusercontent.com/491088/227904806-350bd8fa-c496-43e0-aea9-0871d231e23f.png) ``` const int SURVEYMAP_ICONS_GROUPID = -222; TerrainClass@ terrn = game.getTerrain(); if (ImGui::Button("Add icons")) { vector3 pos = game.getPersonPosition(); terrn.addSurveyMapEntity("info!", "arrow_up.png", /*resource_group:*/"", /*caption:*/"", pos + vector3(0.f,...

Closing this as stale and mostly obsolete: * The scripting extensions were meanwhile merged in other PRs. * The server documentation is also already online: https://developer.rigsofrods.org/d2/d42/group___script_side_a_p_is.html * The missions implementation...

I tried replacing our DearIMGUI integration (v 1.75 - very outdated) with OGRE's builtin DearImguiOverlay component. UPDATE: It's a success, just some finishing touches are needed, see below. Status: *...