how do I turn off the red taken damage stain?

Talk about anything related with the servers

Moderator: Core Staff

User avatar
SmokingJoePot
CJ Wannabe
CJ Wannabe
Posts: 13
Joined: June 17th, 2011, 1:13 am
Gamertag: SmokinqJoePot
PSN ID: SmokingJoePot

how do I turn off the red taken damage stain?

Post by SmokingJoePot » October 18th, 2011, 7:37 am

Hi, Im running codjumper on my server but when I fall or shoot the rocket on the ground I get a blotchy red stain on my screen, I guess its blood and it pulsates, showing that I've taken damage. How do I turn off the red blotchy stain that appears because it seems to blind players from jumping again. It seems to fade when I crouch but it doesn't go away, I've even tried making some settings in the config file. I want to permanetly turn it off. Where in the .iwd can I turn the scipt off? Thank you for any help I get, its really buggin alot of players.

User avatar
iCYsoldier
CJ Worshipper
CJ Worshipper
Posts: 289
Joined: December 5th, 2009, 7:12 am
Location: Australia

Re: how do I turn off the red taken damage stain?

Post by iCYsoldier » October 18th, 2011, 8:19 am

I can't be sure, but I believe this is controlled in the script, where it adjusts the intensity of the blood based on how much damage you've taken. In the mod, the script would be in the actual fast file, so editing the .iwd wouldn't do anything.

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: how do I turn off the red taken damage stain?

Post by <LT>YosemiteSam[NL] » October 18th, 2011, 9:25 am

Is this for Cod2 ? (people almost never say for what game it is these days :( )

User avatar
[SoE]_Zaitsev
Core Staff
Core Staff
Posts: 14220
Joined: October 21st, 2004, 7:17 pm
Location: Holland
Contact:

Re: how do I turn off the red taken damage stain?

Post by [SoE]_Zaitsev » October 18th, 2011, 10:11 am

It's in the mod because it's also in the normal game. Not sure if you can remove it.
matt101harris wrote:big cock was the first thing that came to my head lol

IzNoGoD
CJ Worshipper
CJ Worshipper
Posts: 343
Joined: January 6th, 2009, 8:39 pm
Location: Netherlands/Holland

Re: how do I turn off the red taken damage stain?

Post by IzNoGoD » October 18th, 2011, 10:52 am

In cod2 i was able to remove it by causing the float/double that gives the part of the damage (damage/self.health) a very small value. Or maybe health is controlled by an int, and i gave it an overflow?

Anyway, by giving a lot of maxhealth i was able to make it all go away:


I did this by:

self.maxhealth = 100000000;
self.health = self.maxhealth;
LMGTFY!

Its not a glitch... Its the future!

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: how do I turn off the red taken damage stain?

Post by <LT>YosemiteSam[NL] » October 18th, 2011, 11:44 am

I changed the color to blue (for my invisible overlay).
So if you can change the color you can also change it into nothing at all I recon.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: how do I turn off the red taken damage stain?

Post by Drofder2004 » October 18th, 2011, 1:50 pm

<LT>YosemiteSam[NL] wrote:I changed the color to blue (for my invisible overlay).
So if you can change the color you can also change it into nothing at all I recon.
This. The easiest way to remove a graphic is by changing it (or in this case giving it a alpha layer to hide it).
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
SmokingJoePot
CJ Wannabe
CJ Wannabe
Posts: 13
Joined: June 17th, 2011, 1:13 am
Gamertag: SmokinqJoePot
PSN ID: SmokingJoePot

Re: how do I turn off the red taken damage stain?

Post by SmokingJoePot » October 18th, 2011, 9:08 pm

Oh sorry, this is for cod4. Where in the mod.ff can I disable it. If I can't change it in the mod.ff, how do you change the color to alpha and where do I imput the value. I want to find the .iwi of the color and convert it to .dds, open it up in photoshop and change the color but I don't know the name of it. Can someone expain how?

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: how do I turn off the red taken damage stain?

Post by <LT>YosemiteSam[NL] » October 18th, 2011, 10:36 pm

I think it's the image in "iw_02.iwd"
Name of the image : "Overlay_low_health"
Not sure if it's that one but I think so.

User avatar
SmokingJoePot
CJ Wannabe
CJ Wannabe
Posts: 13
Joined: June 17th, 2011, 1:13 am
Gamertag: SmokinqJoePot
PSN ID: SmokingJoePot

Re: how do I turn off the red taken damage stain?

Post by SmokingJoePot » October 18th, 2011, 10:44 pm

We had the health at 5000, like this

self.maxhealth = 5000;
self.health = self.maxhealth;

And it removed it for awhile, we would shoot the ground and it removed it but when we jumped from very high up and shoot down it came back, Im gonna try

self.maxhealth = 100000000;
self.health = self.maxhealth;

I think this will get rid of it, so I appreciate your help IzNoGoD.

I'll also try converting the "Overlay_low_health" file to .dds and replace it with something thats invisible, idk how to do that just yet, I guess I'll make it white and turn the transparent up, so thanks alot <LT>YosemiteSam[NL] , this is gonna help, I just know it.

User avatar
<LT>YosemiteSam[NL]
Core Staff
Core Staff
Posts: 2155
Joined: December 7th, 2004, 2:07 am
Location: Netherlands
Contact:

Re: how do I turn off the red taken damage stain?

Post by <LT>YosemiteSam[NL] » October 18th, 2011, 10:47 pm

No prob m8. Hope it works.
And let us know if it worked...for future reference.

User avatar
SmokingJoePot
CJ Wannabe
CJ Wannabe
Posts: 13
Joined: June 17th, 2011, 1:13 am
Gamertag: SmokinqJoePot
PSN ID: SmokingJoePot

Re: how do I turn off the red taken damage stain?

Post by SmokingJoePot » October 19th, 2011, 12:56 am

ok, setting the health to 100000000 worked and also editing the .iwi worked but setting the health to 100000000 also made it so you don't see the damage loss at the bottom left hand of the screen. ie. damage 220. My brother figured out how to edit the iwi's alpha channel so he didn't have to color the image all blue. I really appreciate yalls help.

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13313
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: how do I turn off the red taken damage stain?

Post by Drofder2004 » October 19th, 2011, 10:28 pm

You dont have to colour it blue anyway, that was just the example of how YosemiteSam used iwi edit.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
[SoE]_Zaitsev
Core Staff
Core Staff
Posts: 14220
Joined: October 21st, 2004, 7:17 pm
Location: Holland
Contact:

Re: how do I turn off the red taken damage stain?

Post by [SoE]_Zaitsev » October 20th, 2011, 11:03 am

The way I see it work is that you get the red stuff at critical damage. Obviously if you have a billion health it just won't pop up.
matt101harris wrote:big cock was the first thing that came to my head lol

Copy-Cat
CJ Wannabe
CJ Wannabe
Posts: 30
Joined: July 1st, 2011, 2:01 am

Re: how do I turn off the red taken damage stain?

Post by Copy-Cat » October 20th, 2011, 4:48 pm

Sup bro, wanted to add my video on the fix I did, maybe it will be helpfull to others trying to do the same.



The song I am using on my videos I produced here at my studio, that is why I am using it, but for some wierd reason the video is not playable in Germany, because of a copyright. Go Figure.

Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 0 guests