Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Cayo Perico Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA VI

      1. St. Andrews Cathedral
    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

? Black and white screen when low on health?


lilmb

Recommended Posts

Hey!

I wanna know, if it is possible to script a CLEO mod which makes your screen in GTA: SA go black&white (grayscale) when you are low on health? It would help a lot when you are low on health, but can't look at health bar all the time, cause you're in some heavy gunfight.

 

Thank you! smile.gif

Link to post
Share on other sites

this is i have been playin around with lately,

 

thread 'HEALTH' 0AAE: release_mp3 $HMP30 0AAC: $HMP30 = load_mp3 "CLEO\TEST.MP3" :HEALTH_60wait 0 if 0184:   actor $PLAYER_ACTOR health >= 20 else_jump @HEALTH_89 jump @HEALTH_60 :HEALTH_890AAD: set_mp3 $HMP30 perform_action 1 $100 = 0 $101 = Actor.Health($PLAYER_ACTOR)[email protected] = 0 :HEALTH_118wait 1 if  5000 > [email protected] else_jump @HEALTH_182 [email protected] += 1 $102 = Actor.Health($PLAYER_ACTOR)if 003A:   $102 == $101 // (int) else_jump @HEALTH_234 jump @HEALTH_118 :HEALTH_182$100 = 255 wait 100 $101 += 1 Actor.Health($PLAYER_ACTOR) = $101if  $101 == 100 else_jump @HEALTH_182 jump @HEALTH_60 :[email protected] = 0 $101 = Actor.Health($PLAYER_ACTOR)jump @HEALTH_118 

 

Link to post
Share on other sites

Ok, nice. smile.gif

But do you (or someone else) know if it is possible to make screen black&white when below 20% health?

Is it possible to do with CLEO?

 

I thought that .txd could do it, but then again, how could you make it to filter screen to become b&w?

Link to post
Share on other sites
fastman92

You have to create image with little transparent alfa on whole image and add image to txd. But it's work for graphics, I'm not expert. Then draw image from this txd dictionary.

But drawing txd on whole screen will probably dramatically drop FPS.

Link to post
Share on other sites

No it wont work. What you are talking about is a postprocessor effect. We need hardcoding for that. A dll or asi mod.

 

Cleo cant do that.

Link to post
Share on other sites

i used a memory address with 2 bytes, as 10 bytes

that caused the precise effect, but i cant remember what was it

ill post if i remember

maybe i have it in a main file somewhere

Link to post
Share on other sites

@Fastman92: I tried it, but it just made the colors darker. It looked cool though.

@Goin-god: That's what I thought. I remember that there was a special Night Vision mod (by famous CLEO scripter) that made NV to become black and white. I think it was .asi though not CLEO. Thanks anyway!

@Yair1221: Ok, I hope that you find it! Thanks! smile.gif

Link to post
Share on other sites
@Goin-god: That's what I thought. I remember that there was a special Night Vision mod (by famous CLEO scripter) that made NV to become black and white. I think it was .asi though not CLEO. Thanks anyway!

It's an asi, it should be possible to use that asi and enable night vision when with low health, making the screen become black and white. The only problem is that this asi doesn't work for me, so I can't test by myself.

Link to post
Share on other sites

Yeah, the mod doesn't work for me, too. Or most likely I am just installing it the wrong way. biggrin.gif

 

But maybe someone knows how to change that script to become b&w on low health? smile.gif

Link to post
Share on other sites
But maybe someone knows how to change that script to become b&w on low health? smile.gif

Does it have to be black and white?

 

What if it was flashing black, white or red? instead of a 2 tone effect?

Link to post
Share on other sites

This b&w effect is in game called Alan Wake. I thought its cool, so that's why b&w.

But wouldnt flashing disturb the gameplay? It would make you dizzy too biggrin.gif

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.