[Tutorial] Snow added to Dynamic Weather

O.K .... so i would have to go about the same way initially described by you but would have to change it in my init.sqf instead of the compiles.sqf?
 
Yes. The tutorial describes it as in the init.sqf for Epoch:

Vampire said:
Then you need to open up your init.sqf (on Epoch) or custom compiles and point the dynamic weather location to your script instead.
Like so:
 
O.K.....

I will try that in the morning.Seems like Namalsk is some thing of its own ..... everything a bit more difficult than on other servers and I would not bother when I did not find this map so scary cool

Had a long day ...up since 05:30 and my dog needs to go for a little walk and then I need to get some sleep.

I will report back tomorrow how it went ....

Thx to all for their help and patience
 
you're not going to be able to have clear skies and snow unless you're running an older version of infiSTARs antihack
 
O.K.....

I will try that in the morning.Seems like Namalsk is some thing of its own ..... everything a bit more difficult than on other servers and I would not bother when I did not find this map so scary cool

Had a long day ...up since 05:30 and my dog needs to go for a little walk and then I need to get some sleep.

I will report back tomorrow how it went ....

Thx to all for their help and patience
Listen to vamps instructions because I know nothing about Epoch, I should have asked if you were running epoch sorry.

Namalsk is probably my favorite map unfortunately its hard to get people to play, that's why I stopped running a namalsk server. Still an awesome map for hardcore survival.
 
Hey there,

just to make sure that I got it right ...

- I extract compiles.sqf and dynamic weather effects.sqf on my client side
- I put them into a folder called whatever and put that in my mission pbo
- in my mission pbo I adjust the init.sqf in two places
1 : the new location of the weather effects
2 : preprocess file lines for compiles sqf new location

Thats it ?


So I did it this way and did have the same result as yesterday ..... It was snowing and overcast on server restart but I did get the two errors ( on game start just before entering the server and the one in the log ....

For now to narrow it down I did only revert the preprocess line for compiles.sqf and the error is gone but no overcast and no snow on server restart .....
 
Last edited:
yeah it is

so I need only the dyn weath.effects and point in the init sqf to the new location?

that's the way the line in the init.sqf looked like

//Start Dynamic Weather
execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf";

and I changed it to that

//Start Dynamic Weather
execVM "weather\DynamicWeatherEffects.sqf";

( weather is the folder I created for the DynamicWeatherEffects.sqf )



UPDATE : done it like that and no snow or overcast on server restart


this I found in the compiles.sqf ...........

//Start Dynamic Weather
execVM "\nst\ns_dayz\code\external\DynamicWeatherEffects.sqf"; // DayZ: Namalsk
//execVM "\z\addons\dayz_code\external\DynamicWeatherEffects.sqf"; // classic DayZ
initialized = true;
 
Last edited:
Are you pulling compiles.sqf from @Dayz_Epoch or @Dayz_Namalsk?

You need to get it from the Epoch folder.
 
did get it from namalsk because further up someone told meto

Yours will say @DayZ_Namalsk > ns_dayz or something like that.

anyways ...only the compiles or the weather effects as well?
 
Because they assumed you had Namalsk, not Epoch Namalsk.

You need to make your weather folder in your mission.pbo. Put the DynanicWeatherEffects.sqf and snowfall script from my original post in there, modify your init.sqf to point to the new weather, and add the snow function to your Description.ext.

Leave your compiles.sqf as pointed to the default for now.
 
to be honest that's more than odd because that's the way I did it in the very first place and was told ...undo that because that's wrong .....

I did exactly what it says on your tut in the beginning ..... and it did not snow!
So I asked here about it and after some back and fourth I am back to where and how it started ..... did follow it exactly but no overcast and no snow :-(

I guess I am just to dumb

What I did :

1 - created folder weather
2 - created your two files from the pastebin and put them into the weather folder
3 - moved the weather folder into the mission pbo
4 - edited the init.sqf to the new location "weather'
5 - inserted your code into the decription
 
Last edited:
Currently there are no error messages but like I said no snow either ...

I made a restart and logged into the game ..........hope that's what you are asking for.


16:58:03 "HIVE: got 370 objects"
16:58:04 AH6X_DZ: FLIR_turret - unknown animation source FLIR_turret
16:58:04 AH6X_DZ: FLIR_gun - unknown animation source FLIR_gun
16:58:06 UH1Y_DZE: ObsTurret - unknown animation source ObsTurret
16:58:06 UH1Y_DZE: ObsGun - unknown animation source ObsGun
16:58:15 class HitPoints::HitMissiles not found in yup_hh60h
16:58:15 class HitPoints::HitRGlass not found in yup_hh60h
16:58:15 class HitPoints::HitLGlass not found in yup_hh60h
16:58:22 "HIVE: Spawning # of Vehicles: 1"
16:58:22 "HIVE: Spawning # of Debris: 500"
16:58:22 "HIVE: Spawning # of Ammo Boxes: 3"
16:58:22 "HIVE: Spawning # of Veins: 50"
16:58:22 Error in expression <hicle _x) setDamage 1;
_x setDamage 1;
};
} forEach allUnits;>
16:58:22 Error position: <;
} forEach allUnits;>
16:58:22 Error Missing )
16:58:22 Error in expression <hicle _x) setDamage 1;
_x setDamage 1;
};
} forEach allUnits;>
16:58:22 Error position: <;
} forEach allUnits;>
16:58:22 Error Missing )
16:58:22 "Total Number of spawn locations 11"
16:58:22 "DEBUG: Too many vehicles at [8545.81,11308.3]"
16:58:23 "CLEANUP: INITIALIZING CLEANUP SCRIPT"
16:58:23 "EPOCH EVENTS INIT"
16:58:23 "DEBUG VEIN: on road [7019.3,8125.02]"
16:58:24 "DEBUG VEIN: on road [7228.84,7178.83]"
16:58:24 "DEBUG VEIN: Too many objects at [8290.01,11151]"
16:58:25 "DEBUG VEIN: Too many objects at [7231.55,7180.86]"
16:58:25 "DEBUG VEIN: Too many objects at [6524.86,9570.87]"
16:58:25 "DEBUG VEIN: Too many objects at [7815.13,6300.37]"
16:58:26 "DEBUG VEIN: on road [5691.85,10476.5]"
16:58:29 "DEBUG: Too many at [5777.9,9671.83]"
16:58:30 "DEBUG: Too many at [7257.64,10947]"
16:58:38 "DEBUG: Too many at [5976.65,6746.43]"
16:58:39 "DEBUG: Too many at [4199.71,6687.85]"
16:58:43 "DEBUG: Too many at [7068.94,6243.22]"
16:58:43 "DEBUG: Too many at [6552.83,11400]"
16:58:45 "DEBUG: Too many at [5156.19,10667.4]"
16:58:45 "DEBUG: Too many at [4202.95,6689.25]"
16:58:47 "TIME SYNC: Local Time set to [2013,8,3,17,58]"
17:00:09 "RUNNING EVENT: crash_spawner on [2014,1,26,18,0]"
17:00:09 UH1Wreck_DZ: MainTurret - unknown animation source MainTurret
17:00:09 UH1Wreck_DZ: MainGun - unknown animation source mainGun
17:00:09 UH1Wreck_DZ: Gatling - unknown animation source Gatling

The weired thing is this ........... when I include the compile wihin the weather folder than it snows but it throws me the errors but the game starts .....

Odd is also that some stuff works just fine i.e. selfbloodbag, sarge ai ( even though I took it off for now because I did not get around to make my own zones ) and also the service script for repair and refuel for gold but this snow thing, the cold weather / warm clothes and the lift and tow will not work
 
yea I did say don't listen to me and listen to vampire because I was assuming you had regular namalsk and I know nothing about modding epoch servers. Sorry
 
would it be easier if I uploaded my mission.pbo ?

@DangerRuss .....don't worry ...you tried to help me and missed something so shit happens :) and beside this it's my fault because I don't get it going
 
Back
Top