0 votes
by
edited ago by

Hi,

I'm starting to develop a game using VPP community edition and I want my game to be multiplayer, with mirror if possible.

Of course, the first issue I encounter is that the community edition only allows one vehicle per scene.

But that's not the only issue. Mirror need to edit game script to use NetworkBehavior instead of MonoBehavior, but even the pro edition doesn't give access to VPP scripts.

So my questions:

  1. Is the VPP pro edition compatible for multiplayer without too much hassle?
  2. If yes, is it possible with mirror without editing the VPP scripts 

Thanks

1 Answer

0 votes
ago by
1. Yes, VPP Professional is compatible with multiplayer. It's the same hassle as any regular multiplayer game.

2. Yes, the VPP scripts don't have to be modified for multiplayer. Even in the Enterprise edition, modifying the source code is strongly discouraged, and could cause other issues about which we couldn't provide support.

NetworkBehaviour is required for the scripts that handle the networked elements. For a vehicle, you would create a script like NetworkVehicle derived from NetworkBehaviour. This script would handle all the network elements, and coordinate them with the unmodified VPP components.
...