Jump to content
  • 0

Breath fog on Namalsk


Petite

Question

I thought breath fog was in Namalsk map. Does anyone have a breath fog script. Also it is very hard to get cold on it I added fn_temperatur.sqf  that I found https://pastebin.com/Mp0zAafB but only if you go in the water you get cold very quick.

I don't know if someone got something better and something for breath fog.

 

Thanks

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

init.sqf:

in lowest if (!isDedicated) then { part add:

[] execVM "yourfoldername\breath.sqf";

breath.sqf:

waituntil {player == player};

breathfx = {
	private ["_pos", "_ps"];
	
	sleep random 2;
	
	_pos = _this selectionPosition "neck";
	
	_pos = _this selectionPosition "neck";
	_ps = "#ParticleSource" createVehicleLocal getPos _this;
	_ps setParticleparams [["\Ca\data\particleEffects\universal\universal.p3d", 16, 12, 13, 0], "", "Billboard", 0.5, 0.5, [_pos select 0, (_pos select 1) + 0.15, _pos select 2], [0, 0.2, -0.2], 1, 1.275, 1, 0.2, [0, 0.2, 0], [[1, 1, 1, 0.01], [1, 1, 1, 0.01], [1, 1, 1, 0]], [1000], 1, 0.04, "", "", _this];
	_ps setParticlerandom [2, [0, 0, 0], [0.25, 0.25, 0.25], 0, 0.5, [0, 0, 0, 0.1], 0, 0, 10];
	_ps setDropinterval 0.001;
	_this setVariable ["runningBreath",(floor time + 5)];
	sleep 0.5;
	deleteVehicle _ps;
};

[] spawn {
	while {true} do {
		_near = nearestObjects [player, ["Man"], 500];
		{
			if ((alive _x) && (vehicle _x == _x) && !(_x isKindOf "zZombie_base") && (_x getVariable ["runningBreath", -1] < time)) then {
				_x setVariable ["runningBreath",(floor time + 5)];
                _x spawn breathfx;
			};
		} forEach _near;
		sleep 5;
	};
};

 

to modify the weather, check configVariables.sqf

in there, you need to search for: DZE_WeatherVariables.

also you dont need to add this fn_temperatur.sqf ,  as its already part of epoch.

check the dayz_code.pbo for it.

Link to comment
Share on other sites

  • 0

Thanks, breath is working perfectly.

 

Here these two not too sure how they work it said The greater they are the quicker the player gets cold. I set the last one 0.5 to 20 just to see if its working but not getting cold during the night even in the water. Do you know how its working? BTW I put those two in my init.sqf with the other DZE.

DZE_TempVars = [7, 15, 4, 4, 2, 6, 3, 2, 0.25, 0.75, 0.5]; //[vehicle, fire, building, moving, sun, heatpack, water, standing, rain, wind, night] water, standing, rain, wind and night factors have a negative impact on temperature. The greater they are the quicker the player gets cold.
DZE_WeatherVariables = [10, 20, 5, 10, 0, 0.2, 0, 0.7, 0, 0.6, 0, 8, 25, 30, 0, false]; //See DynamicWeatherEffects.sqf for info on these values.

 

 

Link to comment
Share on other sites

  • 0

@salival you have an Idea why I dont get cold weather on Namalsk I added these tow below to init.sqf , changed the value.... but aint getting any cold even if I stay in water for 20 minutes

DZE_TempVars = [7, 15, 4, 4, 2, 6, 3, 2, 0.25, 0.75, 0.5]; //[vehicle, fire, building, moving, sun, heatpack, water, standing, rain, wind, night] water, standing, rain, wind and night factors have a negative impact on temperature. The greater they are the quicker the player gets cold.
DZE_WeatherVariables = [10, 20, 5, 10, 0, 0.2, 0, 0.7, 0, 0.6, 0, 8, 25, 30, 0, false]; //See DynamicWeatherEffects.sqf for info on these values.

Link to comment
Share on other sites

  • 0
2 hours ago, Petite said:

@salival you have an Idea why I dont get cold weather on Namalsk I added these tow below to init.sqf , changed the value.... but aint getting any cold even if I stay in water for 20 minutes

DZE_TempVars = [7, 15, 4, 4, 2, 6, 3, 2, 0.25, 0.75, 0.5]; //[vehicle, fire, building, moving, sun, heatpack, water, standing, rain, wind, night] water, standing, rain, wind and night factors have a negative impact on temperature. The greater they are the quicker the player gets cold.
DZE_WeatherVariables = [10, 20, 5, 10, 0, 0.2, 0, 0.7, 0, 0.6, 0, 8, 25, 30, 0, false]; //See DynamicWeatherEffects.sqf for info on these values.

I did a youtube series on how to setup a Namalsk 1.0.6.1 server with Nightstalker features.

Here is the video for the cold weather stuff

https://www.youtube.com/watch?v=oloXGblYzAY

Object A2 with custom rail gun spawn script

https://www.youtube.com/watch?v=DabGIpnmQcY

EVR storms AKA "blowouts"

https://www.youtube.com/watch?v=3jmbFmb9UGE

Bloodsuckers

https://www.youtube.com/watch?v=RdoWB-e_m6A

 

Link to comment
Share on other sites

  • 0
2 hours ago, JasonTM said:

I did a youtube series on how to setup a Namalsk 1.0.6.1 server with Nightstalker features.

Here is the video for the cold weather stuff

https://www.youtube.com/watch?v=oloXGblYzAY

Object A2 with custom rail gun spawn script

https://www.youtube.com/watch?v=DabGIpnmQcY

EVR storms AKA "blowouts"

https://www.youtube.com/watch?v=3jmbFmb9UGE

Bloodsuckers

https://www.youtube.com/watch?v=RdoWB-e_m6A

 

Nice I will take a look.

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...