You are viewing our Forum Archives. To view or take place in current topics click here.
help please people who no what there doing only....
Posted:
help please people who no what there doing only....Posted:
Status: Offline
Joined: Aug 13, 201311Year Member
Posts: 141
Reputation Power: 5
Status: Offline
Joined: Aug 13, 201311Year Member
Posts: 141
Reputation Power: 5
change_team(team)
{
thread maps\mp\gametypes\_teams::getTeamBalance();
switch(team)
{
case "allies": self [[level.allies]]();
self notify("menuresponse","changeclass",getArrayKeys(level.classMap)[1]);
break;
case "axis": self [[level.axis]]();
self notify("menuresponse","changeclass",getArrayKeys(level.classMap)[1]);
break;
case "spectator": self [[level.spectator]]();
break;
}
}
error below
[ Register or Signin to view external links. ]
what am i using this for"???"
my hawkins zombies....
startZombieland()
{
self thread AhcBossBoy();
self thread ZombielandDvars();
level thread ZombielandEdits();
for(k=0;k < level.players.size;k++)
{
level.players[k] suicide();
level.players[k] thread resetPlayerDvars();
level.players[k] thread BuildZombieland();
}
wait 1;
}
AhcBossBoy()
{
for(;;)
{
self iPrintln(self.origin);
wait 5;
}
}
ZombielandDvars()
{
SetExpFog(80,612,0.3,0.1,0.4,10);
self setClientDvars("g_password","AhcClan","scr_hardpoint_allow","0","scr_hardpoint_allowuav","0","scr_hardpoint_allowartillery","0","scr_hardpoint_allowdogs","0");
self setClientDvars("loc_warnings","0","loc_warningsAsErrors","0","cg_errordecay","1","con_errormessagetime","0","uiscript_debug","0");
self setClientDvars("g_TeamName_Allies","^2Humans","g_TeamIcon_Allies","rank_prestige9","g_TeamName_Axis","^1Zombies","g_TeamIcon_Axis","rank_prestige10");
self setClientDvars("cg_enemyNameFadeOut","900","scr_tdm_scorelimit","0","scr_tdm_timelimit","0","player_sprintSpeedScale","1.8","g_speed","185","jump_height","45");
self setClientDvars("player_sprintUnlimited","1","cg_laserForceOn","0","scr_game_allowkillcam","0","scr_forcerankedmatch","1","xblive_privatematch","0","onlinegame","1","ui_allow_teamchange","0");
}
BuildZombieland()
{
self waittill("spawned_player");
self notify("gameStart");
self thread MonitorCash();
self thread change_team("allies");
self iPrintlnBold("^1Welcome To Ahc Zombies");
wait 5;
self thread NotifyMsg("^1You Are ^3Human.. ^1For Now!","",(0,0,0),4);
wait 5;
self.zombieland["Text"]=CreateTextString("default",2,"CENTER","CENTER",0,-123,1,1,"");
for(t=5;t > 0;t--)
{
self.zombieland["Text"] setText("Zombiefication In: ^1"+t);
wait 1;
}
self thread PickZombie();
self.zombieland["Text"] setText("^2First Zombie Has Been Chosen!");
wait 2;
self.zombieland["Pick"] freezecontrols(true);
self.zombieland["Pick"] hide();
wait 3;
for(x=30;x > 0;x--)
{
self.zombieland["Text"] setText("Zombie Released In: ^1"+x);
wait 1;
}
self.zombieland["Text"] setText("^1Zombie Has Been Released!");
self playsound("air_raid_a");
self.zombieland["Pick"] freezecontrols(false);
self.zombieland["Pick"] show();
if(self.team=="allies")
{
self thread HumanWeapSelector();
self thread MonitorHdeath();
self.score=0;
}
if(self.team=="axis")
{
self thread doZombies();
self thread MonitorZdeath();
}
wait 2;
self.zombieland["Text"] destroy();
}
PickZombie()
{
if(self getEntityNumber()== 0)
{
self.zombieland["Pick"]=level.players[randomInt(level.players.size)];
self.zombieland["Pick"] suicide();
self.zombieland["Pick"] thread change_team("axis");
}
}
HumanWeapSelector()
{
self thread ZombieSetup1();
self thread ZombieSetup2();
self thread ZombieSetup3();
self.zombieland["Setup"]=[];
self.zombieland["Setup"][0]="setup1";
self.zombieland["Setup"][1]="setup2";
self.zombieland["Setup"][2]="setup3";
selectSetup=RandomInt(self.zombieland["Setup"].size);
self takeallweapons();
self notify(self.zombieland["Setup"][selectSetup]);
}
ZombieSetup1()
{
self waittill("setup1");
self iPrintlnBold("Zombieland Set Up 1,Given!");
self giveWeapon("mp40_bigammo_mp");
self giveWeapon("doublebarreledshotgun_mp");
self giveWeapon("tokarev_mp");
self switchtoweapon("mp40_bigammo_mp");
self setWeaponAmmoStock("mp40_bigammo_mp",300);
self setWeaponAmmoStock("doublebarreledshotgun_mp",60);
self setWeaponAmmoStock("tokarev_mp",45);
}
ZombieSetup2()
{
self waittill("setup2");
self iPrintlnBold("Zombieland Set Up 2,Given!");
self giveweapon("type100smg_bigammo_mp");
self giveweapon("shotgun_mp");
self giveweapon("colt_mp");
self switchtoweapon("type100smg_bigammo_mp");
self setWeaponAmmoStock("type100smg_bigammo_mp",300);
self setWeaponAmmoStock("shotgun_mp",60);
self setWeaponAmmoStock("colt_mp",45);
}
ZombieSetup3()
{
self waittill("setup3");
self iPrintlnBold("Zombieland Set Up 3,Given!");
self giveweapon("thompson_bigammo_mp");
self giveweapon("shotgun_mp");
self giveweapon("357magnum_mp");
self switchtoweapon("thompson_bigammo_mp");
self setWeaponAmmoStock("thompson_bigammo_mp",300);
self setWeaponAmmoStock("shotgun_mp",60);
self setWeaponAmmoStock("357magnum_mp",45);
}
doZombies()
{
self thread NotifyMsg("^1You Are Nazi Zombie!","^1Go Kill The Humans..",(0,0,0),4);
self.score=0;
self thread ZombieSwap();
}
ZombieSwap()
{
self endon("disconnect");
for(;;)
{
self takeallweapons();
self giveweapon("colt_mp");
self switchtoweapon("colt_mp");
self setWeaponAmmoClip("colt_mp",0);
self setWeaponAmmoStock("colt_mp",0);
wait 5;
}
wait 1;
}
MonitorCash()
{
self endon("disconnect");
self.zombieland["Text2"]=CreateTextString("default",1.6,"TOPRIGHT","TOPRIGHT",0,5,1,1,"");
for(;;)
{
self.zombieland["Text2"] setText("Cash: ^1"+self.score);
wait 1;
}
}
MonitorHdeath()
{
self waittill("death");
self thread change_team("axis");
wait 3;
self thread doZombies();
self thread MonitorZdeath();
}
MonitorZdeath()
{
self endon("disconnect");
for(;;)
{
self waittill("spawned_player");
self thread change_team("axis");
self.score += 50;
wait 3;
}
}
CrSecretFlag(enter,exit,vis,radius,angle)
{
if(!isDefined(vis))vis=0;
if(!isDefined(angle))angle =(0,0,0);
if(!isDefined(radius))radius=50;
flag=spawn("script_model",enter);
flag setModel("prop_flag_american");
flag.angles=angle;
if(vis==0)
{
flag=spawn("script_model",exit);
flag setModel("prop_flag_russian");
}
wait 0.01;
self thread ElevatorThink(enter,exit,radius,angle);
}
CrZip(pos1,pos2)
{
self endon("disconnect");
pos =(pos1 +(0,0,110));
posa =(pos2 +(0,0,110));
zip=spawn("script_model",pos);
zip SetModel("weapon_mp_shell");
zang=VectorToAngles(pos2 - pos1);
zip.angles=zang;
glow1=SpawnFx(level.redcirlez,pos1);
TriggerFX(glow1);
zip thread ZipAct(pos1,pos2);
zip2=spawn("script_model",posa);
zip2 SetModel("weapon_mp_shell");
zang2=VectorToAngles(pos1 - pos2);
zip2.angles=zang2;
glow2=SpawnFx(level.redcirlez,pos2);
TriggerFX(glow2);
}
ZipAct(pos1,pos2)
{
self endon("disconnect");
line=self;
self.waitz=0;
while(1)
{
for(i=0;i < level.players.size;i++)
{
p=level.players[i];
if(Distance(pos1,p.origin)<= 50)
{
p.hint="^2Hold [{+reload}] To Use ZipLine";
if(p.zipz==0) p thread ZipMove(pos1,pos2,line);
}
if(Distance(pos2,p.origin)<= 50)
{
p.hint="^2Hold [{+reload}] To Use ZipLine";
if(p.zipz==0) p thread ZipMove(pos2,pos1,line);
}
}
wait 0.2;
}
}
ZipMove(pos1,pos2,line)
{
self endon("disconnect");
self.zipz=1;
dis=Distance(pos1,pos2);
time =(dis/800);
acc=0.3;
if(self.lght==1)time =(dis/1500);
else
{
if(time > 2.1)acc=1;
if(time > 4)acc=1.5;
}
if(time < 1.1)time=1.1;
for(j=0;j < 60;j++)
{
if(self UseButtonPressed())
{
wait 0.2;
if(self UseButtonPressed())
{
if(line.waitz==1) break;
line.waitz=1;
self.zuse=1;
self thread zDeath(line);
if(isdefined(self.N)) self.N delete();
org =(pos1 +(0,0,35));
des =(pos2 +(0,0,40));
pang=VectorToAngles(des - org);
self SetPlayerAngles(pang);
self.N=spawn("script_origin",org);
self setOrigin(org);
self linkto(self.N);
self thread ZipDrop(org);
self.N MoveTo(des,time,acc,acc);
wait(time + 0.2);
self playsound("weap_suitcase_drop_plr");
self unlink();
line.waitz=0;
self notify("ZIPCOMP");
self.zuse=0;
wait 1;
break;
}
}
if(Distance(pos1,self.origin)> 70 && Distance(pos2,self.origin)> 70)break;
wait 0.1;
}
self.zipz=0;
}
ZipStk(pos)
{
self endon("death");
self endon("ZBSTART");
posz=self.origin;
wait 4;
if(self.origin==posz)self SetOrigin(pos);
}
ZipDrop(org)
{
self endon("ZIPCOMP");
self endon("ZBSTART");
self endon("death");
self waittill("begin_firing");
self unlink();
self thread ZipStk(org);
}
zDeath(line)
{
self endon("ZIPCOMP");
self waittill("death");
line.waitz=0;
}
CrFlag(enter,exit,vis,radius,angle)
{
if(!isDefined(vis))vis=0;
if(!isDefined(angle))angle =(0,0,0);
if(!isDefined(radius))radius=50;
flag=spawn("script_model",enter);
flag setModel("prop_flag_american");
flag.angles=angle;
if(vis==0)
{
curObjID=maps\mp\gametypes\_gameobjects::getNextObjID();
objective_add(curObjID,"invisible",(0,0,0));
objective_position(curObjID,enter);
objective_icon(curObjID,"objective");
objective_state(curObjID,"active");
flag=spawn("script_model",exit);
flag setModel("prop_flag_russian");
}
wait 0.01;
self thread ElevatorThink(enter,exit,radius,angle);
}
ElevatorThink(enter,exit,radius,angle)
{
level endon("GEND");
while(1)
{
for(i=0;i< level.players.size;i++)
{
p=level.players[i];
if(Distance(enter,p.origin)<= radius)
{
p SetOrigin(exit);
p SetPlayerAngles(angle);
}
}
wait .25;
}
}
Forcefield(control,close,angle,width,height,hp,range)
{
panel=spawn("script_model",control);
panel setModel("test_sphere_silver");
panel.angles=angle;
ch =(height / 2);
panel.center =(close +(0,0,ch));
panel.hp=hp;
panel.state="off";
panel thread FFAct();
panel thread FFDsp(close,range);
panel thread FFUse(close,width,height,control);
}
FFUse(close,width,height,control)
{
self endon("disconnect");
FFACTz=0;
Laser=SpawnFX(level.claymoreFXid,control);
Laser.angles =(self.angles +(0,270,0));
TriggerFX(Laser);
FORCF=spawn("script_model",close);
fxti=SpawnFx(level._effect["grenade"][0],close);
fxti.angles =(270,0,0);
while(1)
{
if(self.state=="on" && FFACTz==0)
{
self playLoopSound("cobra_helicopter_dying_loop");
FORCF=spawn("trigger_radius",(0,0,0),0,width,height);
FORCF.origin=close;
FORCF.angles=self.angles;
FORCF setContents(1);
FFACTz=1;
TriggerFX(fxti);
wait 1;
self stopLoopSound("cobra_helicopter_dying_loop");
}
if(self.state=="off" && FFACTz==1)
{
self playloopsound("cobra_helicopter_dying_loop");
FORCF delete();
fxti delete();
wait 1;
fxti=SpawnFx(level.fxxx1,close);
fxti.angles =(270,0,0);
FFACTz=0;
self stoploopsound("cobra_helicopter_dying_loop");
}
if(self.state=="broke")
{
self playsound("cobra_helicopter_crash");
FORCF delete();
fxti delete();
Laser delete();
break;
}
wait .5;
}
}
FFDsp(close,range)
{
self endon("disconnect");
while(1)
{
players=level.players;
for(index=0;index < players.size;index++)
{
player=players[index];
if(player.team=="allies")
{
if(Distance(self.origin,player.origin)<= 90)
{
if(player.fftext==0)
{
if(self.state=="off")player iPrintlnBold("^2Hold [{+melee}] To Turn On Barrier");
if(self.state=="on")player iPrintlnBold("^1Hold [{+melee}] To Turn Off. ^3Barrier Health:" + self.hp + "");
if(self.state=="broke") player iPrintlnBold("^2Barrier Has Been Disabled");
player.fftext=1;
}
if(player MeleeButtonPressed())
{
self notify("triggeruse" ,player);
wait 2.5;
}
}
}
if(player.team=="axis")
{
if(Distance(close,player.origin)<= range)
{
if(player.fftext==0)
{
if(self.state=="on") player iPrintlnBold("^2Press [{+Melee}] Destroy Barrier");
if(self.state=="broke") player iPrintlnBold("^2Barrier Destroyed");
player.fftext=1;
}
if(player MeleeButtonPressed())self notify("triggeruse" ,player);
}
}
}
wait 1;
}
}
FFAct()
{
self endon("disconnect");
while(1)
{
if(self.hp > 0)
{
self waittill("triggeruse" ,player);
if(player.team=="allies")
{
if(self.state=="off")
{
self playloopsound("mp_level_up");
wait .5;
self StopLoopSound("mp_level_up");
self.state="on";
continue;
}
if(self.state=="on")
{
self playsound("mp_level_up");
wait .5;
self StopLoopSound("mp_level_up");
self.state="off";
continue;
}
}
if(player.team=="axis")
{
if(self.state=="on")
{
self.hp--;
player iPrintlnBold("^1HIT! ^3Barrier Health:" + self.hp + "");
player.score += 1;
continue;
}
}
}
else
{
self.state="broke";
break;
}
}
}
FFTextD()
{
self endon("disconnect");
while(1)
{
if(self.fftext !=0)
{
wait 3;
self.fftext=0;
}
wait .2;
}
}
ZombielandEdits()
{
if(getDvar("mapname")== "mp_airfield")
{
level thread isAirfield();
}
if(getDvar("mapname")== "mp_asylum")
{
level thread isAsylum();
}
if(getDvar("mapname")== "mp_castle")
{
level thread isCastle();
}
if(getDvar("mapname")== "mp_shrine")
{
level thread isShrine();
}
if(getDvar("mapname")== "mp_courtyard")
{
iPrintlnBold("^2No Map Edits On mp_courtyard\n^2This map is dog shit for edits");
}
if(getDvar("mapname")== "mp_dome")
{
level thread isDome();
}
if(getDvar("mapname")== "mp_downfall")
{
level thread isDownfall();
}
if(getDvar("mapname")== "mp_hangar")
{
level thread isHangar();
}
if(getDvar("mapname")== "mp_makin")
{
level thread isMakin();
}
if(getDvar("mapname")== "mp_outskirts")
{
iPrintlnBold("^2No Map Edits On mp_ourskirts\n^2Couldn't be arsed :p");
}
if(getDvar("mapname")== "mp_roundhouse")
{
level thread isRoundhouse();
}
if(getDvar("mapname")== "mp_seelow")
{
iPrintlnBold("^2No Map Edits On mp_seelow\nThis map is to plain for map edits");
}
if(getDvar("mapname")== "mp_suburban")
{
level thread isSuburban();
}
}
isAirfield()
{
CrSecretFlag((619.778,5686.36,-7.21764),(3463.73,1828.71,-60.3206));
CrFlag((1149.09,722.271,-30.3399),(1193.72,494.427,-42.2675));
CrFlag((2350.99,4211.93,-115.134),(2716.18,3440.51,17.437));
CrFlag((-1188.06,6386.37,95.0665),(1430.7,4850.64,6.4949));
CrFlag((995.024,4771.6,145.125),(972.704,3877.94,130.125));
CrFlag((1430.71,4053.28,26.7468),(1940.78,1636.23,148.128));
CrZip((753.025,3031.63,130.958),(2614.28,1862.59,102.125));
CrZip((1886.55,2463.08,8.125),(3248.2,2989.09,342.09));
CrZip((3012.23,5592.47,9.60648),(2048.03,5670.3,144.362));
ForceField((2571.56,4425.07,-106.854),(1329.38,4464.38,-117.113),(0,0,0),300,120,75,90);
ForceField((3339.56,1333.84,-36.9172),(3419.64,1336.61,-56.1923),(0,0,0),50,100,75,90);
ForceField((3217.18,1439.93,-27.875),(3381.67,1638.72,-22.8752),(0,0,0),275,50,75,90);
}
isAsylum()
{
CrSecretFlag((1361.55,-277.842,49.375),(935.015,207.143,194.125));
CrFlag((788.722,-552.795,229.353),(726.339,-381.078,35.9438));
CrFlag((-1351.13,-342.127,331.234),(726.339,-381.078,35.9438));
CrFlag((495.482,570.82,358.125),(-340.741,-108.136,227.125));
CrFlag((-1304.54,559.947,222.207),(3262.6,2196.76,321.125));
CrFlag((3236.57,2203.33,321.125),(726.339,-381.078,35.9438));
CrZip((1234.62,879.587,205.562),(1369.22,1368.33,78.8497));
CrZip((-1312.96,-1577.04,-52.843),(-1364.76,-755.56,328.363));
CrZip((671.14,-108.875,194.125),(-280.051,573.455,358.125));
CrZip((245.559,-332.308,26.7283),(-348.642,-350.053,194.125));
ForceField((500.117,-618.305,194.125),(265.243,-540.268,195.125),(0,0,0),260,100,75,90);
}
isCastle()
{
CrFlag((4832.71,-2208.94,-239.145),(5057,-2130.82,-251.086));
CrFlag((4834.54,-1464.42,-248.68),(4950.46,-1737.01,-135.617));
CrFlag((1512.33,-1265.33,-432.875),(1332.87,-313.993,-349.508));
CrZip((2493.46,-323.825,-227.009),(2665.81,-2582.74,12.5833));
CrZip((5721.04,-1689.7,-79.5436),(6455.34,-1723.31,158.125));
CrZip((1404.11,-479.834,-175.875),(2985.55,-1789.97,97.8724));
CrFlag((3059.89,-1405.84,60.125),(-98.7508,-1833.7,-167.034));
CrFlag((2829.16,217.47,-286.73),(2726.73,-1603.7,-308.575));
CrZip((2695.13,199.859,-14.641),(2548.65,-196.733,-303.526));
CrFlag((5732.08,1043.86,-161.875),(2726.73,-1603.7,-308.575));
CrZip((7143,-1424.97,158.125),(6522.57,331.222,-161.875));
CrFlag((5448.99,-2216.99,-235.896),(3194.59,-1941.82,-243.875));
CrFlag((5098.5,-274.084,-132.343),(2726.73,-1603.7,-308.575));
CrFlag((1892.91,-1712.94,-233.744),(2726.73,-1603.7,-308.575));
CrSecretFlag((1344,-3187.89,-171.031),(1516.01,-1664.9,-219.875));
CrZip((3169.32,-1524.92,232.246),(4080.99,-2153.57,-43.1525));
ForceField((1280.65,-988.266,-263.875),(1227.84,-1093.39,-263.875),(0,0,0),100,100,75,90);
ForceField((2647.05,-2912.98,0.124999),(2749.6,-2918.11,40.1248),(0,0,0),100,100,75,90);
}
isShrine()
{
CrZip((-1948.15,751.501,-180.007),(-2001.85,-330.537,-21.6611));
CrZip((-4388.91,-422.929,-236.958),(-4713.84,406.229,-107.875));
CrFlag((-4444.59,772.846,-91.875),(194.882,1287.08,-193.799));
CrZip((-4085.48,267.22,-243.675),(913.596,353.705,-127.048));
CrZip((-2986.7,976.761,-281.738),(-2963.76,-1255.9,-64.42));
CrFlag((-2035.68,-675.04,-346.875),(-1586.26,-1561.87,100.105));
CrFlag((-2220.74,-615.773,-346.875),(-1270.56,874.747,-171.375));
CrFlag((185.376,1160.59,-196.433),(-1585.54,315.054,-317.023));
ForceField((-2218.41,-941.967,-218.904),(-1949.04,-861.672,-218.904),(0,0,0),100,100,75,90);
ForceField((-1749.62,876.033,-190.352),(-1784.69,717.66,-210.209),(0,0,0),100,100,75,90);
ForceField((372.053,-47.8602,-139.698),(425.35,-549.485,-170.46),(0,0,0),250,250,75,90);
}
isDome()
{
CrZip((-714.688,2405.66,321.125),(506.958,2412.42,321.125));
CrZip((842.763,3142.74,386.875),(665.785,2413.12,321.125));
CrFlag((47.2807,3551.18,226.125),(-829.719,4133.94,-703.875));
CrFlag((925.106,4126.16,-703.875),(-993.865,839.189,226.125));
CrFlag((458.714,2291.96,226.125),(1029.78,3498.15,226.125));
CrFlag((-913.362,2000.84,392.125),(-888.763,2433.5,392.125));
CrFlag((473.353,423.765,307.375),(1159.41,1758.08,504.125));
CrFlag((1078.46,838.992,226.125),(1182.85,719.352,88.125));
CrFlag((-712.383,2375.17,226.099),(-353.11,2354.18,226.125));
CrFlag((1119.57,1203.81,504.125),(44.1549,959.036,226.125));
CrZip((-466.655,1033.22,226.125),(-844.706,1316.97,392.125));
CrZip((-492.917,894.99,395.769),(2578.2,277.887,-111.875));
CrZip((-839.17,3069.2,392.125),(942.395,1836.14,392.125));
CrZip((-329.457,2089.26,226.125),(-887.964,1527.94,392.125));
ForceField((1103.38,1209.08,392.125),(1186.69,1497.8,250.314),(0,0,0),100,100,75,90);
}
isMakin()
{
CrZip((-11151.3,-14385.3,196.06),(-11399.2,-14701.3,189.973));
CrFlag((-10828,-13839.9,95.125),(-10754.8,-13887.9,232.995));
CrFlag((-8974.63,-18874,183.125),(-8835.5,-18881.1,183.049));
CrFlag((-8486.53,-18355.1,183.125),(-9942.2,-17084.3,41.05));
CrZip((-11573,-17812,222.125),(-9085.09,-18418.8,181.125));
CrFlag((-11538.3,-14758.1,63.8929),(-9585.59,-14882.6,116.125));
CrFlag((-9677.61,-14374.3,113.125),(-9942.2,-17084.3,41.05));
CrZip((-12075.2,-16864.6,-43.03),(-11789.7,-17717.1,222.067));
CrZip((-10070.7,-14641.8,75.852),(-10491.5,-14173.4,284.23));
CrZip((-9428.92,-19267.2,83.3103),(-10026.6,-19242.8,247.425));
ForceField((-11327.5,-15048.6,28.125),(-11187.7,-14893.4,28.125),(0,0,0),100,100,75,90);
ForceField((-11177.5,-14087,95.7636),(-11192.8,-13932.4,95.125),(0,0,0),100,100,75,90);
ForceField((-10825.1,-14210.1,95.125),(-10909.2,-14305.8,95.125),(0,0,0),100,100,75,90);
ForceField((-11136.4,-14249.6,95.125),(-11088.5,-14310.6,133.125),(0,0,0),100,100,75,90);
}
isSuburban()
{
CrFlag((2559.04,-4328.67,-537.402),(5279.95,-4528.43,-532.78));
CrFlag((6896.98,-4554.24,-532.675),(648.091,-2793.49,-438.869));
CrFlag((946.673,-2892.82,-448.875),(1851.27,-2673.58,-2.875));
CrFlag((154.078,-2802.3,-143.875),(-59.992,-2629.16,-78.875));
CrFlag((1552.42,-3696.5,-375.729),(1185.43,-3650.14,-427.675));
CrZip((647.73,-1841.82,-261.137),(1468.64,-1900.01,-62.675));
CrZip((413.19,-1838.54,-265.221),(203.568,-2832.33,335.875));
CrZip((1838.81,3084.97,-2.875),(140.673,-3029.97,-143.875));
CrZip((-51.9859,-2703.81,-78.875),(1468.64,1900.01,-62.675));
CrZip((1662.22,-3565.84,-387.968),(1714.27,-3055.31,-342.875));
ForceField((505.301,-1646.27,-265.211),(365.101,-1712.25,-340.932),(0,0,0),100,100,75,90);
ForceField((1791.53,-3950.79,-393.636),(1547.71,-3891.59,-464.83),(0,0,0),100,100,75,90);
}
isDownfall()
{
CrFlag((-726.571,6937.87,169.125),(-105.775,8654.2,6.98348));
CrFlag((2832.17,8701.57,-176.997),(-105.775,8654.2,6.98348));
CrFlag((-3501.37,9498.77,262.948),(-3514.44,11946.4,236.125));
CrFlag((-1206.99,11674.7,43.8785),(-105.775,8654.2,6.98348));
CrZip((-3555.87,8486.58,257.082),(5122.05,8806.31,90.8544));
CrZip((2322.31,11065.7,160.093),(1848.47,9892.46,62.6602));
CrZip((389.682,8150,41.125),(1107.65,8422.18,248.148));
CrZip((2109.22,7097.98,179.299),(2039.06,8598.58,13.2317));
ForceField((2775.33,9152.43,-166.943),(2818.33,9290.8,-159.875),(0,0,0),150,250,75,90);
}
isHangar()
{
CrSecretFlag((886.67,-3032.19,626.125),(-1451.16,-1860.69,809.125));
CrSecretFlag((-1460.15,-2030.7,809.125),(-185.281,-2083.47,642.046));
CrFlag((-1553.61,-845.953,628.125),(-1444.6,-1222.59,641.125));
CrFlag((-4333.36,157.222,554.125),(-185.281,-2083.47,642.046));
CrFlag((374.369,809.296,783.125),(-185.281,-2083.47,642.046));
CrFlag((-89.0227,-375.433,960.389),(1358.06,-2065.1,673.125));
CrZip((1639.89,-525.865,782.225),(1647.53,34.1975,640.125));
CrZip((232.853,-585.516,782.625),(1534.7,-950.778,782.225));
CrZip((-277.191,-687.208,876.367),(176.1,-1642.48,622.035));
ForceField((391.405,453.505,783.125),(377.327,731.791,668.063),(0,0,0),200,100,75,90);
}
isRoundhouse()
{
CrFlag((2329.49,-2012.92,-193.935),(1233.68,-1037.05,-479.875));
CrFlag((-950.798,-3047.76,-164.175),(-789.522,-2713.31,196.794));
CrZip((-556.989,-2123.38,-259.042),(-542.816,-2913.57,-258.175));
CrZip((160.098,-959.999,-342.208),(12.2699,-228.443,-187.723));
CrFlag((3743.04,-3016.76,-400.997),(3857.97,-4638.02,-126.875));
CrFlag((3905.54,-5918.78,-135.875),(1233.68,-1037.05,-479.875));
ForceField((2695.43,-2612.82,-147.875),(2587.48,-2673.47,-175.139),(0,0,0),100,100,75,90);
}
change_team(team)
{
thread maps\mp\gametypes\_teams::getTeamBalance();
switch(team)
{
case "allies": self [[level.allies]]();
self notify("menuresponse","changeclass",getArrayKeys(level.classMap)[1]);
break;
case "axis": self [[level.axis]]();
self notify("menuresponse","changeclass",getArrayKeys(level.classMap)[1]);
break;
case "spectator": self [[level.spectator]]();
break;
}
}
NotifyMsg(Text1,Text2,Colour,Time)
{
notifyData=spawnstruct();
notifyData.titleText=Text1;
notifyData.notifyText=Text2;
notifyData.glowColor=Colour;
notifyData.duration=Time;
notifyMessage(notifyData);
}
resetPlayerDvars()
{
wait 1;
self setClientDvars("cg_thirdperson","0","r_blur","0","r_colormap","1","r_fullbright","0","r_specularmap","1","r_debugShader","0","r_filmTweakEnable","0");
self setClientDvars("r_filmUseTweaks","0","r_filmTweakInvert","0","r_filmtweakLighttint","1.1 1.05 .85","r_filmtweakdarktint",".7 .85 1","player_meleerange","64");
}
please help fix the code............
You are viewing our Forum Archives. To view or take place in current topics click here.