Custom Controllable sentry
#1
basicaly this allows you to spawn a sentry gun that shoots custom ammo


heres a example of a way to use it

self thread spawn_speacialT(Fort1, "m60_mp", self.origin);


Code:
spawn_speacialT(name, weapon, pos) { level.miniGun[name] = spawnTurret( "auto_turret", pos, "auto_gun_turret_mp" ); level.miniGun[name] setModel(level.auto_turret_settings["sentry"].modelBase); level.miniGun[name] SetTurretType("sentry"); level.miniGun[name].angles = self.angles; level thread checkitT(level.miniGun[name], weapon, self getTagOrigin("tag_eye")); } checkitT(name, weapon, pos) { for(;;) { if( name IsFiringTurret() ) { end = self vector_multiply(anglestoforward(name.angles),1000000); Crosshair = BulletTrace( pos, end, true, self )[ "position" ]; MagicBullet( weapon, pos, Crosshair); } } }
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Sentry Gun kill = Player kill Snake 8 8,238 11-07-2013, 13:41
Last Post: Nekochan
  Black Ops 2 Custom background? jotape99 10 18,202 10-29-2013, 07:22
Last Post: xInfinity.
  Custom xanims DidUknowiPwn 8 9,741 08-28-2013, 08:17
Last Post: RaZ
  Help Make ac130 shoot custom bullets Ra3shed 0 3,644 07-23-2013, 13:02
Last Post: Ra3shed
  [Tutorial] Custom gametype HUD iAegle 17 20,512 07-14-2013, 01:16
Last Post: Nekochan
Video Custom Facepaints? Cuddlyedits 5 6,876 07-01-2013, 14:58
Last Post: iPaddie
  Help dedicated servers and custom dvars mattyman 0 3,373 06-22-2013, 07:33
Last Post: mattyman
Information [Tutorial] Adding DLC Maps as Custom Maps. Nekochan 151 182,715 05-25-2013, 01:05
Last Post: Nero Z zero
  QS Mod by GeKKo v 6.5 with Custom Maps GeKKoFL0X 35 37,943 05-21-2013, 19:30
Last Post: [HARD] Tony.
  [Request] custom gun mod ColorCorrects 2 4,491 05-18-2013, 22:19
Last Post: mitchhacker

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.