Jump to content

Where can the near-death effects be edited?


GRUmod

Recommended Posts

Trying to find where the screen-fade colour effects that make your screen red or coloured when you are near-death, as i want to change the colour of the effect. Does anyone know where to find this variable?

Edit:
Think i've found it, frame_script_game.scr in scripts folder.

 

Line 25, i've set to float injured_desaturate = clamp(injured * 3.0 / 2.0) * 0.0; // min: 0.0, max 0.0
it still makes a colour when i get hit, but it no longer stays on that colour when on really low HP, the effect disappears rapidly and colour returns to normal while still on low HP (near death)

Edit 2: Everything needed to do this is in this file. Have successfully achieved no-colour on-hit or on near-death, just normal screen colours.

here's the pastebin if anyone wants it to compare to original to see what was changed. https://pastebin.com/XDTSgUe2

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...