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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - corybestgrill

Hey thanks for the reply, I got a repsonse in the Discord and sorted it out a while ago.
2 years ago
Hey all, it's been a long time since I made a custom WaW map and I've ran into a bit of a problem. It's to do with my zones.
 
Basically my start_zone has 2 doors, this leads to zone1 and zone2, the player(s) can choose to buy either of these doors. Once a player buys one of these doors it will automatically activate zone3 but the script_flags are setup correctly and shouldn't acivate zone3. Zone3 can be reached via zone1 or zone2, once the door in zone1 or zone2 has been bought to activate zone3. I think this is causing some pathing issues as well but I'm not 100% sure if the problems are linked.
 
Below are screenshots to help visualise the problem:



3 years ago
Any ideas?
7 years ago
It would seem like once the power is turned on it sets it to state 2, therefore you would need the lights to be on in state 2 and off in state 1.

So are you saying I should swap everything round and have night time and lights on as light state 2 and daytime with lights off as 1?
7 years ago
So I followed a couple of tutorials on making the lighting states change when the power is off / on.

In radiant I have it set so when it's in light state 1 it is night time and lights are switched on, then when it's light state two it is day time and the lights go off but for some reason my map starts up in daytime with the lights off.

Here is my code:
Code Snippet
Plaintext

//Lighting State Change When Power is On
thread init_power();


function init_power()
{
    level flag::wait_till("power_on");
    level util::set_lighting_state(3);
}

I was told in  tutorials to use lighting state 3 as the game recognises it as lighting state 2
7 years ago
Make a function and then call that function in your .gsc file
7 years ago
Loading ...