help add red background.

Results 1 to 5 of 5
  1. #1
    Account Upgraded | Title Enabled! Arenbunny is offline
    MemberRank
    Mar 2013 Join Date
    Peru - AyacuchoLocation
    273Posts

    Support help add red background.

    help add red background. I want to add in a specific gametype help please. (not necessarily red if no other color)



  2. #2
    Hi, Im Ryuzu yerij007 is offline
    MemberRank
    Oct 2011 Join Date
    Behind You!Location
    311Posts

    Re: help add red background.

    Hi Aren. It's FOG

    Code:
    <FOG min="0" max="4500">
    		<R>###</R>
    		<G>###</G>
    		<B>###</B>
    </FOG>
    I think ..this make your objective for a specific gametype is other case ;v

  3. #3
    Account Upgraded | Title Enabled! Lib is offline
    MemberRank
    Oct 2013 Join Date
    281Posts

    Re: help add red background.

    Code:
    DWORD dwColor = 0;
    float fNear = 1200;
    float fFar = 2500;
    
    dwColor |= (153 << 16);
    dwColor |= (0 << 8);
    dwColor |= (0);        
    
    RSetFog(true, fNear, fFar, dwColor);
    This code make the fog red, if you want to make it work for one game type just add GameType == GameType Check.

    You could add this in ZGame::Update

  4. #4
    Account Upgraded | Title Enabled! Arenbunny is offline
    MemberRank
    Mar 2013 Join Date
    Peru - AyacuchoLocation
    273Posts

    Re: help add red background.

    Quote Originally Posted by yerij007 View Post
    Hi Aren. It's FOG

    Code:
    <FOG min="0" max="4500">
            <R>###</R>
            <G>###</G>
            <B>###</B>
    </FOG>
    I think ..this make your objective for a specific gametype is other case ;v
    this is to add to each .rs map and that would take a long time and is not for a espesifico gametype. thank you for your help!

    - - - Updated - - -

    Quote Originally Posted by Lib View Post
    Code:
    DWORD dwColor = 0;
    float fNear = 1200;
    float fFar = 2500;
    
    dwColor |= (153 << 16);
    dwColor |= (0 << 8);
    dwColor |= (0);        
    
    RSetFog(true, fNear, fFar, dwColor);
    This code make the fog red, if you want to make it work for one game type just add GameType == GameType Check.

    You could add this in ZGame::Update
    this makes no effect. thank you for your help.

  5. #5
    Account Upgraded | Title Enabled! Lib is offline
    MemberRank
    Oct 2013 Join Date
    281Posts

    Re: help add red background.

    Quote Originally Posted by Arenbunny View Post
    this is to add to each .rs map and that would take a long time and is not for a espesifico gametype. thank you for your help!

    - - - Updated - - -



    this makes no effect. thank you for your help.
    ur wrong it works for me, im not sure where to add, i was supposed to use it in ZInitBackground::Draw



Advertisement