Results 1 to 14 of 14
  1. #1
    true1playa's Avatar
    Join Date
    Jul 2008
    Posts
    124
    Reputation
    12
    Thanks
    3

    [HELP]How to make your OWN Chams

    Can someone post a tutorial on how to make your own chams plz?

    Or atleast teach me? :P

    Thank YOU.

  2. #2
    Rajinn's Avatar
    Join Date
    Aug 2008
    Posts
    280
    Reputation
    10
    Thanks
    31
    Quote Originally Posted by »ÑøMÃ¥†ÃªÂ§Â«
    D3D Chams Full tut
    This tut will hopefully help u learn how to make d3d chams i will show yellow and red player chams.

    open up starter kit and put this under your include files.


    Quote:
    int m_Stride;



    bool onetime = true; // Boolean to only init textures once
    LPDIRECT3DTEXTURE8 texRed; //texture
    LPDIRECT3DTEXTURE8 texYellow; //texture

    next put this


    Quote:
    const BYTE bRed[60] =
    {
    0x42, 0x4D, 0x3C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x36, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01,
    0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x12, 0x0B, 0x00, 0x00, 0x12, 0x0B, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0xFF, 0x00, 0x00, 0x50};

    const BYTE bGold[60] = //yellow
    {
    0x42, 0x4D, 0x3C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x36, 0x00, 0x00, 0x00, 0x28, 0x00, 0x00, 0x00,
    0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01,
    0x00, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0x00, 0x12, 0x0B, 0x00, 0x00, 0x12, 0x0B, 0x00,
    0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
    0x00, 0xFF, 0xFF, 0x00, 0x00, 0x01 };

    that will add the colors to the players. next u gotta do this


    Quote:
    HRESULT APIENTRY hkIDirect3DDevice8::BeginScene(void)
    {
    if(onetime)
    {
    //create our textures
    onetime = false;
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev,(LPCVO ID)&bRed,60,&texRed) ;
    D3DXCreateTextureFromFileInMemory(m_pD3Ddev,(LPCVO ID)&bGold,60,&texYel low);

    }
    return m_pD3Ddev->BeginScene();
    }


    next its time to do the cham code in the

    hkIDirect3DDevice8:rawIndexedPrimitive(D3DPRIMITIV ETYPE PrimitiveType,UINT minIndex,UINT NumVertices,UINT startIndex,UINT primCount)

    put this


    Quote:
    if(m_Stride == 80)
    m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, false);//Disable
    m_pD3Ddev->SetTexture(0, texYellow);//behind wall color
    m_pD3Ddev->SetRenderState(D3DRS_LIGHTING,false);
    m_pD3Ddev->DrawIndexedPrimitive(PrimitiveType, minIndex, NumVertices, startIndex, primCount); //return
    m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, true);//Re enable
    m_pD3Ddev->SetTexture(0, texRed);//front of wall color
    m_pD3Ddev->SetRenderState(D3DRS_LIGHTING,false);
    it should now look like this


    Quote:
    HRESULT APIENTRY hkIDirect3DDevice8:rawIndexedPrimitive(D3DPRIMITIV ETYPE PrimitiveType,UINT minIndex,UINT NumVertices,UINT startIndex,UINT primCount)
    {
    if(m_Stride == 80)
    m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, false);//Disable
    m_pD3Ddev->SetTexture(0, texYellow);//behind wall color
    m_pD3Ddev->SetRenderState(D3DRS_LIGHTING,false);
    m_pD3Ddev->DrawIndexedPrimitive(PrimitiveType, minIndex, NumVertices, startIndex, primCount); //return
    m_pD3Ddev->SetRenderState(D3DRS_ZENABLE, true);//Re enable
    m_pD3Ddev->SetTexture(0, texRed);//front of wall color
    m_pD3Ddev->SetRenderState(D3DRS_LIGHTING,false);
    return m_pD3Ddev->DrawIndexedPrimitive(PrimitiveType, minIndex, NumVertices, startIndex, primCount
    credits to the quoter over at GDF

  3. The Following 2 Users Say Thank You to Rajinn For This Useful Post:

    Gourav2122 (08-07-2008),killthekampers (08-07-2008)

  4. #3
    true1playa's Avatar
    Join Date
    Jul 2008
    Posts
    124
    Reputation
    12
    Thanks
    3
    wat is the starter kit?

    can you tell me the original link?

  5. #4
    Rajinn's Avatar
    Join Date
    Aug 2008
    Posts
    280
    Reputation
    10
    Thanks
    31
    GOOGLE IT!!!

  6. The Following User Says Thank You to Rajinn For This Useful Post:

    Nitehawk772 (07-30-2011)

  7. #5
    Offbeat Ninja's Avatar
    Join Date
    Oct 2007
    Gender
    male
    Posts
    75
    Reputation
    12
    Thanks
    58
    btw the player stride for combat arms is 32.

  8. #6
    crusader1's Avatar
    Join Date
    Jul 2008
    Posts
    62
    Reputation
    10
    Thanks
    3
    can somone put a link???

    can i use this or this has nothing to do with it?

    BinaryIntellect.net :: Tools, code and components
    Last edited by crusader1; 08-07-2008 at 08:35 AM.

  9. #7
    Rajinn's Avatar
    Join Date
    Aug 2008
    Posts
    280
    Reputation
    10
    Thanks
    31
    i wont link it because its on a different forum, google it. i dont have their permission to repost it here.

  10. #8
    crusader1's Avatar
    Join Date
    Jul 2008
    Posts
    62
    Reputation
    10
    Thanks
    3
    then give us rar file can you? if its not in rar file then compress it into one

  11. #9
    Rajinn's Avatar
    Join Date
    Aug 2008
    Posts
    280
    Reputation
    10
    Thanks
    31
    see post 7

  12. #10
    crusader1's Avatar
    Join Date
    Jul 2008
    Posts
    62
    Reputation
    10
    Thanks
    3
    so how do we know wat to download u might as well not as even put that post up lol

  13. #11
    Rickyrudy's Avatar
    Join Date
    Feb 2008
    Gender
    male
    Posts
    277
    Reputation
    10
    Thanks
    26
    Google d3d starter kit.

    Rep/Thanks should not be asked for but earned.




    Lol..

  14. #12
    skinnyboy77's Avatar
    Join Date
    Aug 2008
    Posts
    24
    Reputation
    10
    Thanks
    11

    lala

    no1 is goin 2 walk u through it

  15. #13
    Marsicano's Avatar
    Join Date
    Aug 2008
    Gender
    male
    Location
    Brazil
    Posts
    371
    Reputation
    16
    Thanks
    67
    My Mood
    Lonely
    Actually, I will try make this thing

  16. #14
    Gourav2122's Avatar
    Join Date
    Sep 2006
    Gender
    male
    Location
    Pittsburgh, Pennsylvania, United States
    Posts
    12,531
    Reputation
    212
    Thanks
    2,026
    My Mood
    Dead
    there you got your tut
    closed

Similar Threads

  1. [Tutorial] How to make your own undetected module in VB6
    By markfracasso11 in forum Visual Basic Programming
    Replies: 17
    Last Post: 10-15-2007, 09:34 AM
  2. [Tutorial] How to make your own undetected module in VB6
    By markfracasso11 in forum WarRock - International Hacks
    Replies: 22
    Last Post: 09-25-2007, 05:35 AM
  3. (TUT)how to make your own warrock menu
    By aprill27 in forum WarRock - International Hacks
    Replies: 0
    Last Post: 09-21-2007, 03:46 PM
  4. [Request]Tut how to make his own bypass
    By BurakG in forum WarRock - International Hacks
    Replies: 3
    Last Post: 05-08-2007, 02:46 PM
  5. How to make your own radiostation?
    By nasir91 in forum General
    Replies: 3
    Last Post: 04-30-2007, 07:25 AM

Tags for this Thread