Posts by Marcel Kuhnt

    Hello!


    Usually in most cases, you do not need this function.


    Just use:


    Code
    1. let state = action::state("Throttle");
    2. if state.kind.is_just_pressed() {
    3. log::info!("Throttle has just been pressed");
    4. }

    :-)


    You may use any string, especially those which you have used in the ContentTool.

    Regarding global variables: There are no global variables in Rust. In the classic approach, the “global” variables are located directly or indirectly in the script struct (in a new project, this is called “MyScript”), e.g., in sub-structs, e.g., for doors, which are then included as a field in the script struct.


    Have you read the Rust book?
    The Rust Programming Language - The Rust Programming Language


    Regarding texture swapping in particular: I know there are still gaps in the documentation, so please wait.

    Hello!


    My GT6N script uses different programming principles that are not yet fully completed and/or documented. For this reason, the two crates are not yet available and the GT6N crate cannot yet be compiled.


    However, I will create an introductory tutorial in which I explain some of the basics in a “classic” way using an example.


    So I hope you can bear with me a little longer! :-)

    No, what he meant was: First, you create your new map with the setting “fictitious,” but in the correct location in the world. When the time comes, you can then have us check it, and we can port it to the real world if it meets the requirements. :-)

    :flag_gb: Patch 1.EA.111


    :NewFeature::NewFeature::NewFeature: Basis for train protection built: Now significantly expanded communication of vehicles with triggers possible!


    :Bugfix: Simulation: If passengers want a ticket to a specific destination, then a special ticket is no longer requested (day ticket, short distance, ...)

    :Bugfix: Simulation: No two passengers can order a ticket at the same time.

    :Bugfix: Simulation: Door jamming grumbling should really only happen when it does. However, it is a prerequisite that the number of doors is correctly entered for the respective vehicle!

    :Bugfix: Simulation: Weighting of the individual tickets was defective

    :Bugfix: Simulation: No ticket request while there is still money on the payment table.

    :Bugfix: Simulation: AI vehicles have not yet set the system variable "RC_DirLeaver".

    :Bugfix: Simulation: If there are closed passenger path chains in the vehicle, passengers should search for the shorter path in each case anyway. However, it is not the length of the chain that counts, but the number of path segments (previously, the "next best" path leading to the destination was simply taken).

    :Bugfix: Simulation: With the centre of gravity of the bus shifted in the Y-direction, the curve pivot point was no longer correct.

    :Bugfix: Simulation: When light sources illuminated several tunnel light source levels at the same time and these were also close together, flickering occurred.

    :Bugfix: Simulation: If "Realistic Year"/"Date"/"Time" is now set, these should also be selected in this way.


    :Bugfix: MapEditor/ContentTool: Missing language entries added


    :NewFeature: MapEditor: Auto-block signals possible: Create /no/ activation paths for this, but set the auto-block priority for the corresponding route to >= 1. If there are several self-block terms at the signal (e.g. Hp2 for reduced slip path and Hp1 for normal), then these are set different priorities: Hp1 gets priority 2, Hp2 gets 1. So if Hp2 is already active, but then the conditions for the higher priority are fulfilled (because the previous train left the Hp1-slide-through path), then the signal changes directly from Hp2 to Hp1.

    :Bugfix: MapEditor: Switch ties no longer disappear

    :Bugfix: MapEditor: Fixed problems with toolbars getting wider (top)

    :Bugfix: MapEditor: Window "Available tickets" widened

    :NewFeature: MapEditor: Additional rail quality level "dirty"

    :Bugfix: MapEditor: Fixed copy-paste function for selecting valid tickets in station window

    :Bugfix: MapEditor: Remaining problems with overlong reference lines removed

    :Bugfix: MapEditor: Crash when reopening the route window


    :NewFeature: ContentTool: Paths for passengers in vehicles for one direction only

    :NewFeature: ContentTool: Tickets can be given an (internal) free name to make them easier to recognise in special cases. However, this has no influence on what passengers say when ordering tickets

    :NewFeature: ContentTool: Start parameter "-noCatCheck" so that the ContentTool no longer checks whether the object is classified in the wrong category (1, 2 or 3).

    :Bugfix: ContentTool: If the order of coupling of broadcast buses (CoupleBroadcastBus) was not in ascending order by bus name, these connections were sometimes not recognised.

    :NewFeature: ContentTool - Interlocking tool: Block signals (without push-buttons) and "smarter" list at top right

    :Bugfix: ContentTool - Interlocking tool: Track occupancies were no longer visible when a route from the list was switched to active.

    :Bugfix: ContentTool: Delete button for tariff zones only worked for the last tariff zone


    :NewFeature: Content: Switch ties for wooden ties

    :NewFeature: Content: I have added two polys to the wooden sleepers so that they appear more three-dimensional (even without parallax occlusion). Attention: These only take effect on existing tracks when the properties of those tracks are called up once, confirmed and the terrain is regenerated at the end. (:refresh: is enough)

    :NewFeature: Content: Running surface of the S49 rails of higher quality

    Hello!


    The problem is that each point of the scenery can be illuminated by a maximum of as many light sources as specified in the settings. For this reason, LOTUS reduces the radius of the light sources to such an extent that they no longer overlap. Many light sources that are close together therefore do not work as desired.


    We are still working on a concept ourselves for how underground stations should ideally be lit. In any case, long bar light sources will play a central role, because they can illuminate a large area with only one light source. In addition, the ambient component of an underground station light source should be set high.