Post: My Custom Cargo Script (BO2) Updated with Elevator
07-11-2015, 05:37 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello guys so I figured I would post this so other people can try it out. It took me a few days to build but it was fun.
BTW I made this using the Debug Zombie-land.

Picture:
You must login or register to view this content.
You must login or register to view this content.


You will need this if you don't have it already you can add it as an option or just add it on onplayerspawned.
If you don't you will die when you go into the buildings :P

Remove Sky Barrier

    removeSkyBarrier()
{
entArray = getEntArray();
for (index = 0; index < entArray.size; index++)
{
if(isSubStr(entArray[index].classname, "trigger_hurt") && entArray[index].origin[2] > 180)
entArray[index].origin = (0, 0, 9999999);
}
}



Functions for spawning containers

    WhiteContainer(pos, angle)
{
WhiteCon = spawn("script_model", pos );
WhiteCon setModel("p6_dockside_container_lrg_white");
WhiteCon.angles = angle;
}

BlueContainer(pos, angle)
{
BlueCon = spawn("script_model", pos );
BlueCon setModel("p6_dockside_container_lrg_blue");
BlueCon.angles = angle;
}

RedContainer(pos, angle)
{
RedCon = spawn("script_model", pos );
RedCon setModel("p6_dockside_container_lrg_red");
RedCon.angles = angle;
}

OrangeContainer(pos, angle)
{
OrangeCon = spawn("script_model", pos );
OrangeCon setModel("p6_dockside_container_lrg_orange");
OrangeCon.angles = angle;
}
}



Function to spawn Elevator
    CreateOrangeElevator(start, end, Angle, time, waittime)
{
Angles = Angle;

center = spawn("script_model", start);
elevator = spawnEntity("script_model", "p6_dockside_container_lrg_orange", start, Angles);
elevator EnableLinkTo();
elevator LinkTo(center);

level thread Elevator_Think(center, start, end, time, waittime);
}

spawnEntity(class, model, origin, angle)
{
entity = spawn(class, origin);
entity.angles = angle;
entity setModel(model);
return entity;
}

Elevator_Think(elevator, start, end, time, waittime)
{
level endon("game_ended");

wait waittime;
for(;Winky Winky
{
if (elevator.origin == start)
{
elevator MoveTo(end, time);
wait time;
wait waittime;
}
if (elevator.origin == end)
{
elevator MoveTo(start, time);
wait time;
wait waittime;
}
wait 0.01;
}
}


Call using BuildCargo()

    BuildCargo()
{
if(getDvar("mapname") == "mp_dockside")

self iprintlnbold("^1Custom edits spawned");

OrangeContainer((-2025, 2018, -195), ( 0, 90, 0 ));//roll,yaw,Pitch
BlueContainer((-2375, 2018, -195), ( 0, 90, 0 ));
OrangeContainer((-2725, 2018, -195), ( 0, 90, 0 ));
BlueContainer((-3075, 2018, -195), ( 0, 90, 0 ));
OrangeContainer((-3425, 2018, -195), ( 0, 90, 0 ));
BlueContainer((-3775, 2018, -195), ( 0, 90, 0 ));
OrangeContainer((-4125, 2018, -195), ( 0, 90, 0 ));
BlueContainer((-4475, 2018, -195), ( 0, 90, 0 ));

OrangeContainer((-4590, 1780, -195), ( 0, 0, 0 ));
BlueContainer((-4590, 1430, -195), ( 0, 0, 0 ));
OrangeContainer((-4590, 1080, -195), ( 0, 0, 0 ));
BlueContainer((-4590, 730, -195), ( 0, 0, 0 ));
OrangeContainer((-4590, 380, -195), ( 0, 0, 0 ));
BlueContainer((-4590, 30, -195), ( 0, 0, 0 ));
OrangeContainer((-4590, -320, -195), ( 0, 0, 0 ));
BlueContainer((-4590, -670, -195), ( 0, 0, 0 ));
OrangeContainer((-4590, -1020, -195), ( 0, 0, 0 ));
BlueContainer((-4590, -1370, -195), ( 0, 0, 0 ));
OrangeContainer((-4590, -1720, -195), ( 0, 0, 0 ));

BlueContainer((-4475, -1970, -195), ( 0, 90, 0 ));
OrangeContainer((-4125, -1970, -195), ( 0, 90, 0 ));
BlueContainer((-3775, -1970, -195), ( 0, 90, 0 ));
OrangeContainer((-3425, -1970, -195), ( 0, 90, 0 ));
BlueContainer((-3075, -1970, -195), ( 0, 90, 0 ));
OrangeContainer((-2725, -1970, -195), ( 0, 90, 0 ));
BlueContainer((-2375, -1970, -195), ( 0, 90, 0 ));
OrangeContainer((-2025, -1970, -195), ( 0, 90, 0 )); //W 130 L 350 H 130
BlueContainer((-1675, -1970, -195), ( 0, 90, 0 ));
OrangeContainer((-1325, -1970, -195), ( 0, 90, 0 ));
BlueContainer((-975, -1970, -195), ( 0, 90, 0 ));
OrangeContainer((-625, -1970, -195), ( 0, 90, 0 ));

BlueContainer((-385, -1855, -195), ( 0, 0, 0 ));
OrangeContainer((-385, -1505, -195), ( 0, 0, 0 ));

RedContainer((-4350, 380, -195), ( 0, 90, 0 ));//Path to building
RedContainer((-4000, 380, -195), ( 0, 90, 0 ));

WhiteContainer((-3650, -10, -65), ( 0, 90, 0 ));//R Walls 1
WhiteContainer((-3650, 770, -65), ( 0, 90, 0 ));
WhiteContainer((-3300, -10, -65), ( 0, 90, 0 ));//L Walls 1
WhiteContainer((-3300, 770, -65), ( 0, 90, 0 ));

WhiteContainer((-3650, -10, 195), ( 0, 90, 0 ));//R Walls 2
WhiteContainer((-3650, 770, 195), ( 0, 90, 0 ));
WhiteContainer((-3300, -10, 195), ( 0, 90, 0 ));//L Walls 2
WhiteContainer((-3300, 770, 195), ( 0, 90, 0 ));

WhiteContainer((-3650, -10, 325), ( 0, 90, 0 ));//R Walls 3
WhiteContainer((-3650, 770, 325), ( 0, 90, 0 ));
WhiteContainer((-3300, -10, 325), ( 0, 90, 0 ));//L Walls 3
WhiteContainer((-3300, 770, 325), ( 0, 90, 0 ));


WhiteContainer((-3763, 623, 65), ( 0, 0, 0 ));
WhiteContainer((-3763, 623, -65), ( 0, 0, 0 ));//Front Left wall 1

WhiteContainer((-3763, 136, 65), ( 0, 0, 0 ));
WhiteContainer((-3763, 136, -65), ( 0, 0, 0 ));//Front Right wall 1

WhiteContainer((-3763, 623, 195), ( 0, 0, 0 ));//Front Left wall 2
WhiteContainer((-3763, 136, 195), ( 0, 0, 0 ));//Front Right wall 2

WhiteContainer((-3763, 623, 325), ( 0, 0, 0 ));//Front Left wall 3
WhiteContainer((-3763, 136, 325), ( 0, 0, 0 ));//Front Right wall 3

WhiteContainer((-3193, 525, -65), ( 0, 0, 0 ));//Back walls 1
WhiteContainer((-3193, 175, -65), ( 0, 0, 0 ));

WhiteContainer((-3193, 525, 195), ( 0, 0, 0 ));//Back walls 2
WhiteContainer((-3193, 175, 195), ( 0, 0, 0 ));

WhiteContainer((-3193, 525, 325), ( 0, 0, 0 ));//Back walls 3
WhiteContainer((-3193, 175, 325), ( 0, 0, 0 ));

WhiteContainer((-3193, 175, 65), ( 0, 0, 0 ));//
WhiteContainer((-3193, 525, 65), ( 0, 0, 0 ));//
WhiteContainer((-3323, 525, 65), ( 0, 0, 0 ));//

WhiteContainer((-3650, -10, 65), ( 0, 90, 0 ));//F Roof 1
WhiteContainer((-3650, 120, 65), ( 0, 90, 0 ));
WhiteContainer((-3650, 250, 65), ( 0, 90, 0 ));
WhiteContainer((-3650, 380, 65), ( 0, 90, 0 ));
WhiteContainer((-3650, 510, 65), ( 0, 90, 0 ));
//WhiteContainer((-3650, 640, 65), ( 0, 90, 0 ));
WhiteContainer((-3650, 770, 65), ( 0, 90, 0 ));

WhiteContainer((-3300, -10, 65), ( 0, 90, 0 ));//B Roof 1
WhiteContainer((-3300, 120, 65), ( 0, 90, 0 ));
WhiteContainer((-3300, 250, 65), ( 0, 90, 0 ));
WhiteContainer((-3300, 380, 65), ( 0, 90, 0 ));
WhiteContainer((-3300, 510, 65), ( 0, 90, 0 ));
//WhiteContainer((-3300, 640, 65), ( 0, 90, 0 ));
WhiteContainer((-3300, 770, 65), ( 0, 90, 0 ));

WhiteContainer((-3650, -10, 455), ( 0, 90, 0 ));//F Roof 2
WhiteContainer((-3650, 120, 455), ( 0, 90, 0 ));
WhiteContainer((-3650, 250, 455), ( 0, 90, 0 ));
WhiteContainer((-3650, 380, 455), ( 0, 90, 0 ));
WhiteContainer((-3650, 510, 455), ( 0, 90, 0 ));
WhiteContainer((-3650, 640, 455), ( 0, 90, 0 ));
WhiteContainer((-3650, 770, 455), ( 0, 90, 0 ));

WhiteContainer((-3300, -10, 455), ( 0, 90, 0 ));//B Roof 2
WhiteContainer((-3300, 120, 455), ( 0, 90, 0 ));
WhiteContainer((-3300, 250, 455), ( 0, 90, 0 ));
WhiteContainer((-3300, 380, 455), ( 0, 90, 0 ));
WhiteContainer((-3300, 510, 455), ( 0, 90, 0 ));
WhiteContainer((-3300, 640, 455), ( 0, 90, 0 ));
WhiteContainer((-3300, 770, 455), ( 0, 90, 0 ));

WhiteContainer((-3420, 640, -25), ( 0, 90, -45 ));//ramp 1

WhiteContainer((-3650, -10, -195), ( 0, 90, 0 ));//F Floor
WhiteContainer((-3650, 120, -195), ( 0, 90, 0 ));
WhiteContainer((-3650, 250, -195), ( 0, 90, 0 ));
WhiteContainer((-3650, 380, -195), ( 0, 90, 0 ));
WhiteContainer((-3650, 510, -195), ( 0, 90, 0 ));
WhiteContainer((-3650, 640, -195), ( 0, 90, 0 ));
WhiteContainer((-3650, 770, -195), ( 0, 90, 0 ));

WhiteContainer((-3300, -10, -195), ( 0, 90, 0 ));//B Floor
WhiteContainer((-3300, 120, -195), ( 0, 90, 0 ));
WhiteContainer((-3300, 250, -195), ( 0, 90, 0 ));
WhiteContainer((-3300, 380, -195), ( 0, 90, 0 ));
WhiteContainer((-3300, 510, -195), ( 0, 90, 0 ));
WhiteContainer((-3300, 640, -195), ( 0, 90, 0 ));
WhiteContainer((-3300, 770, -195), ( 0, 90, 0 ));

BlueContainer((-3980, 380, 155), ( 0, 90, 30 ));//ramp 2
BlueContainer((-4280, 380, 329), ( 0, 90, 30 ));

BlueContainer((-4545, 380, 402), ( 0, 90, 0 ));//Pathway 2
BlueContainer((-4895, 380, 402), ( 0, 90, 0 ));

RedContainer((-5245, -270, 402), ( 0, 90, 0 ));//Floor 1 Front B2
RedContainer((-5245, -140, 402), ( 0, 90, 0 ));
RedContainer((-5245, -10, 402), ( 0, 90, 0 ));
RedContainer((-5245, 120, 402), ( 0, 90, 0 ));
RedContainer((-5245, 120, 532), ( 0, 90, 0 ));//Wall
RedContainer((-5245, 250, 402), ( 0, 90, 0 ));
RedContainer((-5245, 380, 402), ( 0, 90, 0 ));//middle
RedContainer((-5245, 510, 402), ( 0, 90, 0 ));
RedContainer((-5245, 640, 402), ( 0, 90, 0 ));
RedContainer((-5245, 640, 532), ( 0, 90, 0 ));//Wall
RedContainer((-5245, 770, 402), ( 0, 90, 0 ));
RedContainer((-5245, 900, 402), ( 0, 90, 0 ));
RedContainer((-5245, 1030, 402), ( 0, 90, 0 ));

RedContainer((-5595, -270, 402), ( 0, 90, 0 ));//Floor 1 Mid B2
RedContainer((-5595, -140, 402), ( 0, 90, 0 ));
RedContainer((-5595, -10, 402), ( 0, 90, 0 ));
RedContainer((-5595, 120, 402), ( 0, 90, 0 ));
RedContainer((-5595, 120, 532), ( 0, 90, 0 ));//Wall
RedContainer((-5595, 250, 402), ( 0, 90, 0 ));
RedContainer((-5595, 380, 402), ( 0, 90, 0 ));//middle
RedContainer((-5595, 510, 402), ( 0, 90, 0 ));
RedContainer((-5595, 640, 402), ( 0, 90, 0 ));
RedContainer((-5595, 640, 532), ( 0, 90, 0 ));//Wall
RedContainer((-5595, 770, 402), ( 0, 90, 0 ));
RedContainer((-5595, 900, 402), ( 0, 90, 0 ));
RedContainer((-5595, 1030, 402), ( 0, 90, 0 ));

RedContainer((-5945, -270, 402), ( 0, 90, 0 ));//Floor 1 Back B2
RedContainer((-5945, -140, 402), ( 0, 90, 0 ));
RedContainer((-5945, -10, 402), ( 0, 90, 0 ));
RedContainer((-5945, 120, 402), ( 0, 90, 0 ));
RedContainer((-5945, 250, 402), ( 0, 90, 0 ));
RedContainer((-5945, 380, 402), ( 0, 90, 0 ));//middle
RedContainer((-5945, 510, 402), ( 0, 90, 0 ));
RedContainer((-5945, 640, 402), ( 0, 90, 0 ));
RedContainer((-5945, 770, 402), ( 0, 90, 0 ));
RedContainer((-5945, 900, 402), ( 0, 90, 0 ));
RedContainer((-5945, 1030, 402), ( 0, 90, 0 ));

RedContainer((-5138, 623, 532), ( 0, 0, 0 ));//F walls
RedContainer((-5138, 136, 532), ( 0, 0, 0 ));
RedContainer((-5138, 800, 532), ( 0, 0, 0 ));
RedContainer((-5138, -80, 532), ( 0, 0, 0 ));

RedContainer((-5245, -270, 532), ( 0, 90, 0 ));
RedContainer((-5245, 1030, 532), ( 0, 90, 0 ));
RedContainer((-5595, -270, 532), ( 0, 90, 0 ));
RedContainer((-5595, 1030, 532), ( 0, 90, 0 ));
RedContainer((-5945, -270, 532), ( 0, 90, 0 ));
RedContainer((-5945, 1030, 532), ( 0, 90, 0 ));

RedContainer((-6058, -25, 532), ( 0, 0, 0 ));//Back walls
RedContainer((-6058, 325, 532), ( 0, 0, 0 ));
RedContainer((-6058, 675, 532), ( 0, 0, 0 ));
RedContainer((-6058, 800, 532), ( 0, 0, 0 ));

RedContainer((-5245, -270, 662), ( 0, 90, 0 ));//Roof 1 Front B2
RedContainer((-5245, -140, 662), ( 0, 90, 0 ));
RedContainer((-5245, -10, 662), ( 0, 90, 0 ));
RedContainer((-5245, 120, 662), ( 0, 90, 0 ));
RedContainer((-5245, 250, 662), ( 0, 90, 0 ));
RedContainer((-5245, 380, 662), ( 0, 90, 0 ));//middle
RedContainer((-5245, 510, 662), ( 0, 90, 0 ));
RedContainer((-5245, 640, 662), ( 0, 90, 0 ));
RedContainer((-5245, 770, 662), ( 0, 90, 0 ));
RedContainer((-5245, 900, 662), ( 0, 90, 0 ));
RedContainer((-5245, 1030, 662), ( 0, 90, 0 ));

RedContainer((-5595, -270, 662), ( 0, 90, 0 ));//Roof 1 Mid B2
RedContainer((-5595, -140, 662), ( 0, 90, 0 ));
RedContainer((-5595, -10, 662), ( 0, 90, 0 ));
RedContainer((-5595, 120, 662), ( 0, 90, 0 ));
RedContainer((-5595, 250, 662), ( 0, 90, 0 ));
RedContainer((-5595, 380, 662), ( 0, 90, 0 ));//Middle
RedContainer((-5595, 510, 662), ( 0, 90, 0 ));
RedContainer((-5595, 640, 662), ( 0, 90, 0 ));
RedContainer((-5595, 770, 662), ( 0, 90, 0 ));
RedContainer((-5595, 900, 662), ( 0, 90, 0 ));
RedContainer((-5595, 1030, 662), ( 0, 90, 0 ));

RedContainer((-5945, -270, 662), ( 0, 90, 0 ));//Roof 1 Back B2
RedContainer((-5945, -140, 662), ( 0, 90, 0 ));
RedContainer((-5945, -10, 662), ( 0, 90, 0 ));
RedContainer((-5945, 120, 662), ( 0, 90, 0 ));
RedContainer((-5945, 250, 662), ( 0, 90, 0 ));
RedContainer((-5945, 380, 662), ( 0, 90, 0 ));//middle
RedContainer((-5945, 510, 662), ( 0, 90, 0 ));
RedContainer((-5945, 640, 662), ( 0, 90, 0 ));
RedContainer((-5945, 770, 662), ( 0, 90, 0 ));
RedContainer((-5945, 900, 662), ( 0, 90, 0 ));
RedContainer((-5945, 1030, 662), ( 0, 90, 0 ));
// Elevator Start
BlueContainer((-4475, 2018, -195), ( 0, 90, 0 ));//Middle
BlueContainer((-4345, 1888, -195), ( 0, 90, 0 ));//Left
//BlueContainer((-4475, 1888, -195), ( 0, 90, 0 ));//Left OG
BlueContainer((-4475, 2148, -195), ( 0, 90, 0 ));//Right

BlueContainer((-4475, 2018, 975), ( 0, 90, 0 ));//Middle

BlueContainer((-4475, 2148, -65), ( 0, 90, 0 ));//Right Mid
BlueContainer((-4475, 2148, 65), ( 0, 90, 0 ));
BlueContainer((-4475, 2148, 195), ( 0, 90, 0 ));
BlueContainer((-4475, 2148, 325), ( 0, 90, 0 ));
BlueContainer((-4475, 2148, 455), ( 0, 90, 0 ));
BlueContainer((-4475, 2148, 585), ( 0, 90, 0 ));
BlueContainer((-4475, 2148, 715), ( 0, 90, 0 ));
BlueContainer((-4475, 2148, 845), ( 0, 90, 0 ));
BlueContainer((-4475, 2148, 975), ( 0, 90, 0 ));

BlueContainer((-4345, 1888, -65), ( 0, 90, 0 ));//Left Mid
BlueContainer((-4475, 1888, 65), ( 0, 90, 0 ));
BlueContainer((-4475, 1888, 195), ( 0, 90, 0 ));
BlueContainer((-4475, 1888, 325), ( 0, 90, 0 ));
BlueContainer((-4475, 1888, 455), ( 0, 90, 0 ));
BlueContainer((-4475, 1888, 585), ( 0, 90, 0 ));
BlueContainer((-4475, 1888, 715), ( 0, 90, 0 ));
BlueContainer((-4475, 1888, 845), ( 0, 90, 0 ));
BlueContainer((-4475, 1888, 975), ( 0, 90, 0 ));

BlueContainer((-4125, 2148, -195), ( 0, 90, 0 ));
BlueContainer((-4125, 2148, -65), ( 0, 90, 0 ));//Right Front
BlueContainer((-4125, 2148, 65), ( 0, 90, 0 ));
BlueContainer((-4125, 2148, 195), ( 0, 90, 0 ));
BlueContainer((-4125, 2148, 325), ( 0, 90, 0 ));
BlueContainer((-4125, 2148, 455), ( 0, 90, 0 ));
BlueContainer((-4125, 2148, 585), ( 0, 90, 0 ));
BlueContainer((-4125, 2148, 715), ( 0, 90, 0 ));
BlueContainer((-4125, 2148, 845), ( 0, 90, 0 ));
BlueContainer((-4125, 2148, 975), ( 0, 90, 0 ));

BlueContainer((-4125, 2018, 65), ( 0, 90, 0 ));//Middle Front
BlueContainer((-4125, 2018, 195), ( 0, 90, 0 ));
BlueContainer((-4125, 2018, 325), ( 0, 90, 0 ));
BlueContainer((-4125, 2018, 455), ( 0, 90, 0 ));
BlueContainer((-4125, 2018, 585), ( 0, 90, 0 ));
BlueContainer((-4125, 2018, 715), ( 0, 90, 0 ));
BlueContainer((-4125, 2018, 845), ( 0, 90, 0 ));
BlueContainer((-4125, 2018, 975), ( 0, 90, 0 ));

BlueContainer((-4125, 1888, -195), ( 0, 90, 0 ));
BlueContainer((-4125, 1888, -65), ( 0, 90, 0 ));//Left Front
BlueContainer((-4125, 1888, 65), ( 0, 90, 0 ));
BlueContainer((-4125, 1888, 195), ( 0, 90, 0 ));
BlueContainer((-4125, 1888, 325), ( 0, 90, 0 ));
BlueContainer((-4125, 1888, 455), ( 0, 90, 0 ));
BlueContainer((-4125, 1888, 585), ( 0, 90, 0 ));
BlueContainer((-4125, 1888, 715), ( 0, 90, 0 ));
BlueContainer((-4125, 1888, 845), ( 0, 90, 0 ));
BlueContainer((-4125, 1888, 975), ( 0, 90, 0 ));

BlueContainer((-4825, 2148, -195), ( 0, 90, 0 ));
BlueContainer((-4825, 2148, -65), ( 0, 90, 0 ));//Right Back
BlueContainer((-4825, 2148, 65), ( 0, 90, 0 ));
BlueContainer((-4825, 2148, 195), ( 0, 90, 0 ));
BlueContainer((-4825, 2148, 325), ( 0, 90, 0 ));
BlueContainer((-4825, 2148, 455), ( 0, 90, 0 ));
BlueContainer((-4825, 2148, 585), ( 0, 90, 0 ));
BlueContainer((-4825, 2148, 715), ( 0, 90, 0 ));
BlueContainer((-4825, 2148, 845), ( 0, 90, 0 ));
BlueContainer((-4825, 2148, 975), ( 0, 90, 0 ));

BlueContainer((-4825, 2018, -195), ( 0, 90, 0 ));
BlueContainer((-4825, 2018, -65), ( 0, 90, 0 ));//Middle Back
BlueContainer((-4825, 2018, 65), ( 0, 90, 0 ));
BlueContainer((-4825, 2018, 195), ( 0, 90, 0 ));
BlueContainer((-4825, 2018, 325), ( 0, 90, 0 ));
BlueContainer((-4825, 2018, 455), ( 0, 90, 0 ));
BlueContainer((-4825, 2018, 585), ( 0, 90, 0 ));
RedContainer((-4825, 2018, 715), ( 0, 90, 0 ));
//BlueContainer((-4825, 2018, 845), ( 0, 90, 0 ));
BlueContainer((-4825, 2018, 975), ( 0, 90, 0 ));

BlueContainer((-4825, 1888, -195), ( 0, 90, 0 ));
BlueContainer((-4825, 1888, -65), ( 0, 90, 0 ));//Left Back
BlueContainer((-4825, 1888, 65), ( 0, 90, 0 ));
BlueContainer((-4825, 1888, 195), ( 0, 90, 0 ));
BlueContainer((-4825, 1888, 325), ( 0, 90, 0 ));
BlueContainer((-4825, 1888, 455), ( 0, 90, 0 ));
BlueContainer((-4825, 1888, 585), ( 0, 90, 0 ));
BlueContainer((-4825, 1888, 715), ( 0, 90, 0 ));
BlueContainer((-4825, 1888, 845), ( 0, 90, 0 ));
BlueContainer((-4825, 1888, 975), ( 0, 90, 0 ));

CreateOrangeElevator((-4475, 2018, -195), (-4475, 2018, 715), (0, 90, 0), 4, 2);

RedContainer((-5175, 2018, 715), ( 0, 90, 0 ));//Top path S M

RedContainer((-5175, 2148, 715), ( 0, 90, 0 ));//R
RedContainer((-5175, 2278, 715), ( 0, 90, 0 ));

RedContainer((-4830, 2278, 773), ( 0, 90, -20 ));//RS Ramp
RedContainer((-4607.5, 2278, 853.5), ( 0, 90, -20 ));
RedContainer((-4423, 2278, 922), ( 0, 90, -20 ));//UP
RedContainer((-4125, 2278, 975), ( 0, 90, 0 ));

RedContainer((-5175, 1888, 715), ( 0, 90, 0 ));//L
RedContainer((-5175, 1758, 715), ( 0, 90, 0 ));

RedContainer((-4830, 1758, 773), ( 0, 90, -20 ));//LS Ramp
RedContainer((-4607.5, 1758, 853.5), ( 0, 90, -20 ));
RedContainer((-4423, 1758, 922), ( 0, 90, -20 ));//UP
RedContainer((-4125, 1758, 975), ( 0, 90, 0 ));

}



You can use this in Zombieland but it may lag a bit because of all the crates but to do that just add the stuff in 1st spoiler in Forge Functions and the 2nd Spoiler in mapedits

Update:Added a Elevator to this cause I was bored and thought it needed something else because it looked so empty, Thanks to Shark for the Elevator function I kept trying to make my own work but it would not move.

Credits:
Frinz/Hatez: for his Hide and Seek edit thats how I found out the that the crate was solid Happy
Hawkin: for original Zombieland
Shark: for remaking Zombieland on BO2
Shark: for the Elevator Function in ZL
dtx12: for making all this possible
xTiibo Modz: For giving me the idea with his nuketown edit.
And anyone else I missed Happy

I will be Updating this soon with a Zombieland Version.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 20 users say thank you to My Ninja Defuse for this useful post:

-Numb, {H} | Exception, ItzSparkBoii, FRINZ, BossamBemass, Chris, CodJumper:, Devilemi, EternalHabit, Exelo, Full-Evil, HiddenHour, IonHD, iRnZ, ksa_7ooo7, Patrick, Playstation VR, Adrian, Skonafid, xTiibo Modz
07-11-2015, 05:42 PM #2
oCmKs_4_LiFe
< ^ > < ^ >
noice
07-11-2015, 06:15 PM #3
oCmKs_4_LiFe
< ^ > < ^ >
added to my menu Winky Winky

The following user thanked oCmKs_4_LiFe for this useful post:

My Ninja Defuse
07-11-2015, 06:28 PM #4
xTiibo Modz
Do a barrel roll!
OMG Very nice !
And the map Doesn't lag.
I maybe make an other map edit .
07-11-2015, 07:27 PM #5
ItzSparkBoii
Big Sister
Originally posted by LiFe View Post
added to my menu Winky Winky


hi bro
07-11-2015, 07:45 PM #6
ItzSparkBoii
Big Sister
Originally posted by My
Hello guys so I figured I would post this so other people can try it out. It took me a few days to build but it was fun.
BTW I made this using the Debug Zombie-land.

Picture:
You must login or register to view this content.

You will need this if you don't have it already you can add it as an option or just add it on onplayerspawned.
If you don't you will die when you go into the buildings :P

Remove Sky Barrier

    removeSkyBarrier()
{
entArray = getEntArray();
for (index = 0; index < entArray.size; index++)
{
if(isSubStr(entArray[index].classname, "trigger_hurt") && entArray[index].origin[2] > 180)
entArray[index].origin = (0, 0, 9999999);
}
}



Functions for spawning containers

    WhiteContainer(pos, angle)
{
WhiteCon = spawn("script_model", pos );
WhiteCon setModel("p6_dockside_container_lrg_white");
WhiteCon.angles = angle;
}

BlueContainer(pos, angle)
{
BlueCon = spawn("script_model", pos );
BlueCon setModel("p6_dockside_container_lrg_blue");
BlueCon.angles = angle;
}

RedContainer(pos, angle)
{
RedCon = spawn("script_model", pos );
RedCon setModel("p6_dockside_container_lrg_red");
RedCon.angles = angle;
}

OrangeContainer(pos, angle)
{
OrangeCon = spawn("script_model", pos );
OrangeCon setModel("p6_dockside_container_lrg_orange");
OrangeCon.angles = angle;
}



Call using BuildCargo()

    BuildCargo()
{
if(getDvar("mapname") == "mp_dockside")

self iprintlnbold("^1Custom edits spawned");

OrangeContainer((-2025, 2018, -195), ( 0, 90, 0 ));//roll,yaw,Pitch
BlueContainer((-2375, 2018, -195), ( 0, 90, 0 ));
OrangeContainer((-2725, 2018, -195), ( 0, 90, 0 ));
BlueContainer((-3075, 2018, -195), ( 0, 90, 0 ));
OrangeContainer((-3425, 2018, -195), ( 0, 90, 0 ));
BlueContainer((-3775, 2018, -195), ( 0, 90, 0 ));
OrangeContainer((-4125, 2018, -195), ( 0, 90, 0 ));
BlueContainer((-4475, 2018, -195), ( 0, 90, 0 ));

OrangeContainer((-4590, 1780, -195), ( 0, 0, 0 ));
BlueContainer((-4590, 1430, -195), ( 0, 0, 0 ));
OrangeContainer((-4590, 1080, -195), ( 0, 0, 0 ));
BlueContainer((-4590, 730, -195), ( 0, 0, 0 ));
OrangeContainer((-4590, 380, -195), ( 0, 0, 0 ));
BlueContainer((-4590, 30, -195), ( 0, 0, 0 ));
OrangeContainer((-4590, -320, -195), ( 0, 0, 0 ));
BlueContainer((-4590, -670, -195), ( 0, 0, 0 ));
OrangeContainer((-4590, -1020, -195), ( 0, 0, 0 ));
BlueContainer((-4590, -1370, -195), ( 0, 0, 0 ));
OrangeContainer((-4590, -1720, -195), ( 0, 0, 0 ));

BlueContainer((-4475, -1970, -195), ( 0, 90, 0 ));
OrangeContainer((-4125, -1970, -195), ( 0, 90, 0 ));
BlueContainer((-3775, -1970, -195), ( 0, 90, 0 ));
OrangeContainer((-3425, -1970, -195), ( 0, 90, 0 ));
BlueContainer((-3075, -1970, -195), ( 0, 90, 0 ));
OrangeContainer((-2725, -1970, -195), ( 0, 90, 0 ));
BlueContainer((-2375, -1970, -195), ( 0, 90, 0 ));
OrangeContainer((-2025, -1970, -195), ( 0, 90, 0 )); //W 130 L 350 H 130
BlueContainer((-1675, -1970, -195), ( 0, 90, 0 ));
OrangeContainer((-1325, -1970, -195), ( 0, 90, 0 ));
BlueContainer((-975, -1970, -195), ( 0, 90, 0 ));
OrangeContainer((-625, -1970, -195), ( 0, 90, 0 ));

BlueContainer((-385, -1855, -195), ( 0, 0, 0 ));
OrangeContainer((-385, -1505, -195), ( 0, 0, 0 ));

RedContainer((-4350, 380, -195), ( 0, 90, 0 ));//Path to building
RedContainer((-4000, 380, -195), ( 0, 90, 0 ));

WhiteContainer((-3650, -10, -65), ( 0, 90, 0 ));//R Walls 1
WhiteContainer((-3650, 770, -65), ( 0, 90, 0 ));
WhiteContainer((-3300, -10, -65), ( 0, 90, 0 ));//L Walls 1
WhiteContainer((-3300, 770, -65), ( 0, 90, 0 ));

WhiteContainer((-3650, -10, 195), ( 0, 90, 0 ));//R Walls 2
WhiteContainer((-3650, 770, 195), ( 0, 90, 0 ));
WhiteContainer((-3300, -10, 195), ( 0, 90, 0 ));//L Walls 2
WhiteContainer((-3300, 770, 195), ( 0, 90, 0 ));

WhiteContainer((-3650, -10, 325), ( 0, 90, 0 ));//R Walls 3
WhiteContainer((-3650, 770, 325), ( 0, 90, 0 ));
WhiteContainer((-3300, -10, 325), ( 0, 90, 0 ));//L Walls 3
WhiteContainer((-3300, 770, 325), ( 0, 90, 0 ));


WhiteContainer((-3763, 623, 65), ( 0, 0, 0 ));
WhiteContainer((-3763, 623, -65), ( 0, 0, 0 ));//Front Left wall 1

WhiteContainer((-3763, 136, 65), ( 0, 0, 0 ));
WhiteContainer((-3763, 136, -65), ( 0, 0, 0 ));//Front Right wall 1

WhiteContainer((-3763, 623, 195), ( 0, 0, 0 ));//Front Left wall 2
WhiteContainer((-3763, 136, 195), ( 0, 0, 0 ));//Front Right wall 2

WhiteContainer((-3763, 623, 325), ( 0, 0, 0 ));//Front Left wall 3
WhiteContainer((-3763, 136, 325), ( 0, 0, 0 ));//Front Right wall 3

WhiteContainer((-3193, 525, -65), ( 0, 0, 0 ));//Back walls 1
WhiteContainer((-3193, 175, -65), ( 0, 0, 0 ));

WhiteContainer((-3193, 525, 195), ( 0, 0, 0 ));//Back walls 2
WhiteContainer((-3193, 175, 195), ( 0, 0, 0 ));

WhiteContainer((-3193, 525, 325), ( 0, 0, 0 ));//Back walls 3
WhiteContainer((-3193, 175, 325), ( 0, 0, 0 ));

WhiteContainer((-3193, 175, 65), ( 0, 0, 0 ));//
WhiteContainer((-3193, 525, 65), ( 0, 0, 0 ));//
WhiteContainer((-3323, 525, 65), ( 0, 0, 0 ));//

WhiteContainer((-3650, -10, 65), ( 0, 90, 0 ));//F Roof 1
WhiteContainer((-3650, 120, 65), ( 0, 90, 0 ));
WhiteContainer((-3650, 250, 65), ( 0, 90, 0 ));
WhiteContainer((-3650, 380, 65), ( 0, 90, 0 ));
WhiteContainer((-3650, 510, 65), ( 0, 90, 0 ));
//WhiteContainer((-3650, 640, 65), ( 0, 90, 0 ));
WhiteContainer((-3650, 770, 65), ( 0, 90, 0 ));

WhiteContainer((-3300, -10, 65), ( 0, 90, 0 ));//B Roof 1
WhiteContainer((-3300, 120, 65), ( 0, 90, 0 ));
WhiteContainer((-3300, 250, 65), ( 0, 90, 0 ));
WhiteContainer((-3300, 380, 65), ( 0, 90, 0 ));
WhiteContainer((-3300, 510, 65), ( 0, 90, 0 ));
//WhiteContainer((-3300, 640, 65), ( 0, 90, 0 ));
WhiteContainer((-3300, 770, 65), ( 0, 90, 0 ));

WhiteContainer((-3650, -10, 455), ( 0, 90, 0 ));//F Roof 2
WhiteContainer((-3650, 120, 455), ( 0, 90, 0 ));
WhiteContainer((-3650, 250, 455), ( 0, 90, 0 ));
WhiteContainer((-3650, 380, 455), ( 0, 90, 0 ));
WhiteContainer((-3650, 510, 455), ( 0, 90, 0 ));
WhiteContainer((-3650, 640, 455), ( 0, 90, 0 ));
WhiteContainer((-3650, 770, 455), ( 0, 90, 0 ));

WhiteContainer((-3300, -10, 455), ( 0, 90, 0 ));//B Roof 2
WhiteContainer((-3300, 120, 455), ( 0, 90, 0 ));
WhiteContainer((-3300, 250, 455), ( 0, 90, 0 ));
WhiteContainer((-3300, 380, 455), ( 0, 90, 0 ));
WhiteContainer((-3300, 510, 455), ( 0, 90, 0 ));
WhiteContainer((-3300, 640, 455), ( 0, 90, 0 ));
WhiteContainer((-3300, 770, 455), ( 0, 90, 0 ));

WhiteContainer((-3420, 640, -25), ( 0, 90, -45 ));//ramp 1

WhiteContainer((-3650, -10, -195), ( 0, 90, 0 ));//F Floor
WhiteContainer((-3650, 120, -195), ( 0, 90, 0 ));
WhiteContainer((-3650, 250, -195), ( 0, 90, 0 ));
WhiteContainer((-3650, 380, -195), ( 0, 90, 0 ));
WhiteContainer((-3650, 510, -195), ( 0, 90, 0 ));
WhiteContainer((-3650, 640, -195), ( 0, 90, 0 ));
WhiteContainer((-3650, 770, -195), ( 0, 90, 0 ));

WhiteContainer((-3300, -10, -195), ( 0, 90, 0 ));//B Floor
WhiteContainer((-3300, 120, -195), ( 0, 90, 0 ));
WhiteContainer((-3300, 250, -195), ( 0, 90, 0 ));
WhiteContainer((-3300, 380, -195), ( 0, 90, 0 ));
WhiteContainer((-3300, 510, -195), ( 0, 90, 0 ));
WhiteContainer((-3300, 640, -195), ( 0, 90, 0 ));
WhiteContainer((-3300, 770, -195), ( 0, 90, 0 ));

BlueContainer((-3980, 380, 155), ( 0, 90, 30 ));//ramp 2
BlueContainer((-4280, 380, 329), ( 0, 90, 30 ));

BlueContainer((-4545, 380, 402), ( 0, 90, 0 ));//Pathway 2
BlueContainer((-4895, 380, 402), ( 0, 90, 0 ));

RedContainer((-5245, -270, 402), ( 0, 90, 0 ));//Floor 1 Front B2
RedContainer((-5245, -140, 402), ( 0, 90, 0 ));
RedContainer((-5245, -10, 402), ( 0, 90, 0 ));
RedContainer((-5245, 120, 402), ( 0, 90, 0 ));
RedContainer((-5245, 250, 402), ( 0, 90, 0 ));
RedContainer((-5245, 380, 402), ( 0, 90, 0 ));//middle
RedContainer((-5245, 510, 402), ( 0, 90, 0 ));
RedContainer((-5245, 640, 402), ( 0, 90, 0 ));
RedContainer((-5245, 770, 402), ( 0, 90, 0 ));
RedContainer((-5245, 900, 402), ( 0, 90, 0 ));
RedContainer((-5245, 1030, 402), ( 0, 90, 0 ));

RedContainer((-5595, -270, 402), ( 0, 90, 0 ));//Floor 1 Mid B2
RedContainer((-5595, -140, 402), ( 0, 90, 0 ));
RedContainer((-5595, -10, 402), ( 0, 90, 0 ));
RedContainer((-5595, 120, 402), ( 0, 90, 0 ));
RedContainer((-5595, 250, 402), ( 0, 90, 0 ));
RedContainer((-5595, 380, 402), ( 0, 90, 0 ));//middle
RedContainer((-5595, 510, 402), ( 0, 90, 0 ));
RedContainer((-5595, 640, 402), ( 0, 90, 0 ));
RedContainer((-5595, 770, 402), ( 0, 90, 0 ));
RedContainer((-5595, 900, 402), ( 0, 90, 0 ));
RedContainer((-5595, 1030, 402), ( 0, 90, 0 ));

RedContainer((-5945, -270, 402), ( 0, 90, 0 ));//Floor 1 Back B2
RedContainer((-5945, -140, 402), ( 0, 90, 0 ));
RedContainer((-5945, -10, 402), ( 0, 90, 0 ));
RedContainer((-5945, 120, 402), ( 0, 90, 0 ));
RedContainer((-5945, 250, 402), ( 0, 90, 0 ));
RedContainer((-5945, 380, 402), ( 0, 90, 0 ));//middle
RedContainer((-5945, 510, 402), ( 0, 90, 0 ));
RedContainer((-5945, 640, 402), ( 0, 90, 0 ));
RedContainer((-5945, 770, 402), ( 0, 90, 0 ));
RedContainer((-5945, 900, 402), ( 0, 90, 0 ));
RedContainer((-5945, 1030, 402), ( 0, 90, 0 ));

RedContainer((-5138, 623, 532), ( 0, 0, 0 ));//F walls
RedContainer((-5138, 136, 532), ( 0, 0, 0 ));
RedContainer((-5138, 800, 532), ( 0, 0, 0 ));
RedContainer((-5138, -80, 532), ( 0, 0, 0 ));

RedContainer((-5245, -270, 532), ( 0, 90, 0 ));
RedContainer((-5245, 1030, 532), ( 0, 90, 0 ));
RedContainer((-5595, -270, 532), ( 0, 90, 0 ));
RedContainer((-5595, 1030, 532), ( 0, 90, 0 ));
RedContainer((-5945, -270, 532), ( 0, 90, 0 ));
RedContainer((-5945, 1030, 532), ( 0, 90, 0 ));

RedContainer((-6058, -25, 532), ( 0, 0, 0 ));//Back walls
RedContainer((-6058, 325, 532), ( 0, 0, 0 ));
RedContainer((-6058, 675, 532), ( 0, 0, 0 ));
RedContainer((-6058, 800, 532), ( 0, 0, 0 ));

RedContainer((-5245, -270, 662), ( 0, 90, 0 ));//Roof 1 Front B2
RedContainer((-5245, -140, 662), ( 0, 90, 0 ));
RedContainer((-5245, -10, 662), ( 0, 90, 0 ));
RedContainer((-5245, 120, 662), ( 0, 90, 0 ));
RedContainer((-5245, 250, 662), ( 0, 90, 0 ));
RedContainer((-5245, 380, 662), ( 0, 90, 0 ));//middle
RedContainer((-5245, 510, 662), ( 0, 90, 0 ));
RedContainer((-5245, 640, 662), ( 0, 90, 0 ));
RedContainer((-5245, 770, 662), ( 0, 90, 0 ));
RedContainer((-5245, 900, 662), ( 0, 90, 0 ));
RedContainer((-5245, 1030, 662), ( 0, 90, 0 ));

RedContainer((-5595, -270, 662), ( 0, 90, 0 ));//Roof 1 Mid B2
RedContainer((-5595, -140, 662), ( 0, 90, 0 ));
RedContainer((-5595, -10, 662), ( 0, 90, 0 ));
RedContainer((-5595, 120, 662), ( 0, 90, 0 ));
RedContainer((-5595, 250, 662), ( 0, 90, 0 ));
RedContainer((-5595, 380, 662), ( 0, 90, 0 ));//Middle
RedContainer((-5595, 510, 662), ( 0, 90, 0 ));
RedContainer((-5595, 640, 662), ( 0, 90, 0 ));
RedContainer((-5595, 770, 662), ( 0, 90, 0 ));
RedContainer((-5595, 900, 662), ( 0, 90, 0 ));
RedContainer((-5595, 1030, 662), ( 0, 90, 0 ));

RedContainer((-5945, -270, 662), ( 0, 90, 0 ));//Roof 1 Back B2
RedContainer((-5945, -140, 662), ( 0, 90, 0 ));
RedContainer((-5945, -10, 662), ( 0, 90, 0 ));
RedContainer((-5945, 120, 662), ( 0, 90, 0 ));
RedContainer((-5945, 250, 662), ( 0, 90, 0 ));
RedContainer((-5945, 380, 662), ( 0, 90, 0 ));//middle
RedContainer((-5945, 510, 662), ( 0, 90, 0 ));
RedContainer((-5945, 640, 662), ( 0, 90, 0 ));
RedContainer((-5945, 770, 662), ( 0, 90, 0 ));
RedContainer((-5945, 900, 662), ( 0, 90, 0 ));
RedContainer((-5945, 1030, 662), ( 0, 90, 0 ));

}



You can use this in Zombieland but it may lag a bit because of all the crates but to do that just add the stuff in 1st spoiler in Forge Functions and the 2nd Spoiler in mapedits

Credits:
Frinz/Hatez: for his Hide and Seek edit thats how I found out the that the crate was solid Happy
Hawkin: for original Zombieland
Shark: for remaking Zombieland on BO2
dtx12: for making all this possible
xTiibo Modz: For giving me the idea with his nuketown edit.
And anyone else I missed Happy


aswesome post man! thanks added it to my menu
07-11-2015, 07:59 PM #7
Really Nice
07-12-2015, 06:17 AM #8
FRINZ
I’m too L33T
good shit be sick for zombieland c: map edits u can do one on drone as well orange create c:
07-12-2015, 06:37 AM #9
Originally posted by FRlNZ View Post
good shit be sick for zombieland c: map edits u can do one on drone as well orange create c:


wats ur skype
07-12-2015, 03:05 PM #10
Originally posted by FRlNZ View Post
good shit be sick for zombieland c: map edits u can do one on drone as well orange create c:


What do you do to find models on maps? I would like to find more solid models.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo