Add namalsk POIs

Fixed Object A2 scenery and converted to compact arrays. Fixed floating objects, objects sticking through walls, and disabled simulation to stop bouncing of some objects. Objects that originally used setPosASL converted to setPosATL. Added some map fixes for Object A2 ladder shaft fall hazards and barracks entrances that required vaulting to enter. Added rail gun spawning with configurable chance. The POI call in init.sqf has the individual POI files listed in an array so server owners can comment them out or remove them if they don't want them.
This commit is contained in:
worldwidesorrow
2023-09-15 12:05:55 -05:00
parent 366bda6af4
commit b8f201d986
6 changed files with 161 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ if (isServer) then {
["any","any","any","any",-1,"CrashSites"]
];
dayz_POIs = false; //Adds Point of Interest map additions (negatively impacts FPS)
dayz_POIs = true; //Adds Point of Interest map additions (negatively impacts FPS)
DynamicVehicleDamageLow = 0; // Min damage random vehicles can spawn with
DynamicVehicleDamageHigh = 100; // Max damage random vehicles can spawn with
DynamicVehicleFuelLow = 0; // Min fuel random vehicles can spawn with

View File

@@ -53,7 +53,13 @@ initialized = true;
if (dayz_REsec == 1) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\REsec.sqf";};
if (isServer) then {
if (dayz_POIs) then {call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\chernarus\poi\init.sqf";};
if (dayz_POIs) then {
[
"A2Objects", // Object A2 objects that were included by Sumrak in Namalsk Crisis.
["A2RailGun",.25], // Spawns rail gun on the second floor of object A2. Default chance: .25 (25%)
"mapFixes" // Fixes entrances to some barracks and prevents fall hazards in Object A2.
] call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\namalsk\poi\init.sqf";
};
call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\dynamic_vehicle.sqf";
call compile preprocessFileLineNumbers "\z\addons\dayz_server\system\server_monitor.sqf";
execVM "\z\addons\dayz_server\traders\namalsk.sqf"; //Add trader agents