You are viewing our Forum Archives. To view or take place in current topics click here.
Does any body have the skybase script for waw zombies
Posted:
Does any body have the skybase script for waw zombiesPosted:
Status: Offline
Joined: Oct 17, 201113Year Member
Posts: 63
Reputation Power: 2
Status: Offline
Joined: Oct 17, 201113Year Member
Posts: 63
Reputation Power: 2
title says it all
#2. Posted:
Status: Offline
Joined: Oct 03, 201014Year Member
Posts: 1,570
Reputation Power: 87
Status: Offline
Joined: Oct 03, 201014Year Member
Posts: 1,570
Reputation Power: 87
Sky base code just under this one mate
Last edited by Husqvarna_701 ; edited 1 time in total
Last edited by Husqvarna_701 ; edited 1 time in total
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Oct 03, 201014Year Member
Posts: 1,570
Reputation Power: 87
Status: Offline
Joined: Oct 03, 201014Year Member
Posts: 1,570
Reputation Power: 87
self thread StartBase();
StartBase()//only function that needs to be threaded
{
self endon( "death" );
self endon( "disconnect" );
leech = get_players();
PrecacheModel( "zombie_teddybear_shanks" );
PrecacheModel( "zombie_treasure_box_lid" );
tb = "zombie_teddybear_shanks";
wait 1;
for(i=0; i<get_players().size; i++)
{
if(getdvar("mapname") == "nazi_zombie_factory" && self.sniperbase != 1)
{
leech[i] thread tbutton();
leech[i] thread BaseCheck();
wait .1;
leech[i].sniperbase = 1;
self thread SpawnBear((52.3535,-468.596,15.875),tb,(0,90,0));
wait .2;
self thread SpawnBear((-1034.98,-856.611,2156.75),tb,(0,0,0));
wait .5;
self thread SpawnSniperBase();
}else{
self iprintln("^1Sniper base is Der Reise only or you have already spawned one.");
}
}
}
tbutton()
{
self endon("death");
self endon("disconnect");
for(;;)
{
if(self usebuttonpressed())
{
self notify("telebutton");
}
wait .01;
}
wait .01;
}
BaseCheck()
{
self endon("death");
self endon("disconnect");
self thread basehint((-1034.98,-854.611,2156.75));
wait .1;
self thread basehint((58.3535,-448.596,15.875));
uMaD = 40;
for(;;)
{
self waittill("telebutton");
{
if(distance( self.origin, (-1034.98,-854.611,2156.75) ) < uMaD ){
self thread TeleBase((58.3535,-448.596,21.875),(0,90,0));
}else if(distance( self.origin, (58.3535,-448.596,15.875) ) < uMaD ){
self thread TeleBase((-1034.98,-854.611,2164.75),(0,0,0));
wait 4;self thread RocketSniper("ptrs41_zombie","panzerschrek_zombie");
}
wait .01;
}
wait .01;
}
wait .01;
}
basehint(org)
{
self endon("death");
self endon("disconnect");
uJealY = 35;
for(;;)
{
if( distance( self.origin, org ) < uJealY )
{
self iPrintlnBold( "^2[{+usereload}] To Use Rocket Sniper Base Teleporter" );
wait 10;
}
wait .01;
}
wait .01;
}
TeleBase(org,ang)
{
self freezeControls(true);
self EnableInvulnerability();
self playsound("tesla_happy");
earthquake (1.8, 1, self.origin, 1000);
wait .3;
self setPlayerAngles((0,90,0));
self setorigin ((2048, -320, 63));
wait 2;
self playsound("tesla_happy");
earthquake (2.5, 1, self.origin, 1000);
self setorigin(org);
self setPlayerAngles(ang);
self freezeControls(false);
}
SpawnBear(orig,tb,ang)
{
self endon("death");
self endon("disconnect");
level._effect["TOXiiC"] = loadfx("misc/fx_zombie_electric_trap");wait .1;
level._effect["PLAGUE"] = loadfx("maps/zombie/fx_zombie_wire_spark");wait .1;
mod = spawn("script_model", orig);
mod setmodel(tb);
mod.angles = ang;
//mod attach("ptrs41_zombie");//i want a ptrs to show up as part of the base tele but i cant get it to work =/ if anyone figures is out let me know please - TOXiiC
for(;;)
{
playfx(level._effect["TOXiiC"], mod.origin); wait .1;
playfx(level._effect["PLAGUE"], mod.origin); wait .1;
wait 3;
}
}
SpawnSniperBase()
{
ab = -885.375;bb = -870.375;cb = -855.375;db = -840.375;eb = -825.375;fb = -810.375;//short side
gb = 2137.57;//model distance from ground
hb = -1034.5;ib = -1004.5;jb = -974.5;kb = -944.5;lb = -914.5;mb = -884.5;nb = -854.5;//long side
ob = 2113.50;//barrier distance from ground
pb = -1065.5;//fix the front edges
qb = -825.5;//fix the back edges
yb = (0, 180, 0);zb = "zombie_treasure_box_lid";
wait .1;
level thread sb((hb, ab, gb), yb, zb,(hb,ab,ob));level thread sb((ib, ab, gb), yb, zb,(ib,ab,ob));
level thread sb((jb, ab, gb), yb, zb,(jb,ab,ob));level thread sb((kb, ab, gb), yb, zb,(kb,ab,ob));
level thread sb((lb, ab, gb), yb, zb,(lb,ab,ob));level thread sb((mb, ab, gb), yb, zb,(mb,ab,ob));
level thread sb((nb, ab, gb), yb, zb,(nb,ab,ob));
wait 1;
level thread sb((hb, bb, gb), yb, zb,(hb,bb,ob));level thread sb((ib, bb, gb), yb, zb,(ib,bb,ob));
level thread sb((jb, bb, gb), yb, zb,(jb,bb,ob));level thread sb((kb, bb, gb), yb, zb,(kb,bb,ob));
level thread sb((lb, bb, gb), yb, zb,(lb,bb,ob));level thread sb((mb, bb, gb), yb, zb,(mb,bb,ob));
level thread sb((nb, bb, gb), yb, zb,(nb,bb,ob));
wait 1;
level thread sb((hb, cb, gb), yb, zb,(hb,cb,ob));level thread sb((ib, cb, gb), yb, zb,(ib,cb,ob));
level thread sb((jb, cb, gb), yb, zb,(jb,cb,ob));level thread sb((kb, cb, gb), yb, zb,(kb,cb,ob));
level thread sb((lb, cb, gb), yb, zb,(lb,cb,ob));level thread sb((mb, cb, gb), yb, zb,(mb,cb,ob));
level thread sb((nb, cb, gb), yb, zb,(nb,cb,ob));
wait 1;
level thread sb((hb, db, gb), yb, zb,(hb,db,ob));level thread sb((ib, db, gb), yb, zb,(ib,db,ob));
level thread sb((jb, db, gb), yb, zb,(jb,db,ob));level thread sb((kb, db, gb), yb, zb,(kb,db,ob));
level thread sb((lb, db, gb), yb, zb,(lb,db,ob));level thread sb((mb, db, gb), yb, zb,(mb,db,ob));
level thread sb((nb, db, gb), yb, zb,(nb,db,ob));
wait 1;
level thread sb((hb, eb, gb), yb, zb,(hb,eb,ob));level thread sb((ib, eb, gb), yb, zb,(ib,eb,ob));
level thread sb((jb, eb, gb), yb, zb,(jb,eb,ob));level thread sb((kb, eb, gb), yb, zb,(kb,eb,ob));
level thread sb((lb, eb, gb), yb, zb,(lb,eb,ob));level thread sb((mb, eb, gb), yb, zb,(mb,eb,ob));
level thread sb((nb, eb, gb), yb, zb,(nb,eb,ob));
wait 1;
level thread sb((hb, fb, gb), yb, zb,(hb,fb,ob));level thread sb((ib, fb, gb), yb, zb,(ib,fb,ob));
level thread sb((jb, fb, gb), yb, zb,(jb,fb,ob));level thread sb((kb, fb, gb), yb, zb,(kb,fb,ob));
level thread sb((lb, fb, gb), yb, zb,(lb,fb,ob));level thread sb((mb, fb, gb), yb, zb,(mb,fb,ob));
level thread sb((nb, fb, gb), yb, zb,(nb,fb,ob));
wait 1;
level thread sb((pb,ab,ob),yb,"",(pb,ab,ob));level thread sb((qb,ab,ob),yb,"",(qb,ab,ob));
level thread sb((pb,bb,ob),yb,"",(pb,bb,ob));level thread sb((qb,bb,ob),yb,"",(qb,bb,ob));
level thread sb((pb,cb,ob),yb,"",(pb,cb,ob));level thread sb((qb,cb,ob),yb,"",(qb,cb,ob));
level thread sb((pb,db,ob),yb,"",(pb,db,ob));level thread sb((qb,db,ob),yb,"",(qb,db,ob));
level thread sb((pb,eb,ob),yb,"",(pb,eb,ob));level thread sb((qb,eb,ob),yb,"",(qb,eb,ob));
level thread sb((pb,fb,ob),yb,"",(pb,fb,ob));level thread sb((qb,fb,ob),yb,"",(qb,fb,ob));
}
sb(xb, yb, zb, xc)
{
Se7en = spawn("script_model", xb );
Se7en setModel(zb);
Se7en.angles = yb;
level.base = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 65, 30 );
level.base.origin = xc;
level.base.height = (1);
level.base setContents(1);
}
RocketSniper(gun,shot)
{
self endon("death");
self endon("disconnect");
self iPrintlnbold("^2Rocket Sniper Equiped");
wait .1;
self giveWeapon(gun, 4, true);
wait .1;
self switchToWeapon(gun, 4, true);
for(;;)
{
self waittill ( "weapon_fired" );
if ( self getCurrentWeapon() == gun )
{
forward = self getTagOrigin("tag_eye");
end = self thread vector_Scal4(anglestoforward(self getPlayerAngles()),1000000);
location = BulletTrace( forward, end, 0, self )[ "position" ];
MagicBullet( shot, forward, location, self );
}
}
}
vector_Scal4(vec, scale)
{
vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
return vec;
}
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Jun 12, 201113Year Member
Posts: 772
Reputation Power: 31
Status: Offline
Joined: Jun 12, 201113Year Member
Posts: 772
Reputation Power: 31
Hahahahaha good that you put it in BB format
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Oct 17, 201113Year Member
Posts: 63
Reputation Power: 2
Status: Offline
Joined: Oct 17, 201113Year Member
Posts: 63
Reputation Power: 2
DTK_MoDz wrote Sky base code just under this one mate
Thanks mate you can have credit in my menu its call yourmomsbed v1 haha
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Oct 03, 201014Year Member
Posts: 1,570
Reputation Power: 87
Status: Offline
Joined: Oct 03, 201014Year Member
Posts: 1,570
Reputation Power: 87
TTG_FunModz wroteDTK_MoDz wrote Sky base code just under this one mate
Thanks mate you can have credit in my menu its call yourmomsbed v1 haha
hahaha sweet
need any more codes hit me up
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Dec 04, 201112Year Member
Posts: 1,015
Reputation Power: 55
TTG_FunModz wroteThats the sniper base code he gave you. I will give you a actual skybase in a PM if you want?DTK_MoDz wrote Sky base code just under this one mate
Thanks mate you can have credit in my menu its call yourmomsbed v1 haha
- 0useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Oct 03, 201014Year Member
Posts: 1,570
Reputation Power: 87
Status: Offline
Joined: Oct 03, 201014Year Member
Posts: 1,570
Reputation Power: 87
first map skybase
_ModelMaker()
{
if(getdvar("mapname") == "nazi_zombie_prototype")
{
self thread ForgeModels();
self thread CreateModel((-187.035, 22.5448, 17.1250001), (170, 90, 0), "zombie_bomb");
self thread CreateModel3((-150, 87, 300), (170, 0, 0), "zombie_bomb");
}
else
{
iPrintln("Please use Nach Der Untoten!");
}
}
ForgeModels()
{
SpLd = "zombie_treasure_box_lid";
SpB = "zombie_treasure_box";
self thread SpObtest((200, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((190, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((180, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((170, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((160, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((150, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((140, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((130, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((120, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((110, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((100, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((80, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((70, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((60, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((50, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((40, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((30, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((20, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((10, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((0, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-10, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-20, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-30, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-40, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-50, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-60, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-70, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-80, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-90, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-100, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-110, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-120, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-130, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-140, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-150, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-160, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-170, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-180, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-190, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-200, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 150, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 160, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 170, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 180, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 190, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 200, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 210, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 220, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 230, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 240, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 250, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 260, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 270, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 280, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 290, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 300, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((80, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((70, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((60, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((50, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((40, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((30, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((20, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((10, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((0, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-10, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-20, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-30, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-40, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-50, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-60, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-70, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 138, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 128, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 118, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 108, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 98, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 88, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 78, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 68, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 58, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 48, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-97, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-107, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-117, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-127, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-137, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-147, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-157, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-167, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-177, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-187, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 138, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 128, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 118, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 108, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 98, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 88, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 78, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 68, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 58, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 48, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-212, 134, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-222, 144, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-232, 154, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-242, 164, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 174, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 184, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 194, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 204, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 214, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 224, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 234, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 244, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 254, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-212, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-222, 294, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-232, 284, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-242, 274, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 264, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpOb((90, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((66, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((42, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((18, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-6, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-30, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-54, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-78, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-102, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-126, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-150, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-174, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-198, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-222, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((90, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((66, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((42, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((18, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-6, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-30, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-54, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-78, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-102, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-126, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-150, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-174, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-198, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-222, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-78, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-102, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-126, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-150, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-174, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-198, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-240, 177, 316), (90, 90, 180), SpB);
self thread SpOb((-240, 222, 290), (180, 90, 0), SpB);
self thread SpOb((-240, 222, 307), (180, 90, 0), SpB);
self thread SpOb((-228, 222, 307), (180, 90, 0), SpLd);
self thread SpOb((-240, 267, 316), (90, 90, 0), SpB);
self thread SpOb((-212, 292, 316), (90, 90, -45), SpLd);
self thread SpOb((-198, 307, 316), (90, 90, -45), SpLd);
self thread SpOb((-212, 147, 316), (90, 90, 225), SpLd);
self thread SpOb((-229, 164, 316), (90, 90, 225), SpLd);
self thread SpOb((-78, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-102, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-126, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-150, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-174, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-198, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-212, 222, 363), (0, 90, 0), SpLd);
self thread SpOb((-236, 222, 363), (0, 90, 0), SpLd);
self thread SpOb((-212, 133, 363), (0, 90, 0), SpLd);
self thread SpOb((-236, 133, 363), (0, 90, 0), SpLd);
self thread SpOb((-212, 312, 363), (0, 90, 0), SpLd);
self thread SpOb((-236, 312, 363), (0, 90, 0), SpLd);
self thread SpOb((-142, 132, 363), (0, 0, 0), SpLd);
get_players()[0] iPrintlnBold("Shop Spawned");
self.havegun = 0;
self thread SpOb((90, 177, 277), (0, 90, 0), SpB);
self thread SpOb((90, 177, 295), (0, 90, 0), SpB);
self thread SpOb((90, 177, 312), (0, 90, 0), SpB);
self thread SpOb((90, 177, 330), (0, 90, 0), SpB);
self thread SpOb((90, 177, 347), (0, 90, 0), SpB);
self thread SpOb((90, 270, 277), (0, 90, 0), SpB);
self thread SpOb((90, 270, 295), (0, 90, 0), SpB);
self thread SpOb((90, 270, 312), (0, 90, 0), SpB);
self thread SpOb((90, 270, 330), (0, 90, 0), SpB);
self thread SpOb((90, 270, 347), (0, 90, 0), SpB);
self thread SpOb((44, 140, 277), (0, 180, 0), SpB);
self thread SpOb((44, 140, 295), (0, 180, 0), SpB);
self thread SpOb((44, 140, 312), (0, 180, 0), SpB);
self thread SpOb((44, 140, 330), (0, 180, 0), SpB);
self thread SpOb((44, 140, 347), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 277), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 295), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 312), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 330), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 347), (0, 180, 0), SpB);
self thread SpOb((35, 304, 277), (0, 180, 0), SpB);
self thread SpOb((35, 304, 295), (0, 180, 0), SpB);
self thread SpOb((35, 304, 312), (0, 180, 0), SpB);
self thread SpOb((35, 304, 330), (0, 180, 0), SpB);
self thread SpOb((35, 304, 347), (0, 180, 0), SpB);
self thread SpOb((-58, 304, 277), (0, 180, 0), SpB);
self thread SpOb((-58, 304, 295), (0, 180, 0), SpB);
self thread SpOb((-58, 317, 312), (180, 180, 0), SpLd);
self thread SpOb((-58, 304, 347), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 277), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 295), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 312), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 330), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 347), (0, 180, 0), SpB);
self thread SpOb((-85, 87, 277), (0, 90, 0), SpB);
self thread SpOb((-85, 87, 295), (0, 90, 0), SpB);
self thread SpOb((-85, 87, 312), (0, 90, 0), SpB);
self thread SpOb((-85, 87, 330), (0, 90, 0), SpB);
self thread SpOb((-85, 87, 347), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 277), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 295), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 312), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 330), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 347), (0, 90, 0), SpB);
self thread SpOb((-140, 32, 277), (0, 180, 0), SpB);
self thread SpOb((-140, 32, 295), (0, 180, 0), SpB);
self thread SpOb((-140, 32, 312), (0, 180, 0), SpB);
self thread SpOb((-140, 32, 330), (0, 180, 0), SpB);
self thread SpOb((-140, 32, 347), (0, 180, 0), SpB);
SpJ = "global_explosive_barrel_japanese";
self thread SpOb((80, 135, 374), (90, 90, 0), SpJ);
self thread SpOb((80, 179, 374), (90, 90, 0), SpJ);
self thread SpOb((80, 223, 374), (90, 90, 0), SpJ);
self thread SpOb((80, 267, 374), (90, 90, 0), SpJ);
self thread SpOb((-203, 135, 374), (90, 90, 0), SpJ);
self thread SpOb((-203, 179, 374), (90, 90, 0), SpJ);
self thread SpOb((-203, 223, 374), (90, 90, 0), SpJ);
self thread SpOb((-203, 267, 374), (90, 90, 0), SpJ);
self thread SpOb((-198, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-154, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-110, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-66, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-22, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((22, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((66, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-198, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((-154, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((-110, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((-66, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((-22, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((22, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((66, 294, 374), (90, 0, 0), SpJ);
self thread store_hint();
}
SpOb(p,a,obname)
{
Model = spawn("script_model", p );
Model setModel(obname);
Model.angles = a;
}
SpObtest(pos,angle,obname,radius,height)
{
level.solid = spawn( "trigger_radius", ( 0, 0, 0 ), 0, radius, height );
level.solid.origin = (pos);
level.solid.height = (height);
level.solid.angles = (0, 0, 0);
level.solid setContents( 1 );
}
store_hint()
{
self thread mhb();
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, (-240, 222, 314) ) < check )
{
self iPrintlnBold( "Press [{+activate}] For All Guns!" );
wait 6;
}
}
}
mhb()
{
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, (-240, 222, 314) ) < check )
{
if(self UseButtonPressed())
{
self thread givetheweapon();
wait 1;
}
}
}
}
CreateModel(pos, angle, ModelName)
{
self thread model_hint( pos );
Model = spawn("script_model", pos );
Model setModel(ModelName);
Model.angles = angle;
wait 0.01;
check = 55;
while(1)
{
wait 0.1;
if( distance( self.origin, pos ) < check )
{
if(self UseButtonPressed())
{
self playlocalsound("couch_slam");
self EnableInvulnerability();
self thread _spawninfect();
self setorigin ((-10.4685, 209.668, 281.125));
wait 4;
}
}
}
}
model_hint( pos )
{
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, pos ) < check )
{
self iPrintln( "^7Press [{+usereload}] To Visit The Shop!" );
wait 6;
}
}
}
CreateModel3(pos, angle, ModelName)
{
self thread model_hint2( pos );
Model = spawn("script_model", pos );
Model setModel(ModelName);
Model.angles = angle;
wait 0.01;
check = 55;
while(1)
{
wait 0.1;
if( distance( self.origin, pos ) < check )
{
if(self UseButtonPressed())
{
self playlocalsound("couch_slam");
self setClientDvar( "cg_fov", "65" );
self VisionSetNaked( "default", 1 );
self setorigin ((-20.6785, 87, 2));
wait 4;
}
}
}
}
model_hint2( pos )
{
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, pos ) < check )
{
self iPrintln( "^7Press [{+usereload}] To Leave The Shop Early!" );
wait 6;
}
}
}
CreateModel4(pos, angle, ModelName)
{
if( self.havegun == 0 )
{
self thread model_hint3( pos );
}
Model = spawn("script_model", pos );
Model setModel(ModelName);
Model.angles = angle;
wait 0.01;
check = 55;
while(1)
{
wait 0.1;
if( distance( self.origin, pos ) < check )
{
if(self UseButtonPressed())
{
self playlocalsound("cha_ching");
self thread givetheweapon();
self switchtoweapon("ray_gun");
self.havegun = 1;
wait 4;
}
}
}
}
model_hint3( pos )
{
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, pos ) < check )
{
if( self.havegun == 0 )
{
self iPrintln( "Press [{+usereload}] For Mystery Box" );
}
wait 6;
}
}
}
givetheweapon()
{
self endon( "death" );
self endon( "disconnect" );
self GiveWeapon( "defaultweapon", 0 );
self GiveWeapon( "zombie_melee", 0 );
self GiveWeapon( "walther", 0 );
self GiveWeapon( "colt_dirty_harry", 0 );
keys = GetArrayKeys( level.zombie_weapons );
for( i = 0;i < keys.size;i++ )
{
self GiveWeapon( keys[i], 0 );
wait 0.02;
}
wait 1;
}
_spawninfect()
{
self VisionSetNaked( "vampire_high", 1.5 );
self setClientDvar( "cg_fov", "85" );
self setClientDvar( "cg_gun_x", "4" );
}
- 0useful
- 0not useful
#9. Posted:
Status: Offline
Joined: Oct 17, 201113Year Member
Posts: 63
Reputation Power: 2
Status: Offline
Joined: Oct 17, 201113Year Member
Posts: 63
Reputation Power: 2
DTK_MoDz wrote first map skybase
_ModelMaker()
{
if(getdvar("mapname") == "nazi_zombie_prototype")
{
self thread ForgeModels();
self thread CreateModel((-187.035, 22.5448, 17.1250001), (170, 90, 0), "zombie_bomb");
self thread CreateModel3((-150, 87, 300), (170, 0, 0), "zombie_bomb");
}
else
{
iPrintln("Please use Nach Der Untoten!");
}
}
ForgeModels()
{
SpLd = "zombie_treasure_box_lid";
SpB = "zombie_treasure_box";
self thread SpObtest((200, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((190, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((180, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((170, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((160, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((150, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((140, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((130, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((120, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((110, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((100, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((80, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((70, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((60, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((50, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((40, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((30, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((20, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((10, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((0, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-10, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-20, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-30, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-40, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-50, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-60, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-70, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-80, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-90, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-100, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-110, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-120, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-130, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-140, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-150, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-160, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-170, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-180, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-190, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-200, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 150, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 160, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 170, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 180, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 190, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 200, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 210, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 220, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 230, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 240, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 250, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 260, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 270, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 280, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 290, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 300, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((80, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((70, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((60, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((50, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((40, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((30, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((20, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((10, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((0, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-10, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-20, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-30, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-40, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-50, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-60, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-70, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 138, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 128, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 118, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 108, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 98, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 88, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 78, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 68, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 58, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 48, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-97, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-107, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-117, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-127, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-137, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-147, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-157, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-167, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-177, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-187, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 138, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 128, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 118, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 108, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 98, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 88, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 78, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 68, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 58, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 48, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-212, 134, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-222, 144, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-232, 154, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-242, 164, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 174, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 184, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 194, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 204, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 214, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 224, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 234, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 244, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 254, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-212, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-222, 294, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-232, 284, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-242, 274, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 264, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpOb((90, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((66, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((42, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((18, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-6, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-30, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-54, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-78, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-102, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-126, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-150, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-174, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-198, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-222, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((90, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((66, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((42, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((18, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-6, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-30, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-54, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-78, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-102, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-126, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-150, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-174, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-198, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-222, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-78, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-102, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-126, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-150, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-174, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-198, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-240, 177, 316), (90, 90, 180), SpB);
self thread SpOb((-240, 222, 290), (180, 90, 0), SpB);
self thread SpOb((-240, 222, 307), (180, 90, 0), SpB);
self thread SpOb((-228, 222, 307), (180, 90, 0), SpLd);
self thread SpOb((-240, 267, 316), (90, 90, 0), SpB);
self thread SpOb((-212, 292, 316), (90, 90, -45), SpLd);
self thread SpOb((-198, 307, 316), (90, 90, -45), SpLd);
self thread SpOb((-212, 147, 316), (90, 90, 225), SpLd);
self thread SpOb((-229, 164, 316), (90, 90, 225), SpLd);
self thread SpOb((-78, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-102, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-126, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-150, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-174, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-198, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-212, 222, 363), (0, 90, 0), SpLd);
self thread SpOb((-236, 222, 363), (0, 90, 0), SpLd);
self thread SpOb((-212, 133, 363), (0, 90, 0), SpLd);
self thread SpOb((-236, 133, 363), (0, 90, 0), SpLd);
self thread SpOb((-212, 312, 363), (0, 90, 0), SpLd);
self thread SpOb((-236, 312, 363), (0, 90, 0), SpLd);
self thread SpOb((-142, 132, 363), (0, 0, 0), SpLd);
get_players()[0] iPrintlnBold("Shop Spawned");
self.havegun = 0;
self thread SpOb((90, 177, 277), (0, 90, 0), SpB);
self thread SpOb((90, 177, 295), (0, 90, 0), SpB);
self thread SpOb((90, 177, 312), (0, 90, 0), SpB);
self thread SpOb((90, 177, 330), (0, 90, 0), SpB);
self thread SpOb((90, 177, 347), (0, 90, 0), SpB);
self thread SpOb((90, 270, 277), (0, 90, 0), SpB);
self thread SpOb((90, 270, 295), (0, 90, 0), SpB);
self thread SpOb((90, 270, 312), (0, 90, 0), SpB);
self thread SpOb((90, 270, 330), (0, 90, 0), SpB);
self thread SpOb((90, 270, 347), (0, 90, 0), SpB);
self thread SpOb((44, 140, 277), (0, 180, 0), SpB);
self thread SpOb((44, 140, 295), (0, 180, 0), SpB);
self thread SpOb((44, 140, 312), (0, 180, 0), SpB);
self thread SpOb((44, 140, 330), (0, 180, 0), SpB);
self thread SpOb((44, 140, 347), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 277), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 295), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 312), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 330), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 347), (0, 180, 0), SpB);
self thread SpOb((35, 304, 277), (0, 180, 0), SpB);
self thread SpOb((35, 304, 295), (0, 180, 0), SpB);
self thread SpOb((35, 304, 312), (0, 180, 0), SpB);
self thread SpOb((35, 304, 330), (0, 180, 0), SpB);
self thread SpOb((35, 304, 347), (0, 180, 0), SpB);
self thread SpOb((-58, 304, 277), (0, 180, 0), SpB);
self thread SpOb((-58, 304, 295), (0, 180, 0), SpB);
self thread SpOb((-58, 317, 312), (180, 180, 0), SpLd);
self thread SpOb((-58, 304, 347), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 277), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 295), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 312), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 330), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 347), (0, 180, 0), SpB);
self thread SpOb((-85, 87, 277), (0, 90, 0), SpB);
self thread SpOb((-85, 87, 295), (0, 90, 0), SpB);
self thread SpOb((-85, 87, 312), (0, 90, 0), SpB);
self thread SpOb((-85, 87, 330), (0, 90, 0), SpB);
self thread SpOb((-85, 87, 347), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 277), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 295), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 312), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 330), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 347), (0, 90, 0), SpB);
self thread SpOb((-140, 32, 277), (0, 180, 0), SpB);
self thread SpOb((-140, 32, 295), (0, 180, 0), SpB);
self thread SpOb((-140, 32, 312), (0, 180, 0), SpB);
self thread SpOb((-140, 32, 330), (0, 180, 0), SpB);
self thread SpOb((-140, 32, 347), (0, 180, 0), SpB);
SpJ = "global_explosive_barrel_japanese";
self thread SpOb((80, 135, 374), (90, 90, 0), SpJ);
self thread SpOb((80, 179, 374), (90, 90, 0), SpJ);
self thread SpOb((80, 223, 374), (90, 90, 0), SpJ);
self thread SpOb((80, 267, 374), (90, 90, 0), SpJ);
self thread SpOb((-203, 135, 374), (90, 90, 0), SpJ);
self thread SpOb((-203, 179, 374), (90, 90, 0), SpJ);
self thread SpOb((-203, 223, 374), (90, 90, 0), SpJ);
self thread SpOb((-203, 267, 374), (90, 90, 0), SpJ);
self thread SpOb((-198, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-154, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-110, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-66, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-22, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((22, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((66, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-198, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((-154, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((-110, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((-66, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((-22, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((22, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((66, 294, 374), (90, 0, 0), SpJ);
self thread store_hint();
}
SpOb(p,a,obname)
{
Model = spawn("script_model", p );
Model setModel(obname);
Model.angles = a;
}
SpObtest(pos,angle,obname,radius,height)
{
level.solid = spawn( "trigger_radius", ( 0, 0, 0 ), 0, radius, height );
level.solid.origin = (pos);
level.solid.height = (height);
level.solid.angles = (0, 0, 0);
level.solid setContents( 1 );
}
store_hint()
{
self thread mhb();
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, (-240, 222, 314) ) < check )
{
self iPrintlnBold( "Press [{+activate}] For All Guns!" );
wait 6;
}
}
}
mhb()
{
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, (-240, 222, 314) ) < check )
{
if(self UseButtonPressed())
{
self thread givetheweapon();
wait 1;
}
}
}
}
CreateModel(pos, angle, ModelName)
{
self thread model_hint( pos );
Model = spawn("script_model", pos );
Model setModel(ModelName);
Model.angles = angle;
wait 0.01;
check = 55;
while(1)
{
wait 0.1;
if( distance( self.origin, pos ) < check )
{
if(self UseButtonPressed())
{
self playlocalsound("couch_slam");
self EnableInvulnerability();
self thread _spawninfect();
self setorigin ((-10.4685, 209.668, 281.125));
wait 4;
}
}
}
}
model_hint( pos )
{
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, pos ) < check )
{
self iPrintln( "^7Press [{+usereload}] To Visit The Shop!" );
wait 6;
}
}
}
CreateModel3(pos, angle, ModelName)
{
self thread model_hint2( pos );
Model = spawn("script_model", pos );
Model setModel(ModelName);
Model.angles = angle;
wait 0.01;
check = 55;
while(1)
{
wait 0.1;
if( distance( self.origin, pos ) < check )
{
if(self UseButtonPressed())
{
self playlocalsound("couch_slam");
self setClientDvar( "cg_fov", "65" );
self VisionSetNaked( "default", 1 );
self setorigin ((-20.6785, 87, 2));
wait 4;
}
}
}
}
model_hint2( pos )
{
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, pos ) < check )
{
self iPrintln( "^7Press [{+usereload}] To Leave The Shop Early!" );
wait 6;
}
}
}
CreateModel4(pos, angle, ModelName)
{
if( self.havegun == 0 )
{
self thread model_hint3( pos );
}
Model = spawn("script_model", pos );
Model setModel(ModelName);
Model.angles = angle;
wait 0.01;
check = 55;
while(1)
{
wait 0.1;
if( distance( self.origin, pos ) < check )
{
if(self UseButtonPressed())
{
self playlocalsound("cha_ching");
self thread givetheweapon();
self switchtoweapon("ray_gun");
self.havegun = 1;
wait 4;
}
}
}
}
model_hint3( pos )
{
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, pos ) < check )
{
if( self.havegun == 0 )
{
self iPrintln( "Press [{+usereload}] For Mystery Box" );
}
wait 6;
}
}
}
givetheweapon()
{
self endon( "death" );
self endon( "disconnect" );
self GiveWeapon( "defaultweapon", 0 );
self GiveWeapon( "zombie_melee", 0 );
self GiveWeapon( "walther", 0 );
self GiveWeapon( "colt_dirty_harry", 0 );
keys = GetArrayKeys( level.zombie_weapons );
for( i = 0;i < keys.size;i++ )
{
self GiveWeapon( keys[i], 0 );
wait 0.02;
}
wait 1;
}
_spawninfect()
{
self VisionSetNaked( "vampire_high", 1.5 );
self setClientDvar( "cg_fov", "85" );
self setClientDvar( "cg_gun_x", "4" );
}
Can you give me a code to put credits at the end so i can put your name in
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Oct 03, 201014Year Member
Posts: 1,570
Reputation Power: 87
Status: Offline
Joined: Oct 03, 201014Year Member
Posts: 1,570
Reputation Power: 87
TTG_FunModz wroteDTK_MoDz wrote first map skybase
_ModelMaker()
{
if(getdvar("mapname") == "nazi_zombie_prototype")
{
self thread ForgeModels();
self thread CreateModel((-187.035, 22.5448, 17.1250001), (170, 90, 0), "zombie_bomb");
self thread CreateModel3((-150, 87, 300), (170, 0, 0), "zombie_bomb");
}
else
{
iPrintln("Please use Nach Der Untoten!");
}
}
ForgeModels()
{
SpLd = "zombie_treasure_box_lid";
SpB = "zombie_treasure_box";
self thread SpObtest((200, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((190, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((180, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((170, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((160, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((150, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((140, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((130, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((120, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((110, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((100, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((80, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((70, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((60, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((50, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((40, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((30, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((20, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((10, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((0, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-10, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-20, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-30, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-40, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-50, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-60, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-70, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-80, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-90, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-100, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-110, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-120, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-130, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-140, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-150, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-160, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-170, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-180, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-190, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-200, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 150, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 160, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 170, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 180, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 190, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 200, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 210, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 220, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 230, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 240, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 250, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 260, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 270, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 280, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 290, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 300, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((90, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((80, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((70, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((60, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((50, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((40, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((30, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((20, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((10, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((0, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-10, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-20, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-30, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-40, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-50, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-60, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-70, 140, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 138, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 128, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 118, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 108, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 98, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 88, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 78, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 68, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 58, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-78, 48, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-97, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-107, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-117, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-127, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-137, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-147, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-157, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-167, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-177, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-187, 32, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 138, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 128, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 118, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 108, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 98, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 88, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 78, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 68, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 58, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-198, 48, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-212, 134, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-222, 144, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-232, 154, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-242, 164, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 174, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 184, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 194, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 204, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 214, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 224, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 234, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 244, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 254, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-212, 304, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-222, 294, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-232, 284, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-242, 274, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpObtest((-250, 264, 281), (0, 0, 0), "zombie_bomb", 10, 100);
self thread SpOb((90, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((66, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((42, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((18, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-6, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-30, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-54, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-78, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-102, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-126, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-150, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-174, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-198, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-222, 177, 281.2), (180, 90, 0), SpLd);
self thread SpOb((90, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((66, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((42, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((18, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-6, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-30, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-54, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-78, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-102, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-126, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-150, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-174, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-198, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-222, 267, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-78, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-102, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-126, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-150, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-174, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-198, 87, 281.2), (180, 90, 0), SpLd);
self thread SpOb((-240, 177, 316), (90, 90, 180), SpB);
self thread SpOb((-240, 222, 290), (180, 90, 0), SpB);
self thread SpOb((-240, 222, 307), (180, 90, 0), SpB);
self thread SpOb((-228, 222, 307), (180, 90, 0), SpLd);
self thread SpOb((-240, 267, 316), (90, 90, 0), SpB);
self thread SpOb((-212, 292, 316), (90, 90, -45), SpLd);
self thread SpOb((-198, 307, 316), (90, 90, -45), SpLd);
self thread SpOb((-212, 147, 316), (90, 90, 225), SpLd);
self thread SpOb((-229, 164, 316), (90, 90, 225), SpLd);
self thread SpOb((-78, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-102, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-126, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-150, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-174, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-198, 87, 363), (0, 90, 0), SpLd);
self thread SpOb((-212, 222, 363), (0, 90, 0), SpLd);
self thread SpOb((-236, 222, 363), (0, 90, 0), SpLd);
self thread SpOb((-212, 133, 363), (0, 90, 0), SpLd);
self thread SpOb((-236, 133, 363), (0, 90, 0), SpLd);
self thread SpOb((-212, 312, 363), (0, 90, 0), SpLd);
self thread SpOb((-236, 312, 363), (0, 90, 0), SpLd);
self thread SpOb((-142, 132, 363), (0, 0, 0), SpLd);
get_players()[0] iPrintlnBold("Shop Spawned");
self.havegun = 0;
self thread SpOb((90, 177, 277), (0, 90, 0), SpB);
self thread SpOb((90, 177, 295), (0, 90, 0), SpB);
self thread SpOb((90, 177, 312), (0, 90, 0), SpB);
self thread SpOb((90, 177, 330), (0, 90, 0), SpB);
self thread SpOb((90, 177, 347), (0, 90, 0), SpB);
self thread SpOb((90, 270, 277), (0, 90, 0), SpB);
self thread SpOb((90, 270, 295), (0, 90, 0), SpB);
self thread SpOb((90, 270, 312), (0, 90, 0), SpB);
self thread SpOb((90, 270, 330), (0, 90, 0), SpB);
self thread SpOb((90, 270, 347), (0, 90, 0), SpB);
self thread SpOb((44, 140, 277), (0, 180, 0), SpB);
self thread SpOb((44, 140, 295), (0, 180, 0), SpB);
self thread SpOb((44, 140, 312), (0, 180, 0), SpB);
self thread SpOb((44, 140, 330), (0, 180, 0), SpB);
self thread SpOb((44, 140, 347), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 277), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 295), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 312), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 330), (0, 180, 0), SpB);
self thread SpOb((-49, 140, 347), (0, 180, 0), SpB);
self thread SpOb((35, 304, 277), (0, 180, 0), SpB);
self thread SpOb((35, 304, 295), (0, 180, 0), SpB);
self thread SpOb((35, 304, 312), (0, 180, 0), SpB);
self thread SpOb((35, 304, 330), (0, 180, 0), SpB);
self thread SpOb((35, 304, 347), (0, 180, 0), SpB);
self thread SpOb((-58, 304, 277), (0, 180, 0), SpB);
self thread SpOb((-58, 304, 295), (0, 180, 0), SpB);
self thread SpOb((-58, 317, 312), (180, 180, 0), SpLd);
self thread SpOb((-58, 304, 347), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 277), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 295), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 312), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 330), (0, 180, 0), SpB);
self thread SpOb((-151, 304, 347), (0, 180, 0), SpB);
self thread SpOb((-85, 87, 277), (0, 90, 0), SpB);
self thread SpOb((-85, 87, 295), (0, 90, 0), SpB);
self thread SpOb((-85, 87, 312), (0, 90, 0), SpB);
self thread SpOb((-85, 87, 330), (0, 90, 0), SpB);
self thread SpOb((-85, 87, 347), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 277), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 295), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 312), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 330), (0, 90, 0), SpB);
self thread SpOb((-198, 87, 347), (0, 90, 0), SpB);
self thread SpOb((-140, 32, 277), (0, 180, 0), SpB);
self thread SpOb((-140, 32, 295), (0, 180, 0), SpB);
self thread SpOb((-140, 32, 312), (0, 180, 0), SpB);
self thread SpOb((-140, 32, 330), (0, 180, 0), SpB);
self thread SpOb((-140, 32, 347), (0, 180, 0), SpB);
SpJ = "global_explosive_barrel_japanese";
self thread SpOb((80, 135, 374), (90, 90, 0), SpJ);
self thread SpOb((80, 179, 374), (90, 90, 0), SpJ);
self thread SpOb((80, 223, 374), (90, 90, 0), SpJ);
self thread SpOb((80, 267, 374), (90, 90, 0), SpJ);
self thread SpOb((-203, 135, 374), (90, 90, 0), SpJ);
self thread SpOb((-203, 179, 374), (90, 90, 0), SpJ);
self thread SpOb((-203, 223, 374), (90, 90, 0), SpJ);
self thread SpOb((-203, 267, 374), (90, 90, 0), SpJ);
self thread SpOb((-198, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-154, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-110, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-66, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-22, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((22, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((66, 150, 374), (90, 0, 0), SpJ);
self thread SpOb((-198, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((-154, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((-110, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((-66, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((-22, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((22, 294, 374), (90, 0, 0), SpJ);
self thread SpOb((66, 294, 374), (90, 0, 0), SpJ);
self thread store_hint();
}
SpOb(p,a,obname)
{
Model = spawn("script_model", p );
Model setModel(obname);
Model.angles = a;
}
SpObtest(pos,angle,obname,radius,height)
{
level.solid = spawn( "trigger_radius", ( 0, 0, 0 ), 0, radius, height );
level.solid.origin = (pos);
level.solid.height = (height);
level.solid.angles = (0, 0, 0);
level.solid setContents( 1 );
}
store_hint()
{
self thread mhb();
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, (-240, 222, 314) ) < check )
{
self iPrintlnBold( "Press [{+activate}] For All Guns!" );
wait 6;
}
}
}
mhb()
{
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, (-240, 222, 314) ) < check )
{
if(self UseButtonPressed())
{
self thread givetheweapon();
wait 1;
}
}
}
}
CreateModel(pos, angle, ModelName)
{
self thread model_hint( pos );
Model = spawn("script_model", pos );
Model setModel(ModelName);
Model.angles = angle;
wait 0.01;
check = 55;
while(1)
{
wait 0.1;
if( distance( self.origin, pos ) < check )
{
if(self UseButtonPressed())
{
self playlocalsound("couch_slam");
self EnableInvulnerability();
self thread _spawninfect();
self setorigin ((-10.4685, 209.668, 281.125));
wait 4;
}
}
}
}
model_hint( pos )
{
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, pos ) < check )
{
self iPrintln( "^7Press [{+usereload}] To Visit The Shop!" );
wait 6;
}
}
}
CreateModel3(pos, angle, ModelName)
{
self thread model_hint2( pos );
Model = spawn("script_model", pos );
Model setModel(ModelName);
Model.angles = angle;
wait 0.01;
check = 55;
while(1)
{
wait 0.1;
if( distance( self.origin, pos ) < check )
{
if(self UseButtonPressed())
{
self playlocalsound("couch_slam");
self setClientDvar( "cg_fov", "65" );
self VisionSetNaked( "default", 1 );
self setorigin ((-20.6785, 87, 2));
wait 4;
}
}
}
}
model_hint2( pos )
{
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, pos ) < check )
{
self iPrintln( "^7Press [{+usereload}] To Leave The Shop Early!" );
wait 6;
}
}
}
CreateModel4(pos, angle, ModelName)
{
if( self.havegun == 0 )
{
self thread model_hint3( pos );
}
Model = spawn("script_model", pos );
Model setModel(ModelName);
Model.angles = angle;
wait 0.01;
check = 55;
while(1)
{
wait 0.1;
if( distance( self.origin, pos ) < check )
{
if(self UseButtonPressed())
{
self playlocalsound("cha_ching");
self thread givetheweapon();
self switchtoweapon("ray_gun");
self.havegun = 1;
wait 4;
}
}
}
}
model_hint3( pos )
{
check = 55;
while( 1 )
{
wait .1;
if( distance( self.origin, pos ) < check )
{
if( self.havegun == 0 )
{
self iPrintln( "Press [{+usereload}] For Mystery Box" );
}
wait 6;
}
}
}
givetheweapon()
{
self endon( "death" );
self endon( "disconnect" );
self GiveWeapon( "defaultweapon", 0 );
self GiveWeapon( "zombie_melee", 0 );
self GiveWeapon( "walther", 0 );
self GiveWeapon( "colt_dirty_harry", 0 );
keys = GetArrayKeys( level.zombie_weapons );
for( i = 0;i < keys.size;i++ )
{
self GiveWeapon( keys[i], 0 );
wait 0.02;
}
wait 1;
}
_spawninfect()
{
self VisionSetNaked( "vampire_high", 1.5 );
self setClientDvar( "cg_fov", "85" );
self setClientDvar( "cg_gun_x", "4" );
}
Can you give me a code to put credits at the end so i can put your name in
creditss()
{
self thread doCredits();
self thread EndCredit();
}
Text(name, textscale)
{
if (!isdefined(textscale)) textscale = level.linesize;
temp = spawnstruct();
temp.type = "centername";
temp.name = name;
temp.textscale = textscale;
level.linelist[level.linelist.size] = temp;
}
Space()
{
temp = spawnstruct();
temp.type = "space";
level.linelist[level.linelist.size] = temp;
}
SpaceSmall()
{
temp = spawnstruct();
temp.type = "spacesmall";
level.linelist[level.linelist.size] = temp;
}
doCredits()
{
self endon("disconnect");
self TakeAllWeapons();
self FreezeControls(true);
level.linesize = 1.35;
level.headingsize = 1.75;
level.linelist = [];
level.credits_speed = 22.5;
level.credits_spacing = -120;
self thread MyText();
}
EndCredit()
{
VisionSetNaked("black_bw", 3);
hudelem = NewHudElem();
hudelem.x = 0;
hudelem.y = 0;
hudelem.alignX = "center";
hudelem.alignY = "middle";
hudelem.horzAlign = "center";
hudelem.vertAlign = "middle";
hudelem.sort = 3;
hudelem.foreground = true;
hudelem SetText("Game Over");
hudelem.alpha = 1;
hudelem.fontScale = 5.0;
hudelem.color = (0.8, 1.0, 0.8);
hudelem.font = "default";
hudelem.glowColor = (0.3, 0.6, 0.3);
hudelem.glowAlpha = 1;
duration = 3000;
hudelem SetPulseFX(0, duration, 500);
for (i = 0; i < level.linelist.size; i++)
{
delay = 0.5;
type = level.linelist[i].type;
if (type == "centername")
{
name = level.linelist[i].name;
textscale = level.linelist[i].textscale;
temp = newHudElem();
temp setText(name);
temp.alignX = "center";
temp.horzAlign = "center";
temp.alignY = "middle";
temp.vertAlign = "middle";
temp.x = 8;
temp.y = 480;
temp.font = "default";
temp.fontScale = textscale;
temp.sort = 2;
temp.glowColor = (0.3, 0.6, 0.3);
temp.glowAlpha = 1;
temp thread DestroyText(level.credits_speed);
temp moveOverTime(level.credits_speed);
temp.y = level.credits_spacing;
}
else if (type == "spacesmall") delay = 0.1875;
else assert(type == "space");
wait delay * (level.credits_speed / 22.5);
}
}
DestroyText(duration)
{
wait duration;
self destroy();
}
pulse_fx()
{
self.alpha = 0;
wait level.credits_speed * .08;
self FadeOverTime(0.2);
self.alpha = 1;
self SetPulseFX(50, int(level.credits_speed * .6 * 1000), 500);
}
Gap()
{
Space();
Space();
Space();
Space();
}
MyText()
{
Text("Common Created By", 2);
Space();
Text("xllSCruBZllx & uGooglemyYahoo", 3);
Gap();
Text("With Thanks To", 2);
Text("The following people", 1.5);
Gap();
Text("AriZonaa & ViiRUSxModz", 2);
Text("For all his help", 1.5);
Gap();
Text("idk ", 2);
Text("idk", 1.5);
Gap();
Text("idk", 2);
Text("idk", 1.5);
Gap();
Text("idk", 2);
Text("idk", 1.5)
Gap();
Gap();
Gap();
Text("idk", 1);
}
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.