Post: Release: [CODE] Chrome Playa's Watch Tower
01-30-2011, 03:31 AM #1
Chrome Playa
Chrome Gaming Reloaded
(adsbygoogle = window.adsbygoogle || []).push({}); Note: This is only for the map Terminal
This is my bunker that I made entirely out of coordinates. It took me some time to make. All of the coordinates for the carepackages were made by me, and some of TheUnkn0wn's function were used to create the weapons. Enjoy!

Credits To:
Me for the Bunker
TheUnkn0wn for the weapon codes
DEREKTROTTER for suggesting me to use functions instead of BMP2CODE
Killingdyl for the functions for Creating Walls, etc.


To learn how to make bunkers Go Here:
You must login or register to view this content.

Video:


[ame=https://www.youtube.com/watch?v=o5sUm4LxRVk]YouTube - Chrome Playa's Watch Tower (Terminal)[/ame]

:hitman:Chrome Playa's Watch Tower
҉҉҉҉҉҉҉҉҉҉҉҉
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
    Chrome(){
CreateRamps((-866.098, 2388.5, 40.125), (-825.717, 4120.94, 714.125));
CreateWalls((-558.602, 4144.89, 744.125), (-795, 4144.89, 844.125));
CreateWalls((-867.237, 4144.89, 744.125), (-1244.91, 4144.89, 844.125));
CreateWalls((-558.602, 4144.89, 844.125), (-1244.91, 4144.89, 900.125));
CreateWalls((-1244.91, 4144.89, 700.125), (-1244.91, 4761, 900.125));
CreateWalls((-1244.91, 4761, 744.125), (-558.602, 4761, 900.125));
CreateWalls((-567.101, 4761, 700.125), (-558.602, 4144.89, 780.125));
CreateWalls((-567.101, 4761, 840), (-558.602, 4144.89, 900.125));
CreateRamps((-1180.79, 4720.49, 734.125), (-567.101, 4720.49, 860.125));
CreateGrids((-600, 4720.49, 860.125), (-600, 4144.89, 860.125), (0, 0, 0));
Sentry = spawnTurret( "misc_turret", (-590.291, 4257.78, 749.125), "sentry_minigun_mp" );
Sentry setModel( "sentry_minigun" );
Sentry.angles = (0,0,0);
Sentry3 = spawnTurret( "misc_turret", (-590.631, 4282.72, 880.25), "sentry_minigun_mp" );
Sentry3 setModel( "sentry_minigun" );
Sentry3.angles = (0,0,0);
self thread SpawnWeapons(undefined,"cheytac_fmj_xmags_mp","Chrome's Intervention",(-606.08,4699.15,779.775),0);
self thread SpawnWeaponsUpside Down Happy:UsePredators,"prop_suitcase_bomb","Chrome's Predator Missile",(-564,4611.88,779.775),0);
self thread SpawnWeapons(undefined,"rpg_mp","Chrome's RPG",(-545.859,4572.74,907.20Cool Man (aka Tustin),0);

}
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;
}
SpawnWeapons(WFunc,Weapon,WeaponName,Location,TakeOnce){
self endon("disconnect");
weapon_model = getWeaponModel(Weapon);
if(weapon_model=="")weapon_model=Weapon;
Wep=spawn("script_model",Location+(0,0,0));
Wep setModel(weapon_model);
for(;Winky Winky{
foreach(player in level.players){
Radius=distance(Location,player.origin);
if(Radius<60){
player setLowerMessage(WeaponName,"Press ^3[{+usereload}]^7 to swap for "+WeaponName);
if(player UseButtonPressed())wait 0.2;
if(player UseButtonPressed()){
if(!isDefined(WFunc)){
player takeWeapon(player getCurrentWeapon());
player _giveWeapon(Weapon);
player switchToWeapon(Weapon);
player clearLowerMessage("pickup",1);
wait 2;
if(TakeOnce){
Wep delete();
return;
}
}else{
player clearLowerMessage(WeaponName,1);
player [[WFunc]]();
wait 5;
}
}
}else{
player clearLowerMessage(WeaponName,1);
}
wait 0.1;
}
wait 0.5;
}
}
UsePredators(){
maps\mp\killstreaks\_remotemissile::tryUsePredatorMissile(self.pers["killstreaks"][0].lifeId);
}
CreateWalls(start, end)
{
D = Distance((start[0], start[1], 0), (end[0], end[1], 0));
H = Distance((0, 0, start[2]), (0, 0, end[2]));
blocks = roundUp(D/55);
height = roundUp(H/30);
CX = end[0] - start[0];
CY = end[1] - start[1];
CZ = end[2] - start[2];
XA = (CX/blocks);
YA = (CY/blocks);
ZA = (CZ/height);
TXA = (XA/4);
TYA = (YA/4);
Temp = VectorToAngles(end - start);
Angle = (0, Temp[1], 90);
for(h = 0; h < height; h++){
block = spawn("script_model", (start + (TXA, TYA, 10) + ((0, 0, ZA) * h)));
block setModel("com_plasticcase_friendly");
block.angles = Angle;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.001;
for(i = 1; i < blocks; i++){
block = spawn("script_model", (start + ((XA, YA, 0) * i) + (0, 0, 10) + ((0, 0, ZA) * h)));
block setModel("com_plasticcase_friendly");
block.angles = Angle;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.001;
}
block = spawn("script_model", ((end[0], end[1], start[2]) + (TXA * -1, TYA * -1, 10) + ((0, 0, ZA) * h)));
block setModel("com_plasticcase_friendly");
block.angles = Angle;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.001;
}
}


roundUp( floatVal )
{
if ( int( floatVal ) != floatVal )
return int( floatVal+1 );
else
return int( floatVal );
}
CreateRamps(top, bottom)
{
D = Distance(top, bottom);
blocks = roundUp(D/30);
CX = top[0] - bottom[0];
CY = top[1] - bottom[1];
CZ = top[2] - bottom[2];
XA = CX/blocks;
YA = CY/blocks;
ZA = CZ/blocks;
CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0));
Temp = VectorToAngles(top - bottom);
BA = (Temp[2], Temp[1] + 90, Temp[0]);
for(b = 0; b < blocks; b++){
block = spawn("script_model", (bottom + ((XA, YA, ZA) * B)));
block setModel("com_plasticcase_friendly");
block.angles = BA;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
block setModel("com_plasticcase_friendly");
block.angles = (BA[0], BA[1], 0);
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 29 users say thank you to Chrome Playa for this useful post:

!x-MONKEY-BOMB!, Albanian', Amanda, bigboybobby14, Blackstorm, cjmurder123, CleanMODSHD, DEREKTROTTER, DR-Dizzy, Dreamcather, iiSuPerBaD, ImTrippinHoes, iSergeant-Adam, Janiboy, Judgement, kmax102, LightModz, lmg123, maxrox, Merkii, oO-GKUSH-Oo, Pauly, RaverBoy, The Shoota, TheFallen, Vectriixx, W0W, xCamoLegend, xSimpleHeartz
01-30-2011, 08:32 PM #38
MidgetGangBang
I sell sex for vBux
The pred works for me but the weaponn pickups dont
01-30-2011, 08:51 PM #39
Chrome Playa
Chrome Gaming Reloaded
Originally posted by DEREKTROTTER View Post
the predator didnt work for me :confused:


Did you hold down f or square

---------- Post added at 03:51 PM ---------- Previous post was at 03:50 PM ----------

Originally posted by Midget
The pred works for me but the weaponn pickups dont


You gotta hold down f or square
01-30-2011, 08:55 PM #40
DEREKTROTTER
You're Goddamn Right
Originally posted by Chrome
Did you hold down f or square

---------- Post added at 03:51 PM ---------- Previous post was at 03:50 PM ----------



You gotta hold down f or square


ye i held F then it made me 3rd person with a cross on my player (like ac130) then the screen went static

probably a one off
01-30-2011, 09:00 PM #41
Chrome Playa
Chrome Gaming Reloaded
Originally posted by DEREKTROTTER View Post
ye i held F then it made me 3rd person with a cross on my player (like ac130) then the screen went static

probably a one off


Oh, weird. I just put it in again and it works fine.
01-30-2011, 09:29 PM #42
Joey Bada$$
Do a barrel roll!
sick thanks for the code
01-30-2011, 09:47 PM #43
LightModz
League Champion
Originally posted by Chrome
Note: This is only for the map Terminal
This is my bunker that I made entirely out of coordinates. It took me some time to make. All of the coordinates for the carepackages were made by me, and some of TheUnkn0wn's function were used to create the weapons. Enjoy!

Credits To:
Me for the Bunker
TheUnkn0wn for the weapon codes
DEREKTROTTER for suggesting me to use functions instead of BMP2CODE
Killingdyl for the functions for Creating Walls, etc.


To learn how to make bunkers Go Here:
You must login or register to view this content.

Video:


You must login or register to view this content.

:hitman:Chrome Playa's Watch Tower
҉҉҉҉҉҉҉҉҉҉҉҉
•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
    Chrome(){
CreateRamps((-866.098, 2388.5, 40.125), (-825.717, 4120.94, 714.125));
CreateWalls((-558.602, 4144.89, 744.125), (-795, 4144.89, 844.125));
CreateWalls((-867.237, 4144.89, 744.125), (-1244.91, 4144.89, 844.125));
CreateWalls((-558.602, 4144.89, 844.125), (-1244.91, 4144.89, 900.125));
CreateWalls((-1244.91, 4144.89, 700.125), (-1244.91, 4761, 900.125));
CreateWalls((-1244.91, 4761, 744.125), (-558.602, 4761, 900.125));
CreateWalls((-567.101, 4761, 700.125), (-558.602, 4144.89, 780.125));
CreateWalls((-567.101, 4761, 840), (-558.602, 4144.89, 900.125));
CreateRamps((-1180.79, 4720.49, 734.125), (-567.101, 4720.49, 860.125));
CreateGrids((-600, 4720.49, 860.125), (-600, 4144.89, 860.125), (0, 0, 0));
Sentry = spawnTurret( "misc_turret", (-590.291, 4257.78, 749.125), "sentry_minigun_mp" );
Sentry setModel( "sentry_minigun" );
Sentry.angles = (0,0,0);
Sentry3 = spawnTurret( "misc_turret", (-590.631, 4282.72, 880.25), "sentry_minigun_mp" );
Sentry3 setModel( "sentry_minigun" );
Sentry3.angles = (0,0,0);
self thread SpawnWeapons(undefined,"cheytac_fmj_xmags_mp","Chrome's Intervention",(-606.08,4699.15,779.775),0);
self thread SpawnWeaponsUpside Down Happy:UsePredators,"prop_suitcase_bomb","Chrome's Predator Missile",(-564,4611.88,779.775),0);
self thread SpawnWeapons(undefined,"rpg_mp","Chrome's RPG",(-545.859,4572.74,907.20Cool Man (aka Tustin),0);

}
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;
}
SpawnWeapons(WFunc,Weapon,WeaponName,Location,TakeOnce){
self endon("disconnect");
weapon_model = getWeaponModel(Weapon);
if(weapon_model=="")weapon_model=Weapon;
Wep=spawn("script_model",Location+(0,0,0));
Wep setModel(weapon_model);
for(;Winky Winky{
foreach(player in level.players){
Radius=distance(Location,player.origin);
if(Radius<60){
player setLowerMessage(WeaponName,"Press ^3[{+usereload}]^7 to swap for "+WeaponName);
if(player UseButtonPressed())wait 0.2;
if(player UseButtonPressed()){
if(!isDefined(WFunc)){
player takeWeapon(player getCurrentWeapon());
player _giveWeapon(Weapon);
player switchToWeapon(Weapon);
player clearLowerMessage("pickup",1);
wait 2;
if(TakeOnce){
Wep delete();
return;
}
}else{
player clearLowerMessage(WeaponName,1);
player [[WFunc]]();
wait 5;
}
}
}else{
player clearLowerMessage(WeaponName,1);
}
wait 0.1;
}
wait 0.5;
}
}
UsePredators(){
maps\mp\killstreaks\_remotemissile::tryUsePredatorMissile(self.pers["killstreaks"][0].lifeId);
}
CreateWalls(start, end)
{
D = Distance((start[0], start[1], 0), (end[0], end[1], 0));
H = Distance((0, 0, start[2]), (0, 0, end[2]));
blocks = roundUp(D/55);
height = roundUp(H/30);
CX = end[0] - start[0];
CY = end[1] - start[1];
CZ = end[2] - start[2];
XA = (CX/blocks);
YA = (CY/blocks);
ZA = (CZ/height);
TXA = (XA/4);
TYA = (YA/4);
Temp = VectorToAngles(end - start);
Angle = (0, Temp[1], 90);
for(h = 0; h < height; h++){
block = spawn("script_model", (start + (TXA, TYA, 10) + ((0, 0, ZA) * h)));
block setModel("com_plasticcase_friendly");
block.angles = Angle;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.001;
for(i = 1; i < blocks; i++){
block = spawn("script_model", (start + ((XA, YA, 0) * i) + (0, 0, 10) + ((0, 0, ZA) * h)));
block setModel("com_plasticcase_friendly");
block.angles = Angle;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.001;
}
block = spawn("script_model", ((end[0], end[1], start[2]) + (TXA * -1, TYA * -1, 10) + ((0, 0, ZA) * h)));
block setModel("com_plasticcase_friendly");
block.angles = Angle;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.001;
}
}


roundUp( floatVal )
{
if ( int( floatVal ) != floatVal )
return int( floatVal+1 );
else
return int( floatVal );
}
CreateRamps(top, bottom)
{
D = Distance(top, bottom);
blocks = roundUp(D/30);
CX = top[0] - bottom[0];
CY = top[1] - bottom[1];
CZ = top[2] - bottom[2];
XA = CX/blocks;
YA = CY/blocks;
ZA = CZ/blocks;
CXY = Distance((top[0], top[1], 0), (bottom[0], bottom[1], 0));
Temp = VectorToAngles(top - bottom);
BA = (Temp[2], Temp[1] + 90, Temp[0]);
for(b = 0; b < blocks; b++){
block = spawn("script_model", (bottom + ((XA, YA, ZA) * B)));
block setModel("com_plasticcase_friendly");
block.angles = BA;
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}
block = spawn("script_model", (bottom + ((XA, YA, ZA) * blocks) - (0, 0, 5)));
block setModel("com_plasticcase_friendly");
block.angles = (BA[0], BA[1], 0);
block Solid();
block CloneBrushmodelToScriptmodel( level.airDropCrateCollision );
wait 0.01;
}


omg dude u gotta make more for differnt maps ! omg awesome, i also love the way u see it being made makes newbs go omg :p

---------- Post added at 04:44 PM ---------- Previous post was at 04:44 PM ----------

omg dude u gotta make more for differnt maps ! omg awesome, i also love the way u see it being made makes newbs go omg :p

---------- Post added at 04:47 PM ---------- Previous post was at 04:44 PM ----------

omg dude u gotta make more for differnt maps ! omg awesome, i also love the way u see it being made makes newbs go omg :p
01-30-2011, 11:02 PM #44
Dreamcather
Call me Eddie Winky Winky
It not work for me. Why?.
01-30-2011, 11:12 PM #45
Chrome Playa
Chrome Gaming Reloaded
Originally posted by Playstation3lb View Post
It not work for me. Why?.


What did not work?
01-30-2011, 11:46 PM #46
-SilverSurfer-
Bounty hunter
looks madd mann!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo