HelpCode for NoFlash/NoSmoke

Posts 115 of 18 · Page 1 of 2
Code for NoFlash/NoSmoke
Someone can tell me how I can disable Smoke/Flash?

i tried this ways:

Smoke:
Code:
pDevice->SetRenderState(D3DRS_FOGENABLE,false);
Flash:
Code:
if(i==7) { *(float*)(CurrentWeapon + WepRange) = 0; } // No Flash
Quote Originally Posted by Vi(ALT) View Post
Why should he even give you credits ?
vinkie #2 ????
Because, i helped him with NoFlash!
Are you kidding me?
We're working togehter

And btw it wont work

@Vi
Yes that's what he told me

I thought FogEnable with D3D works for disabling Smoke but ... it doesn't
C'mon

But thanks for telling me the strings in CSHell i'll search for them and try to do it
Quote Originally Posted by Vi(ALT) View Post
hold on hold on , clear ur glasses bro

WepRange & Fogenable ?

for flash i guess you need to use FlashBangBoom and for smoke something called BombDurationDamage
or... just disable the flash and smoke bombs.
@Aldimann

Hold on... The WeaponRange-NoFlash is my idea, and it works well, i use it currently...
But i have no idea about NoSmoke...


---------- Post added at 08:16 PM ---------- Previous post was at 08:15 PM ----------

Quote Originally Posted by Vi(ALT) View Post
Are you talking about this shit ? how even you're calling it a No Flash ?
^ Read above... It works 100%...
OK So i'll have to find out why it wont work for me
Quote Originally Posted by Aldimann View Post
OK So i'll have to find out why it wont work for me

German : Du hast 100% NoWeaponRange drine also das der automatisch ... + range) = 99999; macht also kannst du ja schlecht wenn der das loopt die range ohne den loop auszumachen auf 0 stellen mache es so wie ich :

If(IsFlashDamage(i) || IsGrenadeDamage(i))
{
for(int i = 0;i<999;i++)
{
*(float*)(pWeaponMgr + range + (i*4)) = 0;
}
}
else
{
*(float*)(pWeaponMgr + range + (i*4)) = 999;
}


Ich habe das aus dem kopf gemacht aber müsste eig. so stimmen aber das sprinzip weisst du ja jetzt

English : Use Transator
Quote Originally Posted by CoderCf View Post
German : Du hast 100% NoWeaponRange drine also das der automatisch ... + range) = 99999; macht also kannst du ja schlecht wenn der das loopt die range ohne den loop auszumachen auf 0 stellen mache es so wie ich :

If(IsFlashDamage(i) || IsGrenadeDamage(i))
{
for(int i = 0;i<999;i++)
{
*(float*)(pWeaponMgr + range + (i*4)) = 0;
}
}
else
{
*(float*)(pWeaponMgr + range + (i*4)) = 999;
}


Ich habe das aus dem kopf gemacht aber müsste eig. so stimmen aber das sprinzip weisst du ja jetzt

English : Use Transator
Creditz?
Creditz @rabir007

Translated to English:

I Think, you have Max WeaponRange in your Hack(Visual) and the range addy freezed at 999!
Make:

if(!IsFlashDamage || !IsDamageGrenade)
*(float*)(CurrentWeapon + Range) = 999;
else
*(float*)(CurrentWeapon + Range) = 0;

And CoderCf, you`re Stupid?
Quote Originally Posted by CoderCf View Post
NoWeaponRange
NoWeaponRange = Range = 0 ^^
For those who dont know who the smoke in the game works: Sprites
So it wont have any effect if you disable the fog? ohhshit..
Code:
#define grenades ((i==6)||(i==7)||(i==8)||(i==64)||(i==100)||(i==126)||(i==135)||(i==209)||(i==210)||(i==240)||(i==263)||(i==272)||(i==338)||(i==382)||(i==383)||(i==384))//credits to derh.acker

//then you add on your loop:
if(grenades) { *(float*)(CurrentWeapon + WepRange) = 0; }
#define Granade (i == 6 ||i==7||i==8|| i == 100 || i == 126 || i == 135 || i == 200 || i == 209 || i == 210 || i == 240 || i == 262 || i == 263 || i == 272 || i == 288 || i == 313 || i == 324 || i == 338 || i == 357 || i == 382 || i == 416 || i == 423 || i == 424 || i == 425 || i == 435 || i == 438 || i == 473 || i == 481 || i == 519 || i == 696 || i == 720 || i == 729)

if(NoGranade)
{
{
}
if(WeaponMgR != NULL && (Granade)){
*(float*)(WeaponMgR + 0x7CC) = 0.0f;
}
}


}

Im Using This
How do you make no smoke with "BoomDurationDamage"??
Quote Originally Posted by kjbmarr View Post
How do you make no smoke with "BoomDurationDamage"??
if (Smoke) (CurrentWeapon + BoomDuration) = 999999; //The smoke will never explode on your camera
Posts 115 of 18 · Page 1 of 2

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?