1. Stuck, Having problems with creating your mod? Let us help you: Mod Support

WIP Six axle diesel locomotive (Train)

Discussion in 'Land' started by BeamDrifter, Aug 16, 2018.

  1. zagdima

    zagdima
    Expand Collapse

    Joined:
    Dec 13, 2013
    Messages:
    257
    Nice man.
     
  2. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    5,224
    More dampers?

    I don't know where that bounce comes from, but would think that there is solution to it, if not straightforward, then something really odd and creative :)
     
  3. rottenfitzy

    rottenfitzy
    Expand Collapse

    Joined:
    Mar 7, 2015
    Messages:
    387
    JBEAM Stiffening XD
     
  4. BeamDrifter

    BeamDrifter
    Expand Collapse

    Joined:
    May 12, 2018
    Messages:
    88
    Now it is almost fixed. It still bounces but the bouncing goes away very fast.
     
  5. The Conqueror

    The Conqueror
    Expand Collapse

    Joined:
    May 23, 2014
    Messages:
    25
    Hi, any progress?
     
  6. BeamDrifter

    BeamDrifter
    Expand Collapse

    Joined:
    May 12, 2018
    Messages:
    88
    Just a stupid little update here. With slightly tuned wheels and 1.8 million horsepower it can go 632 kilometers per hour. I didn't use thrusters or jato rockets. It is faster than the Japanese maglev train (max speed 603 km/h). You don't need expensive high speed maglev trains, you can just have a slightly tuned SD40-2.

    EDIT: The new speed record is 640 km/h
     
    • Like Like x 6
  7. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    5,224
    Congrats from the fastest train in BeamNG!

    Needs smooth tracks too, but yeah, this BeamNG can do pretty crazy stuff :)

    You still had diesel with CVT?

    Electric drive would be perhaps something that could be made, there is electric car mods by AdamB I think, large spinner has code to operate engine with percentage of rpm I think it was, also hybrid bus has battery and recharging, even it does use thrusters, I think some bits of LUA might give ideas how to get diesel to charge battery.

    Combining ideas behind all of those you might be able to create diesel electric locomotive, even if it would be just one electric motor.

    It does need custom vehicle controller, one is in large spinner, to get thing to work with two engines, that can be bit tricky, but certainly it is possible. I think there was a thread about such sometime in history.
     
  8. DoveAndPigeonFan

    DoveAndPigeonFan
    Expand Collapse

    Joined:
    Jan 7, 2017
    Messages:
    150
    This thing needs to be finished, I have personally NEVER seen/used a train in Beam before.
     
  9. zagdima

    zagdima
    Expand Collapse

    Joined:
    Dec 13, 2013
    Messages:
    257
    Oh, my god you have now fastest train. All we need now build super highspeed locomotive for your configuration.
     
  10. BeamDrifter

    BeamDrifter
    Expand Collapse

    Joined:
    May 12, 2018
    Messages:
    88
    Now there is only one problem and it is that I don't know anything about LUA code.
     
  11. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    5,224
    I'm currently waiting reply from creator of hybrid bus mod, but I have fully working diesel electric with regen braking using that mod's LUA as a base, two engine powerline etc:


    It still needs more work to get transmission work so would not need range box to shift direction, but I kinda decided to wait response on hybrid bus creator first as it might take few days of my time to get everything working and I would rather spend time on something else if it is not possible to use his code.

    If I would have smooth long tracks, I could make it go really fast though, I was running out of straight sections at 360kph at Sultan Peak thing pulling really strong and that was with 'only' 100 000 torque or so :p

    If I get permission to use his code as a base, then I can tell you both how to do it and give example which you can then build such setups, but depends what kind of answer I get. Creating LUA from scratch is not really possible for me, it does require quite bit of LUA understanding.
     
    • Like Like x 1
    • Informative Informative x 1
  12. BeamDrifter

    BeamDrifter
    Expand Collapse

    Joined:
    May 12, 2018
    Messages:
    88
    I have some questing about the bell. Is it possible to make one of the bell nodes play a sound file when a key is pressed until it is pressed again? It should be possible as for example the T-series horn sounds are played by the horn nodes. If you rip them off you can hear that the horn nodes are playing the horn sounds. I know how to make vehicle specific bindings but otherwise I have no idea. LUA coding is probably needed. The bell is pretty much pointless if you can't ring it. Could someone help me?

    Here is the bell code
    Code:
    {
    "train_bell_frame": {
        "information":{
            "authors":"BeamNG.drift",
            "name":"Bell",
        }
        "slotType" : "train_bell_frame",
        "flexbodies": [
             ["mesh", "[group]:", "nonFlexMaterials"],
             ["train_bell_frame", ["train_bell_frame"]],
        ],
        "nodes": [
             ["id", "posX", "posY", "posZ"],
             {"selfCollision":true}
             {"collision":true}
             {"nodeWeight":5},
             {"frictionCoef":0.5},
             {"nodeMaterial":"|NM_METAL"},
             {"group":"train_bell_frame"},
             ["fBell0", 1.52200, -3.43800, 1.14000],
             ["fBell1", 1.21300, -3.43800, 1.14000],
             ["fBell2", 1.36800, -3.28300, 1.47900],
             ["fBell3", 1.52200, -3.12800, 1.14000],
             ["fBell4", 1.21300, -3.12800, 1.14000],
             {"group":""},
        ],
        "beams": [
             ["id1:", "id2:"],
             {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
             {"beamSpring":4000000,"beamDamp":500},
             {"beamDeform":200000,"beamStrength":"FLT_MAX"},
             ["fBell4","fBell1"],
             ["fBell1","fBell0"],
             ["fBell0","fBell3"],
             ["fBell3","fBell4"],
             ["fBell1","fBell2"],
             ["fBell3","fBell2"],
             ["fBell2","fBell0"],
             ["fBell2","fBell4"],
             ["fBell0","fBell4"],
             ["fBell1","fBell3"],
             {"breakGroup":"fBell"},
             {"beamDeform":80000,"beamStrength":"90000"},
             ["fBell2", "frl25"],
             ["fBell2", "frl27"],
             ["fBell2", "frl19"],
             ["frl17", "fBell2"],
             ["fBell2", "frl16"],
             ["frl18", "fBell2"],
             ["fBell2", "frl24"],
             ["fBell2", "frl26"],
             ["fBell4", "frl26"],
             ["fBell4", "frl24"],
             ["fBell3", "frl24"],
             ["fBell3", "frl26"],
             {"breakGroup":""},
        ],
            "triangles":[
             ["id1:", "id2:", "id3:"],
            {"groundModel":"metal"},
            {"dragCoef":2},
            //I'll add the collision triangles later don't worry
            ],
    },
    }
     
    #112 BeamDrifter, Sep 10, 2018
    Last edited: Sep 11, 2018
  13. rottenfitzy

    rottenfitzy
    Expand Collapse

    Joined:
    Mar 7, 2015
    Messages:
    387
     

    Attached Files:

    • D66E45D4-D88E-4362-8C5C-D796E8B78598.jpeg
    • Agree Agree x 2
    • Like Like x 1
  14. WentwardB60

    WentwardB60
    Expand Collapse

    Joined:
    Jul 1, 2018
    Messages:
    75
    "Onion Pacific" XD
    Looks real promising, GP38 (?) looks real cool! Great job!
     
  15. zagdima

    zagdima
    Expand Collapse

    Joined:
    Dec 13, 2013
    Messages:
    257
    Actually its sd40-2
     
    • Informative Informative x 1
  16. WentwardB60

    WentwardB60
    Expand Collapse

    Joined:
    Jul 1, 2018
    Messages:
    75
    I see, my mistake. Thanks for the info!
     
  17. BeamDrifter

    BeamDrifter
    Expand Collapse

    Joined:
    May 12, 2018
    Messages:
    88

    Ditch lights and snow plows


    Better normal maps (still WIP)


    Dynamic brake resistor grids


    Underframe pipes


    Wire grid radiator intakes (still WIP)


    The stairs have completely new textures and UV maps (still WIP)


    The lights now have deform groups


    I'm still looking for someone who could help me with the bell sounds.
     
    • Like Like x 10
  18. marlenemancuso

    marlenemancuso
    Expand Collapse

    Joined:
    Mar 27, 2017
    Messages:
    195
    Nice work
     
  19. zagdima

    zagdima
    Expand Collapse

    Joined:
    Dec 13, 2013
    Messages:
    257
    I saw a ditch light which worked like a railcrossing signal from left to right. Like in my trains. You have same system o just turn on they all just glowing? Or what? Because i adopted police light bar).
    --- Post updated ---
    Maybe you can use police siren with replaced siren sound with the bell sound.
     
    • Like Like x 1
  20. cpufreak101

    cpufreak101
    Expand Collapse

    Joined:
    Jul 15, 2018
    Messages:
    39
    For the ditch lights, those depend on the engine type, which railroad, and even local regulations. some trains are solid, while others flash.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice