Results 31 to 40 of 40

Threaded View

  1. #1
    firefox800's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Posts
    294
    Reputation
    10
    Thanks
    2,136
    My Mood
    Fine

    Thumbs up Soldier Front Chams (Numvertices & PrimitiveCount)

    How to use Numvertices and Primitives into chams?
    Every Characters have each correct modelrec inorder to chams,
    Example for PSU Character ModRec logged
    # Numvertices |# Primitives |
    87 | Arms |139| Arms |
    79 | Feet |105| Feet |
    126| Hands |172| Hands |
    370| Legs |740| Legs |
    499| Body |624| Body |
    523| Head |846| Head |
    -----------------------------
    1. Define each characters you want to chams for PSU
    Code:
    #define (Numvertices== 87 && Primitives == 139)//arms
    Numvertices== 79 && Primitives == 105 ||//feet
    Numvertices== 126 && Primitives ==172 ||//hands
    Numvertices== 370 && Primitives ==740 ||//legs
    Numvertices== 499 && Primitives ==624 ||//body
    Numvertices== 523 && Primitives ==846) //head
    2. Then, in Global
    Code:
    LPDIRECT3DTEXTURE9 Bue,Pink;
    bool Color = true;
    bool chams;
    int Primitives;
    int Numvertices;
    3.In EndScene: for the Color Texture of the character.
    Code:
    (Color)
    {
    if
    GenerateTexture(pDevice, &Pink, D3DCOLOR_ARGB (255,255,20 ,147));
    GenerateTexture(pDevice, &Blue, D3DCOLOR_ARGB (255,0 ,0 ,255));
    Color = false;
    }
    4. In DIP: for the color chams during in-game:
    Code:
    LPDIRECT3DVERTEXBUFFER9 Stream;
    UINT Offset;
    UINT Stride;
    if ( pDevice->GetStreamSource(0,&Stream,&Offset,&Stride) == D3D_OK )
    {
    Stream->Release();
    }
    if (chams)
    ...
    ...
    (PSU)
    ...
    ...
    {
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
    pDevice->SetTexture(0,Blue);
    pDrawIndexedPrimitive(pDevice,Type,BaseIndex,MinIn dex,Numvertices,Startindex,Primitive);
    pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_TRUE);
    pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_LESSEQUAL);
    pDevice->SetTexture(0,Pink);
    }
    5. Here's the actual Screeshots:


    Credits: FireFox, DarkAppalow, 11Swift11

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

    joered (01-06-2015),shfwkekd (09-04-2015)

Similar Threads

  1. Soldier Front cham,aimbot
    By iowni1 in forum Hack Requests
    Replies: 0
    Last Post: 12-24-2008, 08:33 AM
  2. Soldier Front
    By tekmo in forum Hack Requests
    Replies: 6
    Last Post: 07-20-2008, 08:39 AM
  3. Fix Xfire Screenshot in Soldier Front
    By the1fear in forum Soldier Front General
    Replies: 10
    Last Post: 06-13-2008, 08:18 AM
  4. Need help in hacking "Soldier Front"
    By stingray001 in forum General Game Hacking
    Replies: 7
    Last Post: 03-03-2007, 10:27 PM
  5. Soldier Front(ijji)
    By vega in forum General Game Hacking
    Replies: 2
    Last Post: 01-10-2007, 11:17 PM

Tags for this Thread