lilmb 0 Posted September 18, 2010 Share Posted September 18, 2010 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! Link to post Share on other sites
jtr007 1 Posted September 18, 2010 Share Posted September 18, 2010 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
lilmb 0 Posted September 18, 2010 Author Share Posted September 18, 2010 Wow, nice. As I understand from your script, when player has less than 20% health, it plays a mp3 sound. Or am I totally wrong? Link to post Share on other sites
jtr007 1 Posted September 18, 2010 Share Posted September 18, 2010 You totally right, but it also recharges slowly but, Link to post Share on other sites
lilmb 0 Posted September 18, 2010 Author Share Posted September 18, 2010 Ok, nice. 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 2,559 Posted September 19, 2010 Share Posted September 19, 2010 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
coin-god 27 Posted September 19, 2010 Share Posted September 19, 2010 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
yair1221 1 Posted September 20, 2010 Share Posted September 20, 2010 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
lilmb 0 Posted September 21, 2010 Author Share Posted September 21, 2010 @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! Link to post Share on other sites
riquenunes 51 Posted September 22, 2010 Share Posted September 22, 2010 @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
MAD BOSS 117 Posted September 22, 2010 Share Posted September 22, 2010 Where to find that ASI mod you're speaking of? Link to post Share on other sites
riquenunes 51 Posted September 22, 2010 Share Posted September 22, 2010 You can find here: http://gtasamod.web.fc2.com/tool/goggle/index.html But seems to be down, or something. Link to post Share on other sites
lilmb 0 Posted September 22, 2010 Author Share Posted September 22, 2010 Yeah, the mod doesn't work for me, too. Or most likely I am just installing it the wrong way. But maybe someone knows how to change that script to become b&w on low health? Link to post Share on other sites
jtr007 1 Posted September 22, 2010 Share Posted September 22, 2010 But maybe someone knows how to change that script to become b&w on low health? 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
lilmb 0 Posted September 22, 2010 Author Share Posted September 22, 2010 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 Link to post Share on other sites