Advertisement
Guest User

Untitled

a guest
Sep 11th, 2014
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 12.42 KB | None | 0 0
  1. // CONFIGURATION VALUES FOR TPW MODS
  2. //><
  3.  
  4. // STARTUP HINT
  5. tpw_hint_active = 1; // 0 = inactive
  6. //><
  7.  
  8. // AIR
  9. tpw_air_active = 1; // 0 = inactive
  10. tpw_air_delay = 10; // delay before flybys start (sec)
  11. tpw_air_time = 300; // maximum time between flybys
  12. tpw_air_max = 2; // maximum aircraft at a given time
  13. tpw_air_heights[] = {50,250,500}; // randomly chosen aircraft flying heights
  14. tpw_air_exclude = 1; // exclusion. 0 = all aircraft, 1 = civilian aircraft excluded, 2 = military aircraft excluded
  15. //><
  16.  
  17. // ANIMALS
  18. tpw_animal_active = 1; // 0 = inactive
  19. tpw_animal_delay = 10; // delay before animals start spawning (sec)
  20. tpw_animal_max = 15; // maximum animals near player. 0 = ambient animals disabled
  21. tpw_animal_maxradius = 200; // distance beyond which animals will be removed
  22. tpw_animal_minradius = 75; // minimum distance from player to spawn animals
  23. tpw_animal_noisetime = 60; // maximum time between dog/cat noises
  24. //><
  25.  
  26. // BLEEDOUT
  27. tpw_bleedout_active = 1; // 0 = inactive
  28. tpw_bleedout_inc = 5; // unit damage will be increased by this % every 10 sec
  29. tpw_bleedout_cthresh = 0.5; // damage beyond which a unit will be forced into crouch
  30. tpw_bleedout_pthresh = 0.7; // damage beyond which a unit will be forced into prone
  31. tpw_bleedout_ithresh = 0.85; // damage beyond which a unit will writhe around incapacitated (1 = dead)
  32. //><
  33.  
  34. // BOATS
  35. tpw_boat_active = 1; // 0 = inactive
  36. tpw_boat_delay = 10; // delay before boats start spawning (sec)
  37. tpw_boat_radius = 1000; // radius (m) around player to check for water spawn boats
  38. tpw_boat_waypoints = 5; // how many waypoints to give each boat
  39. tpw_boat_num = 3; // max number of boats to spawn around player. 0 = ambient boats disabled
  40. //><
  41.  
  42. // CARS
  43. tpw_car_active = 1; // 0 = inactive
  44. tpw_car_delay = 10; // delay before cars start spawning (sec)
  45. tpw_car_waypoints = 15; // how many waypoints to give each car
  46. tpw_car_num = 3; // max number of cars to spawn around player. 0 = ambient cars disabled
  47. tpw_car_radius = 1000; // radius (m) around player to check for roads and spawn cars
  48. tpw_car_nocombatspawn = 1; // cars will not be spawned during combat. 0 = cars continue to spawn during combat
  49. //><
  50.  
  51. // CIVS
  52. tpw_civ_active = 1; // 0 = inactive
  53. tpw_civ_delay = 5; // delay (sec) until civ spawning starts
  54. tpw_civ_radius = 150; // radius (m) around player to check for house and spawn civs
  55. tpw_civ_waypoints = 15; // how many waypoints to assign each civ
  56. tpw_civ_density = 5; // how many houses per civ. 0 = ambient civs disabled
  57. tpw_civ_maxsquadcas  = 4; // maximum number of civilian casualties that can be inflicted by squad
  58. tpw_civ_maxallcas  = 50; // maximum number of total civilian casualties
  59. tpw_civ_casdisplay = 0; // what to do if casualty threshold exceeded (0 -nothing, 1 - popup message, 2 - end mission)
  60. tpw_civ_maxciv = 20; // maximum number of civs to spawn regardless of tpw_civ_density
  61. tpw_civ_interact = 15; // civilian interaction radius. Civs closer than this to other civs will stop and talk (0 - no interaction).
  62. tpw_civ_nocombatspawn = 1; // civilians will not be spawned during combat. 0 = civilians continue to spawn during combat
  63. //><
  64.  
  65. // EBS
  66. tpw_ebs_active = 1; // 0 = inactive
  67. tpw_ebs_thresh = 5; // unit is suppressed if this many bullets pass by in 5 secs
  68. tpw_ebs_delay = 1; // how long until suppression functions start (sec)
  69. tpw_ebs_debug = 0; // 1 = debugging will colour the suppressed unit's uniform (green = own side, yellow = enemy <5 bullets, red = enemy >5 bullets)
  70. tpw_ebs_radius = 500; // units must be closer to player than this (m) for suppression to work
  71. tpw_ebs_playersup = 1; // suppression effects applied to player. 0 = no player suppression
  72. tpw_ebs_aisup = 1; // suppression effects applied to AI. 0 = no AI suppression
  73. tpw_ebs_findcover = 1; // AI will seek cover when suppressed. 0 = will not seek cover
  74. tpw_ebs_suptype = 0; // Suppression type. 0 = bullet centric, 1 = suppression shell object  
  75. //><
  76.  
  77. // FALL
  78. tpw_fall_active = 1; // 0 = inactive
  79. tpw_fall_sensitivity = 100; // sensitivity of unit to falls (%). 50 = unit half as likely to fall over from a given height.
  80. tpw_fall_threshold = 300; // distance threshold (m). Unit must be closer than this to player to realistically react to falls.
  81. tpw_fall_delay = 10; // delay until fall functions start
  82. tpw_fall_ragdoll = 1; // use ragdoll animations when unit is hit. 0 = no ragdoll.
  83. tpw_fall_falltime = 15; // Time on ground (sec) after falling from bullet hit. Animated fall: 0 to tpw_fall_falltime. Ragdoll fall: tpw_fall_falltime to 2x tpw_fall_falltime.  
  84. tpw_fall_player = 1; // Player can fall from bullet hits and large drops. 0 = player will not fall.
  85. tpw_fall_bullet = 1; // Units will react to bullet hits. 0 = units will only react to falls from height
  86. //><
  87.  
  88. // FOG
  89. tpw_fog_active = 1; // 0 = inactive
  90. tpw_fog_radius = 250; // units must be closer than this to show foggy breath (m). 0 = foggy breath disabled
  91. tpw_fog_delay = 5; // delay before fog functions start (sec)
  92. tpw_fog_breath = 1; // foggy breath enabled. 0 = disabled
  93. tpw_fog_groundfog = 1; // ground fog enabled. 0 = disabled
  94. tpw_fog_rainfog = 1; // rain fog enabled. 0 = disabled
  95. tpw_fog_heathaze = 1; // heat haze enabled. 0 = disabled
  96. tpw_fog_cansnow = 1; // snow enabled. 0 = disabled
  97. //><
  98.  
  99. // HOUSELIGHTS
  100. tpw_houselights_active = 1; // 0 = inactive
  101. tpw_houselights_delay = 10; // delay (sec) until houselights functions start
  102. //><
  103.  
  104. // HUD
  105. tpw_hud_active = 1; // 0 = inactive
  106. tpw_hud_range[] = {25,500}; // effective minimum and maximum range of goggles to scan for units
  107. tpw_hud_vehiclefactor = 1.5; // Detection range multiplication factor for vehicles (eg 1.5 = 750m max detection range for vehicles vs 500m for units)  
  108. tpw_hud_colour[] = {1,1,1}; // HUD colour
  109. tpw_hud_friendlycolour[] = {0,1,1}; // friendly colour
  110. tpw_hud_civcolour[] = {1,1,1}; // civ colour
  111. tpw_hud_enemycolour[] = {1,0.5,0}; // enemy colour
  112. tpw_hud_squadcolour[] = {0.5,1,0}; // squad and marker colour
  113. tpw_hud_alpha = 0.6; // initial transparency of HUD. 0 = invisible, 1 = opaque
  114. tpw_hud_asl[] = {1,0.6,0.45,1}; // ASL = height above sea level. [1 = active ( 0 = inactive), 0.6 = X position, 0.45 = Y position, 1 = text size]
  115. tpw_hud_azt[] = {1,0.5,0.45,1}; // AZT = azimuth (direction of gaze).
  116. tpw_hud_grd[] = {1,0.4,0.45,1}; // GRD = GPS grid coordinates.
  117. tpw_hud_lmt[] = {1,0.4,0.5,1}; // LMT = local mean time.
  118. tpw_hud_tmp[] = {1,0.6,0.5,1}; // TMP = temperature (from TPW FOG) .
  119. tpw_hud_hlt[] = {1,0.4,0.55,1}; // HLT= health.
  120. tpw_hud_rng[] = {1,0.5,0.55,1}; // RNG = range to centre of player's gaze.
  121. tpw_hud_vel[] = {1,0.6,0.55,1}; // VEL = speed of player (or player's vehicle).
  122. tpw_hud_prx[] = {1,0.5,0.5,1}; // PRX = display numbers of nearby units.
  123. tpw_hud_unit[] = {1,1,0.25,0.75}; // UNITS/MARKERS displayed on HUD, where 1 = active ( 0 = inactive), 1 = icon max size, 0.25 = icon min size, 0.75 = text size ( 1 = same size as HUD text).
  124. tpw_hud_offset[] = {0.35,0.28}; //HUD offset. [x,y] -0.5 to 0.5
  125. tpw_hud_scale = 0.8; // HUD scale. > 1 = larger
  126. tpw_hud_textscale = 1; // HUD text scale. > 1 = larger
  127. tpw_hud_degradation = 1; // HUD performance reduced with distance. 0 = no degradation
  128. tpw_hud_thirdperson = 0; // no HUD in 3rd person. 1 = HUD in 3rd person
  129. tpw_hud_addtac = 1; // automatically add tactical glasses to the player's inventory if they are not already carrying/wearing them. 0 = don't add glasses
  130. tpw_hud_audible = 1; // audible warning when enemies detected. 0 = no audible warning.
  131. tpw_hud_icons[] = {24,23,30,29,24,23,30,29,22,20}; // HUD icon types, see key below
  132. /*ICONS
  133. {unit,hidden unit,vehicle, hidden vehicle, enemy unit, hidden enemy unit, enemy vehicle, hidden enemy vehicle,marker, predictor}
  134. 0: empty
  135. 1: 2px_cross
  136. 2: 2px_cross_open
  137. 3: 2px_cross_small
  138. 4: 2px_diamond
  139. 5: 2px_diamond_half
  140. 6: 2px_diamond_open
  141. 7: 2px_dot
  142. 8: 2px_line
  143. 9: 2px_line_open
  144. 10: 2px_square
  145. 11: 2px_square_half
  146. 12: 2px_square_open
  147. 13: 2px_x
  148. 14: 2px_x_open
  149. 15: 2px_x_small
  150. 16: 3px_circle
  151. 17: 3px_circle_half
  152. 18: 3px_circle_open
  153. 19: 3px_cross
  154. 20: 3px_cross_open
  155. 21: 3px_cross_small
  156. 22: 3px_diamond
  157. 23: 3px_diamond_half
  158. 24: 3px_diamond_open
  159. 25: 3px_dot
  160. 26: 3px_line
  161. 27: 3px_line_open
  162. 28: 3px_square
  163. 29: 3px_square_half
  164. 30: 3px_square_open
  165. 31: 3px_x
  166. 32: 3px_x_open
  167. 33: 3px_x_small
  168. */
  169.  
  170. // HUD LAYOUT - ONLY EDIT THESE IF YOU KNOW WHAT YOU'RE DOING WITH STRUCTURED TEXT
  171. tpw_hud_asl_txt = "%1<t size='0.5'><br />ASL</t>"; // ASL
  172. tpw_hud_azt_txt = "%1<t size='0.5'><br />AZT %2</t>"; // AZT
  173. tpw_hud_grd_txt = "%1<t size='0.5'><br />GRD</t>"; // GRD
  174. tpw_hud_lmt_txt = "%1%2<t size='0.5'><br />LMT</t>"; // LMT
  175. tpw_hud_tmp_txt = "%1<t size='0.5'><br />TMP</t>"; // TMP
  176. tpw_hud_hlt_txt = "%1<t size='0.5'><br />HLT %2</t>"; // HLT
  177. tpw_hud_rng_txt = "%1<t size='0.5'><br />RNG</t>"; // RNG
  178. tpw_hud_vel_txt = "%1<t size='0.5'><br />VEL</t>"; // VEL
  179. tpw_hud_airvel_txt = "%1<t size='0.5'><br />VEL KTS</t>"; // VEL IN AIRCRAFT
  180. tpw_hud_prx_txt = "<t color='%5'>%1</t> <t color='%6'>%2</t> <t color='%7'>%3</t> <t color='%8'>%4</t><t size='0.5'><br />PRX</t>"; // PRX
  181. //><
  182.  
  183. // LOS
  184. tpw_los_active = 0; // 0 = inactive
  185. tpw_los_debug = 0; // 1 = blue balls will appear above units with line of sight to a visible enemy
  186. tpw_los_maxdist = 100; // maximum distance (m). LOS stuff only works for units closer than this.
  187. tpw_los_mindist = 25; // minimum distance (m). Enemies are considered "visible" no matter what, if less than this distance.
  188. tpw_los_delay = 10; // delay until los functions start (sec)
  189. //><
  190.  
  191. //PARK
  192. tpw_park_active = 1; // 0 = inactive
  193. tpw_park_perc = 25; // percentage of houses with parked cars. 0 = no cars
  194. tpw_park_createdist = 300; // cars created within this distance, completely removed past it.
  195. tpw_park_hidedist = 150; // cars closer than this are shown, further than this are hidden
  196. tpw_park_simdist = 20; // cars closer than this have simulation enabled
  197. tpw_park_max = 15; // maximum cars to spawn regardless (not irregardless).
  198. //><
  199.  
  200. // RADIO
  201. tpw_radio_active = 1; // 0 = inactive
  202. tpw_radio_house = 1; // Radio in houses. 0 = no radio in houses
  203. tpw_radio_car = 1; // Radio in vehicles. 0 = no radio in houses
  204. tpw_radio_time = 60; // maximum time between messages (sec)
  205. //><
  206.  
  207. // RAIN FX
  208. tpw_rain_active = 1; // 0 = inactive
  209. //><
  210.  
  211. // SKIRMISH
  212. tpw_skirmish_active = 1; // 0 = inactive
  213. tpw_skirmish_enemysquad_max = 5; // Maximum number of enemy squads around player
  214. tpw_skirmish_enemyvehicles_max = 2; // Maximum number of enemy vehicles around player
  215. tpw_skirmish_friendlysquad_max = 5; // Maximum number of friendly squads around player
  216. tpw_skirmish_friendlyvehicles_max = 2; // Maximum number of friendly vehicles around player
  217. tpw_skirmish_minspawnradius = 500; // Minimum distance from player to spawn units/vehicles
  218. tpw_skirmish_maxspawnradius = 2000; // Maximum distance from player to spawn units/vehicles. Units/vehicles deleted beyond this distance
  219. tpw_skirmish_support = 1; // NATO units can call support
  220. tpw_skirmish_friendlytype = 1; //  0 = user defined, 1 = NATO, 2 = FIA, 3 = AAF,
  221. tpw_skirmish_enemytype = 1; // 0 = user defined, 1 = CAF Aggressors (CAF_AG), 2 = CSAT, 3 = AAF, 4 = CSAT modification project (CMP) arid, 5 = CMP semiarid, 6 = CMP urban, 7 = ISIS (mixed CAF_AG with shemags), 8 = ISIS 2035 (CSAT + CAF_AG clothing + shemags)
  222. tpw_skirmish_spawntime = 10;  // Time (sec) between spawning each enemy/friendly squad/vehicle
  223. tpw_skirmish_friendlyunitstring = ""; // Custom string to select friendly units from config
  224. tpw_skirmish_friendlyvehiclestring = ""; // Custom string to select friendly vehicles from config
  225. tpw_skirmish_enemyunitstring = ""; // Custom string to select enemy units from config
  226. tpw_skirmish_enemyvehiclestring = ""; // Custom string to select enemy vehicles from config
  227. //><
  228.  
  229. // STREETLIGHTS
  230. tpw_streetlights_active = 1; // 0 = inactive
  231. tpw_streetlights_factor = 10; // brightness factor. 3-15 should be ok for most maps
  232. tpw_streetlights_range = 1000; // radius (m) around player to scan for streetlights
  233. tpw_streetlights_colour = 0; // light colour. 0 = warm white incandescent, 1 = yellow sodium, 2 = blue/white fluorescent
  234. tpw_streetlights_moths = 1; // 0 = no moths around lights
  235. //><
  236.  
  237. //animationsActivePlaceholder = 1;
  238. #define run_rifle   0.6             //default 0.685
  239. #define tactical_rifleup    0.7     //default 0.786
  240. #define tactical_jog    1.35        //default 1.55
  241. #define unarmed_walkspeed   0.27    //default 0.35
  242. #define rifledown_walkspeed 0.22    //default 0.3
  243. #define rifleup_walkspeed   0.81    //default 0.85
  244. #define roll_left   0.7             //default 1.1  
  245. #define roll_right  0.8             //default 1.2
  246. //><
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement