Skip to content

D1GQ/ReplantedOnline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

599 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replanted Online

A P2P multiplayer mod for Plants vs. Zombies: Replanted on Steam.


PVZR-Online-Promo


ReplantedOnline lets you play Versus mode online. Using direct peer-to-peer connections, so you don't need to use Parsec!

Requirements

Gameplay Tables

Brain Spawn Cooldown

Formula Description
New = Current + (15 × Plants) Each plant adds 15 to the cooldown

Grave Cooldown

Formula Description
New = Current + Max(ZombiePoints - (5 × Plants), 0) Zombie points minus plant penalty (cannot go below 0)

Zombie Points Table

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

Want to help out?

Pull requests are welcome. Code structure:

Gameplay

  • src/Modules/Versus/Configs — contains configurations for plants/zombies
  • src/Modules/Versus/Gamemodes — contains gamemode setup and logic
  • src/Modules/Versus/Arenas — contains arena setup and logic
  • src/Managers/VersusLobbyManager.cs — handles lobby logic and states
  • src/Managers/VersusGameplayManager.cs — handles gameplay logic and states
  • src/Managers/VersusEndGameManager.cs — handles endgame logic and states

Networking - Client

  • src/Network/Client/ReplantedLobby.cs — handles steamworks/lan lobbies
  • src/Network/Client/ReplantedLobbyData.cs — handles data for the lobby
  • src/Network/Client/PacketHandler — contains packet handlers for routed packets
  • src/Network/Client/RPC — contains remote procedure call handlers for static rpcs
  • src/Network/Client/Object/Replanted — contains network objects, used to sync individual objects

Networking - Server/Packets

  • src/Network/Routing/Transport — contains transports for networking
  • src/Network/Routing/NetworkDispatcher.cs — handles sending and routing packets to/from transport
  • src/Network/Server/LAN — contains lan server to test locally
  • src/Network/Packet/PacketWriter.cs — handles binary serialization
  • src/Network/Packet/PacketReader.cs — handles binary deserialization
  • src/Network/Packet/Messages — contains packet messages for serialization and deserialization
  • src/Network/Packet/FastResolvers — contains resolvers for non type serialization and deserialization

Fork the repo, make a branch, and send a PR.

Reporting Issues!

Please report any bugs or issues you encounter in Issues to help improve the mod!

Contacts

replantedonlineofficial@gmail.com

Disclaimer

ReplantedOnline is a unofficial modification of Plants vs. Zombies: Replanted and is not affiliated with PopCap Games or Electronic Arts.

About

A P2P online multiplayer mod for Plants vs. Zombies: Replanted on Steam.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors