Post: TUTORIAL How to edit a Zombieland Patch
01-24-2011, 04:42 PM #1
Hawkin
Lord of the Undead
(adsbygoogle = window.adsbygoogle || []).push({}); OK everyone has been asking me how they can edit their own Zombie patch. So I decided to make this post to help people out with that. Zombieland is made up of basically 3 key gsc files. There are other files but these are the only ones you need to edit.
_missions.gsc
_humanzombiesetup.gsc
_custommapedits.gsc

This is not a thread for total nubes . You need to know how to decompress and recompress a patch. There are many threads telling you how to do this. You must login or register to view this content.

You can start with my Zombieland Patch, or most patches based off of the original Zombieland. Here is my Zombieland Patch 3.1.1
You must login or register to view this content.

You need these files Most are available at the Tutorial link on Decompressing above, the others can be googled and downloaded for free.
packzip.exe and offzip.exe files
notepad++
hex editor
windows xp, vista, or 7

1. Install hex editor, and notepad++ then restart your pc.
2. Create a fold on your desktop called patch put the packzip.exe and offzip.exe files in there as well as the patch_mp.ff file
3. Open the command prompt and type: cd desktop/patch
4. Then type: offzip -a -z -15 patch_mp.ff ./ 0
This will decompress the patch file into many files with weird numbers and letters (these are the file offsets) you only need the files 0000b4a0.dat, 00014f51.dat, and 24ef6.dat. so delete the rest. (do not delete the patch_mp.ff or packzip or offzip)
5. Follow the tutorial link above to decompress the missions.gsc file.
6. You can use the same method to decompress the other 2 files. Just change the offsets and the dat files used as follows. Here is the offset information to get the 2 gsc files decompressed and ready to edit.
7. custommapedits.gsc is in 14f51.dat and 24ef6.dat between the offsets fd18 - 11f45
Humanzombiesetup.gsc can be found in 14f51.dat between the offsets ba78 - ec67
Missions.gsc can be found in b4a0.dat & 14f51.dat between the offsets d7d2 - 1061c
8. You can edit the uncompressed gsc files with notepad++ Use the link below to learn more about gsc coding.

You must login or register to view this content.

9. You have to recompress the gsc files back into the patch_mp.ff file as described in the decompressing/recompress tutorial.

10. An example of a simple edit is to change the cost of items in the shop. In notepad++ open missions.gsc
11. hit control +f (find) and type: costinit hit enter until you get to something like this.---------------
CostInit()
{
level.itemCost = [];
level.itemCost["ammo"] = 100;
level.itemCost["LMG"] = 100;
level.itemCost["Assault Rifle"] = 75;
level.itemCost["Machine Pistol"] = 25;
level.itemCost["Sniper Rifle"] = 50;
level.itemCost["Explosive Bullets"] = 1450;
level.itemCost["Sentry"] = 250;
level.itemCost["Unlimited"] = 800;
level.itemCost["Nuke"] = 1990;
level.itemCost["Riot"] = 100;
level.itemCost["Teleport"] = 750;
level.itemCost["TeleportZ"] = 600;
level.itemCost["Akimbo"] = 50;
level.itemCost["Eotech"] = 50;
level.itemCost["Mine"] = 75;
level.itemCost["FMJ"] = 50;
level.itemCost["Silencer"] = 10;
level.itemCost["XMags"] = 25;
level.itemCost["ROF"] = 10;
level.itemCost["Invisibility"] = 700;
level.itemCost["Poltergeist"] = 900;
level.itemCost["Flash"] = 600;
level.itemCost["Turtle"] = 300;
level.itemCost["HTurtle"] = 150;
level.itemCost["Hare"] = 300;
level.itemCost["humanhp"] = 250;
level.itemCost["health"] = 50;
level.itemCost["Thermal"] = 50;
level.itemCost["ThrowingKnife"] = 260;
level.itemCost["SteadyAim"] = 25;
level.itemCost["SteadyAimPro"] = 5;
level.itemCost["SleightOfHand"] = 25;
level.itemCost["SleightOfHandPro"] = 5;
level.itemCost["SitRep"] = 5;
level.itemCost["SitRepPro"] = 20;
level.itemCost["StoppingPower"] = 195;
level.itemCost["StoppingPowerPro"] = 5;
level.itemCost["ColdBlooded"] = 190;
level.itemCost["ColdBloodedPro"] = 10;
level.itemCost["Ninja"] = 200;
level.itemCost["NinjaPro"] = 100;
level.itemCost["Lightweight"] = 95;
level.itemCost["LightweightPro"] = 5;

12. Changing any of these numbers will change the cost of the item in the shop.

13. In CustomMapEdit.gsc you can make map changes to many of the maps. However some maps are found in humanzombieedits.gsc

Here is an example of what the code for Underpass looks like:

Underpass()
{
CreateWalls((-1201, 617, 435), (-1089, 823, 465));
CreateElevator((618, 255, 380), (-1100, 2666, 494));
CreateElevator((-3253, 552, 423), (1178, 2280, 253));
CreateElevator((3631, 347, 299), (3825, 1111, 395));
CreateElevator((4608, 671, 656), (540, 1479, 552));
CreateHiddenFlag((3389, 3394, 395), (531, -1536, 1500));
CreateElevator((-2886, -392, 2195), (-464, 2078, 369));
CreateAsc((636, 2529, 507), (621, 2529, 699), 0, 5);
CreateAsc((-1281, 2000, 415), (-1281, 2000, 675), 0, 5);
CreateTurret((-1281, 2100, 620), (0, -90, 0));
CreateBlocks((-1110, 708, 430), (0, 0, 0));
CreateBlocks((-510, 571, 565), (0, 90, 0));
CreateRamps((4388, 1903, 62Cool Man (aka Tustin), (4508, 2528, 450));
CreateWalls((-326, 1229, 363), (-524, 1229, 419));
CreateElevator((-1616, 2660, 616), (-1685, 1692, 2009));
}
Example:
CreateElevator is the command to create a teleport flag
CreateElevator((x1, y1, z1), (x2, y2, z2));
the first set of xyz numbers is the location of the flag that teleports you the 2nd set of xyz number is the location you will land. You can get these numbers from a standard infection from most CL patches, or from my zombieland 3.1.1 patch. (three numbers in white that look like this on your screen (-1616, 2660, 616)
x and y are your position on the ground where z is elevation (how high of low you are) remember that the Z reading on your screen is the position of your head not you feet.

CreateAsc is the command to make a floating care package
CreateAsc((x1, y1, z1), (x2, y2, z2)), a, b);
xyz is almost always the same in each command locations. the first set is where the care package starts, and the second is where it stops. It travels in a loop going from 1 to 2 to and so on.
a=angle Just always leave as 0
b=time the amount of time it take to get from point 1 to point 2 5 is good.

The are many more commands you will have to figure out on your own, but here are a few more.
Create walls, turrets, and blocks should be self explanatory.
HiddenFlag is a flag that will not show up on radar.
Grid is a flat surface of Care Packages xyz1 is one corner xyz2 is the diagonal corner, same goes for walls.
Doors are the hardest to figure because of dealing with the angels, and for me it still trail and error. A poor explaination of each command for the maps can be found in humanzomiesetup.gsc from line 124 to line 588 (approx)

Example:
CreateDoors(open, close, angle, size, height, hp, range)
this is what the header of a build command thread looks like.
you can see from this when comparing to an actual door line command (below) that open is the XYZ position of the door when open. close is the XYZ position of the door when closed. You also see that open, close, and angle all require 3 numbers. Where as size, height, hp, and range, require just 1 number. (I am still unsure what Range is.)
CreateDoors((1386, 7960, 235), (1386, 7845, 235 ), (90,90, 90), 3, 2, 50, 75);

Well, I hope this will give you a basic understanding of the Zombie patch format. Good luck and watch your syntax errors.

-Hawkin
(adsbygoogle = window.adsbygoogle || []).push({});

The following 26 users say thank you to Hawkin for this useful post:

.DeadlyMoDz25, |ManiaC|, 890popbox, A_lugie, anddrew, Bigbadpaul2, bigboybobby14, Blackstorm, DrDoomBringer, GodDrinksPepsi, hydro_122499, Jannis96, keithfin, littlecarlos, Mr__Shalemari, mrkhlgt, Mw2-, Plurals, skillz369, soebred, tjhash, uhChad, woofdawg233, ww2gamer3, xd366, ZzXr3V0LuTi0NzZ
02-11-2011, 06:51 PM #56
Greenbolt111
Bounty hunter
Originally posted by Hawkin View Post
I have a new code I finished, this make Doors that which ever team gets to them first controls them for the game. And the other team must break them down in order to get in.


I quoted because I really need help, I keep getting stuck on it.

Ok So I can decompress fine, I only want to edit mission_comp.gsc is that fine? I edit a few prices, then I make a new file in HxD called missions_recomp.gsc & save it and then i go to cmd and type packzip -o 0x00000002 -w -15 00000002.dat _missions_recomp.gsc - I get the error: "wrong command-line argument <-o>

I dont get this error when I edit a normal CL patch, but when I edit a zombie patch i get it, please help out.
02-15-2011, 03:30 AM #57
Hawkin
Lord of the Undead
Originally posted by Greenbolt111 View Post
I quoted because I really need help, I keep getting stuck on it.

Ok So I can decompress fine, I only want to edit mission_comp.gsc is that fine? I edit a few prices, then I make a new file in HxD called missions_recomp.gsc & save it and then i go to cmd and type packzip -o 0x00000002 -w -15 00000002.dat _missions_recomp.gsc - I get the error: "wrong command-line argument <-o>

I dont get this error when I edit a normal CL patch, but when I edit a zombie patch i get it, please help out.


I'll assume your offzip.exe and packzip.exe files are in the same folder as the rest of your files. I'll also assume to your CMD prompt in in the correct directory.
You problem might be (or it is if all the info you gave here is correct) that you named the file wrong it should be _missions_recomp.gsc notive the underscore in the beginning.

The following user thanked Hawkin for this useful post:

Greenbolt111
02-15-2011, 07:04 PM #58
Greenbolt111
Bounty hunter
Originally posted by Hawkin View Post
I'll assume your offzip.exe and packzip.exe files are in the same folder as the rest of your files. I'll also assume to your CMD prompt in in the correct directory.
You problem might be (or it is if all the info you gave here is correct) that you named the file wrong it should be _missions_recomp.gsc notive the underscore in the beginning.


nope its all named correctly and all the stuff you have said above is correct, like i said it works for a cl patch like mossyv9 for example.. but not a zombie patch, whats different? because all im doing is editing _missions_comp.gsc Angry
02-15-2011, 09:05 PM #59
Hawkin
Lord of the Undead
Originally posted by Greenbolt111 View Post
nope its all named correctly and all the stuff you have said above is correct, like i said it works for a cl patch like mossyv9 for example.. but not a zombie patch, whats different? because all im doing is editing _missions_comp.gsc Angry


Is the _missions_recomp.gsc file empty ? It needs to be empty.

Other then that IDK what to tell you. This is exactly what I type in to do exactly the same thing.

packzip -o 0x00000002 -w -15 _missions.gsc _missions_recomp.gsc

my GSC file is called _missions.gsc and my recomp file is called
_missions_recomp.gsc

Some have had success editing an xbox version of my patch in ffviewer. Then converting it to PS3, but I haven't.

The following user thanked Hawkin for this useful post:

Greenbolt111
02-15-2011, 09:26 PM #60
Greenbolt111
Bounty hunter
Originally posted by Hawkin View Post
Is the _missions_recomp.gsc file empty ? It needs to be empty.

Other then that IDK what to tell you. This is exactly what I type in to do exactly the same thing.

packzip -o 0x00000002 -w -15 _missions.gsc _missions_recomp.gsc

my GSC file is called _missions.gsc and my recomp file is called
_missions_recomp.gsc

Some have had success editing an xbox version of my patch in ffviewer. Then converting it to PS3, but I haven't.


Yeah it is empty, I'm going to try it again and ffviewers always error for me i dont know why, but I understand you helped as much as you could, I thank you alot for helping me with my problem even if I dont get it solved on a side note i really like your patch edits Smile

The following user thanked Greenbolt111 for this useful post:

Hawkin
02-15-2011, 10:45 PM #61
pizzamon1
Bounty hunter
Originally posted by Hawkin View Post
OK everyone has been asking me how they can edit their own Zombie patch. So I decided to make this post to help people out with that. Zombieland is made up of basically 3 key gsc files. There are other files but these are the only ones you need to edit.
_missions.gsc
_humanzombiesetup.gsc
_custommapedits.gsc

This is not a thread for total nubes . You need to know how to decompress and recompress a patch. There are many threads telling you how to do this. You must login or register to view this content.

You can start with my Zombieland Patch, or most patches based off of the original Zombieland. Here is my Zombieland Patch 3.1.1
You must login or register to view this content.

You need these files Most are available at the Tutorial link on Decompressing above, the others can be googled and downloaded for free.
packzip.exe and offzip.exe files
notepad++
hex editor
windows xp, vista, or 7

1. Install hex editor, and notepad++ then restart your pc.
2. Create a fold on your desktop called patch put the packzip.exe and offzip.exe files in there as well as the patch_mp.ff file
3. Open the command prompt and type: cd desktop/patch
4. Then type: offzip -a -z -15 patch_mp.ff ./ 0
This will decompress the patch file into many files with weird numbers and letters (these are the file offsets) you only need the files 0000b4a0.dat, 00014f51.dat, and 24ef6.dat. so delete the rest. (do not delete the patch_mp.ff or packzip or offzip)
5. Follow the tutorial link above to decompress the missions.gsc file.
6. You can use the same method to decompress the other 2 files. Just change the offsets and the dat files used as follows. Here is the offset information to get the 2 gsc files decompressed and ready to edit.
7. custommapedits.gsc is in 14f51.dat and 24ef6.dat between the offsets fd18 - 11f45
Humanzombiesetup.gsc can be found in 14f51.dat between the offsets ba78 - ec67
Missions.gsc can be found in b4a0.dat & 14f51.dat between the offsets d7d2 - 1061c
8. You can edit the uncompressed gsc files with notepad++ Use the link below to learn more about gsc coding.

ok so um i have the 24ef6.dat and the 14f51.dat files( i want to make new stuff) so i go on hxd with that.
i open both in hxd andtype in fd18 as first offset on the 24ef6.dat and 11f45 as the end. copy/paste into a new one( using the ctr+n then paste) and then go to the 14f51.dat and type in length= 61D and enter. well then i of course copy and paste that into the end of the new one i made right after the end of the stuff i pasted from 24ef6.dat and paste it in. then i save as _missions_comp.gsc and use cmd to offzip it. Unfortunately for me.... it says 0 valid found so i failed lol.
any ideas of wtf i mesed up? lol
also i would like the gsc info for the ac130.gsc from v3.4 u made because u said it was empty for use of new stuff. thanks.
wow i just realize that the 14f51 .dat is listed first so thats probably where i need to put the offsets into instead of the 24ef6.dat because it is listed second. lol i hope so will try again soon.
02-15-2011, 10:54 PM #62
Kif
Kush Friendly
just like editing any other patch just different title :P
02-16-2011, 12:29 AM #63
pizzamon1
Bounty hunter
my theory that i messed up the order was right. i opened/edited the derial map now my only prob is that when i try to recomp i do not get the 0000000's and 4 ff's at the end of the file. ive edited other patches ( the missions) from cl patches before but this does not give ffff's but iguess since the last offset was not ffff then you wont end with it duh:P i just hoping the darn thnig works lolxD if it does im gona recreate some of these maps( mostly adding though). thanks for the tut nonetheless.
02-16-2011, 06:21 AM #64
Hawkin
Lord of the Undead
Originally posted by CHEWKEYS View Post
just like editing any other patch just different title :P


only compression is similar

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo