Hello! I’m currently developing a multiplayer game and am looking forward to find ways to make the game better. Here are the questions :
- How would I make animation over network? Someone said to put network view on the object with the animation and it will work. Is this true? If not, any other ways to do it? (it would be better with a test script and through and easy explanation because I’m new to networking)
- How would I make sound over network? Is Network.Instantiating a physical sound (empty with sound attached) and playing the audio on awake work? If so, do I need to put network view on it? If network.instantiating doesn’t work, what other ways can I make sound heard over network? (The sound will be ranged not like a sound everyone hears. People have to be in range.)
- Different spawn point. I would like to make a spawn point for each team and when people click “Spawn”, the don’t spawn on top of each other because there is only one spawn. How would I get to make it more than one spawn so if one spawn is occupied, you can spawn on the other?
- Random spawn point. How can I make people spawn in random spawn points (like FFA (Free for all))? Do I like use random number generator and if number > 0 spawn at spawnpoint 1?
- How would I make nickname show up on top of each characters?
- How would I make it so that when the match starts, the characters are already instantiated? Like how would I tell every client which character is yours? NetworkView.isMine won’t work obviously because it is not being Network.Instantiated.
- How do I make a “ADD SERVER” button? Like when they put the IP in, it saves it. Like Minecraft. So when they make a game, and the port for the game is port forwarded, people can join it. Is that possible for using direct connect instead of master server?
Sorry if it was too long xD I’m new to Unity 3D Networking and I would like to get better at it!