Jump to content

[HowTo] EVR BlowOut map independent


jOoPs

Recommended Posts

you mean these? 

 

ns_blowout = true; // true / false
ns_blowout_dayz = true;// true / false
ns_blow_delaymod = 0.74; //blowout delay
ns_blow_itemapsi = "NVGoggles"; //ItemAPSI replacement
ns_blow_playerdamage = 4000; // damage players without ns_blow_itemapsi can get per blowout
ns_blow_emp = false; //Namalsk Only

 

They should go in the init.sqf files of your mission pbo. In my case they are under:

 

// DayZ Epoch Config

 

just above the line

 

EpochEvents = [["any","any","any","any",30,"crash_spawner"],["any","any","any","any",0,"crash_spawner"],["any","any","any","any",15,"supply_drop"]];

dayz_fullMoonNights = true;
Link to comment
Share on other sites

This is what I got bl_damage = { private["_isinbuilding","_emp"]; _emp = _this select 0; //_count_units = count playableUnits; _count_units = count AllUnits; _isinbuilding = false; //diag_log format["[NAC BLOWOUT SERVER] :: bl_damage (_count_units = %1)", _count_units]; for [{_c = 0}, {_c <= _count_units}, {_c = _c + 1}] do { //_jednotka = playableUnits select _c; _jednotka = AllUnits select _c; if (!isNull _jednotka) then { if([_jednotka] call fnc_isInsideBuilding) then { _isinbuilding = true; //diag_log format["[NAC BLOWOUT SERVER] :: %1 IN", _isinbuilding]; } else { _isinbuilding = false; //diag_log format["[NAC BLOWOUT SERVER] :: %1 OUT", _isinbuilding]; }; if (!(_jednotka hasWeapon ns_blow_itemapsi)) then { //diag_log format["[NAC BLOWOUT SERVER] :: %1 does not have APSI", _jednotka]; if (!_isinbuilding) then { //diag_log format["[NAC BLOWOUT SERVER] :: and %1 is not in a building, sorry.", _jednotka]; _jednotka setDamage (damage _jednotka + 0.30); //diag_log format["[NAC BLOWOUT SERVER] :: %1 has been damaged by blowout by 0.30", _jednotka]; } else { //diag_log format["[NAC BLOWOUT SERVER] :: but %1 is in some building, good for him.", _jednotka]; }; } else { //diag_log format["[NAC BLOWOUT SERVER] :: %1 does have APSI, I do not have problem with him.", _jednotka]; }; if (_emp == 1) then { if (_jednotka hasWeapon "ItemGPS") then { _jednotka removeWeapon "ItemGPS"; }; if (_jednotka hasWeapon "Binoculars") then { _jednotka removeWeapon "Binoculars"; }; if (_jednotka hasWeapon "Binocular_Vector") then { _jednotka removeWeapon "Binocular_Vector"; }; }; }; }; //_count_units = count AllUnits; }; if (_emp == 1) then { _count_vehicles = count vehicles; //diag_log format["[NAC BLOWOUT SERVER] :: bl_damage (_count_vehicles = %1)", _count_vehicles]; for [{_c = 0}, {_c <= _count_vehicles}, {_c = _c + 1}] do { _vehikl = vehicles select _c; if (_vehikl isKindOf "AllVehicles") then { if ((damage _vehikl) <= 0.99) then { _vehikl setDamage 0.4; _vehikl setFuel 12; //diag_log format["[NAC BLOWOUT SERVER] :: [V] %1 has been damaged by blowout by 0.90", _vehikl]; }; }; }; };

Link to comment
Share on other sites

OK, sometimes its coming at the start of an restart, sometimes at 2 hrs and sometimes nothing in 9 hrs. its ok like that :)

But do you experience also that bug, when u have postprocess on, the screen is getting green dissortions...and it is not going away, till you restart or change HDR from high to low and back to high.

Link to comment
Share on other sites

This is what I got

bl_damage = {

private["_isinbuilding","_emp"];

_emp = _this select 0;

//_count_units = count playableUnits;

_count_units = count AllUnits;

_isinbuilding = false;

//diag_log format["[NAC BLOWOUT SERVER] :: bl_damage (_count_units = %1)", _count_units];

for [{_c = 0}, {_c <= _count_units}, {_c = _c + 1}] do {

//_jednotka = playableUnits select _c;

_jednotka = AllUnits select _c;

if (!isNull _jednotka) then {

if([_jednotka] call fnc_isInsideBuilding) then {

_isinbuilding = true;

//diag_log format["[NAC BLOWOUT SERVER] :: %1 IN", _isinbuilding];

} else {

_isinbuilding = false;

//diag_log format["[NAC BLOWOUT SERVER] :: %1 OUT", _isinbuilding];

};

if (!(_jednotka hasWeapon ns_blow_itemapsi)) then {

//diag_log format["[NAC BLOWOUT SERVER] :: %1 does not have APSI", _jednotka];

if (!_isinbuilding) then {

//diag_log format["[NAC BLOWOUT SERVER] :: and %1 is not in a building, sorry.", _jednotka];

_jednotka setDamage (damage _jednotka + 0.30);

//diag_log format["[NAC BLOWOUT SERVER] :: %1 has been damaged by blowout by 0.30", _jednotka];

} else {

//diag_log format["[NAC BLOWOUT SERVER] :: but %1 is in some building, good for him.", _jednotka];

};

} else {

//diag_log format["[NAC BLOWOUT SERVER] :: %1 does have APSI, I do not have problem with him.", _jednotka];

};

if (_emp == 1) then {

if (_jednotka hasWeapon "ItemGPS") then {

_jednotka removeWeapon "ItemGPS";

};

if (_jednotka hasWeapon "Binoculars") then {

_jednotka removeWeapon "Binoculars";

};

if (_jednotka hasWeapon "Binocular_Vector") then {

_jednotka removeWeapon "Binocular_Vector";

};

};

};

};

//_count_units = count AllUnits;

};

if (_emp == 1) then {

_count_vehicles = count vehicles;

//diag_log format["[NAC BLOWOUT SERVER] :: bl_damage (_count_vehicles = %1)", _count_vehicles];

for [{_c = 0}, {_c <= _count_vehicles}, {_c = _c + 1}] do {

_vehikl = vehicles select _c;

if (_vehikl isKindOf "AllVehicles") then {

if ((damage _vehikl) <= 0.99) then {

_vehikl setDamage 0.4;

_vehikl setFuel 12;

//diag_log format["[NAC BLOWOUT SERVER] :: [V] %1 has been damaged by blowout by 0.90", _vehikl];

};

};

};

};

At a quick glance that looks ok. What I am not sure of is the bl_bleez vehicle, however it doesn't look like it stops anything from working, it gets called as if it's a graphic effect or something. I have never played with Namalsk so I don't know what that is or how it's being used in the Namalsk version.  Technically the only thing this should do is remove the items you listed (GPS, Binos and RF's) and toss a bit of damage to the vehicle if emp is true.

Link to comment
Share on other sites

how do i make the storms come more frequent? like everyone 45 minute - 1 hour. what do i have to edit?

 

Change:

ns_blow_delaymod = 0.74; //blowout delay

To something like:

ns_blow_delaymod = 0.60; //blowout delay

It's not very exact but I've seen 0.60 put the frequency at around 45-70 minutes.

Link to comment
Share on other sites

I'm very interested in having this run on my server. However the "problem" with Epoch is the high loot spawns, e.g NVGoggles...

 

 

Is it possible to change the APSI replacement for something more rare than NVGoggles, or make the NVG's ALOT more rare? Hell, if it was possible to add the APSI device, it would be awesome!

Changing prices in traders are no problem, but it seems like you can find NVG's like every 5 minutes (sometimes every barrack you loot). Which makes it kinda pointless having the blowouts.

Link to comment
Share on other sites

I'm very interested in having this run on my server. However the "problem" with Epoch is the high loot spawns, e.g NVGoggles...

 

 

Is it possible to change the APSI replacement for something more rare than NVGoggles, or make the NVG's ALOT more rare? Hell, if it was possible to add the APSI device, it would be awesome!

Changing prices in traders are no problem, but it seems like you can find NVG's like every 5 minutes (sometimes every barrack you loot). Which makes it kinda pointless having the blowouts.

 

Change it to ItemRadio since they only drop off AI. That way you have to hunt AI to gather radios.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Advertisement
×
×
  • Create New...