Jump to content
juandayz

[RELEASE [NUCLEAR WARS]] For Takistan and Zargabad Maps

Recommended Posts

11 minutes ago, juandayz said:

its works for epoch? or its just overpoch?

I guess this building comes from either mbg_buildings_3, mbg_killhouses or mbg_african_buildings so it should be epoch vanilla only. No Overpoch (Overwatch) should be necessary. I think you can use it without an issue.

Share this post


Link to post
Share on other sites

@Anhor @DAmNRelentless  cannot use it for nuclear bunker cuz is to small.. and need the other one to get inside all the server peoples :laugh:.. but you know guys.. i have this idea when i saw in hooty´s server this building ..And at beginnig I was about to use overpoch just for this bunker..  So now i know is epoch building and i can use it to allow players to craft smalls bunkers... so its was very helpfull.. many tnks!!!!

Share this post


Link to post
Share on other sites
Just now, Anhor said:

@juandayz I need only the sandstorm for my taki server :)

 

sandstorm.sqf  (dayz_server.pbo/modules/)

Spoiler
private ["_mainpos","_storm"];

if (isNil "EPOCH_EVENT_RUNNING") then {
EPOCH_EVENT_RUNNING = false;
};
 

if (EPOCH_EVENT_RUNNING) exitWith {
diag_log("Event already running");
};

EPOCH_EVENT_RUNNING = true;

_hint = parseText format["<t align='center' color='#2fee11' shadow='2' size='1'>SAND STORM!</t>"];
RemoteMessage = ['hint', _hint];
publicVariable "RemoteMessage";




_mainpos = [4173.5151, 4176.9487, 3.2424927e-005];

{

if ((isPlayer _x) && (_x distance _mainpos < 7000)) then { 
  
sandstorm = [_x,3.5];
publicVariable "sandstorm";                                                                                                                                                                                    
};
} forEach playableUnits;

NW_SetOvercastServer = 0.75; publicVariableServer "NW_SetOvercastServer";

sleep 60;
EPOCH_EVENT_RUNNING = false;
NW_SetOvercastServer = 0.5; publicVariableServer "NW_SetOvercastServer";

 

nw_variables.sqf (mpmissions\your instance\dayz_code\init\)

Spoiler
if(isDedicated) then {


			
"NW_SetOvercastServer" addPublicVariableEventHandler {
			NW_setOvercastClient = (_this select 1);
			5 setOvercast NW_setOvercastClient;
			{(owner _x) publicVariableClient "NW_setOvercastClient";} forEach entities "CAManBase";

		};
			
			};
			
	
			

		
		"NW_setOvercastClient" addPublicVariableEventHandler {
		drn_fnc_DynamicWeather_SetWeatherLocal = {};
		5 setOvercast (_this select 1);};

	

 

player_sandstorm.sqf (mpmissions\your instance\dayz_code\events\)

Spoiler

private ["_damage","_maxSeconds","_seconds","_txt","_obj","_radial","_size","_velocity","_alpha","_pos","_ps","_particles","_ran","_color","_ps2"];
sandstormvar=true;


_obj = _this select 0;
_radial = 250;
_size = 1;

player setVariable ["sandstorm",true];

_txt = "<img image='scripts\newhud\gui\server.paa' /><br/><t size='0.7' color='#23e143' align='center'>GET COVERED OR YOU WILL DIE WITH THIS SAND STORM</t>";
[_txt, [safezoneX, safezoneW], [0.20 * safezoneH + safezoneY, 0.3 * safezoneH], 5, 0.5] spawn BIS_fnc_dynamicText;  

        
        
        
        // wind
        setwind [0.201112,0.204166,true];
        
        // parameters and particles
_velocity = [0,0,0];
_alpha = .9;
_obj = player;
_pos = getposASL _obj;    
_ps = "#particlesource" createVehicleLocal _pos;  
_ps setParticleParams [["\Ca\Data\ParticleEffects\Universal\universal.p3d", 16, 12, 13, 0], "", "Billboard", 1, 10, [0, 0, 2], _velocity, 1, 1.275, 1, 0, [4 + random 8], [[.2, .2, .1, 0], [1, 1, 1, 0.04], [1, 1, 1, 0]], [1000], 1, 0, "", "", end1];
_ps setParticleRandom [3, [312, 312, 0], [0, 0, 0], 2, random _size, [0, 0, 0, .01], 0, 0];
_ps setParticleCircle [0.1, [0, 0, 0]];
_ps setDropInterval 0.005;

_maxSeconds = 60;
_seconds = 0;
_damage = true;

_particles = [_obj,0.07,0.8,true] call BIS_fnc_sandStorm;

//NW_SetDateServer = [2012,6,4,19,0]; publicVariableServer "NW_SetDateServer";

 

damage_player = {
waituntil {uiSleep 0.5;!dayz_inside};
while {!dayz_inside} do {

r_player_blood = r_player_blood - 300;
if (!_damage) exitWith {};    
sleep 10;
waituntil {dayz_inside};
};
};

 

while {true} do {
[] spawn damage_player;

        _obj = player;
               _ran = ceil random 5;
               playsound format ["wind_%1",_ran];
               _pos = getposASL _obj;
               setwind [0.401112*2,0.204166*2,false];
               _velocity = wind;
               _color = [.08 + ( random .02 ), .06, 0.06];
               _alpha = 0.03 + random 0.52;
               _ps2 = "#particlesource" createVehicleLocal _pos;  
               _ps2 setParticleParams [["\Ca\Data\ParticleEffects\Universal\universal.p3d", 16, 12, 8, 0], "", "Billboard", 1, 45 +( random 24), [0, 0, 10], _velocity, 1, 1.275, 1, 0, [8 + (random 31)], [_color + [0], _color + [_alpha], _color + [0]], [1000], 1, 0, "", "", _obj];
               _ps2 setParticleRandom [3, [_radial, _radial, random 12], [random 2, random 2, 0], 2, random _size, [0, 0, 0, 0.01], 0, 0];
               _ps2 setParticleCircle [0.1, [0, 0, 0]];
               _ps2 setDropInterval 0.004;
       sleep 3;
              deletevehicle _ps2;
               
    if (_seconds >= _maxSeconds) exitWith {

    deletevehicle _ps2;
    deletevehicle _ps;
    _damage=false;
{

deleteVehicle _x;

} forEach _particles;
    _txt = "<img image='scripts\newhud\gui\server.paa' /><br/><t size='0.7' color='#23e143' align='center'>SAND STORM ENDS</t>";
    [_txt, [safezoneX, safezoneW], [0.20 * safezoneH + safezoneY, 0.3 * safezoneH], 2, 0.5] spawn BIS_fnc_dynamicText;  
    sandstormvar=false;
    //NW_SetDateServer = [2012,6,4,12,0]; publicVariableServer "NW_SetDateServer";
    
    };         

_seconds = _seconds + 5;
  sleep 5;
 
};

*Note: you need a 34x34 .paa  in this line scripts\newhud\gui\server.paa

init.sqf

Spoiler

find:

initialized = true;

above paste:

call compile preprocessFileLineNumbers "dayz_code\init\nw_variables.sqf";

custom publicEH.sqf

Spoiler
FIND:
"PVDZ_obj_Fire"				addPublicVariableEventHandler {(_this select 1) spawn BIS_Effects_Burn};

BELOW ADD:
"sandstorm"                  addPublicVariableEventHandler {(_this select 1) execVM "dayz_code\events\player_sandstorm.sqf"}; 

 

custom variables.sqf

Spoiler

paste in somewhere:

sandstorm=[];

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Tricks
      We are back! Ranked 7th overall in 2014! Classic DayZ Epoch PvP Server!! No stupid start bonus, no heavy military. Just classic Epoch gameplay with new updates!

       
      - Top of the Line Hardware - Overclocked 8700k servers with SSDs. Super high FPS!!

      - XP System & XP Trader - Acquire handy Perks, Skills, and Permits with our XP system!

      - Custom Traders - Totally custom traders unique to this server!

      - Military Bases - High Loot areas perfect for gearing up.

      - Custom Map Content - Aircraft Carriers, Secret Military Bases, New Towns, and more!

      - All The Major Mods - All the major mods like Coin System, Heli Evac, Hide from Zeds, and many more.

      - Lots of AI Missions - Challenging AI missions color-coded by difficulty.

      - Custom AI Missions for Groups - Static missions with super high difficulty and major loot rewards!

      - Realistic Loot Spawns - You wont find high-powered weapons while hunting for loot, realistic loot spawns.

      - No Heavy Weapons, Tanks, Attack Choppers, Jets - Just the classic Epoch vehicles with a few new additions!

      - Lots of Vehicles - Lots of vehicles scattered around the map. Some are ready to go, others need to be fixed first!

      - Base Building - Fully modular base building system with unique build items and crafting recipes.

      - Full Day/Night Cycle - Realistic day and night cycle, no stupid 24 hours daylight!!

      - Full Weather System - Rain, thunderstorms and snow in the winter!!

      - Destructible Base/Garage Doors - Base raiding without losing your whole base! Just the doors are destructible.

      - Abandoned Safes/Lockboxes - Abandoned bases will have their safes unlocked for you to raid!!

      - Fresh Server, All The Best Base Locations Still Available! - No more wipes, server is done and all progress will be saved.

      - Regular Updates/Suggestions Considered - Pass along ideas to the admin staff. We consider all changes.

      - Admin Events - Events with High Loot and great times! See pic below.

      - Active Admin Staff - Find us on Discord anytime or by email!





      Connect to us on DayZ Launcher or directly:

      [SHG]ClassicEpoch|XPSystem|CustomTraders|CustomAImissions|Coins|FPS++

      144.217.62.76:2302

      Discord: http://xn--discrd-zxa.com/join.php?v=OXHD95

      Email: [email protected]

      Website: Under construction


    • By Tricks
      I have been browsing the forums looking for unique mods to add to my server. I noticed Juandayz deleted a lot of his mods before leaving the community. Just curious if anyone has them all and would possibly repost them giving him full credit? I am particularly interested in his "Admin Skin" and "Debug" mods.
       
      Thanks community, here's hoping someone will step up!
    • By victorks
      my first work in editin :) https://uploaddeimagens.com.br/imagens/20180307202515_1-jpg https://uploaddeimagens.com.br/imagens/20180307202245_1-jpg DOWNLOAD: https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0 AI M2 NEED WAI: https://pastebin.com/GJMnPvZP ON THE MAP: https://pastebin.com/cyqH9rNV  
       
      https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0
       
       
       
       
       
       
       
       
       
    • By juandayz
      VIDEO:
      If (You dont have a custom compiles.sqf or a custom keyboard.sqf) exitWith { step1;}else{ proceed with step 2; } forEach user; 1-Making a custom compiles.sqf and custom keyboard.sqf
       
       
      2-In your CUSTOM!!! keyboard.sqf at bottom but before the last "_handled" paste:
      3-Create remote_key.sqf  (mpmissions\your instance\scripts\ )
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...