|
Post by mightofficiel on Sept 14, 2018 19:09:18 GMT
oh yeah good question , that's true unet will no longer exist
|
|
|
Post by wesleywh on Sept 14, 2018 21:25:48 GMT
Makes me a little sad that I have to switch so soon. Oh well. I will start working on that tonight before I push this forward anymore.
|
|
|
Post by wesleywh on Sept 15, 2018 2:06:20 GMT
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.
|
|
|
Post by darknubis365 on Sept 15, 2018 3:12:25 GMT
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
|
|
|
Post by wesleywh on Sept 15, 2018 5:17:19 GMT
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.
|
|
|
Post by darknubis365 on Sept 15, 2018 5:53:49 GMT
Haha good going then wish you all the luck i will try and help with what i can
|
|
|
Post by darknubis365 on Sept 15, 2018 8:56:59 GMT
Which version of photon btw there is a PUN and a PUN2 and also a classic and unity networking version
|
|
|
Post by wesleywh on Sept 15, 2018 15:23:32 GMT
I am using PUN2 free version. Here is the link to the exact one I have downloaded and started using in my new project.
assetstore.unity.com/packages/tools/network/pun-2-free-119922
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:
That tutorial took a little while to find since they have one for PUN as well which looks almost identical but obviously doesn't work with PUN2.
|
|
|
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
|
|
|
Post by wesleywh on Sept 15, 2018 21:47:20 GMT
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.
|
|
|
Post by uberwiggett on Sept 16, 2018 3:17:57 GMT
very keen on the jump to photon and looking forward to fully networked damage calls!
|
|
|
Post by mightofficiel on Sept 17, 2018 13:53:07 GMT
|
|
|
Post by wesleywh on Sept 18, 2018 2:03:53 GMT
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.
|
|
|
Post by Rockwall on Sept 18, 2018 2:38:33 GMT
Sounds awesome!!
Yeah there is a way! Go to your very first post in this thread, and hit the edit post button, the title of the thread should come up!! :D
Thank you!!
|
|
|
Post by darknubis365 on Sept 18, 2018 23:43:27 GMT
Where to place these files in invector folder or assets folder?
|
|