@jtff/miztemplate-lib 3.7.0 → 3.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,3 +29,69 @@ AAMAxRange = {
|
|
|
29
29
|
TARGET_THREAT_EST = 3,
|
|
30
30
|
RANDOM_RANGE = 4,
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
--SplashDamage configuration
|
|
34
|
+
splash_damage_options = {
|
|
35
|
+
--debug options
|
|
36
|
+
["game_messages"] = true, --enable some messages on screen
|
|
37
|
+
["debug"] = DEBUG_MSG, --enable debugging messages
|
|
38
|
+
["weapon_missing_message"] = false, --false disables messages alerting you to weapons missing from the explTable
|
|
39
|
+
|
|
40
|
+
["track_pre_explosion_debug"] = false, --Toggle to enable/disable pre-explosion tracking debugging
|
|
41
|
+
|
|
42
|
+
["enable_radio_menu"] = true, --enables the in-game radio menu for modifying settings
|
|
43
|
+
|
|
44
|
+
["static_damage_boost"] = 2000, --apply extra damage to Unit.Category.STRUCTUREs with wave explosions
|
|
45
|
+
["wave_explosions"] = false, --secondary explosions on top of game objects, radiating outward from the impact point and scaled based on size of object and distance from weapon impact point
|
|
46
|
+
["larger_explosions"] = true, --secondary explosions on top of weapon impact points, dictated by the values in the explTable
|
|
47
|
+
["damage_model"] = false, --allow blast wave to affect ground unit movement and weapons
|
|
48
|
+
["blast_search_radius"] = 100, --this is the max size of any blast wave radius, since we will only find objects within this zone
|
|
49
|
+
["cascade_damage_threshold"] = 0.1, --if the calculated blast damage doesn't exceed this value, there will be no secondary explosion damage on the unit. If this value is too small, the appearance of explosions far outside of an expected radius looks incorrect.
|
|
50
|
+
["blast_stun"] = false, --not implemented
|
|
51
|
+
["unit_disabled_health"] = 30, --if health is below this value after our explosions, disable its movement
|
|
52
|
+
["unit_cant_fire_health"] = 40, --if health is below this value after our explosions, set ROE to HOLD to simulate damage weapon systems
|
|
53
|
+
["infantry_cant_fire_health"] = 70, --if health is below this value after our explosions, set ROE to HOLD to simulate severe injury
|
|
54
|
+
|
|
55
|
+
["rocket_multiplier"] = 1.3, --multiplied by the explTable value for rockets
|
|
56
|
+
["overall_scaling"] = 1, --overall scaling for explosive power
|
|
57
|
+
|
|
58
|
+
["apply_shaped_charge_effects"] = true, --apply reduction in blastwave etc for shaped charge munitions
|
|
59
|
+
["shaped_charge_multiplier"] = 0.2, --multiplier that reduces blast radius and explosion power for shaped charge munitions.
|
|
60
|
+
|
|
61
|
+
["use_dynamic_blast_radius"] = true, --if true, blast radius is calculated from explosion power; if false, blast_search_radius (90) is used
|
|
62
|
+
["dynamic_blast_radius_modifier"] = 2, --multiplier for the blast radius
|
|
63
|
+
|
|
64
|
+
["cascade_scaling"] = 1, --multiplier for secondary (cascade) blast damage, 1 damage fades out too soon, 3 damage seems a good balance
|
|
65
|
+
["cascade_explode_threshold"] = 60, --only trigger cascade explosion if the unit's current health is <= this percent of its maximum, setting can help blow nearby jeeps but not tanks
|
|
66
|
+
["always_cascade_explode"] = false, --switch if you want everything to explode like with the original script
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
--track_pre_explosion/enable_cargo_effects should both be the same value
|
|
70
|
+
["track_pre_explosion"] = true, --Toggle to enable/disable pre-explosion tracking
|
|
71
|
+
["enable_cargo_effects"] = true, --Toggle for enabling/disabling cargo explosions and cook-offs
|
|
72
|
+
["cargo_damage_threshold"] = 60, --Health % below which cargo explodes (0 = destroyed only)
|
|
73
|
+
["debris_effects"] = true, --Enable debris from cargo cook-offs
|
|
74
|
+
["debris_power"] = 1, --Power of each debris explosion
|
|
75
|
+
["debris_count_min"] = 6, --Minimum debris pieces per cook-off
|
|
76
|
+
["debris_count_max"] = 12, --Maximum debris pieces per cook-off
|
|
77
|
+
["debris_max_distance"] = 10, --Max distance debris can travel (meters), the min distance from the vehicle will be 10% of this
|
|
78
|
+
|
|
79
|
+
["ordnance_protection"] = true, --Toggle ordinance protection features
|
|
80
|
+
["ordnance_protection_radius"] = 10, --Distance in meters to protect nearby bombs
|
|
81
|
+
["detect_ordnance_destruction"] = true, --Toggle detection of ordnance destroyed by large explosions
|
|
82
|
+
["snap_to_ground_if_destroyed_by_large_explosion"] = true, --If the ordnance protection fails or is disabled we can snap larger_explosions to the ground (if enabled - power as set in weapon list) - so an explosion still does hit the ground
|
|
83
|
+
["recent_large_explosion_snap"] = true, --enable looking for a recent large_explosion generated by the script
|
|
84
|
+
["recent_large_explosion_range"] = 200, --range its looking for in meters for a recent large_explosion generated by the script
|
|
85
|
+
["recent_large_explosion_time"] = 4, --in seconds how long ago there was a recent large_explosion generated by the script
|
|
86
|
+
|
|
87
|
+
-- Cluster bomb settings
|
|
88
|
+
["cluster_enabled"] = false,
|
|
89
|
+
["cluster_base_length"] = 150, -- Base forward spread (meters)
|
|
90
|
+
["cluster_base_width"] = 200, -- Base lateral spread (meters)
|
|
91
|
+
["cluster_max_length"] = 300, -- Max forward spread (meters)
|
|
92
|
+
["cluster_max_width"] = 400, -- Max lateral spread (meters)
|
|
93
|
+
["cluster_min_length"] = 100, -- Min forward spread
|
|
94
|
+
["cluster_min_width"] = 150, -- Min lateral spread
|
|
95
|
+
["cluster_bomblet_reductionmodifier"] = true, -- Use equation to reduce number of bomblets (to make it look better)
|
|
96
|
+
["cluster_bomblet_damage_modifier"] = 1, -- Adjustable global modifier for bomblet explosive power
|
|
97
|
+
}
|