Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    Chams with choosable type and colors


    M0RPH
     Share

    Recommended Posts

    if(m_Stride==44 && chamstype)
    {
    EvilDevice->SetRenderState(D3DRS_ZENABLE,false);
    
    if(chamstype==1){//Phantom Chams
    EvilDevice->SetRenderState(D3DRS_ALPHABLENDENABLE,true);
    EvilDevice->SetRenderState(D3DRS_DESTBLEND,D3DBLEND_INVDESTCOLOR);
    EvilDevice->SetRenderState(D3DRS_SRCBLEND,D3DBLEND_INVSRCALPHA);
    }
    if(chamstype==2){//Ghost Chams
    EvilDevice->SetRenderState(D3DRS_ALPHABLENDENABLE,true);
    EvilDevice->SetRenderState(D3DRS_DESTBLEND,D3DBLEND_INVDESTCOLOR);
    EvilDevice->SetRenderState(D3DRS_SRCBLEND,D3DBLEND_INVSRCCOLOR);
    }
    if(chamstype==3){//Solid
    EvilDevice->SetRenderState( D3DRS_FILLMODE,D3DFILL_SOLID );
    }
    if(chamstype==4){//Textureless
    EvilDevice->SetRenderState(D3DRS_ZENABLE,false);
    EvilDevice->SetRenderState(D3DRS_LIGHTING, true);
    EvilDevice->SetRenderState(D3DRS_SHADEMODE, D3DSHADE_FLAT);
    EvilDevice->SetRenderState(D3DRS_FOGENABLE, false);
    }
    if(chamsnonvisible==0)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 255, 0, 0));//Red
    if(chamsnonvisible==1)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 0, 0, 255));//Blue
    if(chamsnonvisible==2)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 0, 255,0));//Green
    if(chamsnonvisible==3)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 255, 255, 255));//White
    if(chamsnonvisible==4)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 0, 0, 0));//Black
    pDrawIndexedPrimitive(EvilDevice,pType,nMinIndex, nNumVertices, nStartIndex, nPrimitiveCount);
    EvilDevice->SetRenderState(D3DRS_ZENABLE,true);
    if(chamsvisible==0)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 255, 0, 0));//Red
    if(chamsvisible==1)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 0, 0, 255));//Blue
    if(chamsvisible==2)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 0, 255, 0));//Green
    if(chamsvisible==3)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 255, 255, 255));//White
    if(chamsvisible==4)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 0, 0, 0));//Black
    
    }
    else if(m_Stride==44)EvilDevice->SetRenderState(D3DRS_AMBIENT,false);

     

    important stuff in comments

    Edited by EvilBiatch
    Link to comment
    Share on other sites

    if(m_Stride==44 && chamstype)
    {
    EvilDevice->SetRenderState(D3DRS_ZENABLE,false);
    
    if(chamstype==1){//Phantom Chams
    EvilDevice->SetRenderState(D3DRS_ALPHABLENDENABLE,true);
    EvilDevice->SetRenderState(D3DRS_DESTBLEND,D3DBLEND_INVDESTCOLOR);
    EvilDevice->SetRenderState(D3DRS_SRCBLEND,D3DBLEND_INVSRCALPHA);
    }
    if(chamstype==2){//Ghost Chams
    EvilDevice->SetRenderState(D3DRS_ALPHABLENDENABLE,true);
    EvilDevice->SetRenderState(D3DRS_DESTBLEND,D3DBLEND_INVDESTCOLOR);
    EvilDevice->SetRenderState(D3DRS_SRCBLEND,D3DBLEND_INVSRCCOLOR);
    }
    if(chamstype==3){//Solid
    EvilDevice->SetTexture(0,NULL);
    }
    if(chamstype==4){//Textureless
    EvilDevice->SetRenderState(D3DRS_ZENABLE,false);
    EvilDevice->SetRenderState(D3DRS_LIGHTING, true);
    EvilDevice->SetRenderState(D3DRS_SHADEMODE, D3DSHADE_FLAT);
    EvilDevice->SetRenderState(D3DRS_FOGENABLE, false);
    }
    if(chamsnonvisible==0)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 255, 0, 0));//Red
    if(chamsnonvisible==1)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 0, 0, 255));//Blue
    if(chamsnonvisible==2)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 0, 255,0));//Green
    if(chamsnonvisible==3)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 255, 255, 255));//White
    if(chamsnonvisible==4)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 0, 0, 0));//Black
    pDrawIndexedPrimitive(EvilDevice,pType,nMinIndex, nNumVertices, nStartIndex, nPrimitiveCount);
    EvilDevice->SetRenderState(D3DRS_ZENABLE,true);
    if(chamsvisible==0)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 255, 0, 0));//Red
    if(chamsvisible==1)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 0, 0, 255));//Blue
    if(chamsvisible==2)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 0, 255, 0));//Green
    if(chamsvisible==3)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 255, 255, 255));//White
    if(chamsvisible==4)EvilDevice->SetRenderState(D3DRS_AMBIENT, D3DCOLOR_ARGB(255, 0, 0, 0));//Black
    
    }
    else if(m_Stride==44)EvilDevice->SetRenderState(D3DRS_AMBIENT,false);

     

    important stuff in comments

    wo muss man das eingeben ?

    Link to comment
    Share on other sites

    • 3 months later...
    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...