What is jZm:
Pretty much jZm is an addon for Zombies which will allow players to run plugins that modify how the game runs, pretty much like the infamous MW3 Addon. Except it's for Zombies!
Teaser trailer:
*Video taken down due to Treyarch getting mad*
Downloads and support:
Official release isn't for a few weeks yet and I don't think I am allowed to give out the official site due to MPGH rules. However V1.0 will be released here for you guys and then support and updates will be found on our support site which you will be able to find easily on release.
Plugin example:
Here is an example of a plugin I made today for jZm.
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading
using ZombieAPI;
using ZombieAPI.GameObjects;
namespace EasyZombies
{
public class Plugin : jZmPlugin
{
public string Name
{
get
{
return "EasyZombies";
}
}
public string Desc
{
get
{
return "Allows players to spawn with 10K cash, Juggernaught perk and the HAMR LMG.";
}
}
public string Author
{
get
{
return "SirGravzy";
}
}
public string Youtube
{
get
{
return "https://www.youtube.com/SirGravzy";
}
}
public string Download
{
get
{
return "**Removed for MPGH*";
}
}
ZombieAPI.ZombieAPI API;
bool Run = false;
public void Init(ZombieAPI.ZombieAPI API)
{
API.WriteLine("EasyZombies by SirGravzy - Started!");
this.API = API;
API.OnFrame += new OnFrameHandler(API_OnFrame);
API.OnMapLoad += new MapHandler(API_OnMapLoad);
API.OnMapDestroy += new MapHandler(API_OnMapDestroy);
}
void API_OnMapDestroy() // When game ends.
{
Run = false; // Stops plugin running.
}
void API_OnMapLoad() // When map is loading.
{
Run = true; // Starts plugin.
}
long last_tick = -1; // Syncs timer.
void API_OnFrame() // When player has control.
{
if (Run == true) // If Plugin running.
{
foreach (Player player in API.GetPlayers()) // Goes through players and gives them weapons etc.
{
player.iPrintBoldLn("^2 EazyZombies Mod By SirGravzy Loaded!"); // Tells each player that the plugin started.
System.Threading.Thread.Sleep(3000); // Waits 3 seconds - horrible wait method but ah well.
player.Weapons.PrimaryWeapon = "hamr_zm"; // Sets Primary weapon to HAMR.
player.Weapons.CurrentWeapon = "hamr_zm"; // Sets Current weapon to HAMR.
player.iPrintBoldLn("^1 HAMR Given!"); // Tells each player that the HMAR is given.
System.Threading.Thread.Sleep(2500); // Waits 2.5 seconds - horrible wait method but ah well.
player.Money = 10000; // Sets players Money to 10000.
player.iPrintBoldLn("^3 Money Set to 10000!"); // Tells each player that 10000 money is given.
System.Threading.Thread.Sleep(1500); // Waits 1.5 seconds - horrible wait method but ah well.
player.Weapons.CurrentWeapon = "zombie_perk_bottle_jugg"; // Gives Player Jugg.
player.iPrintBoldLn("^4 Juggernaught perk given!"); // Tells each player that Jugg is given.
System.Threading.Thread.Sleep(5000); // Waits 5 seconds - horrible wait method but ah well.
player.iPrintBoldLn("^7 All weapons, money and perks set, kick some ass!"); // Tells each player that everything is done.
}
if (last_tick == -1)
last_tick = DateTime.Now.Ticks; // Sets timer.
int seconds = new DateTime(DateTime.Now.Ticks - last_tick).Second; // Timer method.
if (seconds >= 180)
{
foreach (Player player in API.GetPlayers()) // Goes through players to display message.
{
player.iPrintLn("^1 Like Youtube? Check out www.youtube***.com");
}
last_tick = DateTime.Now.Ticks; // Resets timer.
}
}
}
}
}