Guest User

fn_int

a guest
Apr 7th, 2017
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.77 KB | None | 0 0
  1. // ExileZ 2.0 by Patrix87 of http:\\multi-jeux.quebec //
  2. #include "code\pre_init.sqf";
  3. #include "ZClassesList.sqf"; // All available classes per group
  4. #include "ZLoot.sqf"; // Loot groups
  5. #include "ZVest.sqf"; // Vest groups
  6. #include "ZClasses.sqf"; // Zombie classes groups
  7. #include "TriggerPositions.sqf"; // Trigger positions
  8. // EDIT BELOW
  9.  
  10. //Global Settings
  11. ZombieSide = EAST; // zombie team side east, west and Civilian can be used
  12. ZombieSideString = "EAST"; // Same thing but in a string.
  13. CorpseDeleteDelay = 300; // delay before a zombie corpse is deleted.
  14. Debug = true; // debug messages.
  15. MinSpawnDistance = 20; // Closest distance from any player to spawn a zombie.
  16. MaxSpawnDistance = 160; // Max distance a zombie should spawn from a player.
  17. MaxDistance = 300; // Max distance to players before delete.
  18. MaxTime = 30; // Max time away from a player before delete.
  19. RemoveZfromTerritory = true; // Will kill zombies when they get too close to a flag. *(the check is done every MaxTime) will only work with zombies that are configured to avoid territories
  20. TriggerGroupScaling = 0.25; // 1 player = Groupsize, 2 player in trigger = Groupsize + (GroupSize * TriggerGroupScalling * number of player in the trigger) set at 0 to disable scaling
  21. LightsOff = true; // Kill all the light on map except the player lights.
  22. HarassingZombieAtNightOnly = true; // Spawn harassing zombies at night only.
  23. NightStartTime = 18; // Time at which it is night in hours
  24. NightEndTime = 6; // Time at which it is no longer night in hours
  25.  
  26. //Explosive zombies
  27. ExplosiveZombies = true; // randomly boobie trapped zombies exploding a few seconds after dying.
  28. ExplosiveZombiesRatio = 2; // percentage of explosive zombies
  29. ExplosiveZombieWarning = "IT'S A TRAP !!!";// Message that will display a few seconds before the explosion of a zombie.
  30. ExplosionDelay = 3; // self-explanatory
  31. ExplosiveType = "Grenade" ; // "mini_Grenade" for small almost non-lethal explision or "Grenade" Big and dangerous explosion.
  32. ExplosiveRespect = 100; // Bonus respect for Exploding zombies
  33.  
  34. //Killing zombies settings
  35. EnableMoneyOnPlayer = false; // Money goes directly on killer
  36. EnableMoneyOnCorpse = true; // Money stays on corpse for looting
  37. ZombieMoney = 5; // Money per zombie kill
  38. ZombieMaxMoney = 15; // Max Money per zombie kill-random amount put on corpses
  39.  
  40. EnableStatKill = true; // Enable stat tracking for Kills DB entry
  41. EnableZombieStatKill = false; // Enable stat tracking for ZedKills DB entry
  42.  
  43. EnableRankChange = false; // Enable Rank change
  44. EnableHumanityChange = false; // Enable GR8's Humanity change
  45. ExileZombieKillRankChange = 5; // Both Rank and Humanity are dependant on this config
  46.  
  47. EnableRespectOnKill = true; // Self Explanatory
  48. ZombieRespect = 15; // Respect per zombie kill
  49.  
  50. RoadKillBonus = 10; // Bonus Respect if roadkill
  51. MinDistance = 50; // Minimal distance for range bonus
  52. CqbDistance = 10; // Minimal ditance for close quarter bonus
  53. CqbBonus = 40; // Respect for close quarter bonus at 1 meter
  54. DistanceBonusDivider = 10; // Distance divided by that number = respect E.G. 300m / [20] = 15 Respect
  55.  
  56. //Zombie settings : SET TO -1 TO DISABLE AND USE DEFAULT FROM RYANZOMBIES
  57. _Ryanzombieshealth = 0.8; // Health, *(initial damage level 0 is no damage 1 is dead)
  58. _Ryanzombieshealthdemon = 0.5; // Health, *(initial damage level 0 is no damage 1 is dead)
  59. _Ryanzombiesattackspeed = 1.5; // Attack speed, *(Time is seconds between attacks)
  60. _Ryanzombiesattackdistance = 2; // Attack distance, *(in meters)
  61. _Ryanzombiesattackstrenth = 0; // Attack strength *(Knockback strength) *(TYPO IS NORMAL)
  62. _Ryanzombiesdamage = 0.09; // Attack damage *(% of players life per hit, 1 is 100%)
  63. _Ryanzombiesdamagecar = 0.02; // Attack damage to car *(% of car health per hit, 1 is 100%)
  64. _Ryanzombiesdamageair = 0.005; // Attack damage to air *(% of car health per hit, 1 is 100%)
  65. _Ryanzombiesdamagetank = 0.001; // Attack damage to tank *(% of car health per hit, 1 is 100%)
  66. _Ryanzombiesdamagecarstrenth = -1; // Car attack strength *(Knockback strength in M/S)
  67. _Ryanzombiesdamageairstrenth = -1; // Air attack strength *(Knockback strength M/S)
  68. _Ryanzombiesdamagetankstrenth = -1; // Tank attack strength *(Knockback strength M/S)
  69.  
  70. _Ryanzombiescanthrow = -1; // Enable or disable Throwing for zombies
  71. _Ryanzombiescanthrowtank = -1; // Enable or disable Throwing tank for zombies
  72. _Ryanzombiescanthrowdistance = 10; // Max throw distance
  73. _Ryanzombiescanthrowtankdistance = 0; // Max throw distance for tanks
  74.  
  75. _Ryanzombiescanthrowdemon = -1; // Enable or disable Throwing for demons
  76. _Ryanzombiescanthrowtankdemon = -1; // Enable or disable Throwing tank for demons
  77. _Ryanzombiescanthrowdistancedemon = 50; // Max throw distance demon
  78. _Ryanzombiescanthrowtankdistancedemon = 10; // Max throw distance for tanks
  79.  
  80. _ryanzombiesdisablebleeding = 1; // 1 to DISABLE player bleeding on hit, -1 to ENABLE player bleeding on hit.
  81. _ryanzombiesstartinganim = 1; // Enable Spawning animation
  82. _ryanzombieslimit = 100; // Player detection distance in meters
  83.  
  84. _ryanzombiesdisablemoaning = -1; // No idle sound
  85. _ryanzombiesdisableaggressive = -1; // No aggressive sounds
  86. _ryanzombiescivilianattacks = -1; // Attack civilians
  87. _Ryanzombieslogicroam = -1; // Roam ***roaming can be heavy on cpu
  88. _Ryanzombieslogicroamdemon = -1; // Demon Roam
  89.  
  90. _Ryanzombiesjump = -1; // Jumping Zombies
  91. _Ryanzombiesjumpdemon = -1; // Jumping Demons
  92.  
  93. _Ryanzombiesfeed = -1; // Feeding Zombies
  94. _Ryanzombiesfeeddemon = 1; // Feeding Demons
  95.  
  96. _Ryanzombiesinfection = -1; // Enable infections *(-1 to disable)
  97. _ryanzombiesinfectedchance = 10; // Precent chances to be infected on hit
  98. _ryanzombiesinfectedrate = 0.05; // Damage per minute when infected (+/- 30 minutes to live)
  99. _ryanzombiesinfectedsymptoms = 0.9; // Symptomes showed when infected 0.9 = Normal 0.7 = Less 0.5 = None
  100. _ryanzombiesinfecteddeath = 0.9; // 0.9 = Scream on death 0.7 = Silent death
  101. _ryanzombiesantivirusduration = 300; // Antivirus duration *(5 minutes)
  102.  
  103. //http://steamcommunity.com/sharedfiles/filedetails/?id=614815221 must be installed on the client for the cure to work
  104. //You also need to overide an Exile script, Details here : http://www.exilemod.com/topic/10999-rz-infection-for-exile/
  105.  
  106. _ryanzombiesmovementspeedwalker = 1; // Animation speed for walker zombies
  107. _ryanzombiesmovementspeedslow = 1; // Animation speed for slow zombies
  108. _ryanzombiesmovementspeedmedium = 1; // Animation speed for medium zombies
  109. _ryanzombiesmovementspeedfast = 1; // Animation speed for fast zombies
  110. _ryanzombiesmovementspeeddemon = 1; // Animation speed for demons
  111. _ryanzombiesmovementspeedspider = 1; // Animation speed for spider
  112. _ryanzombiesmovementspeedcrawler = 1; // Animation speed for crawler
  113.  
  114.  
  115. //Default Altis SafeZones
  116. SafeZonePositions =
  117. [// [[Coordinates],Radius] // You can Get the safezone information directly from your mission.sqm under class Markers
  118. [[14599,16797],175],
  119. [[23334,24188],175],
  120. [[2998,18175],175]
  121. ];
  122.  
  123. UseHarassingZombies = true; //
  124.  
  125. HSet = [
  126. /* 0 Groups Size */ 2, // maximum number of zombies around a player
  127. /* 1 Frequency */ 180, // time in seconds between each new zombie.
  128. /* 2 Vest group */ Nothing, // Vest function defined in ZVest.sqf
  129. /* 3 Loot group */ Nothing, // Loot function defined in ZLoot.sqf
  130. /* 4 Zombie group */ Easy, // Group function defined in ZClasses.sqf
  131. /* 5 Avoid Territory */ true // Zombie will not spawn in territories and will die in them if RemoveZfromTerritory is true
  132. ];
  133.  
  134. UseHorde = true; // Use the horde spawner
  135.  
  136. HordeSet = [
  137. /* 0 Groups Size */ 15, // maximum number of zombies around a player
  138. /* 1 Min Frequency */ 20, // min time in minutes between each new zombie horde.
  139. /* 2 Max Frequency */ 60, // max time in minutes between each new zombie horde.
  140. /* 3 Vest group */ Basic, // Vest function defined in ZVest.sqf
  141. /* 4 Loot group */ DocAndAmmo, // Loot function defined in ZLoot.sqf
  142. /* 5 Zombie group */ MediumMix, // Group function defined in ZClasses.sqf
  143. /* 6 Avoid Territory */ true, // Zombie will not spawn in territories and will die in them if RemoveZfromTerritory is true
  144. /* 7 Horde density */ 25 // Radius in which the zombies will spawn should be lower than Min Spawn Distance.
  145. ];
  146.  
  147. UseTriggers = true; //use the trigger system.
  148.  
  149. //place loot boxes and mission script here
  150. triggerMission = compile preprocessFile "exilez\init\zmission.sqf";
  151. triggerLootbox = compile preprocessFile "exilez\init\zmissionloot.sqf";
  152.  
  153.  
  154. Trigger_1 = [ //Cities
  155. /* 0 Use this trigger */ True, // Self - explanatory
  156. /* 1 Trigger Positions */ Cities, // The name of the array used to list all trigger position in the TriggerPositions.sqf file
  157. /* 2 Max Zombies */ 10, // The maximum number of zombies for that trigger.
  158. /* 3 Activation Delay */ 15, // The delay before the activation of the trigger.
  159. /* 4 Spawn Delay */ 15, // The delay between each zombie spawn right after the activation until the Max group size is reached.
  160. /* 5 Respawn Delay */ 60, // The respawn delay after the max group size was reached
  161. /* 6 Show Trigger On Map */ true, // Put a marker at the location and radius of the trigger on the map
  162. /* 7 Marker Color */ "ColorRed", // Color of the trigger
  163. /* 8 MarkerBrush */ "Solid", // "Solid","SolidFull","Horizontal","Vertical","Grid","FDiagonal","BDiagonal","DiagGrid","Cross","Border","SolidBorder"
  164. /* 9 Marker Alpha */ 0.2, // Alpha of the trigger *(0 is invisible 1 is opaque)
  165. /* 10 Marker Text */ "", // The text on the trigger
  166. /* 11 Vest group */ Basic, // The name of the Array used to list all the possible vest for that trigger. ZVest.sqf
  167. /* 12 Loot group */ Useful, // The name of the Array used to list all the possible loot for that trigger. ZLoot.sqf
  168. /* 13 Zombie group */ MediumCiv, // The name of the Group used to list the zombies possible for that trigger. ZClasses.sqf
  169. /* 14 Avoid Territory */ false, // Zombie will not spawn in territories and will die in them if RemoveZfromTerritory is true
  170. /* 15 Mission Radius */ 0, // Up to how far from the center of the trigger the mission LOOT can spawn.
  171. /* 16 Mission SQF */ nil, // The location of the Mission file related to that trigger *(use M3Editor to create the file.) THIS IS STATIC AND WILL NOT MOVE WITH THE TRIGGER
  172. /* 17 Loot Box */ nil // The location of the Missionloot file related to that trigger *(See example file zmissionloot.sqf)
  173. ];
  174.  
  175. Trigger_2 = [ //Military
  176. /* 0 Use this trigger */ True,
  177. /* 1 Trigger Positions */ Military,
  178. /* 2 Max Zombies */ 10,
  179. /* 3 Activation Delay */ 15,
  180. /* 4 Spawn Delay */ 15,
  181. /* 5 Respawn Delay */ 45,
  182. /* 6 Show Trigger On Map */ true,
  183. /* 7 Marker Color */ "ColorRed",
  184. /* 8 MarkerBrush */ "Solid",
  185. /* 9 Marker Alpha */ 0.2,
  186. /* 10 Marker Text */ "",
  187. /* 11 Vest group */ Basic,
  188. /* 12 Loot group */ Useful,
  189. /* 13 Zombie group */ MediumMil,
  190. /* 14 Avoid Territory */ false,
  191. /* 15 Mission Radius */ 0,
  192. /* 16 Mission SQF */ nil,
  193. /* 17 Loot Box */ nil
  194. ];
  195.  
  196. Trigger_3 = [ //High Loot
  197. /* 0 Use this trigger */ True,
  198. /* 1 Trigger Positions */ Highloot,
  199. /* 2 Max Zombies */ 10,
  200. /* 3 Activation Delay */ 15,
  201. /* 4 Spawn Delay */ 15,
  202. /* 5 Respawn Delay */ 60,
  203. /* 6 Show Trigger On Map */ true,
  204. /* 7 Marker Color */ "ColorRed",
  205. /* 8 MarkerBrush */ "Solid",
  206. /* 9 Marker Alpha */ 0.2,
  207. /* 10 Marker Text */ "",
  208. /* 11 Vest group */ Basic,
  209. /* 12 Loot group */ Useful,
  210. /* 13 Zombie group */ MediumMix,
  211. /* 14 Avoid Territory */ false,
  212. /* 15 Mission Radius */ 0,
  213. /* 16 Mission SQF */ nil,
  214. /* 17 Loot Box */ nil
  215. ];
  216.  
  217. Trigger_4 = [ //No Man Land
  218. /* 0 Use this trigger */ True,
  219. /* 1 Trigger Positions */ NoMansLand,
  220. /* 2 Max Zombies */ 10,
  221. /* 3 Activation Delay */ 15,
  222. /* 4 Spawn Delay */ 15,
  223. /* 5 Respawn Delay */ 30,
  224. /* 6 Show Trigger On Map */ true,
  225. /* 7 Marker Color */ "ColorRed",
  226. /* 8 MarkerBrush */ "DiagGrid",
  227. /* 9 Marker Alpha */ 0.2,
  228. /* 10 Marker Text */ "",
  229. /* 11 Vest group */ Basic,
  230. /* 12 Loot group */ DocAndAmmo,
  231. /* 13 Zombie group */ Hard,
  232. /* 14 Avoid Territory */ false,
  233. /* 15 Mission Radius */ 0,
  234. /* 16 Mission SQF */ nil,
  235. /* 17 Loot Box */ nil
  236. ];
  237.  
  238. Trigger_5 = [ //Villages
  239. /* 0 Use this trigger */ True,
  240. /* 1 Trigger Positions */ Villages,
  241. /* 2 Max Zombies */ 15,
  242. /* 3 Activation Delay */ 5,
  243. /* 4 Spawn Delay */ 5,
  244. /* 5 Respawn Delay */ 5,
  245. /* 6 Show Trigger On Map */ true,
  246. /* 7 Marker Color */ "ColorYellow",
  247. /* 8 MarkerBrush */ "Solid",
  248. /* 9 Marker Alpha */ 0.5,
  249. /* 10 Marker Text */ "LOOT & DEATH",
  250. /* 11 Vest group */ Basic,
  251. /* 12 Loot group */ DocAndAmmo,
  252. /* 13 Zombie group */ Hardcore,
  253. /* 14 Avoid Territory */ false,
  254. /* 15 Mission Radius */ 1500,
  255. /* 16 Mission SQF */ triggerMission,
  256. /* 17 Loot Box */ triggerLootbox
  257. ];
  258.  
  259. // List all the trigger group to use here.
  260. Triggers = [Trigger_1,Trigger_2,Trigger_3,Trigger_4,Trigger_5];
  261.  
  262. // DON'T EDIT BELOW
  263.  
  264. #include "code\post_init.sqf";
Advertisement
Add Comment
Please, Sign In to add comment