Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

(vc)Help needed


Hape556
 Share

Recommended Posts

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

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.
 

Link to comment
Share on other sites

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 by Hape556
Link to comment
Share on other sites

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 by Jack
Link to comment
Share on other sites

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

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

@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 by Hape556
Link to comment
Share on other sites

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.  

Link to comment
Share on other sites

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

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

 

Link to comment
Share on other sites

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

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

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

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
 Share

  • 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.