Post: Terminal Plane Bunker... I think
08-12-2012, 12:37 PM #1
Ghost1990
12-28-2012
(adsbygoogle = window.adsbygoogle || []).push({}); Allright, well first off, I don't have a video because my laptop barely runs MW2 as it is, and secondly my HDPVR is hooked up my my other PS3, and I don't feel like changing the video inputs, but all this does is creates care packages around all the entrances to the plane and spawns 3 turrets (side door, cockpit, and entrance by the book store area). It's very basic, and could easily be improved on, but I figured what the hell, I see all these patches with 15 bunkers and from what I can tell none of them have incorporated the plane, so I figured I'd post mine, but it wouldn't be the first time I've been wrong...

so, the actual code
    
TerminalPlane()
{
//Map Check
level.Mapname=getDvar("mapname");
if(level.Mapname=="mp_terminal")
{
//Rear Ladder Area
self thread CreateGrids((613.221,2878.92,187.5),(614.532,2988.78,187.5));
//Side Door
self thread CreateGrids((709,3764.19,215.250),(709,3764.19,230.750),(0,90,0));
SideT=spawnTurret("misc_turret",(709,3764,245),"pavelow_minigun_mp");
SideT setModel("weapon_minigun");
SideT.owner=self.owner;
SideT.team=self.team;
SideT SetBottomArc(360);
SideT SetTopArc(360);
SideT SetLeftArc(360);
SideT SetRightArc(360);
//Front Entrance
self thread CreateGrids((360,4186,213.125),(360,4186,240.250));
FrontT=spawnTurret("misc_turret",(360,4186,250),"pavelow_minigun_mp");
FrontT setModel("weapon_minigun");
FrontT.owner=self.owner;
FrontT.team=self.team;
FrontT SetBottomArc(360);
FrontT SetTopArc(360);
FrontT SetLeftArc(360);
FrontT SetRightArc(360);
//Block Rear Side Windows
self thread CreateGrids((727,3555,248.250),(727,3718.6,248.250),(90,0,0));
//Block Windows By Cockpit, by side door...
self thread CreateGrids((727,3815,248.250),(727,3911.6,248.250),(90,0,0));
//Cockpit Turret
CockT=spawnTurret("misc_turret",(645,4227.79,245),"pavelow_minigun_mp");
CockT setModel("weapon_minigun");
CockT.owner=self.owner;
CockT.team=self.team;
CockT SetBottomArc(360);
CockT SetTopArc(360);
CockT SetLeftArc(360);
CockT SetRightArc(360);
}
else
{
self iPrintLn("^1Wrong map stupid");
}
}

and if you don't already have a CreateGrids function defined in your patch
    
CreateGrids(corner1,corner2,angle)
{
W=Distance((corner1[0],0,0),(corner2[0],0,0));
L=Distance((0,corner1[1],0),(0,corner2[1],0));
H=Distance((0,0,corner1[2]),(0,0,corner2[2]));
CX=corner2[0]-corner1[0];
CY=corner2[1]-corner1[1];
CZ=corner2[2]-corner1[2];
ROWS=roundUp(W/55);
COLUMNS=roundUp(L/30);
HEIGHT=roundUp(H/20);
XA=CX/ROWS;
YA=CY/COLUMNS;
ZA=CZ/HEIGHT;
center=spawn("script_model",corner1);
for(r=0;r<=ROWS;r++)
{
for(c=0;c<=COLUMNS;c++)
{
for(h=0;h<=HEIGHT;h++)
{
block=spawn("script_model",(corner1 +(XA * r,YA * c,ZA * h)));
block setModel("com_plasticcase_friendly");
block.angles =(0,0,0);
block Solid();
block LinkTo(center);
block CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
wait 0.01;
}
}
}
center.angles=angle;
}

Pics

Rear:
You must login or register to view this content.
Side:
You must login or register to view this content.
You must login or register to view this content.
Cockpit:
You must login or register to view this content.
You must login or register to view this content.
Front:
You must login or register to view this content.
You must login or register to view this content.


*EDIT*
Credits:
killingdyl - Map building functions.
Me - For putting this together.
If anyone else deserves credit, please let me know
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to Ghost1990 for this useful post:

ChromeVisionz, zoCHARLEYoz
08-12-2012, 02:13 PM #2
Hey man thanks you can have a good time oout of thi sif yu have friends
08-12-2012, 04:28 PM #3
LightModz
League Champion
Originally posted by Ghost1990 View Post
Allright, well first off, I don't have a video because my laptop barely runs MW2 as it is, and secondly my HDPVR is hooked up my my other PS3, and I don't feel like changing the video inputs, but all this does is creates care packages around all the entrances to the plane and spawns 3 turrets (side door, cockpit, and entrance by the book store area). It's very basic, and could easily be improved on, but I figured what the hell, I see all these patches with 15 bunkers and from what I can tell none of them have incorporated the plane, so I figured I'd post mine, but it wouldn't be the first time I've been wrong...

so, the actual code
    
TerminalPlane()
{
//Map Check
level.Mapname=getDvar("mapname");
if(level.Mapname=="mp_terminal")
{
//Rear Ladder Area
self thread CreateGrids((613.221,2878.92,187.5),(614.532,2988.78,187.5));
//Side Door
self thread CreateGrids((709,3764.19,215.250),(709,3764.19,230.750),(0,90,0));
SideT=spawnTurret("misc_turret",(709,3764,245),"pavelow_minigun_mp");
SideT setModel("weapon_minigun");
SideT.owner=self.owner;
SideT.team=self.team;
SideT SetBottomArc(360);
SideT SetTopArc(360);
SideT SetLeftArc(360);
SideT SetRightArc(360);
//Front Entrance
self thread CreateGrids((360,4186,213.125),(360,4186,240.250));
FrontT=spawnTurret("misc_turret",(360,4186,250),"pavelow_minigun_mp");
FrontT setModel("weapon_minigun");
FrontT.owner=self.owner;
FrontT.team=self.team;
FrontT SetBottomArc(360);
FrontT SetTopArc(360);
FrontT SetLeftArc(360);
FrontT SetRightArc(360);
//Block Rear Side Windows
self thread CreateGrids((727,3555,248.250),(727,3718.6,248.250),(90,0,0));
//Block Windows By Cockpit, by side door...
self thread CreateGrids((727,3815,248.250),(727,3911.6,248.250),(90,0,0));
//Cockpit Turret
CockT=spawnTurret("misc_turret",(645,4227.79,245),"pavelow_minigun_mp");
CockT setModel("weapon_minigun");
CockT.owner=self.owner;
CockT.team=self.team;
CockT SetBottomArc(360);
CockT SetTopArc(360);
CockT SetLeftArc(360);
CockT SetRightArc(360);
}
else
{
self iPrintLn("^1Wrong map stupid");
}
}

and if you don't already have a CreateGrids function defined in your patch
    
CreateGrids(corner1,corner2,angle)
{
W=Distance((corner1[0],0,0),(corner2[0],0,0));
L=Distance((0,corner1[1],0),(0,corner2[1],0));
H=Distance((0,0,corner1[2]),(0,0,corner2[2]));
CX=corner2[0]-corner1[0];
CY=corner2[1]-corner1[1];
CZ=corner2[2]-corner1[2];
ROWS=roundUp(W/55);
COLUMNS=roundUp(L/30);
HEIGHT=roundUp(H/20);
XA=CX/ROWS;
YA=CY/COLUMNS;
ZA=CZ/HEIGHT;
center=spawn("script_model",corner1);
for(r=0;r<=ROWS;r++)
{
for(c=0;c<=COLUMNS;c++)
{
for(h=0;h<=HEIGHT;h++)
{
block=spawn("script_model",(corner1 +(XA * r,YA * c,ZA * h)));
block setModel("com_plasticcase_friendly");
block.angles =(0,0,0);
block Solid();
block LinkTo(center);
block CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
wait 0.01;
}
}
}
center.angles=angle;
}

And I honestly have no idea as to who to give credit to for the CreateGrids function or whatever else I may have used, so if you know, let me know please.

killingdyl made most zombieland building functions, could u post a picture so i can see it.

The following 3 users say thank you to LightModz for this useful post:

Ghost1990, notoriousCFW, ThePhantom410.
08-12-2012, 09:58 PM #4
Ghost1990
12-28-2012
Originally posted by ll View Post
Hey man thanks you can have a good time oout of thi sif yu have friends

What? stare
Originally posted by LightModz View Post
killingdyl made most zombieland building functions, could u post a picture so i can see it.


hmmm... has killingdyl gone by any other name(s)? That name isn't ringing a bell for me, but thanks for the info, and I did post pics, I know it looks like crap, but it works for me & my co host. I just got tired of him always creating all the care packages with 0 consistency whenever terminal came up in the playlist
08-12-2012, 10:07 PM #5
Originally posted by Ghost1990 View Post
What? stare


hmmm... has killingdyl gone by any other name(s)? That name isn't ringing a bell for me, but thanks for the info, and I did post pics, I know it looks like crap, but it works for me & my co host. I just got tired of him always creating all the care packages with 0 consistency whenever terminal came up in the playlist

LOOOOL I actually have no fucking clue what I just said I should of read back over what I posted But I mean Thanks For The Code
08-13-2012, 12:16 AM #6
xKtF
In my man cave
you should make this into a game mode sorta if you can Happy
08-13-2012, 12:21 AM #7
Ghost1990
12-28-2012
Originally posted by INFINITYCL View Post
you should make this into a game mode sorta if you can Happy


Like what? I'm open to suggestions, but I just can't think of what kind of game mode could revolve around what I have posted, maybe just spawn a flag in the middle of the plane, and give points for the amount of time controlling the flag
08-13-2012, 02:13 AM #8
Originally posted by Ghost1990 View Post
Allright, well first off, I don't have a video because my laptop barely runs MW2 as it is, and secondly my HDPVR is hooked up my my other PS3, and I don't feel like changing the video inputs, but all this does is creates care packages around all the entrances to the plane and spawns 3 turrets (side door, cockpit, and entrance by the book store area). It's very basic, and could easily be improved on, but I figured what the hell, I see all these patches with 15 bunkers and from what I can tell none of them have incorporated the plane, so I figured I'd post mine, but it wouldn't be the first time I've been wrong...

so, the actual code
    
TerminalPlane()
{
//Map Check
level.Mapname=getDvar("mapname");
if(level.Mapname=="mp_terminal")
{
//Rear Ladder Area
self thread CreateGrids((613.221,2878.92,187.5),(614.532,2988.78,187.5));
//Side Door
self thread CreateGrids((709,3764.19,215.250),(709,3764.19,230.750),(0,90,0));
SideT=spawnTurret("misc_turret",(709,3764,245),"pavelow_minigun_mp");
SideT setModel("weapon_minigun");
SideT.owner=self.owner;
SideT.team=self.team;
SideT SetBottomArc(360);
SideT SetTopArc(360);
SideT SetLeftArc(360);
SideT SetRightArc(360);
//Front Entrance
self thread CreateGrids((360,4186,213.125),(360,4186,240.250));
FrontT=spawnTurret("misc_turret",(360,4186,250),"pavelow_minigun_mp");
FrontT setModel("weapon_minigun");
FrontT.owner=self.owner;
FrontT.team=self.team;
FrontT SetBottomArc(360);
FrontT SetTopArc(360);
FrontT SetLeftArc(360);
FrontT SetRightArc(360);
//Block Rear Side Windows
self thread CreateGrids((727,3555,248.250),(727,3718.6,248.250),(90,0,0));
//Block Windows By Cockpit, by side door...
self thread CreateGrids((727,3815,248.250),(727,3911.6,248.250),(90,0,0));
//Cockpit Turret
CockT=spawnTurret("misc_turret",(645,4227.79,245),"pavelow_minigun_mp");
CockT setModel("weapon_minigun");
CockT.owner=self.owner;
CockT.team=self.team;
CockT SetBottomArc(360);
CockT SetTopArc(360);
CockT SetLeftArc(360);
CockT SetRightArc(360);
}
else
{
self iPrintLn("^1Wrong map stupid");
}
}

and if you don't already have a CreateGrids function defined in your patch
    
CreateGrids(corner1,corner2,angle)
{
W=Distance((corner1[0],0,0),(corner2[0],0,0));
L=Distance((0,corner1[1],0),(0,corner2[1],0));
H=Distance((0,0,corner1[2]),(0,0,corner2[2]));
CX=corner2[0]-corner1[0];
CY=corner2[1]-corner1[1];
CZ=corner2[2]-corner1[2];
ROWS=roundUp(W/55);
COLUMNS=roundUp(L/30);
HEIGHT=roundUp(H/20);
XA=CX/ROWS;
YA=CY/COLUMNS;
ZA=CZ/HEIGHT;
center=spawn("script_model",corner1);
for(r=0;r<=ROWS;r++)
{
for(c=0;c<=COLUMNS;c++)
{
for(h=0;h<=HEIGHT;h++)
{
block=spawn("script_model",(corner1 +(XA * r,YA * c,ZA * h)));
block setModel("com_plasticcase_friendly");
block.angles =(0,0,0);
block Solid();
block LinkTo(center);
block CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
wait 0.01;
}
}
}
center.angles=angle;
}

Pics

Rear:
You must login or register to view this content.
Side:
You must login or register to view this content.
You must login or register to view this content.
Cockpit:
You must login or register to view this content.
You must login or register to view this content.
Front:
You must login or register to view this content.
You must login or register to view this content.

And I honestly have no idea as to who to give credit to for the CreateGrids function or whatever else I may have used, so if you know, let me know please.
*EDIT*
Credits:
killingdyl - Map building functions


Looks like good work, would you mind if I used this in the new version of zombieland that I'm creating? If you're interested in creating more map edits, ones that will be played by tens of thousands, if not hundreds of thousands of people, send me a PM.

Also, yes, all map function credits go to killingdyl who made the first mw2 zombie patch (quarantine chaos zombie mod) for xbox. Exceptions to this are any functions which create moving care packages of any type, those are mine Smile

The following user thanked jeffadkins51 for this useful post:

Ghost1990
08-13-2012, 02:37 AM #9
Ghost1990
12-28-2012
Originally posted by jeffadkins51 View Post
Looks like good work, would you mind if I used this in the new version of zombieland that I'm creating? If you're interested in creating more map edits, ones that will be played by tens of thousands, if not hundreds of thousands of people, send me a PM.

Also, yes, all map function credits go to killingdyl who made the first mw2 zombie patch (quarantine chaos zombie mod) for xbox. Exceptions to this are any functions which create moving care packages of any type, those are mine Smile

Thanks, and yeah, use it if you want, and OK, I vaguely remember quarantine zombies. But I just don't much care for creating bunkers, map edits, I only did this because my co host said it would be cool, but I could try to help out if you ever want a map edit.
08-13-2012, 04:41 AM #10
Blackstorm
Veni. Vidi. Vici.
Originally posted by jeffadkins51 View Post
ones that will be played by tens of thousands, if not hundreds of thousands of people


more like hundreds lol, mw2 modding is pretty dead now

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo