Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 11.71 KB | None | 0 0
  1. /*--------------------------------------------------------
  2. Default teams. If you make a team above the citizen team, people will spawn with that team!
  3. --------------------------------------------------------*/
  4. TEAM_SURVIVOR = AddExtraTeam("Survivor", Color(20, 150, 20, 255), {
  5.     "models/player/Group01/Female_01.mdl",
  6.     "models/player/Group01/Female_02.mdl",
  7.     "models/player/Group01/Female_03.mdl",
  8.     "models/player/Group01/Female_04.mdl",
  9.     "models/player/Group01/Female_06.mdl",
  10.     "models/player/Group01/Female_07.mdl",
  11.     "models/player/group01/male_01.mdl",
  12.     "models/player/Group01/Male_02.mdl",
  13.     "models/player/Group01/male_03.mdl",
  14.     "models/player/Group01/Male_04.mdl",
  15.     "models/player/Group01/Male_05.mdl",
  16.     "models/player/Group01/Male_06.mdl",
  17.     "models/player/Group01/Male_07.mdl",
  18.     "models/player/Group01/Male_08.mdl",
  19.     "models/player/Group01/Male_09.mdl"},
  20. [[You are a survivor of the zombie outbreak.
  21. You must fight to survive in this new hostile world.]], {"weapon_mad_fists"}, "survivor", 0, 45, 0, false, false)
  22.  
  23. TEAM_POLICE = AddExtraTeam("Viral Outbreak Protection", Color(25, 25, 170, 255), "models/player/police.mdl", [[The protector of every citizen that lives in the city .
  24. You have the power to arrest criminals and protect innocents.
  25. Hit them with your arrest baton to put them in jail
  26. Bash them with a stunstick and they might learn better than to disobey
  27. the law.
  28. The Battering Ram can break down the door of a criminal with a warrant
  29. for his/her arrest.
  30. The Battering Ram can also unfreeze frozen props(if enabled).
  31. Type /wanted <name> to alert the public to this criminal
  32. OR go to tab and warrant someone by clicking the warrant button]], {"weapon_mad_fists","arrest_stick","unarrest_stick","weapon_mad_glock","stunstick","door_ram","weaponchecker"}, "cp", 4, 65, 0, true, true)
  33.  
  34. TEAM_GANG = AddExtraTeam("Mobster", Color(75, 75, 75, 255), {
  35.     "models/player/Group03/Female_01.mdl",
  36.     "models/player/Group03/Female_02.mdl",
  37.     "models/player/Group03/Female_03.mdl",
  38.     "models/player/Group03/Female_04.mdl",
  39.     "models/player/Group03/Female_06.mdl",
  40.     "models/player/Group03/Female_07.mdl",
  41.     "models/player/group03/male_01.mdl",
  42.     "models/player/Group03/Male_02.mdl",
  43.     "models/player/Group03/male_03.mdl",
  44.     "models/player/Group03/Male_04.mdl",
  45.     "models/player/Group03/Male_05.mdl",
  46.     "models/player/Group03/Male_06.mdl",
  47.     "models/player/Group03/Male_07.mdl",
  48.     "models/player/Group03/Male_08.mdl",
  49.     "models/player/Group03/Male_09.mdl"}, [[The lowest person of crime.
  50. A gangster generally works for the Mobboss who runs the crime family.
  51. The Mobboss sets your agenda and you follow it or you might be punished.]], {"weapon_mad_fists"}, "mobster", 3, 45, 0, false, false)
  52.  
  53. TEAM_MOB = AddExtraTeam("Mobboss", Color(25, 25, 25, 255), "models/player/gman_high.mdl", [[The Mobboss is the boss of the criminals in the city.
  54. With his power he coordinates the gangsters and forms an efficent crime
  55. organization.
  56. He has the ability to break into houses by using a lockpick.
  57. The Mobboss also can unarrest you.]], {"weapon_mad_fists","lockpick","unarrest_stick"}, "mobboss", 1, 60, 0, false, false)
  58.  
  59. TEAM_GUN = AddExtraTeam("Gun Dealer", Color(255, 140, 0, 255), {"models/player/monk.mdl", "models/player/odessa.mdl"}, [[A gun dealer is the only person who can sell guns to other
  60. people.
  61. However, make sure you aren't caught selling guns that are illegal to
  62. the public.
  63. /Buyshipment <name> to Buy a  weapon shipment
  64. /Buygunlab to Buy a gunlab that spawns P228 pistols]], {"weapon_mad_fists"}, "gundealer", 2, 45, 0, false, false)
  65.  
  66. TEAM_MEDIC = AddExtraTeam("Medic", Color(47, 79, 79, 255), "models/player/kleiner.mdl", [[With your medical knowledge, you heal players to proper
  67. health.
  68. Without a medic, people can not be healed.
  69. Left click with the Medical Kit to heal other players.
  70. Right click with the Medical Kit to heal yourself.]], {"weapon_mad_fists","weapon_mad_medic"}, "medic", 3, 45, 0, false, false)
  71.  
  72. TEAM_COOK = AddExtraTeam("Cook", Color(238, 99, 99, 255), "models/player/mossman.mdl", [[As a cook, it is your responsibility to feed the other members
  73. of your city.
  74. You can spawn a microwave and sell the food you make:
  75. /Buymicrowave]], {"weapon_mad_fists"}, "cook", 2, 45, 0, 0, false)
  76.  
  77. TEAM_CHIEF = AddExtraTeam("Viral Outbreak Protection Chief", Color(20, 20, 255, 255), "models/player/combine_super_soldier.mdl", [[The Chief is the leader of the Civil Protection unit.
  78. Coordinate the police forces to bring law to the city
  79. Hit them with arrest baton to put them in jail
  80. Bash them with a stunstick and they might learn better than to
  81. disobey the law.
  82. The Battering Ram can break down the door of a criminal with a
  83. warrant for his/her arrest.
  84. Type /wanted <name> to alert the public to this criminal
  85. Type /jailpos to set the Jail Position]], {"weapon_mad_fists","arrest_stick","unarrest_stick","weapon_mad_deagle","stunstick","door_ram","weaponchecker"}, "chief", 1, 75, 0, false, true, TEAM_POLICE)
  86.  
  87. TEAM_PRESIDENT = AddExtraTeam("President", Color(150, 20, 20, 255), "models/player/breen.mdl", [[The Presidents creates laws to serve the greater good
  88. of the people and keep them safe.
  89. If you are the mayor you may create and accept warrants.
  90. Type /wanted <name>  to warrant a player
  91. Type /jailpos to set the Jail Position
  92. Type /lockdown initiate a lockdown of the city.
  93. Everyone must be inside during a lockdown.
  94. The cops patrol the area
  95. /unlockdown to end a lockdown]], {"weapon_mad_fists"}, "president", 1, 85, 0, true, false/*, {TEAM_CHIEF, TEAM_POLICE}*/)
  96. /*
  97. --------------------------------------------------------
  98. HOW TO MAKE AN EXTRA CLASS!!!!
  99. --------------------------------------------------------
  100.  
  101. You can make extra classes here. Set everything up here and the rest will be done for you! no more editing 100 files without knowing what you're doing!!!
  102. Ok here's how:
  103.  
  104. To make an extra class do this:
  105. AddExtraTeam( "<NAME OF THE CLASS>", Color(<red>, <Green>, <blue>, 255), "<Player model>" , [[<the description(it can have enters)>]], { "<first extra weapon>","<second extra weapon>", etc...}, "<chat command to become it(WITHOUT THE /!)>", <maximum amount of this team> <the salary he gets>, 0/1/2 = public /admin only / superadmin only, <1/0/true/false Do you have to vote to become it>,  true/false DOES THIS TEAM HAVE A GUN LICENSE?, TEAM: Which team you need to be to become this team)
  106.  
  107. The real example is here: it's the Hobo:        */
  108.  
  109. --VAR without /!!!          The name    the color(what you see in tab)                   the player model                   The description
  110. TEAM_HOBO = AddExtraTeam("Hobo", Color(80, 45, 0, 255), "models/player/corpse1.mdl", [[The lowest member of society. All people see you laugh.
  111. You have no home.
  112. Beg for your food and money
  113. Sing for everyone who passes to get money
  114. Make your own wooden home somewhere in a corner or
  115. outside someone else's door]], {"weapon_bugbait"}, "hobo", 5, 0, 0, false)
  116. //No extra weapons           say /hobo to become hobo  Maximum hobo's = 5       his salary = 0 because hobo's don't earn money.          0 = everyone can become hobo ,      false = you don't have to vote to become hobo
  117. // MAKE SURE THAT THERE IS NO / IN THE TEAM NAME OR IN THE TEAM COMMAND:
  118. // TEAM_/DUDE IS WROOOOOONG !!!!!!
  119. // HAVING "/dude" IN THE COMMAND FIELD IS WROOOOOOOONG!!!!
  120. //ADD TEAMS UNDER THIS LINE:
  121.  
  122. TEAM_TERRORIST = AddExtraTeam("Terrorist", Color(34, 78, 80, 255), "models/player/leet.mdl", [[You are a terrorist now go kill someone but whatch out for cops !!!]], {"weapon_p2282"}, "terrorist", 3, 70, 0, false)
  123. TEAM_TERRORIST = AddExtraTeam("Terrorist", Color(34, 78, 80, 255), "models/player/leet.mdl", [[create some terror and make big bombs]], {"weapon_ak472","talk"}, "terrorist", 3, 70, 0, true)
  124. TEAM_LOOTER = AddExtraTeam("Looter", Color(0,122,59,255), "models/player/phoenix.mdl", [[Rob money and guns.]], {"weapon_deagle2","lockpick","hacker"}, "robber", 6, 80, 0, false)//
  125. TEAM_SECRETSERVICE = AddExtraTeam("Secret Service", Color(225,127,0,255), "models/player/Group01/male_07.mdl", [[You are a member of the President's security force. You must protect the president at all costs.]], {"lockpick"}, "secretservice", 6, 80, 0, true)//
  126. TEAM_REBEL = AddExtraTeam("Rebel", Color(120,100,120,255),"models/player/group03/male_09.mdl", [[YOU MUST REBEL AGAINST THE LEADERS AND TRY TO RULE THE CITY]], {"weapon_p2282","talk"}, "rebel", 2, 100, 0, true)
  127. TEAM_REBELLEADER = AddExtraTeam("Rebel Leader", Color(102,51,102,255), "models/player/guerilla.mdl", [[You are the leader of the Rebels.]], {}, "rebelleader", 1, 65, 0, false)//
  128. TEAM_NINJA = AddExtraTeam("Ninja", Color(50, 50, 50, 180), "models/player/arctic.mdl", [[Be a ninja, invade houses that don't have roofs]], {"weapon_mad_knife","lockpick","hacker"}, "ninja", 1, 150, 0, true)
  129. TEAM_ZOMBIE = AddExtraTeam("Zombie", Color(0,0,0,255),"models/player/zombiefast.mdl", [[Kill people!]], {"weapon_mad_knife"}, "zombie", 5, 50, 0, false)
  130. TEAM_MUTANT = AddExtraTeam("Tyrant", Color(0, 0, 0, 255), "models/player/charple01.mdl", [[The mega zombie.]], {weapon_mad_knife}, "mutant", 1, 80, 0, false)
  131. TEAM_SECURITY = AddExtraTeam("Security", Color(250,0,155,255),"models/player/group01/combine_soldier_prisonguard.mdl", [[be a security guard, maybe help guard the gundealers? maybe even guard the mayor>]], {"weapon_glock2","talk","taser"}, "Security", 1, 50, 0, true)
  132.  
  133. TEAM_TIMETRAVELER = AddExtraTeam("Time Traveler", Color(200, 200, 200, 255), "models/player/dod_american.mdl", [[Just before the D-Day invasion of Normandy, you
  134. somehow fell into a time warp and were transported
  135. into the near future. You must now fight to
  136. survive in this strange new world.]], {"weapon_mad_fists","weapon_mad_dod_colt","weapon_mad_dod_thompson","weapon_mad_dod_bar","weapon_mad_dod_garand","weapon_mad_dod_springfield"}, "timetraveler", 1, 100, 2, false, false, false)
  137.  
  138. TEAM_SOLDIER = AddExtraTeam("Soldier", Color(50, 50, 50, 255), "models/player/riot.mdl", [[You are one of the members of the military sent
  139. in
  140. to control the zombie outbreak. It is your job to
  141. protect the populace from the undead menace]], {"weapon_mad_fists","weapon_mad_p228","weapon_mad_m4","weapon_mad_grenade","weapon_mad_charge"}, "soldier", 4, 75, 0, true, true, false)
  142.  
  143. TEAM_GENERAL = AddExtraTeam("General", Color(10, 10, 10, 255), "models/player/urban.mdl", [[You are the leader of the military forces in the
  144. area. You must effectively give orders to the men
  145. under your control in order to save civilian
  146. lives.]], {"weapon_mad_fists","weapon_mad_357","weapon_mad_aug","weapon_mad_m3","weapon_mad_grenade"}, "general", 1, 100, 0, true, true, {soldier})
  147.  
  148. /*
  149. --------------------------------------------------------
  150. HOW TO MAKE A DOOR GROUP
  151. --------------------------------------------------------
  152. AddDoorGroup("NAME OF THE GROUP HERE, you see this when looking at a door", Team1, Team2, team3, team4, etc.)
  153.  
  154. WARNING: THE DOOR GROUPS HAVE TO BE UNDER THE TEAMS IN SHARED.LUA. IF THEY ARE NOT, IT MIGHT MUCK UP!
  155.  
  156.  
  157. The default door groups, can also be used as examples:
  158. */
  159. AddDoorGroup("Government Only", TEAM_CHIEF, TEAM_POLICE, TEAM_PRESIDENT, TEAM_SECRETSERVICE)
  160. AddDoorGroup("Military Only", TEAM_GENERAL, TEAM_SOLDIER)
  161. AddDoorGroup("Gundealer Only", TEAM_GUN)
  162.  
  163. /*
  164. --------------------------------------------------------
  165. HOW TO MAKE An agenda
  166. --------------------------------------------------------
  167. AddAgenda(Title of the agenda, Manager (who edits it), Listeners (the ones who just see and follow the agenda))
  168.  
  169. WARNING: THE AGENDAS HAVE TO BE UNDER THE TEAMS IN SHARED.LUA. IF THEY ARE NOT, IT MIGHT MUCK UP!
  170.  
  171. The default agenda's, can also be used as examples:
  172. */
  173. AddAgenda("Mob agenda", TEAM_MOB, {TEAM_GANG})
  174. AddAgenda("Government agenda", TEAM_MAYOR, {TEAM_CHIEF, TEAM_POLICE, TEAM_SECRETSERVICE})
  175. AddAgenda("Military agenda", TEAM_GENERAL, {TEAM_SOLDIER})
  176. AddAgenda("Rebel agenda", TEAM_REBELLEADER, {TEAM_REBEL})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement