Advertisement
Guest User

Untitled

a guest
Oct 16th, 2013
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.82 KB | None | 0 0
  1. /*
  2. Created exclusively for ArmA2:OA - DayZMod.
  3. Please request permission to use/alter/distribute from project leader (R4Z0R49) AND the author (facoptere@gmail.com)
  4. */
  5.  
  6. //// TENTS CHECK ////
  7.  
  8. // Proceed to empty tents check: extra empty tents will be ignored (tents won't be created on map)
  9. // comment this out if you don't want any check
  10. //#define EMPTY_TENTS_CHECK
  11.  
  12. // Max number of empty tents
  13. #define EMPTY_TENTS_GLOBAL_LIMIT 100
  14.  
  15. // Keep a least this number of empty tents per user
  16. #define EMPTY_TENTS_USER_LIMIT 3
  17.  
  18.  
  19.  
  20. //// OUT-OF-MAP CHECK ////
  21.  
  22. // Move out-of-map tents and other crafted/installed objects next to map boundary.
  23. //#define OBJECTS_FIX_OUTOFMAP
  24.  
  25. // Move out-of-map vehicle next to map boundary.
  26. //#define VEH_MAINTENANCE_FIX_OUTOFMAP
  27.  
  28. // Move out-of-map player next to map boundary during playerSetup
  29. //#define PLAYERS_FIX_OUTOFMAP
  30.  
  31.  
  32.  
  33. //// VEHICLE MAINTENANCE /////
  34.  
  35. // Ignore (don't create on map) vehicles not decribed in Cfg file, or outnumbered ones
  36. //#define VEH_MAINTENANCE_IGNORE_UNKNOWN
  37.  
  38. // Add missing vehicles, as described in Cfg file. Respawn damaged vehicles.
  39. //#define VEH_MAINTENANCE_ADD_MISSING
  40.  
  41. // Don't look for a suitable place anywhere on map if current place is not safe
  42. #define VEH_MAINTENANCE_DONT_BE_SMART
  43.  
  44. // Damage the vehicle for 1 startup over 5
  45. // don't define if you don't want any damage
  46. //#define VEH_MAINTENANCE_ROTTEN_AT_STARTUP 5
  47.  
  48. // How the damage is computed. Here, a 0% damaged vehicle would be respawned after 100 restarts
  49. #define VEH_MAINTENANCE_ROTTEN_LOGIC (_damage * 1.04 + 0.03)
  50.  
  51. // How initial fuel level is set when a vehicle is created/spawned
  52. #define VEH_MAINTENANCE_SPAWN_FUEL_LOGIC (0.1 + floor(random 3) / 10)
  53.  
  54.  
  55.  
  56.  
  57. // where the config is described
  58. #define CONFIGBASE_VEHMAINTENANCE configFile >> "CfgPatches" >> "vehMaint"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement