You are viewing our Forum Archives. To view or take place in current topics click here.
#11. 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 wroteTTG_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);
}
thanks bro can you give me chopper gunner
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.