Tate Admin
Posts : 208 Reputation : 17 Join date : 2009-09-19 Age : 27
| Subject: Pinkwall Hack (or whatever color you want) Fri Oct 16, 2009 7:18 am | |
| Well there was a pinkfloor tutorial on G-D, so i decided i'd make a pinkwall tutorial. This code is made for Counterstrike Source, but if you change stride 48 to your game's stride, it should work. If you're just a copy and paste coder, i recommend you do it for CS:S. - Code:
-
if (m_Stride == 48) // The stride for Walls { g_D3Ddev->SetTexture( 0, bPink ); // setting the texture } The pink texture: - Code:
-
const BYTE bPink [58] = { 0x42, 0x4D, 0x3A, 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, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0xFF, 0x00 };
Last edited by Tate on Thu Oct 22, 2009 3:55 am; edited 1 time in total | |
|
Rexgr Coder
Posts : 57 Reputation : 0 Join date : 2009-09-19 Location : New Zealand
| Subject: Re: Pinkwall Hack (or whatever color you want) Sat Oct 17, 2009 11:37 am | |
| | |
|
Tate Admin
Posts : 208 Reputation : 17 Join date : 2009-09-19 Age : 27
| Subject: Re: Pinkwall Hack (or whatever color you want) Sat Oct 17, 2009 11:46 am | |
| - Rexgr wrote:
- yey for pink!!!
yey | |
|
TheFallen General Member
Posts : 8 Reputation : 0 Join date : 2009-10-22
| Subject: Re: Pinkwall Hack (or whatever color you want) Thu Oct 22, 2009 3:47 am | |
| y dont you call pink bPink or texpink | |
|
Tate Admin
Posts : 208 Reputation : 17 Join date : 2009-09-19 Age : 27
| Subject: Re: Pinkwall Hack (or whatever color you want) Thu Oct 22, 2009 3:55 am | |
| - TheFallen wrote:
- y dont you call pink
bPink or texpink Thats what i normally do, I just had this cause I was attempting a pink Grenade hack, and it has to be bPink, not texpink, because its not really a texture that it's transferring, it's a byte, aka bPink, bytepink (you can't use bytepink as a function tho, just bPink) | |
|
TheFallen General Member
Posts : 8 Reputation : 0 Join date : 2009-10-22
| Subject: Re: Pinkwall Hack (or whatever color you want) Thu Oct 22, 2009 4:21 am | |
| ok right i rmember now b = byte tex = texture b also means bool c class i int so on | |
|
dcool19d General Member
Posts : 19 Reputation : 0 Join date : 2009-10-21
| Subject: Re: Pinkwall Hack (or whatever color you want) Thu Oct 22, 2009 6:25 am | |
| and d = dcool19d lol XD but thanks for this code even tho I can't C++ worth crap . | |
|
Sponsored content
| Subject: Re: Pinkwall Hack (or whatever color you want) | |
| |
|