CapsAdmin

Untitled

Oct 28th, 2011
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.91 KB | None | 0 0
  1. fts.NPCS =
  2.     {
  3.         {
  4.             class = "npc_combine_s",
  5.             squad = "combine_hard",
  6.             max = 5,
  7.  
  8.             health = 500,
  9.  
  10.             weapon = "weapon_ar2",
  11.             aim = WEAPON_PROFICIENCY_PERFECT,
  12.  
  13.             keyvalues =
  14.             {
  15.                 --spawnflags = "256", -- long shot
  16.                 tacticalvariant = "1",
  17.             }
  18.         },
  19.         {
  20.             class = "npc_combine_s",
  21.             squad = "boomer_and_bomette",
  22.             max = 1,
  23.  
  24.             health = 1000,
  25.  
  26.             weapon = "weapon_ar2",
  27.             aim = WEAPON_PROFICIENCY_PERFECT,
  28.  
  29.             keyvalues =
  30.             {
  31.                 --spawnflags = "256", -- long shot
  32.                 tacticalvariant = "1",
  33.             },
  34.             post_spawn = function(self)
  35.                 self:SetNWString("cs_model", "models/infected/boomer.mdl")
  36.             end,
  37.         },
  38.         {
  39.             class = "npc_combine_s",
  40.             squad = "boomer_and_bomette",
  41.             max = 1,
  42.  
  43.             health = 1000,
  44.  
  45.             weapon = "weapon_ar2",
  46.             aim = WEAPON_PROFICIENCY_PERFECT,
  47.  
  48.             keyvalues =
  49.             {
  50.                 --spawnflags = "256", -- long shot
  51.                 tacticalvariant = "1",
  52.             },
  53.             post_spawn = function(self)
  54.                 self:SetNWString("cs_model", "models/infected/boomette.mdl")
  55.             end,
  56.         },
  57.         {
  58.             class = "npc_citizen",
  59.             squad = "citizen_hard",
  60.             max = 3,
  61.  
  62.             health = 300,
  63.  
  64.             weapon = "weapon_ar2",
  65.             aim = WEAPON_PROFICIENCY_PERFECT,
  66.  
  67.             keyvalues =
  68.             {
  69.                 --spawnflags = "256", -- long shot
  70.                 tacticalvariant = "1",
  71.             },
  72.  
  73.             post_spawn = function(self)
  74.                 self:SetNPCState(NPC_STATE_ALERT)
  75.                 for key, ent in pairs(ents.GetAll()) do
  76.                     if ent:IsNPC() and ent:GetClass():find("combine") then
  77.                         ent:AddEntityRelationship(self, D_HT, 99)
  78.                         self:AddEntityRelationship(ent, D_HT, 99)
  79.                     end
  80.                 end
  81.             end,
  82.         },
  83.         {
  84.             class = "npc_strider",
  85.             squad = "combine_hard",
  86.             max = 1,
  87.         },
  88.         {
  89.             class = "npc_antlionguard",
  90.             squad = "antlions",
  91.             max = 1,
  92.         },
  93.         {
  94.             class = seagulls.ClassName,
  95.             squad = "seagulls",
  96.             max = seagulls.MaxSeagulls,
  97.             pre_spawn = function(self)
  98.                 seagulls.Create()
  99.                 return false
  100.             end,
  101.         },
  102.  
  103.  
  104.     }
  105.  
Advertisement
Add Comment
Please, Sign In to add comment