Jump to content

[GTAVC]GTASA-GTASA-PVP Points [by grovestpunk] to VC [HELP]


DoubleVision

Recommended Posts

DoubleVision

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_11
wait 0
0652: 1@ = integer_stat 121
03F0: enable_text_draw 1
033F: set_text_draw_letter_size 0.5 1.5
0340: set_text_draw_RGBA 156 156 156 255
0343: set_text_draw_linewidth 1000.0
0349: set_text_draw_font 3 //////not in VC
081C: draw_text_outline 2 RGBA 0 0 0 255 ////not in vc
033E: set_draw_text_position 37.0 20.0 GXT 'KILLS' // KILLS
033F: set_text_draw_letter_size 1.0 3.0
0340: set_text_draw_RGBA 156 156 156 255
0343: set_text_draw_linewidth 1000.0
0349: set_text_draw_font 3 ////not in vc
081C: draw_text_outline 2 RGBA 0 0 0 255 ////not in vc
045A: 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


:KILLS
03A4: name_thread 'KILLS'

:KILLS_11
0001: wait 0 ms
042F: save_stat 0 value 1@ ///042F: register_highest_int_stat 0 to 1@ ///042F: save_stat 0 value 1@
03F0: text_draw_toggle 1
033F: set_text_draw_letter_width_height 0.5 1.5
0340: set_text_draw_color 156 156 156 255
0343: set_text_linewidth 1000.0
033E: text_draw 37.0 270.0 'KILLS' // Best Time: NA
033F: set_text_draw_letter_width_height 1.0 3.0
0340: set_text_draw_color 156 156 156 255
0343: set_text_linewidth 1000.0
045A: text_draw_1number 37.0 280.0 'NUMBER' 1@ // Best Result: ~1~th
0002: jump @KILLS_11

Edited by Dachinko
Link to comment
Share on other sites

DoubleVision

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 by Dachinko
Link to comment
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.