JamesG9802 / quake2-plants-vs-zombies

Plants vs Zombies Mod for Quake 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plants vs Zombies

This is a modified version of Quake 2, originally designed by Id Software, to run a variant of the game known as Plants vs Zombies. Due to the extensive differences between Plants vs Zombies and Quake 2, the executable has been modified. As such, you can only run this mod by launching through our shortcut which will automatically launch our mod. It is possible to mod this executable just like Quake 2, though you may need to examine the engine changes to determine what you can modify.

Installation

You can download a working version of this mod through the Releases tab in this repository. Afterwards, you can launch the mod by double clicking the shortcut.

Playing the game

Like in Plants vs Zombies, you have a grid where you can place plants to defend yourself from zombies. All plants require sun to be placed. Sun is only produced by sunflowers and intermittently from the sky. You lose the game if zombies manage to travel all the way to your house. Zombies will spawn in increasing number and strength as time progresses. Due to difficulty increases, zombies drop consumable items that can activated with the spacebar.

Controls

Left Click - place plant Left and Right Arrows - change currently selected plant in shop. Escape - pause the game and show a help screen. Spacebar - activate consumable, if any You can rebind controls through config.cfg.

Plants

There are 10 plants and they are described as follows:

  • Sunflower: 50 sun | Produces sun.
  • Peashooter: 100 sun | Shoots a pea.
  • Wallnut: 50 sun | Is very tough.
  • Cherry Bomb: 150 sun | Explodes a group of zombies
  • Jalepeno: 125 sun | Burns the lane of zombies
  • Exploding Wallnut: 100 sun | Travels down the lane and explodes.
  • Repeater: 200 sun | Shoots two peas.
  • Torchwood: 175 sun | Ignites peas that pass through it.
  • Mouse Shooter: 75 sun | Can only shoot if your mouse is over it.
  • Chomper: 150 sun | Eats a zombie

Zombie

There are 5 zombies and they are described as follows:

  • Regular Zombie: Average speed and health
  • Cone Zombie: Average speed and above average health
  • Bucket Zombie: Average speed and very high health
  • Flag Zombie: High speed and average health
  • Football Zombie: High speed and very high health

Consumables

  • Sun Card: Spawns 100 sun.
  • Shovel: Remove a plant.
  • Push Zombies: Move all zombies backward
  • Lawnmower: Send a lawnmower to clear a row
  • Freeze Zombies: Stop all zombies from moving and attacking for 5 seconds.

Original License terms by Id Software

This is the complete source code for Quake 2, version 3.19, buildable with visual C++ 6.0. The linux version should be buildable, but we haven't tested it for the release.

The code is all licensed under the terms of the GPL (gnu public license).
You should read the entire license, but the gist of it is that you can do anything you want with the code, including sell your new version. The catch is that if you distribute new binary versions, you are required to make the entire source code available for free to everyone.

The primary intent of this release is for entertainment and educational purposes, but the GPL does allow commercial exploitation if you obey the full license. If you want to do something commercial and you just can't bear to have your source changes released, we could still negotiate a separate license agreement (for $$$), but I would encourage you to just live with the GPL.

All of the Q2 data files remain copyrighted and licensed under the original terms, so you cannot redistribute data from the original game, but if you do a true total conversion, you can create a standalone game based on this code.

Thanks to Robert Duffy for doing the grunt work of building this release.

John Carmack Id Software

About

Plants vs Zombies Mod for Quake 2


Languages

Language:C 91.0%Language:Assembly 4.7%Language:Objective-C 2.2%Language:Makefile 1.9%Language:C++ 0.1%Language:Batchfile 0.0%