A P2P multiplayer mod for Plants vs. Zombies: Replanted on Steam.
|
|
|
ReplantedOnline lets you play Versus mode online. Using direct peer-to-peer connections, so you don't need to use Parsec!
| Formula | Description |
|---|---|
New = Current + (15 × Plants) |
Each plant adds 15 to the cooldown |
| Formula | Description |
|---|---|
New = Current + Max(ZombiePoints - (5 × Plants), 0) |
Zombie points minus plant penalty (cannot go below 0) |
| Zombie Type | Points |
|---|---|
| Gargantuar | 200 |
| Zamboni | 150 |
| Catapult | 125 |
| Football | 125 |
| Target | 100 |
| Ladder | 100 |
| Pail | 100 |
| Pogo | 75 |
| Traffic Cone | 65 |
| Pole Vaulter | 65 |
| Gravestone | 33 |
| Bobsled | 25 (×4 = 100) |
| Backup Dancer | 25 (×4 = 100) |
| Imp | 15 |
| Other | 50 |
Pull requests are welcome. Code structure:
src/Modules/Versus/Configs— contains configurations for plants/zombiessrc/Modules/Versus/Gamemodes— contains gamemode setup and logicsrc/Modules/Versus/Arenas— contains arena setup and logicsrc/Managers/VersusLobbyManager.cs— handles lobby logic and statessrc/Managers/VersusGameplayManager.cs— handles gameplay logic and statessrc/Managers/VersusEndGameManager.cs— handles endgame logic and states
src/Network/Client/ReplantedLobby.cs— handles steamworks/lan lobbiessrc/Network/Client/ReplantedLobbyData.cs— handles data for the lobbysrc/Network/Client/PacketHandler— contains packet handlers for routed packetssrc/Network/Client/RPC— contains remote procedure call handlers for static rpcssrc/Network/Client/Object/Replanted— contains network objects, used to sync individual objects
src/Network/Routing/Transport— contains transports for networkingsrc/Network/Routing/NetworkDispatcher.cs— handles sending and routing packets to/from transportsrc/Network/Server/LAN— contains lan server to test locallysrc/Network/Packet/PacketWriter.cs— handles binary serializationsrc/Network/Packet/PacketReader.cs— handles binary deserializationsrc/Network/Packet/Messages— contains packet messages for serialization and deserializationsrc/Network/Packet/FastResolvers— contains resolvers for non type serialization and deserialization
Fork the repo, make a branch, and send a PR.
Please report any bugs or issues you encounter in Issues to help improve the mod!
replantedonlineofficial@gmail.com
ReplantedOnline is a unofficial modification of Plants vs. Zombies: Replanted and is not affiliated with PopCap Games or Electronic Arts.
