Multiplayer by making own server, and some other ideas.

Discussion in 'Ideas and Suggestions' started by I survived 3 abortions, Dec 22, 2016.

  1. Funky7Monkey

    Funky7Monkey
    Expand Collapse

    Joined:
    Oct 12, 2014
    Messages:
    977
    You act like I don't know what I'm talking about. All 3d game engines do that. The camera has to be in the scene, or it won't work at all. Feel free to correct me where I'm wrong, but you have to prove that I am wrong.
     
  2. EruptionTyphlosion

    EruptionTyphlosion
    Expand Collapse

    Joined:
    Sep 24, 2016
    Messages:
    2,927
    I'm kinda in a similar boat with my game, but the problem isn't physics calculations like in Beam, the issue is the fact that every npc and part of the massive map are constantly updating (My goal is complete realism, and no cheating. Thus there will be no spawning.) If you do multiplayer this is my advice.

    I'd have all calculations done on each player's machine (However, anyone with a machine that doesn't meet the recommended could cause issues this way). I'm not an expert on how Beam's physics engine works, but would it be possible to have the positions of the nodes and beams on a server, with each player setting the positions by having the physics for their car running in their computer? I notice that most of the strain (at least on my pc (NOTE: The processor is NOT up to recommended specs, however everything else is at or above recommended specs. ) is caused by the physics engine, so multiplayer is possible, but the physics are only being calculated for ONE car on your machine.

    I know you don't like having Beam being compared to GTA, but hear me out. With GTA V's online, each NPC is calculated on each player's machine (The one that spawned them). Therefore, all of the NPC calculations would be done on that player's machine. What I'm suggesting is a similar concept.

    I'm basically saying that each player calculated their own physics, and the nodes and beam's cords are sent to every player's machine, so the car would be rendered on every player's machine. Basically, each machine does the following: Calculates the physics for ONE car, renders the rest of the cars, and renders the environment.


    Some other advice for the MP. 1: Only let each player spawn 1 car. 2: Each player must be running at at least ____ FPS (I'd probably say 30.), because we don't need people lagging around.

    If you need anything explained, please ask. I have trouble wording some things.
     
  3. Dr. Death

    Dr. Death
    Expand Collapse

    Joined:
    May 12, 2016
    Messages:
    1,962
    ok dude. Whatever lets you sleep at night.
     
  4. TheAdmiester

    TheAdmiester
    Expand Collapse

    Joined:
    Aug 7, 2012
    Messages:
    577
    I can verify what @Funky7Monkey is saying. Every game and engine I've ever used (and made) has to have a camera or viewpoint of some sort. How do you expect it to know what the screen area is meant to be showing without something to determine which part of the scene it's looking at?
     
  5. VeyronEB

    VeyronEB
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,537
    You do realise the the dynamic reflections in the game render the game world multiple times as well, its essentially the same as rendering from a different camera view. That is how they are able to render things that you can't directly see in your view port.
     
  6. EruptionTyphlosion

    EruptionTyphlosion
    Expand Collapse

    Joined:
    Sep 24, 2016
    Messages:
    2,927
    Could anyone give me feedback on my previous post? This would solve a lot of the problems.
     
    • Agree Agree x 1
  7. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    @Dr. Death No need to get salty.

    @Funky7Monkey is sort of right. That's how it should works pretty much.
    What @VeyronEB said is also right. The dynamic reflections works because of the same system pretty much. (6 cameras pointing each direction)

    Althought, split-screen is more than just adding cameras, that's just a small part :)
     
    #27 Nadeox1, Feb 18, 2017
    Last edited: Feb 18, 2017
  8. Dr. Death

    Dr. Death
    Expand Collapse

    Joined:
    May 12, 2016
    Messages:
    1,962
    Nah dude i aint salty. I just said "ok".
     
  9. TheAdmiester

    TheAdmiester
    Expand Collapse

    Joined:
    Aug 7, 2012
    Messages:
    577
    You kinda also said "whatever helps you sleep at night", which is a dismissive thing to say and implies they're wrong.
     
    • Agree Agree x 4
    • Like Like x 1
  10. Funky7Monkey

    Funky7Monkey
    Expand Collapse

    Joined:
    Oct 12, 2014
    Messages:
    977
    Sounds like there have been some complications, right?
     
    • Like Like x 1
  11. Dr. Death

    Dr. Death
    Expand Collapse

    Joined:
    May 12, 2016
    Messages:
    1,962
    You think not being salty is being against people sleeping at night?
     
  12. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,683
    Cut it off already.
    Thanks!
     
    • Agree Agree x 2
  13. Joe Dingo

    Joe Dingo
    Expand Collapse

    Joined:
    Nov 8, 2015
    Messages:
    24
    Funky7Monkey MAKES CAMERA MODS. They're probably correct.
     
  14. Dr. Death

    Dr. Death
    Expand Collapse

    Joined:
    May 12, 2016
    Messages:
    1,962
    ok then.
     
  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