DoubleVision Posted July 22, 2015 Share Posted July 22, 2015 (edited) I'm trying to convert the following GTA SA script by grovestpunk to GTA VC compatibility to put into main.scm for private personal use only: thread 'KILLS':KILLS_11wait 00652: 1@ = integer_stat 12103F0: enable_text_draw 1033F: set_text_draw_letter_size 0.5 1.50340: set_text_draw_RGBA 156 156 156 2550343: set_text_draw_linewidth 1000.00349: set_text_draw_font 3 //////not in VC081C: draw_text_outline 2 RGBA 0 0 0 255 ////not in vc033E: set_draw_text_position 37.0 20.0 GXT 'KILLS' // KILLS033F: set_text_draw_letter_size 1.0 3.00340: set_text_draw_RGBA 156 156 156 2550343: set_text_draw_linewidth 1000.00349: set_text_draw_font 3 ////not in vc081C: draw_text_outline 2 RGBA 0 0 0 255 ////not in vc045A: draw_text_1number 37.0 30.0 GXT 'NUMBER' number 1@ // ~1~jump @KILLS_11 -------------------------------------------------------------------------------------------------------- So far this is how I have it but it doesn't work. No points go up. 004F: create_thread @KILLS_11 ///Zombie Kills:KILLS03A4: name_thread 'KILLS':KILLS_110001: wait 0 ms042F: save_stat 0 value 1@ ///042F: register_highest_int_stat 0 to 1@ ///042F: save_stat 0 value 1@03F0: text_draw_toggle 1033F: set_text_draw_letter_width_height 0.5 1.50340: set_text_draw_color 156 156 156 2550343: set_text_linewidth 1000.0033E: text_draw 37.0 270.0 'KILLS' // Best Time: NA033F: set_text_draw_letter_width_height 1.0 3.00340: set_text_draw_color 156 156 156 2550343: set_text_linewidth 1000.0045A: text_draw_1number 37.0 280.0 'NUMBER' 1@ // Best Result: ~1~th0002: jump @KILLS_11 Edited July 22, 2015 by Dachinko Link to comment Share on other sites More sharing options...
ZAZ Posted July 22, 2015 Share Posted July 22, 2015 So you're wondering that opcode 042F: don't give points for your display, even if you don't know what 042F: does. What's your plan? what do you wanna show ? CLEO MODS CLEO Script Tutorial Link to comment Share on other sites More sharing options...
DoubleVision Posted July 22, 2015 Author Share Posted July 22, 2015 (edited) Hi, zaz. Thanks for responding. For the original mod, grovestpunk is using an integer that shows people wasted (how many people wasted). But, I have no idea how to convert this to vice city since I can't find a counterpart opcode in the opcodes for GTA VC. When I Kill any ped (in this case all peds replaced with zombies), I want a kill counter to show up on my screen. This is where his original mod is found: http://www.gtagaming.com/downloads/gta-san-andreas/cleo-mods/7005 Also, I need this for adding it into the main.scm, please if anyone is available to help me convert it. Edited July 22, 2015 by Dachinko Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now