WIP BeamNG MP (Formally "Local Multiplayer (Lua based)")

Discussion in 'Programming' started by [YTGN] | Titch2000, Jun 18, 2019.

  1. hubert2005 kam

    hubert2005 kam
    Expand Collapse

    Joined:
    Jan 27, 2018
    Messages:
    23
    how for are you done with this project will you be finishsed this year
    --- Post updated ---
    cant wait untill this is releases everyone said its impossible
    --- Post updated ---
    will you be able to crash into each other
     
    • Informative Informative x 2
  2. [YTGN] | Titch2000

    [YTGN] | Titch2000
    Expand Collapse

    Joined:
    Jun 16, 2019
    Messages:
    29
    In theory there is no reason other than synchronisation related issues that you should not be able to have the ability to crash into each other. Though this will be VERY dependant on your internet speeds and your computers performance. As for player counts, technically there is no limit because at its core it runs from a web server and web sockets. however each players computers performance will be the bottleneck from what I can see at the moment.

    Thank you for the support though all of you. I do hope that i can prove that this is possible even if performance might be low to start with it still shows that it can be done.

    For anyone interested in how this is working you are more than welcome to take a look at the GitHub repository where you can contribute too if you feel you can.
    Briefly explained:
    A player hosts the session.
    Player 2 joins the session.
    The map is confirmed to be the same. Then pause all clients
    We synchronise the vehicles.
    Then we un-pause.
    To keep the vehicles synced what we do is we take the steering, break, clutch, throttle, locations and rotations and then package these up for network sending.
    Once on the other clients we unpack the message, and update the vehicle accordingly. In the future i plan to use the location of the vehicles to be the 2nd layer of synchronisation instead of the updated throttle and steering.

    I hope this helps anyone to understand how this works. :)
    --- Post updated ---
    Hello, sorry I missed your message. It had run over into another page. Now you get a post that just reply's to you. :)

    Will i be finished this year? Yes i very well intend on being done before the end of august depending on what walls might pop up along the way.

    Cant wait until* this is releases everyone said its impossible. Thank you, I can't wait either. Me and my brother have wanted to do this since we first encountered the game.

    Will you be able to crash into each other. Technically yes there is nothing to stop you. However there are two factors that might mean you would prefer to keep simple collisions turned on:
    1. Your computers performance.
    2. Vehicle synchronisation issues associated with it crashing on one client and not another.
     
    • Like Like x 6
    • Informative Informative x 2
  3. Nicholes Dorey

    Nicholes Dorey
    Expand Collapse

    Joined:
    Oct 24, 2016
    Messages:
    38
    First. [YTGN] | Titch2000 this is an amazing mod love it keep up the good work:D:D:D

    Second a suggestion. Devs pay close attention to this mod. it could change things in very good way especially were this is possible and make the guy a Dev :D:D:D

    Third a question for [YTGN] | Titch2000 what happens if your the person you joined, and got tired of the car your using, what would happen if you changed vehicle mid play or if host and you wanted to change your car?, would you have to rejoin pause the game until the car changed?, what would happen or how would that work? thanks and keep up the good work dude:):):)
     
  4. [YTGN] | Titch2000

    [YTGN] | Titch2000
    Expand Collapse

    Joined:
    Jun 16, 2019
    Messages:
    29
    Firstly thank you!
    As for car changing at the moment non of that is intentionally handled however could be possible. At the moment this is still very early stages but anything is possible with enough time, patience and attention.
     
    • Like Like x 1
  5. mnthegamer

    mnthegamer
    Expand Collapse

    Joined:
    Dec 12, 2016
    Messages:
    238
    This sounds so cool from what i have read so far! Good luck!
     
    • Like Like x 1
  6. Nicholes Dorey

    Nicholes Dorey
    Expand Collapse

    Joined:
    Oct 24, 2016
    Messages:
    38


    keep up the good work:):)
     
  7. [YTGN] | Titch2000

    [YTGN] | Titch2000
    Expand Collapse

    Joined:
    Jun 16, 2019
    Messages:
    29
    Thank you. The current state of the project is that vehicles are now visible on both of my clients, they move, brake and turn. But they quickly become de-synchronised. So that is what i am doing now.
     
    • Like Like x 2
    • Informative Informative x 2
  8. Nicholes Dorey

    Nicholes Dorey
    Expand Collapse

    Joined:
    Oct 24, 2016
    Messages:
    38
  9. Sh3lbYe

    Sh3lbYe
    Expand Collapse

    Joined:
    Jan 26, 2013
    Messages:
    190
    Even though crashing into each would be cool, im more interested in the fact that races and drift trains could be done, even if the player dont collide (like ghosts) that would be good on the performance department i think.

    Wish the best of luck to the project, looking foward to updates!
     
    • Agree Agree x 3
  10. zestyfolfdude

    zestyfolfdude
    Expand Collapse

    Joined:
    Sep 18, 2016
    Messages:
    2,184
    Three years ago, we said that both multiplayer and dirt driving sounds would be impossible or so hard to implement- look where we are today! ;)
     
    • Agree Agree x 3
  11. EruptionTyphlosion

    EruptionTyphlosion
    Expand Collapse

    Joined:
    Sep 24, 2016
    Messages:
    3,290
    Will horns, sirens, and lights sync between players?

    Also, would day/night sync?
    --- Post updated ---
    Also, would license plates and text sync?
     
    • Agree Agree x 3
  12. [YTGN] | Titch2000

    [YTGN] | Titch2000
    Expand Collapse

    Joined:
    Jun 16, 2019
    Messages:
    29
    Yes every aspect is going to be attempted to be done, this includes plates, lights, sounds so on so forth. The limit really is what the game and the engine can handle.
     
    • Like Like x 4
  13. ImadPotato

    ImadPotato
    Expand Collapse

    Joined:
    Oct 27, 2015
    Messages:
    81
    if beamng doesnt hire you after this...
     
  14. blueeyiz702

    blueeyiz702
    Expand Collapse

    Joined:
    Jun 17, 2019
    Messages:
    4
    Bugbear Entertainment/ THQ Nordic, your in trouble if this gets off the ground and rolling.I think having a multi player game like Wreckfest but with the soft body physics Beamng.Drive has it would be
    Sic to think of the mods cars and track that could be produced similar to Wreckfests.And amount of damage you could inflict on your opponents in game.
     
    • Agree Agree x 1
  15. Cool12345

    Cool12345
    Expand Collapse

    Joined:
    May 2, 2019
    Messages:
    49
    nice! Can't wait ti'll it's done!
     
  16. Dashcam_crasher

    Dashcam_crasher
    Expand Collapse

    Joined:
    Jun 7, 2017
    Messages:
    200
    Look's promising, keep up the good work! :)
     
  17. hubert2005 kam

    hubert2005 kam
    Expand Collapse

    Joined:
    Jan 27, 2018
    Messages:
    23
    whats the progress of this
     
  18. _Tanco

    _Tanco
    Expand Collapse

    Joined:
    Jan 7, 2017
    Messages:
    115
    I saw this video recently
    And i think that's Titch2000 who posted this.
     
    • Informative Informative x 3
    • Like Like x 1
  19. Cooldriver10

    Cooldriver10
    Expand Collapse

    Joined:
    Feb 22, 2017
    Messages:
    1,398
    Well... its lagging but process... I think...
     
  20. CrimsonCrocodile

    CrimsonCrocodile
    Expand Collapse

    Joined:
    Jun 27, 2017
    Messages:
    1,490
    Well its obviously a very heavy work in progress :p

    The important thing is the basics are working.
     
    • Agree Agree x 5
  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