Hape556 Posted February 14 Share Posted February 14 Hey guys,i need some help. Is there any way to let me add new weapons without mvl?(MVL have bugs and cant be used by npc well) Also,is there any vc cleo scripts that will create a weapon pickup and destroy them before saving?i need them as a sample(i dont want destroy the save and im bad at cleo scripting, but i can edit weapon id and locations) lastly,how to add new cops?i mean the cops will appear on the street plz help,thx Link to comment Share on other sites More sharing options...
Jack Posted February 14 Share Posted February 14 1 hour ago, Hape556 said: Hey guys,i need some help. Is there any way to let me add new weapons without mvl?(MVL have bugs and cant be used by npc well) Also,is there any vc cleo scripts that will create a weapon pickup and destroy them before saving?i need them as a sample(i dont want destroy the save and im bad at cleo scripting, but i can edit weapon id and locations) lastly,how to add new cops?i mean the cops will appear on the street plz help,thx When an NPC drops a new (added) MVL weapon - the game crashes. WLE fixes the crash by removing the pickup feature for the new weapons droped by NPCs. Meaning - with the wle installed - you can use MVL weapons and add them to cops only (without any crashes) but also the new MVL pickups won't be spawned at dead NPC locations in order to prevent the crash. Also if you already add some new cops to the game - you can put them in wanted level with wle. Just open the xml file and start replacing the default stuff with the new ones. Hape556 1 Tank Fire [SA] New Police Helicopter [VC & III] My YouTube Channel Link to comment Share on other sites More sharing options...
Hape556 Posted February 14 Author Share Posted February 14 (edited) 16 minutes ago, Jack said: When an NPC drops a new (added) MVL weapon - the game crashes. WLE fixes the crash by removing the pickup feature for the new weapons droped by NPCs. Meaning - with the wle installed - you can use MVL weapons and add them to cops only (without any crashes) but also the new MVL pickups won't be spawned at dead NPC locations in order to prevent the crash. Also if you already add some new cops to the game - you can put them in wanted level with wle. Just open the xml file and start replacing the default stuff with the new ones. thx for reply,i know your mod,your mod is really great,i m using it but i dont want to use mvl,it is buggy and incompatible with some mods,i want to add it into the game without mvl btw can your wanted level editor make new officers appear on the street?(when not wanted) and as you said,mvl weapon still cant be used ny other peds i want to add some weapons for gangs Edited February 14 by Hape556 Link to comment Share on other sites More sharing options...
Jack Posted February 14 Share Posted February 14 (edited) 7 minutes ago, Hape556 said: btw can your wanted level editor make new officers appear on the street?(when not wanted) If the new cop models are already added and tested through some ped spawner then you can add them into the wanted level as well. When no wanted - that's star_0 settings: <star_0_foot_cop_skin_1>1</star_0_foot_cop_skin_1> <star_0_foot_cop_gun_1>17</star_0_foot_cop_gun_1> and for those in the vehicles: <star_0_driver_1>1</star_0_driver_1> <star_0_passenger0_1>1</star_0_passenger0_1> <star_0_passenger1_1>1</star_0_passenger1_1> <star_0_passenger2_1>1</star_0_passenger2_1> <star_0_driver_gun_1>17</star_0_driver_gun_1> <star_0_passenger0_gun_1>17</star_0_passenger0_gun_1> <star_0_passenger1_gun_1>17</star_0_passenger1_gun_1> <star_0_passenger2_gun_1>17</star_0_passenger2_gun_1> and if you want to use all 6 lines: <star_0_enable_six_models>true</star_0_enable_six_models> Edited February 14 by Jack Tank Fire [SA] New Police Helicopter [VC & III] My YouTube Channel Link to comment Share on other sites More sharing options...
Hape556 Posted February 14 Author Share Posted February 14 18 minutes ago, Jack said: If the new cop models are already added and tested through some ped spawner then you can add them into the wanted level as well. When no wanted - that's star_0 settings: <star_0_foot_cop_skin_1>1</star_0_foot_cop_skin_1> <star_0_foot_cop_gun_1>17</star_0_foot_cop_gun_1> and for those in the vehicles: <star_0_driver_1>1</star_0_driver_1> <star_0_passenger0_1>1</star_0_passenger0_1> <star_0_passenger1_1>1</star_0_passenger1_1> <star_0_passenger2_1>1</star_0_passenger2_1> <star_0_driver_gun_1>17</star_0_driver_gun_1> <star_0_passenger0_gun_1>17</star_0_passenger0_gun_1> <star_0_passenger1_gun_1>17</star_0_passenger1_gun_1> <star_0_passenger2_gun_1>17</star_0_passenger2_gun_1> and if you want to use all 6 lines: <star_0_enable_six_models>true</star_0_enable_six_models> cool man thx Link to comment Share on other sites More sharing options...
Hape556 Posted February 14 Author Share Posted February 14 1 hour ago, Jack said: If the new cop models are already added and tested through some ped spawner then you can add them into the wanted level as well. When no wanted - that's star_0 settings: <star_0_foot_cop_skin_1>1</star_0_foot_cop_skin_1> <star_0_foot_cop_gun_1>17</star_0_foot_cop_gun_1> and for those in the vehicles: <star_0_driver_1>1</star_0_driver_1> <star_0_passenger0_1>1</star_0_passenger0_1> <star_0_passenger1_1>1</star_0_passenger1_1> <star_0_passenger2_1>1</star_0_passenger2_1> <star_0_driver_gun_1>17</star_0_driver_gun_1> <star_0_passenger0_gun_1>17</star_0_passenger0_gun_1> <star_0_passenger1_gun_1>17</star_0_passenger1_gun_1> <star_0_passenger2_gun_1>17</star_0_passenger2_gun_1> and if you want to use all 6 lines: <star_0_enable_six_models>true</star_0_enable_six_models> man, can i add cop bikers? i mean cops only appears with bike Link to comment Share on other sites More sharing options...
Hape556 Posted February 14 Author Share Posted February 14 (edited) @Jacki found what caused the crash,its the id,when i use id 6500,it crashed,i used id 108,it didnt,but theres only a small amount free ids that is under 1000,can you tell me what caused it?why i cant use 6500 or larger number? Edited February 14 by Hape556 Link to comment Share on other sites More sharing options...
Jack Posted February 14 Share Posted February 14 3 hours ago, Hape556 said: man, can i add cop bikers? i mean cops only appears with bike You can add all types of vehicles. Just remember - wle can not add the vehicle to the game itself - it puts already added vehicle inside the wanted level. Here's an example how to add existing bikes to star_2: MODEL_ANGEL // 166 MODEL_PIZZABOY // 178 MODEL_PCJ600 // 191 MODEL_FAGGIO // 192 MODEL_FREEWAY // 193 MODEL_SANCHEZ // 198 xml settings: <star_2_enable_six_models>true</star_2_enable_six_models> <star_2_vehicle_1>166</star_2_vehicle_1> <star_2_vehicle_2>178</star_2_vehicle_2> <star_2_vehicle_3>191</star_2_vehicle_3> <star_2_vehicle_4>192</star_2_vehicle_4> <star_2_vehicle_5>193</star_2_vehicle_5> <star_2_vehicle_6>198</star_2_vehicle_6> 3 hours ago, Hape556 said: @Jacki found what caused the crash,its the id,when i use id 6500,it crashed,i used id 108,it didnt,but theres only a small amount free ids that is under 1000,can you tell me what caused it?why i cant use 6500 or larger number? It's a limit problem so you need limit adjuster. Tank Fire [SA] New Police Helicopter [VC & III] My YouTube Channel Link to comment Share on other sites More sharing options...
Hape556 Posted February 14 Author Share Posted February 14 Just now, Jack said: It's a limit problem so you need limit adjuster. i used limit adjuster which setting should i edit? Link to comment Share on other sites More sharing options...
ArmanCan Posted February 14 Share Posted February 14 7 hours ago, Hape556 said: Also,is there any vc cleo scripts that will create a weapon pickup and destroy them before saving? @Hape556 You can approach the case like this and prepare yourself two cleo scripts if it's classic Vice City.. First Script - Enter "Type Cheat" opcodes and define yourself a cheat code and the messagebox text.. - As you know adding a new pickups is a messy situation.. you may have to delete the existing pickups and relocate in your desired location in order to not fill up the memory pool.. That means next step will be two lists.. one is your "Destroy List" and the second one will be your "Relocate List" Second Script (Uninstall Script) - Enter "Type Cheat" opcodes and define yourself a cheat code and the messagebox text.. -This time you are going to delete the variables again and copy the exact codes from main.scm.. You are going to trigger the uninstall script BEFORE SAVING For Example {$CLEO .cs} // Load.txt 0000: 0001: wait 3000 :Loop 0001: wait 0 00D6: if 0038: $ONMISSION == 0 004D: jump_if_false @Loop 00D6: if 0ADC: test_cheat "LOAD" // CHEAT CODE 004D: jump_if_false @Loop 0ACE: show_formatted_text_box "LOADING WEAPONS" // MESSAGE BOX //0215: destroy_pickup $5671 //ORIGINAL MINIGUN VARIABLE 0215: destroy_pickup $2030 //ORIGINAL M60 VARIABLE 032B: $5671 = create_weapon_pickup #MINIGUN 15 ammo 500 at -7.0 -1212.25 10.4 // RELOCATED POSITION 032B: $2030 = create_weapon_pickup #M60 15 ammo 500 at -7.0 -1210.0 10.4 // RELOCATED POSITION {$CLEO .cs} // Load.txt 0000: 0001: wait 3000 :Loop 0001: wait 0 00D6: if 0038: $ONMISSION == 0 004D: jump_if_false @Loop 00D6: if 0ADC: test_cheat "UNINSTALL" // CHEAT CODE 004D: jump_if_false @Loop 0ACE: show_formatted_text_box "UNINSTALLING WEAPONS" // MESSAGE BOX //0215: destroy_pickup $5671 //ORIGINAL MINIGUN VARIABLE 0215: destroy_pickup $2030 //ORIGINAL M60 VARIABLE 032B: $5671 = create_weapon_pickup #MINIGUN 15 ammo 100 at -1184.17 102.62 17.5 // ORIGINAL LOCATION - LITTLE HAITI FACTORY 032B: $2030 = create_weapon_pickup #M60 15 ammo 100 at -1744.9 -288.9 29.7 // ORIGINAL LOCATION - ARMY TOWER Hape556 1 Link to comment Share on other sites More sharing options...
Hape556 Posted February 14 Author Share Posted February 14 8 hours ago, ArmanCan said: @Hape556 You can approach the case like this and prepare yourself two cleo scripts if it's classic Vice City.. First Script - Enter "Type Cheat" opcodes and define yourself a cheat code and the messagebox text.. - As you know adding a new pickups is a messy situation.. you may have to delete the existing pickups and relocate in your desired location in order to not fill up the memory pool.. That means next step will be two lists.. one is your "Destroy List" and the second one will be your "Relocate List" Second Script (Uninstall Script) - Enter "Type Cheat" opcodes and define yourself a cheat code and the messagebox text.. -This time you are going to delete the variables again and copy the exact codes from main.scm.. You are going to trigger the uninstall script BEFORE SAVING For Example {$CLEO .cs} // Load.txt 0000: 0001: wait 3000 :Loop 0001: wait 0 00D6: if 0038: $ONMISSION == 0 004D: jump_if_false @Loop 00D6: if 0ADC: test_cheat "LOAD" // CHEAT CODE 004D: jump_if_false @Loop 0ACE: show_formatted_text_box "LOADING WEAPONS" // MESSAGE BOX //0215: destroy_pickup $5671 //ORIGINAL MINIGUN VARIABLE 0215: destroy_pickup $2030 //ORIGINAL M60 VARIABLE 032B: $5671 = create_weapon_pickup #MINIGUN 15 ammo 500 at -7.0 -1212.25 10.4 // RELOCATED POSITION 032B: $2030 = create_weapon_pickup #M60 15 ammo 500 at -7.0 -1210.0 10.4 // RELOCATED POSITION {$CLEO .cs} // Load.txt 0000: 0001: wait 3000 :Loop 0001: wait 0 00D6: if 0038: $ONMISSION == 0 004D: jump_if_false @Loop 00D6: if 0ADC: test_cheat "UNINSTALL" // CHEAT CODE 004D: jump_if_false @Loop 0ACE: show_formatted_text_box "UNINSTALLING WEAPONS" // MESSAGE BOX //0215: destroy_pickup $5671 //ORIGINAL MINIGUN VARIABLE 0215: destroy_pickup $2030 //ORIGINAL M60 VARIABLE 032B: $5671 = create_weapon_pickup #MINIGUN 15 ammo 100 at -1184.17 102.62 17.5 // ORIGINAL LOCATION - LITTLE HAITI FACTORY 032B: $2030 = create_weapon_pickup #M60 15 ammo 100 at -1744.9 -288.9 29.7 // ORIGINAL LOCATION - ARMY TOWER cool man,thx a lot Link to comment Share on other sites More sharing options...
Hape556 Posted February 14 Author Share Posted February 14 8 hours ago, ArmanCan said: @Hape556 You can approach the case like this and prepare yourself two cleo scripts if it's classic Vice City.. First Script - Enter "Type Cheat" opcodes and define yourself a cheat code and the messagebox text.. - As you know adding a new pickups is a messy situation.. you may have to delete the existing pickups and relocate in your desired location in order to not fill up the memory pool.. That means next step will be two lists.. one is your "Destroy List" and the second one will be your "Relocate List" Second Script (Uninstall Script) - Enter "Type Cheat" opcodes and define yourself a cheat code and the messagebox text.. -This time you are going to delete the variables again and copy the exact codes from main.scm.. You are going to trigger the uninstall script BEFORE SAVING For Example {$CLEO .cs} // Load.txt 0000: 0001: wait 3000 :Loop 0001: wait 0 00D6: if 0038: $ONMISSION == 0 004D: jump_if_false @Loop 00D6: if 0ADC: test_cheat "LOAD" // CHEAT CODE 004D: jump_if_false @Loop 0ACE: show_formatted_text_box "LOADING WEAPONS" // MESSAGE BOX //0215: destroy_pickup $5671 //ORIGINAL MINIGUN VARIABLE 0215: destroy_pickup $2030 //ORIGINAL M60 VARIABLE 032B: $5671 = create_weapon_pickup #MINIGUN 15 ammo 500 at -7.0 -1212.25 10.4 // RELOCATED POSITION 032B: $2030 = create_weapon_pickup #M60 15 ammo 500 at -7.0 -1210.0 10.4 // RELOCATED POSITION {$CLEO .cs} // Load.txt 0000: 0001: wait 3000 :Loop 0001: wait 0 00D6: if 0038: $ONMISSION == 0 004D: jump_if_false @Loop 00D6: if 0ADC: test_cheat "UNINSTALL" // CHEAT CODE 004D: jump_if_false @Loop 0ACE: show_formatted_text_box "UNINSTALLING WEAPONS" // MESSAGE BOX //0215: destroy_pickup $5671 //ORIGINAL MINIGUN VARIABLE 0215: destroy_pickup $2030 //ORIGINAL M60 VARIABLE 032B: $5671 = create_weapon_pickup #MINIGUN 15 ammo 100 at -1184.17 102.62 17.5 // ORIGINAL LOCATION - LITTLE HAITI FACTORY 032B: $2030 = create_weapon_pickup #M60 15 ammo 100 at -1744.9 -288.9 29.7 // ORIGINAL LOCATION - ARMY TOWER btw ,can i dont use the cheat code? Link to comment Share on other sites More sharing options...
ArmanCan Posted February 15 Share Posted February 15 13 hours ago, Hape556 said: btw ,can i dont use the cheat code? Typing cheat is the safest method for me.. you can also change it with "Type Key" opcodes and don't worry.. this cheat wont be the cheat like "HESOYAM" or "AEZAKMI" 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