Hi guys,
I have implemented SargeAI on my server and only allow static spawns. These NPCs are member of the faction Soldiers (resistance). I have set the humanity limit at 20K. Below this value NPCs will shoot @ the player.
I have also added traders to the city. The NPCs are shooting at the...
Hi there,
I am running an Epoch server. I added some static AI at the tradezones. These are soldiers who will shot anyone who has less than 20K humanity.
Once the soldiers spawn they start shooting the traders. Since they cant die, they keep shooting until they run out of ammo.
How can I...
Random snow V1
This is the first release of the random snow script.
Create a file called snow.sqf in the directory custom in your missions.pbo.
_snowrun = true;
snow = nil;
while {_snowrun} do {
_snowchance = random 100;
if (_snowchance > 75) then {
if...
Ok I will post it :). One problem I still have is that is also snows inside buildings. Need to fix that.
PS: the temperature change works fine! When it is snowing the temperature is now -25.
It has to loop trough the script. Because there is a if rain then statement in there. The variables changes when it is raining. I am going to alter the temperature script in a minute.
Can I leave the script inside dayz_code.pbo, or must I place it in the missions pbo?
I am creating a separate script which updates public variables used in the dynamic weather script. I will make it snow if there is +70 % chance. Then it turns into a real blizzard with 100m visibility and overcast at max and fog at 50%
Afterwards I gradually restore the environment to the...
Update:
snowcheck = true;
issnow = false;
while {snowcheck} do {
_snowchance = random 100;
if (_snowchance > 10) then {
// no need to start it again if it's already snowing
if (!issnow) then {
issnow = true;
};
} else {
// only...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.