Jump to content

[extended_climatology]


juandayz

Recommended Posts

The effect looks very cool, thanks for releasing. Just a quick question from my side.

Why are you transfering the whole publicEH.sqf to the client? Just make your new EventHandler in a custom file. This way, you decrease your mission file size.
So instead of replacing this line:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";

Just put the custom one below it so it looks like this:

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf";
call compile preprocessFileLineNumbers "dayz_code\init\publicEH.sqf";				//or another custom path, whatever

And then just put this single publicEH in there like this (publicEH.sqf):

if (!isDedicated) then {
	"sandstorm"                  addPublicVariableEventHandler {(_this select 1) execVM "sandstorm\player_sandstorm.sqf"};
};

That's the whole file you need.

Edit: And another small question. Do you have a clue whether the dayz_inside variable works for custom buildings that were included by the editor?

Link to comment
Share on other sites

hey @DAmNRelentless ..

  Quote

Why are you transfering the whole publicEH.sqf to the client?

Expand  

the most clean way is that you said. use jsut the line that you gonna use.. in my case i use a full copy of publicEh.. cuz i play a lot with this file..its just an habit... sorry for passing my bad habits :laugh:

  Quote

Do you have a clue whether the dayz_inside variable works for custom buildings that were included by the editor?

Expand  
i think yes cuz im using that Bunker showed in the video.
Link to comment
Share on other sites

  On 9/19/2017 at 9:30 PM, Hooty said:

2 questions.  Could I use the no leave with the most wanted script and can i add more then one call to the pause.

Example   onPauseScript = "sandstorm\noleave.sqf","BLAH\BLAH.sqf";           

Expand  

yes or include this block at bottom of your blah.sqf

if (sandstormvar) exitWith {
                _esc closedisplay 0;
                 systemchat ("<ANTIHACK>:Cannot Abort in a sandstorm");
                }; 
                   //your variable about ESC key cannot be called _esc  take a look on it.

 

for example this is my whole noleave.sqf ( i use just one file to put all restrictions)

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 9/19/2017 at 11:40 PM, juandayz said:

yes or include this block at bottom of your blah.sqf

if (sandstormvar) exitWith {
                _esc closedisplay 0;
                 systemchat ("<ANTIHACK>:Cannot Abort in a sandstorm");
                }; 
                   //your variable about ESC key cannot be called _esc  take a look on it.

 

for example this is my whole noleave.sqf ( i use just one file to put all restrictions)

  Reveal hidden contents

 

Expand  

Thanks Buddy !!! 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...