map=multi1 x=221 y=42 quest=Survive set music=music\map1.mp3 item respawn starting gear new var changemap=1 new var null=0 new var multiplier=0 new var multiplicand=0 new var product=0 new var retfunc=0 new var func=0 new var retval=0 new var curmap=1 +-1+block double var event func=1 and curmap=1 map=multi1 remove zombie 1,1,[map.width],[map.height] any add items 85 1 3,3,421,273 * add item 1 3,3,421,273 Machete add item 1 3,3,421,273 Marlin add item 1 3,3,421,273 Small Silencer add item 1 3,3,421,273 Yukon Scope add item 1 3,3,421,273 Small Suppressor add item 1 3,3,421,273 Large Suppressor add item 1 3,3,421,273 Leather jacket add item 1 3,3,421,273 SWAT vest add item 1 3,3,421,273 Kevlar vest add item 1 3,3,421,273 Motorcycle shoulder pads add item 1 3,3,421,273 Overalls add item 1 3,3,421,273 Inflatable sheep clear store store item 9mm ammo,20,24,12,1 store item Shotgun shells,12,24,12,1 store item .30 calibur,20,24,12,1 store item 5.56mm ammo,20,30,15,1 store item 7.62mm ammo,20,80,40,1 store item Gas,60,60,30,1 store item .45 ACP ammo,20,24,12,1 store item Field kit,1,80,40,1 store item Med kit,1,40,20,1 store item Glock 19,1,20,10,1 store item Browning Citori,1,100,50,1 store item Winchester,1,140,70,1 store item MP5,1,300,150,1 store item Winter coat,1,100,50,1 store item Tattered vest,1,150,100,1 store item Football pads,1,200,100,1 store item Ball cap,1,200,100,1 store item Work jeans,1,300,200,1 store item Plastic shin pads,1,350,200,1 add random normal=30 add random giant=15 add random canine=12 add random tyrant=11 add random matriarch=8 add random stalker=10 add random reaper=5 add random lamprey=5 add spot 214,37,214,37 Guard=1 set music=music\map1.mp3 add item 1 137,210,170,235 -Catfood add item 1 171,200,201,235 -Large axe add items 3 1 3,3,421,273 Diesel fuel add item 1 40,85,62,110 -Spark plugs add item 1 19,37,31,62 -Junk food add item 1 129,88,172,143 -Soft drinks add item 1 78,97,172,143 -Aprone action figure with Kung Fu Grip add item 1 319,22,368,66 -Car battery add item 1 347,120,373,148 -Pew cushions add item 1 358,201,373,233 -Blankets add item 1 394,199,415,226 -First aid kit add item 1 326,200,344,216 -Bucket of toys set var func=retfunc set var retfunc=0 end event add ally spot 3,3,421,273 name=fred gun=Glock 19 set ally mission fred=wander set ally aggression fred=full set ally ammo fred=1000 set ally awareness fred=16 set ally aim fred=8 add ally spot 3,3,421,273 name=Barney gun=MP5 set ally mission Barney=wander set ally aggression Barney=full set ally ammo Barney=1000 set ally awareness Barney=16 set ally aim Barney=8 add ally spot 3,3,421,273 name=Betty gun=Benelli set ally mission Betty=wander set ally aggression Betty=full set ally ammo Betty=1000 set ally awareness Betty=16 set ally aim Betty=6 add ally spot 3,3,421,273 name=Wilma gun=Browning Citori set ally mission Wilma=wander set ally aggression Wilma=full set ally ammo Wilma=1000 set ally awareness Wilma=16 set ally aim Wilma=5 set ally shot delay Betty=30 set ally shot delay Wilma=50 add ally spot 3,3,421,273 name=Buzz gun=AR15 set ally mission Buzz=wander set ally aggression Buzz=full set ally ammo Buzz=1000 set ally awareness Buzz=16 set ally aim Buzz=3 set ally shot delay Buzz=30 set ally obey Buzz=no add ally spot 3,3,421,273 name=ThomasJefferson gun=Winchester set ally mission ThomasJefferson=wander set ally aggression ThomasJefferson=full set ally ammo ThomasJefferson=1000 set ally awareness ThomasJefferson=16 set ally aim ThomasJefferson=8 set ally shot delay ThomasJefferson=30 add ally spot 3,3,421,273 name=Winter gun=Vector set ally mission Winter=wander set ally aggression Winter=full set ally ammo Winter=1000 set ally awareness Winter=16 set ally aim Winter=1 set ally shot delay Winter=50 set ally obey Winter=no add ally spot 3,3,421,273 name=Jeremy gun=AA12 set ally mission Jeremy=wander set ally aggression Jeremy=some set ally ammo Jeremy=1000 set ally awareness Jeremy=16 set ally aim Jeremy=4 set ally shot delay Jeremy=[random/16/64] // Weapon name constants for XP bonuses. new var winch="Winchester" new var marl="Marlin" new var remi="Remington" new var brown="Browning Citori" new var hammer="Sledgehammer" +-1+block kill event=Canine set var retval=3 set var func=2 end event +-1+block kill event=Normal set var retval=5 set var func=2 end event +-1+block kill event=Giant set var retval=7 set var func=2 end event +-1+block kill event=Stalker set var retval=7 set var func=2 end event +-1+block kill event=Lamprey set var retval=7 set var func=2 end event +-1+block kill event=Reaper set var retval=8 set var func=2 end event +-1+block kill event=Matriarch set var retval=10 set var func=2 end event +-1+block kill event=Tyrant set var retval=12 set var func=2 end event +-1+block kill event=Dire set var retval=14 set var func=2 end event +-1+block kill event=Amorphous set var retval=14 set var func=2 end event +-1+block kill event=Raider set var retval=15 set var func=2 end event +-1+block var event func=2 if [player.lastshot]=winch then add retval by 7 if [player.lastshot]=brown then add retval by 5 if [player.lastshot]=marl then add retval by 7 if [player.lastshot]=remi then add retval by 7 if [player.lastshot]=hammer then add retval by 10 add player reputation=retval add player xp=retval set var temp=[random/1/100] if temp=10 then radio=Fred says. Who's that with the [player.lastshot]? if temp=25 then radio=ThomasJefferson says. lol [player.name]. if temp=50 then radio=Winter says. Argh, that [player.lastshot] is getting annoying. if temp=75 then radio=Jeremy says. Someone's killing all my zombies! set var truth=[player.level] set var taco=500 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if truth>0 then add taco by 250 if truth>0 then add truth by -1 if [player.xp]>=taco then level up if [player.xp]>=taco then set player xp=0 set var func=retfunc set var retfunc=0 end event new var temp=0 new var truth=0 new var px=0 new var py=0 new var dx=0 new var dy=0 +-1+block while temp=10 and chat event=me radio=Fred says. Ah, nice work, [player.name]. add temp by 1 end event new var missiontype=0 // Types: 1=warehouse, 2=LMS, 3=CTF, 4=sniper. new var missiongoal=0 new var missioncrates=0 new var totalcrates=0 new var text="" +-1+block while temp=50 and chat event=shut up set var missiontype=[random/2/4] if missiontype=2 then set var text="Last Man Standing" if missiontype=3 then set var text="Capture the Flag" if missiontype=4 then set var text="Sniper" say=Winter is leading a [text] mission. add temp by 1 end event //8444385469 set var func=1 new var taco=0 +-1+chat event=/where buzz say=Buzz is at ([ally.Buzz.x], - [ally.buzz.y]) +-1+chat event=/where fred say=fred is at ([ally.fred.x], - [ally.fred.y]) +-1+chat event=/where barney say=Barney is at ([ally.Barney.x], - [ally.Barney.y]) +-1+chat event=/where Wilma say=Wilma is at ([ally.Wilma.x], - [ally.Wilma.y]) +-1+chat event=/where Betty say=Betty is at ([ally.Betty.x], - [ally.Betty.y]) +-1+chat event=/where Winter say=Winter is at ([ally.Winter.x], - [ally.Winter.y]) +-1+chat event=/where Jeremy say=Jeremy is at ([ally.Jeremy.x], - [ally.Jeremy.y]) +-1+chat event=/where ThomasJefferson say=ThomasJefferson is at ([ally.ThomasJefferson.x], - [ally.ThomasJefferson.y]) +-1+chat event=/where Thomas Jefferson say=ThomasJefferson is at ([ally.ThomasJefferson.x], - [ally.ThomasJefferson.y]) +-1+chat event=/where Thomas_Jefferson say=ThomasJefferson is at ([ally.ThomasJefferson.x], - [ally.ThomasJefferson.y]) +-1+block pickup event -Aprone action figure with Kung Fu Grip set var retval=200 set var func=2 end event +-1+block pickup event -Catfood set var retval=200 set var func=2 end event +-1+block pickup event -Junk food set var retval=200 add retval by curmap add retval by curmap add retval by curmap add retval by curmap add retval by curmap set var func=2 end event +-1+block pickup event -Bucket of toys set var retval=200 set var func=2 add retval by curmap add retval by curmap add retval by curmap add retval by curmap add retval by curmap end event +-1+block pickup event -Pillows set var retval=200 add retval by curmap add retval by curmap add retval by curmap add retval by curmap add retval by curmap set var func=2 end event +-1+block pickup event -Pew cushions set var retval=200 set var func=2 end event +-1+block pickup event -Soft drinks set var retval=200 add retval by curmap add retval by curmap add retval by curmap add retval by curmap add retval by curmap set var func=2 end event +-1+block pickup event -Spark plugs set var retval=200 set var func=2 end event +-1+block pickup event -First aid kit set var retval=200 add retval by curmap add retval by curmap add retval by curmap add retval by curmap add retval by curmap set var func=2 end event +-1+block pickup event -Car battery set var retval=200 set var func=2 end event +-1+block pickup event -Large axe set var retval=200 set var func=2 end event +-1+block pickup event -Squirrel set var retval=300 set var func=2 end event +-1+block while curmap=1 and location enter event 52,232,55,238 if [player.level]<8 then say=You must be at least level 8 to travel through the sewers. if [player.level]>=8 then say=You climb down the pipe. if [player.level]>=8 then set var curmap=2 if [player.level]>=8 then set var func=1 if [player.level]>=8 then jump to 217,10 end event +-1+block while curmap=2 and location enter event 217,11,220,20 say=You crawl up out of the pipe. jump to 55,239 set var curmap=1 set var func=1 end event // Green lane north: 66,2,74,4 // Jackson west: 2,23,5,30 +-1+block double var event curmap=2 and func=1 map=multi2 set music=music\map2.mp3 remove zombies 1,1,[map.width],[map.height] any add spot 221,376,225,377 guard=1 add items 93 1 1,1,[map.width][map.height] * add items 3 1 1,1,[map.width][map.height] Diesel fuel add item 1 1,1,[map.width][map.height] Sledgehammer add item 1 1,1,[map.width][map.height] Plate armor add item 1 1,1,[map.width][map.height] Military Helmet add item 1 1,1,[map.width][map.height] Remington add item 1 1,1,[map.width][map.height] Glock 17 add random Tyrant=12 add random Matriarch=10 add random Normal=30 add random Giant=15 add random Canine=12 add random Stalker=10 add random Reaper=5 add random Lamprey=10 clear store store item 9mm ammo,20,24,12,1 store item Shotgun shells,12,24,12,1 store item .30 calibur,20,24,12,1 store item 5.56mm ammo,20,30,15,1 store item 7.62mm ammo,20,80,40,1 store item Gas,60,60,30,1 store item .45 ACP ammo,20,24,12,1 store item Field kit,1,80,40,1 store item Med kit,1,40,20,1 store item Glock 19,1,20,10,1 store item Browning Citori,1,100,50,1 store item Winchester,1,140,70,1 store item MP5,1,300,150,1 store item Winter coat,1,100,50,1 store item Tattered vest,1,150,100,1 store item Football pads,1,200,100,1 store item Ball cap,1,200,100,1 store item Work jeans,1,300,200,1 store item Plastic shin pads,1,350,200,1 store item Bike helmet,1,300,150,1 add item 1 1,1,[map.width][map.height] Reflective vest store item Boots,1,200,100,1 add item 1 80,352,133,389 -Junk food add item 1 73,124,96,170 -Soft drinks add item 1 172,185,193,309 -First aid kit add item 1 172,185,223,229 -Blankets add item 1 172,277,223,310 -Pillows end event pickup event Diesel fuel say=To lead a mission, say "mission" +-1+block chat event=mission clear menu menu item 1=Travel into town. Come back with 25 crates of bottled water for the safe zone. menu item 2=Travel deep into town. Come back with 35 crates of camping supplies for the safe zone. set var truth=0 if missiontype=0 then add truth by 1 if [player.level]>=4 then add truth by 1 if truth>=2 then open menu if missiontype>0 then say=You cannot lead another mission until the current mission is finished. if [player.level]<4 then say=You must be at least level 4 to lead a mission. end event new var backupsz=1 +-1+block menu event=1 set var truth=0 if [player.reputation]<1000 then say=You must have at least 1000 reputation to lead this mission. if [player.reputation]>=1000 then add truth by 1 if truth=1 then add player reputation=-1000 item count temp=Diesel fuel if temp<1 then say=You do not have enough fuel to lead this mission. if temp>0 then give item -1 Diesel fuel if temp>0 then add truth by 1 set var backupsz=curmap set var px=[player.x] set var py=[player.y] if truth=2 then set var missiontype=1 if truth=2 then set var missiongoal=25 if truth=2 then set var missioncrates=0 set var totalcrates=0 if truth=2 then map=warehouse2A1 if truth=2 then quest=Collect 25 crates and bring them back to our truck! if truth=2 then start timer if truth=2 then set timer m=0 s=0 if truth=2 then add random normal=5 if truth=2 then add random canine=5 if truth=2 then add random stalker=5 if truth=2 then add random lamprey=2 if truth=2 then add random reaper=2 if truth=2 then add random giant=2 if truth=2 then add random tyrant=4 if truth=2 then add random matriarch=4 if truth=2 then jump to 105,60 if truth=2 then set ally jump 100,60 Barney if truth=2 then set ally jump 102,61 Fred if truth=2 then set ally jump 99,58 Wilma if truth=2 then set ally jump 98,63 Betty if truth=2 then heal player=100 if truth=2 then set music=music\warehouse2.mp3 if truth=2 then close menu if truth=2 then add item 1 26,31,103,112 -supply crate end event +-1+block menu event=2 set var truth=0 if [player.reputation]<2000 then say=You must have at least 2000 reputation to lead this mission. if [player.reputation]>=2000 then add truth by 1 if truth=2 then add player reputation=-2000 item count temp=Diesel fuel if temp<1 then say=You do not have enough fuel to lead this mission. if temp>0 then give item -1 Diesel fuel if temp>0 then add truth by 1 set var backupsz=curmap set var px=[player.x] set var py=[player.y] if truth=2 then set var missiontype=1 if truth=2 then set var missiongoal=35 if truth=2 then set var missioncrates=0 set var totalcrates=0 if truth=2 then map=warehouseA1 if truth=2 then quest=Collect 35 crates and bring them back to our truck! if truth=2 then start timer if truth=2 then set timer m=0 s=0 if truth=2 then add random normal=5 if truth=2 then add random canine=5 if truth=2 then add random stalker=5 if truth=2 then add random lamprey=2 if truth=2 then add random reaper=2 if truth=2 then add random giant=2 if truth=2 then add random tyrant=4 if truth=2 then add random matriarch=4 if truth=2 then jump to 85,27 if truth=2 then set ally jump 85,30 Barney if truth=2 then set ally jump 87,31 Fred if truth=2 then set ally jump 86,28 Wilma if truth=2 then set ally jump 88,33 Betty if truth=2 then heal player=100 if truth=2 then set music=music\warehouse1.mp3 if truth=2 then close menu if truth=2 then add item 1 35,29,119,91 -supply crate end event +-1+block time event m=2 s=0 set var dx=[player.x] set var dy=[player.y] if missiongoal<30 then map=warehouse2A2 if missiongoal<30 then add item 1 26,31,103,112 -supply crate if missiongoal=35 then map=WarehouseA2 if missiongoal=35 then add item 1 35,29,119,91 -supply crate play sound Ambience\WindowBreak.wav add random normal=2 add random stalker=2 add random tyrant=2 add random matriarch=2 add random canine=2 add random reaper=2 add random lamprey=2 lure [player.x],[player.y] 50 jump to dx,dy end event +-1+block time event m=5 s=0 set var dx=[player.x] set var dy=[player.y] if missiongoal<30 then map=warehouse2A7 if missiongoal<30 then add item 1 26,31,103,112 -supply crate if missiongoal=35 then map=WarehouseA5 if missiongoal=35 then add item 1 35,29,119,91 -supply crate play sound Ambience\BarrierBreak.wav add random normal=2 add random stalker=2 add random tyrant=2 add random matriarch=2 add random canine=2 add random reaper=2 add random lamprey=2 lure [player.x],[player.y] 50 jump to dx,dy end event +-1+block while missiongoal>30 and time event m=8 s=0 set var dx=[player.x] set var dy=[player.y] if missiongoal=35 then map=WarehouseA5 if missiongoal=35 then add item 1 35,29,119,91 -supply crate play sound Ambience\WindowBreak.wav add random normal=2 add random stalker=2 add random tyrant=2 add random matriarch=2 add random canine=2 add random reaper=2 add random lamprey=2 lure [player.x],[player.y] 50 jump to dx,dy end event +-1+block while missiongoal=25 and location enter event 102,58,115,63 if missioncrates=0 then say=You don't have any crates if missioncrates>0 then say=You drop off [missioncrates] crates. if missioncrates>0 then play sound items\Drop.wav add totalcrates by missioncrates set var missioncrates=0 if totalcrates>=missiongoal then set var curmap=backupsz if totalcrates>=missiongoal then set var func=1 if totalcrates>=missiongoal then stop timer if totalcrates>=missiongoal then jump to px,py if totalcrates>=missiongoal then play sound success.wav if totalcrates>=missiongoal then set var retval=2500 if totalcrates>=missiongoal then set var retfunc=2 if totalcrates=missiongoal then quest=Survive if totalcrates>=missiongoal then set var missiontype=0 if totalcrates>=missiongoal then set var missiongoal=0 end event +-1+block pickup event -supply crate add missioncrates by 1 if missiongoal<30 then add item 1 26,31,103,112 -supply crate if missiongoal=35 then add item 1 35,29,119,91 -supply crate end event block chat event=cheat give item 10 Med kit give item 1 Winchester give item 100 .30 calibur give item 1 Benelli give item 1000 Shotgun shells give item 1 Leather jacket set player reputation=10000 level=4 give item 3 Diesel fuel end event +-1+block shiftq event missiontype=0 item count taco=Diesel fuel say=You have [taco] tanks of Diesel fuel. end event +-1+block shiftq event missiontype>0 say=You have [missioncrates] crates. end event +-1+block while missiongoal=35 and location enter event 84,16,89,29 if missioncrates=0 then say=You don't have any crates if missioncrates>0 then say=You drop off [missioncrates] crates. if missioncrates>0 then play sound items\Drop.wav add totalcrates by missioncrates set var missioncrates=0 if totalcrates>=missiongoal then set var curmap=backupsz if totalcrates>=missiongoal then set var func=1 if totalcrates>=missiongoal then stop timer if totalcrates>=missiongoal then jump to px,py if totalcrates>=missiongoal then play sound success.wav if totalcrates>=missiongoal then set var retval=5000 if totalcrates>=missiongoal then set var retfunc=2 set var truth=0 if totalcrates>=missiongoal then add truth by 1 if [player.level]<20 then add truth by 1 if truth=2 then level up if totalcrates=missiongoal then quest=Survive if totalcrates>=missiongoal then set var missiontype=0 if totalcrates>=missiongoal then set var missiongoal=0 end event