Beiträge von Enzojz

Willkommen in der Transport Fever Community

Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.

 

Die Registrierung und Nutzung ist selbstverständlich kostenlos.

 

Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.

Das Team der Transport-Fever Community


    It's about the track gauge, and well the other parameters you can set in a track config file.
    (there seems to be some mods that have different heights above ground).

    The gauge is not important for this kind of mod, I have never paied attention to this. the heigh above the ground is meanful to platform and catenaries but I think it's all it can be about.
    The important thing is getting the total width of the track since too close leads to colission failure while to far leads to fences on bridges.

    Yes, outer part, middle part and about the track model. For the track itself that should work around for all to strange track types, because you can create but also quite track types that scale lost me out with easy in the width.

    Most track mods has a standard 5m width, far as I know.

    tomdotio‎‎ ‎
    ‎ Finally something like this would be a nice Christmas gift to the Modder boundlessly enriching the game again.

    I have talk to tom last week about this hack mod, he said the devs have tested this mod some time ago and was impressed with the depth @eis_os goes into.

    I don't know specifically how the figures are with LUA and C++, but usually, calling a native function in a scripting environment has an overhead which will not justify the calculation time of any sort of math.

    that depends the architecture of your binary lib and how you designed the memory layout for the communication, I have written a C interop lib with Tcl/tk for a calculate intensive project, the gain of performance was very significant.

    Well yes. I am not sure if it's worth the trouble. What algorithm do you need?

    These algo that I implemented in my mods, principally about the lines, circular arcs, matrix, quaternions and 2D/3D triangle projections, they are calculate intensive and with Lua it drags a lot

    I think if I want to make a private algorithm binary library for the lua in Tpf I need to do 1 ~ 4 steps, correct?



    Full quote removed (eis_os)

    CommonAPI uses a modified LUA Runtime (statical linked to the DLL/so) that can manipulate TPF Lua state.

    I suppose for Windows dlls it's a Lua runtime that matches address of each function entry and Lua state of tfp.exe, and these address are statically manually analyzed, so for different versions you need to have do things differently? for Linux it should be easier since the OS exposes these?

    The text on the board is the station name, you need to build the station in planner and before the final construction of it, I haven't tried to see if it can be changed after construction but you can have a try

    What's the advantage of bin version?


    ----
    OK, have check the previous posts, that's great.


    Would be interested in how to link to the lua interpreter of tp under windows since there's no lua52.lib give so the one from tpf is private and static linked, and some other attentions need to pay for linux binaries, I have no experience with linux and only know their libs are called so

    They are actually {{point, vector}..} groupes,


    Use edgeutils to get a beter ones, they are in {point start, point end, vector start, vector end} group, use unit vectors as input you are always fine and you will be able to get converging paths. Remember if you find a S cuves, split them in two.

    1.12
    - Station built with planner has now a station name board on the platform
    - Fixed transit track position error on triangle station and half-triangle station
    - Fixed wrong train stop position on half triangle station when common part length ≠ 50%
    - Added "Length Ratio A/B" option to Double Curvature Station



    • When building a curved station with planner, and moving the entry to the right instead of left, the building is facing the wrong way. In planning mode, the yellow outline is not visible and after building, the building is on the tracks:

    Fixed