UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

UGX weather concern

broken avatar :(
Created 10 years ago
by jei9363
0 Members and 1 Guest are viewing this topic.
1,399 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 2 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Signature
Hey if you had tons of fun on playing my maps please DONATE :)

play ESTATE now, and claim your mansion back from the undead!
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
jei9363's Contact & Social Linksjei9363jei9363jayingardia
wont this mean with 4 players you'll get X4 the snow?

Code Snippet
Plaintext
#include common_scripts\utility; 
#include maps\_utility;
#include maps\_zombiemode_utility;

init()
{
level._effect["ugx_weather"] = LoadFx("env/weather/fx_snow_blizzard_intense");
}

think()
{
players = getPlayers();
for(i = 0; i < players.size; i++)
players[i] thread play_weather();
}

play_weather()
{
self endon("death");
self endon("disconnect");

for (;;)
{
PlayFX( level._effect["ugx_weather"], self.origin + (0,0,650) );
wait( 0.3 );
}
}
broken avatar :(
×
broken avatar :(
Former UGX Lead Asset Creator
Location: ca
Date Registered: 17 August 2012
Last active: 5 years ago
Posts
1,932
Respect
Forum Rank
Zombie Destroyer
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
Eh?
Signature

(Click to enter portfolio)
×
SajeOne's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
This is ripped from the idea of the default _weather.gsc system(just formatted it for my own use). Yes it means four times the FX but it needs to play on every player as otherwise only one player would be seeing the same amount of FX.

In hind sight this probably should have been done in client scripts but I couldn't really bother at the time. I will note this down and see what I can do for the next version.
Last Edit: October 16, 2014, 08:19:09 pm by SajeOne

 
Loading ...