Modme Forums

Custom ssi lighting for dog rounds?

Game Asset Reversing | Releases


bubba443:

How do I change the ssi or lighting for only dog rounds?


IceGrenade:

haven't tested but this should do the trick... just thread this at the bottom of your main:

function lightstate_dogrounds()
{
    while(1)
    {
        level waittill ( "between_round_over" );
        if ( level.round_number == level.next_dog_round )
            level util::set_lighting_state( 2 );
        else if(level.round_number == level.next_dog_round + 1)
            level util::set_lighting_state( 1 );
        wait 5;
    }
}


bubba443:

The code seems to partially work. It Switches when the dog rounds start, but it doesn't seem to switch back when the dog round is over. Any ideas?