Okay I know Photon Bolt is what I have been getting messaged about a lot but... its not free. I am also not willing to spend $70 for that option. Photon offers a free version PUN. I will be looking into this.
I'll have to look into PhotonBolt i was recommended to use this with invector for the server side calls so either way is ok with me,We need some multiplayer for this lol But if the free version is good to go so am i tho i dont know a thing about Photon yet but i can learn fast
I am looking at the free version and honestly this is actually still better than UNet anyway (it actually syncs animation triggers and layer weights, yay!). With that said they don't supply things like the network manager component so I am building that right now. I think I have a solution that I like so it wasn't too hard. That has put me back a little bit but I am working at this as fast as I can to get back to where we were. It was just ssssooo close before lol
Since I haven't ever really worked with Photon either I have to dig through a lot of their documentation. Believe it or not their documentation is actually pretty good, that's a first for me.
I got it back to where the player can join / create a lobby. Also just recently got the syncing of positions, animations, and bone rotations. As part of this I would look at their step by step guide on how to get started with this. I really have just been following along with that and modifying it to work with invector. It's actually a very nice tutorial that you can read here:
Post by darknubis365 on Sept 15, 2018 18:17:04 GMT
Ok i will download that version,I did a little messing around last night and had some weird results in PUN 1 They have a RPG demo scene i created a build on that scene and opened 2 exe's and got 2 players to drop in the scene,Now the weird thing i took all of the components that were needed for that scene and applied them to invector prefab for some odd reason i was only able to get 1 player to show and not 2.But i will download this version today and checkout the tutorials
I have created a new repo for the PUN2 code. Feel free to take it and fix it up. There are still a series of issues with it right now but it will help you get started with implementing it with the invector template.
Things are moving along nicely for some things in Photon and not so nice on others.
I got punches and melee weapons sending their damage across the network again. This is actually further then I got previously which was only sending damage on punches and not melee weapons. The shooter weapons must trigger a different function I will have to research this some more.
Photon PUN 2 has made things ssssooo much easier. I just had to add 2 lines and now damage for BOTH hands and melee weapons get sent across the network, simply amazing.
I need to clean up the monstrosity of code that I have and put it all together into a unity package. Not sure how long this is going to take. If you simply cannot wait for this package to be release then grab the source code off my github page right now (Just uploaded it). Just so you know if you go it alone you're going to need to figure out the invector scripts to modify yourself since you shouldn't trust the editor scripts right now to do the right thing. The editor scripts and setup process is the next thing I am working on for the unity package.
Also can topics be renamed? Obviously the UNET version of this is dead, in favor of Photon PUN 2, so this topic either needs to be moved or renamed.
Now some of the things that aren't working as nice.
1. The animations are a bit slow to sync 2. Some triggers are not getting triggered 3. Bone rotations (Looking around) aren't getting synced
I am looking into these now but I don't know how long it will take to figure this out. Kind of a trial and error process.