Marty McFlaY Posted November 25, 2017 Share Posted November 25, 2017 (edited) {$CLEO .cs}thread "HBOX" 03F0: enable_text_draw 1:BOXwait 00390: load_txd_dictionary 'Pack' 038F: load_texture "course" as 1 // Load dictionary with 0390 first 03E3: set_texture_to_be_drawn_antialiased 1038D: draw_texture 1 position 590.0 195.0 size 30.0 30.0 RGBA 225 225 225 225 038E: draw_box_position 590.0 175.3 size 60.0 8.0 RGBA 192 192 192 0.30391: release_texturesjump @BOX Not showing the correct image. Only showing a white image in-game. Help me to fix it. Edited November 25, 2017 by Marty McFlaY Link to comment Share on other sites More sharing options...
Marty McFlaY Posted November 25, 2017 Author Share Posted November 25, 2017 FAST! Link to comment Share on other sites More sharing options...
vizs Posted November 25, 2017 Share Posted November 25, 2017 Using Script Dependent Drawings might help. Link to comment Share on other sites More sharing options...
Marty McFlaY Posted November 25, 2017 Author Share Posted November 25, 2017 It gives some kind of strange Chinese error. Any other solution with complete snippet? Link to comment Share on other sites More sharing options...
vizs Posted November 26, 2017 Share Posted November 26, 2017 It gives some kind of strange Chinese error. Any other solution with complete snippet? You must have an older version of CLEO to make SDD work. IIRC, you need CLEO 4.1.1 Link to comment Share on other sites More sharing options...
Marty McFlaY Posted November 26, 2017 Author Share Posted November 26, 2017 Crash! Any other method? Link to comment Share on other sites More sharing options...
Marty McFlaY Posted November 26, 2017 Author Share Posted November 26, 2017 Anyone else? It's still giving white image. Link to comment Share on other sites More sharing options...
deltaCJ Posted November 27, 2017 Share Posted November 27, 2017 (edited) 038D: draw_texture 1 position 590.0 195.0 size 30.0 30.0 RGBA 225 225 225 225 You set it all white LOL Try messing with the RGBA numbers 225 225 225 225 <-------- Change those numbers R G B A e r l l d e u p e e h n a Edited November 27, 2017 by deltaCJ Link to comment Share on other sites More sharing options...
Marty McFlaY Posted November 27, 2017 Author Share Posted November 27, 2017 LOL, now i'm trying to use this and it stuck on block screen after successfully loading: {$CLEO .cs}0000:03F0: enable_text_draw 1 :PAwait 00390: load_txd_dictionary "hud"038F: load_texture "siteM16" as 1 // Load dictionary with 0390 first 03E3: set_texture_to_be_drawn_antialiased 1 038D: draw_texture 1 position 590.0 195.0 size 64.0 64.0 RGBA 0 0 0 2250391: release_txd_dictionary jump @PA Link to comment Share on other sites More sharing options...
boludoz Posted November 27, 2017 Share Posted November 27, 2017 who uses txd workshop existing Magic.TXD Link to comment Share on other sites More sharing options...
deltaCJ Posted November 28, 2017 Share Posted November 28, 2017 @Boludoz I sometimes use it, for Alphas @Marty You have it in a loop, it's just gonna keep re appearing lol, you won't be able to remove it unless you remove the texture Try this: {$CLEO .cs}0000:03F0: enable_text_draw 1 :PAwait 00390: load_txd_dictionary "hud"038F: load_texture "siteM16" as 1 // Load dictionary with 0390 first 03E3: set_texture_to_be_drawn_antialiased 1 038D: draw_texture 1 position 590.0 195.0 size 64.0 64.0 RGBA 0 0 0 2250391: [email protected] = 0:PA_02wait [email protected] > 5000jf @PA_020391: release_texturesjump @PA Link to comment Share on other sites More sharing options...
Sanmodder Posted April 26, 2018 Share Posted April 26, 2018 LOL, now i'm trying to use this and it stuck on block screen after successfully loading: {$CLEO .cs}0000:03F0: enable_text_draw 1 :PAwait 00390: load_txd_dictionary "hud"038F: load_texture "siteM16" as 1 // Load dictionary with 0390 first 03E3: set_texture_to_be_drawn_antialiased 1 038D: draw_texture 1 position 590.0 195.0 size 64.0 64.0 RGBA 0 0 0 2250391: release_txd_dictionary jump @PA {$CLEO .cs}0000:while true wait 0 if 0AAB: file_exists "hud" //checks if it found a textures file then 0390: load_txd_dictionary "hud" 038F: load_texture "siteM16" as 1 // Load dictionary with 0390 first break end 0aca: "~r~error not file_exists" wait 5000 endwhile true wait 0 03F0: enable_text_draw 0 //the game has a textures drawing limit to 03F0: always be in the loop along with the tetures 03E3: set_texture_to_be_drawn_antialiased 1 038D: draw_texture 1 position 590.0 195.0 size 64.0 64.0 RGBA 0 0 0 225 //0 0 0 255 = black texturesend Link to comment Share on other sites More sharing options...
Sanmodder Posted April 26, 2018 Share Posted April 26, 2018 LOL, now i'm trying to use this and it stuck on block screen after successfully loading: {$CLEO .cs}0000:03F0: enable_text_draw 1 :PAwait 00390: load_txd_dictionary "hud"038F: load_texture "siteM16" as 1 // Load dictionary with 0390 first 03E3: set_texture_to_be_drawn_antialiased 1 038D: draw_texture 1 position 590.0 195.0 size 64.0 64.0 RGBA 0 0 0 2250391: release_txd_dictionary jump @PA {$CLEO .cs}0000:while true //:loop wait 0 if 0AAB: file_exists "hud" //checks if it found a textures file then //jf @1 0390: load_txd_dictionary "hud" 038F: load_texture "siteM16" as 1 // Load dictionary with 0390 first break //jump @2 end //:1 0aca: "~r~error not file_exists" wait 5000 end //jump @loop//:2while true //:loop_1 wait 0 03F0: enable_text_draw 0 //the game has a texture drawing limit to 03F0 always be in the loop along with the tetures 03E3: set_texture_to_be_drawn_antialiased 1 038D: draw_texture 1 position 590.0 195.0 size 64.0 64.0 RGBA 0 0 0 225 //0 0 0 255 = black textureend //jump @loop_1 Link to comment Share on other sites More sharing options...