Author Topic: TNet3 / Ooti / General Multiplayer  (Read 904 times)

Decksi

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 0
  • Posts: 1
    • View Profile
TNet3 / Ooti / General Multiplayer
« on: May 07, 2017, 07:20:52 AM »
Hi everyone :)

I need some - be honest.. a lot of - help with Tnet  :-\
I try to make a FPS from Scratch using the ooti packages and TNet3.
at this point i am able to get ooti to work without TNet3. I can run, walk, swim etc. All fine.
My Problem ist the generel implementation of TNet3 at this point. I can connect to a Server (running remotly).
but when i open a second session and connect, it gets wierd.

both Clients are connected. Both Player show up in the Scene but there is no way for me to control only my Player.
Both Players are moving if i press a Button.

Scripts i am using at this point:

- autojoin
- autosync

i read the posts on the Assetstore Forum where "Stan B" was able to merge TNet3 and ooti to be working with each other but the download-links are down.
could please anyone help me to get it working so that i am able to walk with 3-4 Players through a scene using ooti?

king regards
Decksi

cmifwdll

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 149
  • Posts: 285
  • TNet Alchemist
    • View Profile
Re: TNet3 / Ooti / General Multiplayer
« Reply #1 on: May 09, 2017, 05:06:34 AM »
If you're using autosync, which syncs the transform directly, then why not just delete the character controller on remote players?
Real solution is to wrap everything in a tno.isMine conditional, though. Check out the tutorials here: http://www.tasharen.com/forum/index.php?topic=13953.0