Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SamTurret()
- {
- self endon ( "disconnect" );
- self endon ( "death" );
- self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
- self.selectingLocation = true;
- self waittill( "confirm_location", location, directionYaw );
- NapalmLoc = BulletTrace( location, ( location + ( 0, 0, -100000 ) ), 0, self )[ "position" ];
- NapalmLoc += (0, 0, 400);
- self endLocationSelection();
- self.selectingLocation = undefined;
- self thread killstreakNotify(self.name,"SAM TURRET IN COMING");
- Plane = spawn("script_model", NapalmLoc+(-15000, 0, 5000) );
- Plane setModel( "vehicle_ac130_low_mp" );
- Plane.angles = (45, 119.004, 0);
- Plane playLoopSound( "veh_ac130_dist_loop" );
- Plane moveTo( NapalmLoc + (15000, 0, 2500), 10);
- wait 15;
- bomb = spawn("script_model", Plane.origin );
- bomb setModel( "projectile_cbu97_clusterbomb" );
- bomb.angles = self.origin;
- wait 1.6;
- TurretBox= spawn("script_model",bomb.origin-(0,0,0) );
- TurretBox setModel("com_plasticcase_friendly");
- TurretBox.angles=bomb.angles;
- wait 2;
- self playsound("capture_a");
- TurretBox moveto(bomb.origin+(0,0,90),2);
- wait 1.5;
- sky = VectorToAngles( (self.origin+(0,0,500)) - (self.origin ));
- self playsound("capture_c");
- self rotateto(sky, 2);
- wait 5;
- for(;;)
- {
- self playsound("weap_cobra_missile_fire");
- self rotateYaw(360,4);
- wait 4;
- self rotateYaw(-360,4);
- wait 4;
- }
- }
- killStreakNotify(user,ks)
- {
- self endon("disconnect");
- foreach(P in level.players)
- {
- P.ksText setPoint( "RIGHT", "CENTER", 270, -50);
- P.ksText setText("^3"+user+"\n^7"+ks);
- wait 5;
- P.ksText moveOverTime(0.5);
- P.ksText setPoint( "CENTER", "CENTER", 600, -50);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement