Advertisement
Guest User

Untitled

a guest
Feb 7th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.27 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_CITIZEN = AddExtraTeam("Citizen", 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. [[The Citizen is the most basic level of society you can hold
  21. besides being a hobo.
  22. You have no specific role in city life.]], {}, "citizen", 0, 45, 0, false, false)
  23.  
  24. TEAM_POLICE = AddExtraTeam("Civil Protection", Color(25, 25, 170, 255), "models/player/police.mdl", [[The protector of every citizen that lives in the city .
  25. You have the power to arrest criminals and protect innocents.
  26. Hit them with your arrest baton to put them in jail
  27. Bash them with a stunstick and they might learn better than to disobey
  28. the law.
  29. The Battering Ram can break down the door of a criminal with a warrant
  30. for his/her arrest.
  31. The Battering Ram can also unfreeze frozen props(if enabled).
  32. Type /wanted <name> to alert the public to this criminal
  33. OR go to tab and warrant someone by clicking the warrant button]], {"arrest_stick", "unarrest_stick", "weapon_mad_glock", "stunstick", "door_ram", "weaponchecker", "keypad_cracker"}, "cp", 4, 65, 0, true, true)
  34.  
  35. TEAM_LEONEMEMBER = AddExtraTeam("Leone Gang Member", Color(27, 148, 224, 255), {
  36. "models/player/Group03/Female_01.mdl",
  37. "models/player/Group03/Female_02.mdl",
  38. "models/player/Group03/Female_03.mdl",
  39. "models/player/Group03/Female_04.mdl",
  40. "models/player/Group03/Female_06.mdl",
  41. "models/player/Group03/Female_07.mdl",
  42. "models/player/group03/male_01.mdl",
  43. "models/player/Group03/Male_02.mdl",
  44. "models/player/Group03/male_03.mdl",
  45. "models/player/Group03/Male_04.mdl",
  46. "models/player/Group03/Male_05.mdl",
  47. "models/player/Group03/Male_06.mdl",
  48. "models/player/Group03/Male_07.mdl",
  49. "models/player/Group03/Male_08.mdl",
  50. "models/player/Group03/Male_09.mdl"}, [[The lowest person of crime.
  51. A gangster generally works for the Mobboss who runs the crime family.
  52. The Mobboss sets your agenda and you follow it or you might be punished.]], {}, "leonemember", 16, 45, 0, false, false)
  53.  
  54. TEAM_LEONEMOB = AddExtraTeam("Leone Mob boss", Color(56, 0, 143, 255), "models/player/gman_high.mdl", [[The Mobboss is the boss of the criminals in the city.
  55. With his power he coordinates the gangsters and forms an efficent crime
  56. organization.
  57. He has the ability to break into houses by using a lockpick.
  58. The Mobboss also can unarrest you.]], {"lockpick", "unarrest_stick", "keypad_cracker"}, "leonemobboss", 1, 60, 0, false, false)
  59.  
  60. TEAM_FUSILLIGANG = AddExtraTeam("Fusilli Gang Member", Color(8, 209, 32, 255), {
  61. "models/player/Group03/Female_01.mdl",
  62. "models/player/Group03/Female_02.mdl",
  63. "models/player/Group03/Female_03.mdl",
  64. "models/player/Group03/Female_04.mdl",
  65. "models/player/Group03/Female_06.mdl",
  66. "models/player/Group03/Female_07.mdl",
  67. "models/player/group03/male_01.mdl",
  68. "models/player/Group03/Male_02.mdl",
  69. "models/player/Group03/male_03.mdl",
  70. "models/player/Group03/Male_04.mdl",
  71. "models/player/Group03/Male_05.mdl",
  72. "models/player/Group03/Male_06.mdl",
  73. "models/player/Group03/Male_07.mdl",
  74. "models/player/Group03/Male_08.mdl",
  75. "models/player/Group03/Male_09.mdl"}, [[The lowest person of crime.
  76. A gangster generally works for the Mobboss who runs the crime family.
  77. The Mobboss sets your agenda and you follow it or you might be punished.]], {}, "fusillimember", 16, 45, 0, false, false)
  78.  
  79. TEAM_FUSILLIMOB = AddExtraTeam("Fusilli Mob boss", Color(0, 140, 16, 255), "models/player/gman_high.mdl", [[The Mobboss is the boss of the criminals in the city.
  80. With his power he coordinates the gangsters and forms an efficent crime
  81. organization.
  82. He has the ability to break into houses by using a lockpick.
  83. The Mobboss also can unarrest you.]], {"lockpick", "unarrest_stick", "keypad_cracker"}, "fusillimobboss", 1, 60, 0, false, false)
  84.  
  85. TEAM_GUN = AddExtraTeam("Gun Dealer", Color(255, 140, 0, 255), "models/player/monk.mdl", [[A gun dealer is the only person who can sell guns to other
  86. people.
  87. However, make sure you aren't caught selling guns that are illegal to
  88. the public.
  89. /Buyshipment <name> to Buy a weapon shipment
  90. /Buygunlab to Buy a gunlab that spawns P228 pistols]], {}, "gundealer", 2, 45, 0, false, false)
  91.  
  92. TEAM_MEDIC = AddExtraTeam("Medic", Color(47, 79, 79, 255), "models/player/kleiner.mdl", [[With your medical knowledge, you heal players to proper
  93. health.
  94. Without a medic, people can not be healed.
  95. Left click with the Medical Kit to heal other players.
  96. Right click with the Medical Kit to heal yourself.]], {"med_kit"}, "medic", 3, 45, 0, false, false)
  97.  
  98. 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
  99. of your city.
  100. You can spawn a microwave and sell the food you make:
  101. /Buymicrowave]], {}, "cook", 2, 45, 0, 0, false)
  102.  
  103. TEAM_CHIEF = AddExtraTeam("Civil Protection Chief", Color(20, 20, 255, 255), "models/player/combine_soldier_prisonguard.mdl", [[The Chief is the leader of the Civil Protection unit.
  104. Coordinate the police forces to bring law to the city
  105. Hit them with arrest baton to put them in jail
  106. Bash them with a stunstick and they might learn better than to
  107. disobey the law.
  108. The Battering Ram can break down the door of a criminal with a
  109. warrant for his/her arrest.
  110. Type /wanted <name> to alert the public to this criminal
  111. Type /jailpos to set the Jail Position]], {"weapon_mad_spas", "arrest_stick", "unarrest_stick", "weapon_mad_357", "stunstick", "door_ram", "weaponchecker", "keypad_cracker"}, "chief", 1, 75, 0, false, true, TEAM_POLICE)
  112.  
  113. TEAM_MAYOR = AddExtraTeam("Mayor", Color(150, 20, 20, 255), "models/player/breen.mdl", [[The Mayor of the city creates laws to serve the greater good
  114. of the people.
  115. If you are the mayor you may create and accept warrants.
  116. Type /wanted <name> to warrant a player
  117. Type /jailpos to set the Jail Position
  118. Type /lockdown initiate a lockdown of the city.
  119. Everyone must be inside during a lockdown.
  120. The cops patrol the area
  121. /unlockdown to end a lockdown]], {}, "mayor", 1, 85, 0, true, false/*, {TEAM_CHIEF, TEAM_POLICE}*/)
  122. /*
  123. --------------------------------------------------------
  124. HOW TO MAKE AN EXTRA CLASS!!!!
  125. --------------------------------------------------------
  126.  
  127. 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!!!
  128. Ok here's how:
  129.  
  130. To make an extra class do this:
  131. 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)
  132.  
  133. The real example is here: it's the Hobo: */
  134.  
  135. --VAR without /!!! The name the color(what you see in tab) the player model The description
  136. TEAM_HOBO = AddExtraTeam("Hobo", Color(80, 45, 0, 255), "models/player/corpse1.mdl", [[The lowest member of society. All people see you laugh.
  137. You have no home.
  138. Beg for your food and money
  139. Sing for everyone who passes to get money
  140. Make your own wooden home somewhere in a corner or
  141. outside someone else's door]], {"weapon_bugbait"}, "hobo", 5, 0, 0, false)
  142. //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
  143. // MAKE SURE THAT THERE IS NO / IN THE TEAM NAME OR IN THE TEAM COMMAND:
  144. // TEAM_/DUDE IS WROOOOOONG !!!!!!
  145. // HAVING "/dude" IN THE COMMAND FIELD IS WROOOOOOOONG!!!!
  146. //ADD TEAMS UNDER THIS LINE:
  147.  
  148. TEAM_ADMIN = AddExtraTeam("Admin On Duty", Color(100,25,100,255), "models/player/Combine_Super_Soldier.mdl", [[The Admin Police is only used by admins, they do the most basic admin things.
  149. ]], {"weapon_mad_m3", "weapon_mad_incendiary", "weapon_mad_p90", "weapon_mad_charge", "StunStick", "Arrest Baton", "Unarrest Baton"}, "admin", 10, 200, 1, false, true)
  150.  
  151. TEAM_BANKER = AddExtraTeam("Banker", Color(0,25,0,255), "models/player/odessa.mdl", [[You must look after peoples
  152. printners for them
  153. ABUSE THIS = BAN]], {}, "banker", 2, 65, 0, true)
  154.  
  155.  
  156. TEAM_DRUG = AddExtraTeam("Drug Dealer", Color(0,200,0,255), "models/player/Group03/Male_02.mdl", [[Sell
  157. dem
  158. drugz]], {weapon_injector}, "drugdealer", 3, 50, 0, false)
  159.  
  160. TEAM_THIEF = AddExtraTeam("Thief", Color(255,100,255,255), {"models/player/phoenix.mdl", "models/player/arctic.mdl"}, [[Steal shit for dosh
  161. ]], {"lockpick", "keypad_cracker"}, "thief", 4, 40, 0, false)
  162.  
  163. TEAM_INFILTRATOR = AddExtraTeam("Infiltrator", Color(255,100,255,255), {"models/player/phoenix.mdl", "models/player/arctic.mdl"}, [[You have upgraded tools, Use them to your advantage.
  164. ]], {"vip_lockpick", "vip_keypad_cracker"}, "infiltrator", 4, 90, 0, false, function(ply) return ply:GetNWString("usergroup") == "vip" or ply:IsAdmin() end )
  165.  
  166. TEAM_FIGHT = AddExtraTeam("Fight Club Owner", Color(100,100,0,255), {"models/player/Hostage/Hostage_04.mdl", "models/player/Hostage/Hostage_03.mdl", "models/player/Hostage/Hostage_02.mdl", "models/player/Hostage/Hostage_01.mdl"}, [[You start up a club/gym where you teach people to fight!
  167. ]], {}, "thief", 2, 75, 0, false, function(ply) return ply:GetNWString("usergroup") == "vip" or ply:IsAdmin() end )
  168.  
  169. TEAM_SWAT = AddExtraTeam("SWAT", Color(0,0,255,255), "models/player/swat.mdl", [[You are the towns last hope, You are armed to the teeth and are ready for battle.
  170. That being said you are only allowed to kill law breakers.]], {"battering_ram", "keypad_cracker", "weapon_mad_xm1014", "weapon_mad_alyxgun", "weapon_mad_ar2", "weapon_mad_charge", "weapon_mad_flash", "weapon_mad_smoke", "weapon_mad_mp5"}, "swat1", 6, 225, 0, false, function(ply) return ply:GetNWString("usergroup") == "vip" or ply:IsAdmin() end )
  171.  
  172. TEAM_SWATSNIPER = AddExtraTeam("SWAT Sniper", Color(0,0,255,255), "models/player/combine_soldier.mdl", [[You cover everyones back while raiding.
  173. ]], {"weapon_mad_flare", "weapon_mad_knife", "weapon_mad_medic", "weapon_mad_alyxgun", "weapon_mad_scout", "weapon_mad_g3", "weapon_mad_flash", "weapon_mad_smoke", "weapon_mad_mp5"}, "swat2", 3, 200, 0, false, function(ply) return ply:GetNWString("usergroup") == "vip" or ply:IsAdmin() end )
  174.  
  175. TEAM_SMITH = AddExtraTeam("Gun Smith", Color(255,50,0,255), "models/player/monk.mdl", [[You sell Cheaper weapons
  176. ]], {}, "gunsmith", 3, 75, 0, false, function(ply) return ply:GetNWString("usergroup") == "vip" or ply:IsAdmin() end )
  177.  
  178. TEAM_SPAI = AddExtraTeam("Secret Agent", Color(100,100,255,255), "models/player/barney.mdl", [[CURRENTLY BROKEN! You work as a spy for whoever you please.
  179. ]], {"lockpick", "keypad_cracker", "weapon_mad_usp", "weapon_disguise"}, "spy", 3, 300, 0, false, function(ply) return ply:GetNWString("usergroup") == "vip" or ply:IsAdmin() end )
  180.  
  181. TEAM_WHORE = AddExtraTeam("Prostitute", Color(255,200,255,255), "models/player/alyx.mdl", [[Cyber people for
  182. $$$]], {}, "whore", 14, 50, 0, false)
  183.  
  184. TEAM_hitman = AddExtraTeam("Hitman", Color(0,100,0,255), "models/player/leet.mdl", [[You kill people for a price
  185. Recommended price: $250
  186. ]], {}, "hitman", 2, 45, 0, false)
  187.  
  188. TEAM_guard = AddExtraTeam("Guard", Color(175,175,180,255), "models/player/gasmask.mdl", [[You guard people for a price, A good idea is to work for a bank.
  189. ]], {}, "guard", 3, 55, 0, false)
  190.  
  191. TEAM_chat = AddExtraTeam("Chat show host", Color(150,150,200,255), {"models/player/hostage/hostage_01.mdl", "models/player/Group01/Female_02.mdl"}, [[Host a chat radio, like
  192. BBC RADIO York or whatever]], {}, "chathost", 1, 50, 0, true)
  193.  
  194. TEAM_BAR = AddExtraTeam("Bartender", Color(255,200,200,255), "models/player/hostage/hostage_03.mdl", [[Share stories
  195. Sell pints
  196. Make friends.]], {}, "bartender", 4, 50, 0, false)
  197.  
  198. TEAM_tech = AddExtraTeam("Computer Technician", Color(0,215,100,255), "models/player/hostage/hostage_02.mdl", [[You set up computers for the
  199. lovely people!
  200. ]], {"pcmod_installdisk", "pcmod_hdcopier"}, "tech", 3, 55, 0, false)
  201.  
  202. TEAM_SUPPORT = AddExtraTeam("Civil Protection Support", Color(0, 51, 255, 255), "models/player/urban.mdl", [[You are the Police's Plan B
  203. You help your team when raiding
  204. All basic cop rules apply.]], {"weapon_mad_aug", "arrest_stick", "unarrest_stick", "weapon_mad_mp5", "stunstick", "door_ram", "weaponchecker", "keypad_cracker", "weapon_mad_charge"}, "support", 4, 70, 0, false, true, TEAM_POLICE)
  205.  
  206. /*
  207. --------------------------------------------------------
  208. HOW TO MAKE A DOOR GROUP
  209. --------------------------------------------------------
  210. AddDoorGroup("NAME OF THE GROUP HERE, you see this when looking at a door", Team1, Team2, team3, team4, etc.)
  211.  
  212. WARNING: THE DOOR GROUPS HAVE TO BE UNDER THE TEAMS IN SHARED.LUA. IF THEY ARE NOT, IT MIGHT MUCK UP!
  213.  
  214.  
  215. The default door groups, can also be used as examples:
  216. */
  217. AddDoorGroup("Police Property", TEAM_CHIEF, TEAM_POLICE, TEAM_MAYOR, TEAM_SUPPORT, TEAM_SWAT)
  218.  
  219.  
  220.  
  221. /*
  222. --------------------------------------------------------
  223. HOW TO MAKE An agenda
  224. --------------------------------------------------------
  225. AddAgenda(Title of the agenda, Manager (who edits it), Listeners (the ones who just see and follow the agenda))
  226.  
  227. WARNING: THE AGENDAS HAVE TO BE UNDER THE TEAMS IN SHARED.LUA. IF THEY ARE NOT, IT MIGHT MUCK UP!
  228.  
  229. The default agenda's, can also be used as examples:
  230. */
  231. AddAgenda("Fusilli's agenda", TEAM_FUSILLIMOB, {TEAM_FUSILLIGANG})
  232. AddAgenda("Leone's agenda", TEAM_LEONEMOB, {TEAM_LEONEGANG})
  233. AddAgenda("Police agenda", TEAM_MAYOR, TEAM_CHIEF, {TEAM_POLICE, TEAM_SUPPORT, TEAM_SWAT})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement