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

Wanted Level


Jack
 Share

Recommended Posts

how / where can i disable that the SWAT VAN appear with the FBI on the top ? swat van appear also on level 6 sometimes,but i just use them if wanted level is 4 and the turret cleo i dont include ingame,

but still sometimes a swat van appear on level 6 that just follow me and nobody left that vehice, so it seems there is a connection with this in any of the other 3 files, how to disable ? the rest of the code i understand.

 

(i use this together with your helicopter script and with vehicle weapon script)

 

my new WL system:

 

 

{$CLEO}0000: NWLSWHILE 8256:   not player $PLAYER_CHAR defined     wait 250END01F0: set_max_wanted_level_to 6                                                                                                                                                               REPEAT    wait 0                                                                                 UNTIL 010F:   player $PLAYER_CHAR wanted_level > 20247: load_model #RANCHER0247: load_model #CHEETAH0247: load_model #SWATVAN0247: load_model #FBITRUCK0247: load_model #PATRIOT0247: load_model #BARRACKS0247: load_model #RHINO0247: load_model #ENFORCER0247: load_model #COPCARRU0247: load_model #SWATVAN   0247: load_model #HUNTLEY             038B: load_requested_models0006: [email protected] = 0x8A5A9c                                                                                                          0A8D: [email protected] = [email protected] 4 1 IF    0039:   [email protected] == 0x20BTHEN0006: [email protected] = 0x8A5A8C 0006: [email protected] = 0x8A5A90 0006: [email protected] = 0x8A5A94 0006: [email protected] = 0x8A5A98 0006: [email protected] = 0x4219BA 0006: [email protected] = 0x4219E6 0006: [email protected] = 0x461BE7 0006: [email protected] = 0x461BCC 0006: [email protected] = 0x461BB1 0006: [email protected] = 0x561F83 0006: [email protected] = 0x561F63 0006: [email protected] = 0x561F43 0006: [email protected] = 0x561F23 ELSE 0006: [email protected] = 0x912364                                                                                              0A8D: [email protected] = [email protected] 4 1     IF        0039:   [email protected] == 0x20B    THEN    0006: [email protected] = 0x912354     0006: [email protected] = 0x912358     0006: [email protected] = 0x91235C     0006: [email protected] = 0x912360     0006: [email protected] = 0x42287A     0006: [email protected] = 0x4228AC     0006: [email protected] = 0x466BCF     0006: [email protected] = 0x466BB0     0006: [email protected] = 0x466B91    0006: [email protected] = 0x57BB73     0006: [email protected] = 0x57BB53     0006: [email protected] = 0x57BB33     0006: [email protected] = 0x57BB13     ELSE    0006: [email protected] = 0x8A6D68                                                                                                 0A8D: [email protected] = [email protected] 4 1         IF            0039:   [email protected] == 0x20B        THEN        0006: [email protected] = 0x8A6D58         0006: [email protected] = 0x8A6D5C         0006: [email protected] = 0x8A6D60         0006: [email protected] = 0x8A6D64         0006: [email protected] = 0x421A3A         0006: [email protected] = 0x421A66         0006: [email protected] = 0x461C67         0006: [email protected] = 0x461C4C         0006: [email protected] = 0x461C31         0006: [email protected] = 0x562423         0006: [email protected] = 0x562403         0006: [email protected] = 0x5623E3         0006: [email protected] = 0x5623C3         ELSE        0A93:        END    ENDEND                                                   WHILE TRUEREPEAT    wait 0UNTIL 0256:   player $PLAYER_CHAR defined 0A8C: [email protected] 4 #COPCARRU 1            0A8C: [email protected] 4 #COPCARLA 10A8C: [email protected] 4 #COPCARSF 10A8C: [email protected] 4 #COPCARVG 1   01C0: [email protected] = player $PLAYER_CHAR wanted_levelWHILE 0039:   [email protected] == 3    wait 0     01C0: [email protected] = player $PLAYER_CHAR wanted_level    0A8C: [email protected] 4 #RANCHER 1    0A8C: [email protected] 4 #RANCHER 1    0A8C: [email protected] 4 #RANCHER 1    0A8C: [email protected] 4 #RANCHER 1    wait 0    01C0: [email protected] = player $PLAYER_CHAR wanted_level    0A8C: [email protected] 4 #COPCARRU 1                0A8C: [email protected] 4 #COPCARLA 1    0A8C: [email protected] 4 #COPCARSF 1    0A8C: [email protected] 4 #COPCARVG 1 END 01C0: [email protected] = player $PLAYER_CHAR wanted_levelWHILE 0039:   [email protected] == 4      wait 0    01C0: [email protected] = player $PLAYER_CHAR wanted_level        0A8C: [email protected] 4 #ENFORCER 1    0A8C: [email protected] 4 #ENFORCER 1    0A8C: [email protected] 4 #ENFORCER 1    0A8C: [email protected] 4 #ENFORCER 1    0A8C: [email protected] 4 #ENFORCER 1    wait 0    0A8C: [email protected] 4 #SWATVAN 1    0A8C: [email protected] 4 #SWATVAN 1    0A8C: [email protected] 4 #SWATVAN 1    0A8C: [email protected] 4 #SWATVAN 1    0A8C: [email protected] 4 #SWATVAN 1 END 0A96: [email protected] = actor $PLAYER_ACTOR struct  000A: [email protected] += 0x480 0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0000A: [email protected] += 0x0 0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0000A: [email protected] += 0x0 0A8D: [email protected] = read_memory [email protected] size 4 virtual_protect 0 IF    0029:   [email protected] >= 6700THEN0A8C: [email protected] 4 #HUNTLEY 1            0A8C: [email protected] 4 #HUNTLEY 10A8C: [email protected] 4 #HUNTLEY 10A8C: [email protected] 4 #HUNTLEY 1END01C0: [email protected] = player $PLAYER_CHAR wanted_level   WHILE 0039:   [email protected] == 5    wait 0    01C0: [email protected] = player $PLAYER_CHAR wanted_level      0A8C: [email protected] 1 0x5 1     0A8C: [email protected] 4 #FBIRANCH 1    0A8C: [email protected] 4 #FBIRANCH 1    wait 0    0A8C: [email protected] 4 #FBITRUCK 1    0A8C: [email protected] 4 #FBITRUCK 1    wait 0     0A8C: [email protected] 4 #FBIRANCH 1    0A8C: [email protected] 4 #FBITRUCK 1 END0A8C: [email protected] 1 0x6 101C0: [email protected] = player $PLAYER_CHAR wanted_level  WHILE 0039:   [email protected] == 6     wait 0    01C0: [email protected] = player $PLAYER_CHAR wanted_level      0A8C: [email protected] 4 #BARRACKS 1    0A8C: [email protected] 4 #BARRACKS 1    wait 0    0A8C: [email protected] 4 #PATRIOT 1    0A8C: [email protected] 4 #PATRIOT 1    wait 0    0A8C: [email protected] 4 #BARRACKS 1    0A8C: [email protected] 4 #BARRACKS 1    wait 0    0A8C: [email protected] 4 #PATRIOT 1    0A8C: [email protected] 4 #PATRIOT 1END 0A8C: [email protected] 1 0x5 1 END  

 

 

Edited by TiTAN_AI
Link to comment
Share on other sites

 

 

how / where can i disable that the SWAT VAN appear with the FBI on the top ?

Only inside the turret code. You can replace the FBI model with the SWAT for example.

 

swat van appear also on level 6 sometimes,but i just use them if wanted level is 4 and the turret cleo i dont include ingame,

Yes you're right and those are actually regular cop cars which randomly appear in every star by default. I stored their models inside [email protected], [email protected], [email protected] and [email protected] variables:

WHILE 0039:   [email protected] == 4      wait 0    01C0: [email protected] = player $PLAYER_CHAR wanted_level        0A8C: [email protected] 4 #ENFORCER 1    0A8C: [email protected] 4 #ENFORCER 1    0A8C: [email protected] 4 #ENFORCER 1    0A8C: [email protected] 4 #ENFORCER 1    0A8C: [email protected] 4 #ENFORCER 1    wait 0    0A8C: [email protected] 4 #SWATVAN 1    0A8C: [email protected] 4 #SWATVAN 1    0A8C: [email protected] 4 #SWATVAN 1    0A8C: [email protected] 4 #SWATVAN 1    0A8C: [email protected] 4 #SWATVAN 1END
That's why SWATVAN came at 5th and 6th star. Use this:

{$CLEO}
0000: NWLS

WHILE 8256: not player $PLAYER_CHAR defined
wait 250
END
01F0: set_max_wanted_level_to 7

REPEAT
wait 0
UNTIL 010F: player $PLAYER_CHAR wanted_level > 2
0247: load_model #RANCHER
0247: load_model #CHEETAH
0247: load_model #SWATVAN
0247: load_model #FBITRUCK
0247: load_model #PATRIOT
0247: load_model #BARRACKS
0247: load_model #RHINO
0247: load_model #ENFORCER
0247: load_model #COPCARRU
0247: load_model #SWATVAN
0247: load_model #HUNTLEY
038B: load_requested_models
0006: [email protected] = 0x8A5A9c
0A8D: [email protected] = [email protected] 4 1
IF
0039: [email protected] == 0x20B
THEN
0006: [email protected] = 0x8A5A8C
0006: [email protected] = 0x8A5A90
0006: [email protected] = 0x8A5A94
0006: [email protected] = 0x8A5A98
0006: [email protected] = 0x4219BA
0006: [email protected] = 0x4219E6
0006: [email protected] = 0x461BE7
0006: [email protected] = 0x461BCC
0006: [email protected] = 0x461BB1
0006: [email protected] = 0x561F83
0006: [email protected] = 0x561F63
0006: [email protected] = 0x561F43
0006: [email protected] = 0x561F23
ELSE
0006: [email protected] = 0x912364
0A8D: [email protected] = [email protected] 4 1
IF
0039: [email protected] == 0x20B
THEN
0006: [email protected] = 0x912354
0006: [email protected] = 0x912358
0006: [email protected] = 0x91235C
0006: [email protected] = 0x912360
0006: [email protected] = 0x42287A
0006: [email protected] = 0x4228AC
0006: [email protected] = 0x466BCF
0006: [email protected] = 0x466BB0
0006: [email protected] = 0x466B91
0006: [email protected] = 0x57BB73
0006: [email protected] = 0x57BB53
0006: [email protected] = 0x57BB33
0006: [email protected] = 0x57BB13
ELSE
0006: [email protected] = 0x8A6D68
0A8D: [email protected] = [email protected] 4 1
IF
0039: [email protected] == 0x20B
THEN
0006: [email protected] = 0x8A6D58
0006: [email protected] = 0x8A6D5C
0006: [email protected] = 0x8A6D60
0006: [email protected] = 0x8A6D64
0006: [email protected] = 0x421A3A
0006: [email protected] = 0x421A66
0006: [email protected] = 0x461C67
0006: [email protected] = 0x461C4C
0006: [email protected] = 0x461C31
0006: [email protected] = 0x562423
0006: [email protected] = 0x562403
0006: [email protected] = 0x5623E3
0006: [email protected] = 0x5623C3
ELSE
0A93:
END
END
END

WHILE TRUE
REPEAT
wait 0
UNTIL 0256: player $PLAYER_CHAR defined

0A8C: [email protected] 4 #COPCARRU 1
0A8C: [email protected] 4 #COPCARLA 1
0A8C: [email protected] 4 #COPCARSF 1
0A8C: [email protected] 4 #COPCARVG 1

01C0: [email protected] = player $PLAYER_CHAR wanted_level
WHILE 0039: [email protected] == 3
wait 0
01C0: [email protected] = player $PLAYER_CHAR wanted_level
0A8C: [email protected] 4 #RANCHER 1
0A8C: [email protected] 4 #RANCHER 1
0A8C: [email protected] 4 #RANCHER 1
0A8C: [email protected] 4 #RANCHER 1
wait 0
01C0: [email protected] = player $PLAYER_CHAR wanted_level
0A8C: [email protected] 4 #COPCARRU 1
0A8C: [email protected] 4 #COPCARLA 1
0A8C: [email protected] 4 #COPCARSF 1
0A8C: [email protected] 4 #COPCARVG 1
END

0A8C: [email protected] 4 #COPCARRU 1
0A8C: [email protected] 4 #COPCARLA 1
0A8C: [email protected] 4 #COPCARSF 1
0A8C: [email protected] 4 #COPCARVG 1

01C0: [email protected] = player $PLAYER_CHAR wanted_level
WHILE 0039: [email protected] == 4
wait 0
01C0: [email protected] = player $PLAYER_CHAR wanted_level
0A8C: [email protected] 4 #ENFORCER 1
0A8C: [email protected] 4 #ENFORCER 1
0A8C: [email protected] 4 #ENFORCER 1
0A8C: [email protected] 4 #ENFORCER 1
0A8C: [email protected] 4 #ENFORCER 1
wait 0
0A8C: [email protected] 4 #SWATVAN 1
0A8C: [email protected] 4 #SWATVAN 1
0A8C: [email protected] 4 #SWATVAN 1
0A8C: [email protected] 4 #SWATVAN 1
0A8C: [email protected] 4 #SWATVAN 1
END

IF
010F: player $PLAYER_CHAR wanted_level > 6
THEN
0A8C: [email protected] 4 #HUNTLEY 1
0A8C: [email protected] 4 #HUNTLEY 1
0A8C: [email protected] 4 #HUNTLEY 1
0A8C: [email protected] 4 #HUNTLEY 1
END

0A8C: [email protected] 4 #COPCARRU 1
0A8C: [email protected] 4 #COPCARLA 1
0A8C: [email protected] 4 #COPCARSF 1
0A8C: [email protected] 4 #COPCARVG 1

01C0: [email protected] = player $PLAYER_CHAR wanted_level
WHILE 0039: [email protected] == 5
wait 0
01C0: [email protected] = player $PLAYER_CHAR wanted_level
0A8C: [email protected] 1 0x5 1
0A8C: [email protected] 4 #FBIRANCH 1
0A8C: [email protected] 4 #FBIRANCH 1
wait 0
0A8C: [email protected] 4 #FBITRUCK 1
0A8C: [email protected] 4 #FBITRUCK 1
wait 0
0A8C: [email protected] 4 #FBIRANCH 1
0A8C: [email protected] 4 #FBITRUCK 1
END
0A8C: [email protected] 1 0x6 1

0A8C: [email protected] 4 #PATRIOT 1
0A8C: [email protected] 4 #PATRIOT 1
0A8C: [email protected] 4 #PATRIOT 1
0A8C: [email protected] 4 #PATRIOT 1

01C0: [email protected] = player $PLAYER_CHAR wanted_level
WHILE 0039: [email protected] == 6
wait 0
01C0: [email protected] = player $PLAYER_CHAR wanted_level
0A8C: [email protected] 4 #BARRACKS 1
0A8C: [email protected] 4 #BARRACKS 1
wait 0
0A8C: [email protected] 4 #PATRIOT 1
0A8C: [email protected] 4 #PATRIOT 1
wait 0
0A8C: [email protected] 4 #BARRACKS 1
0A8C: [email protected] 4 #BARRACKS 1
wait 0
0A8C: [email protected] 4 #PATRIOT 1
0A8C: [email protected] 4 #PATRIOT 1
END
0A8C: [email protected] 1 0x5 1
END



 

but still sometimes a swat van appear on level 6 [[that just follow me and nobody left that vehice]], so it seems there is a connection with this in any of the
other 3 files, how to disable ?

I was aware of that problem before but I can't fix it atm. Synchronized code is responsible for that. I should probably use $include instead of "take handle" opcodes used inside sync code.
Link to comment
Share on other sites

example, if i no use a civil vehicle (here the Ranger) in this section:

01C0: [email protected] = player $PLAYER_CHAR wanted_levelWHILE 0039:   [email protected] == 3    wait 0    01C0: [email protected] = player $PLAYER_CHAR wanted_level    0A8C: [email protected] 4 #RANCHER 1    0A8C: [email protected] 4 #RANCHER 1    0A8C: [email protected] 4 #RANCHER 1    0A8C: [email protected] 4 #RANCHER 1    wait 0    01C0: [email protected] = player $PLAYER_CHAR wanted_level    0A8C: [email protected] 4 #COPCARRU 1                0A8C: [email protected] 4 #COPCARLA 1    0A8C: [email protected] 4 #COPCARSF 1    0A8C: [email protected] 4 #COPCARVG 1END0A8C: [email protected] 4 #COPCARRU 1            0A8C: [email protected] 4 #COPCARLA 10A8C: [email protected] 4 #COPCARSF 10A8C: [email protected] 4 #COPCARVG 1

will the HECK 1 + 2 (here "undercver cops") still appear or not, or will it result in any errors because the game try load them ?

And what about the WOMIB & WYMIB ? i never saw them appear but they are included in the syncronisized code & in the helicoper code, are they just leftover from the 7 star mod ?

Link to comment
Share on other sites

 

 

example, if i no use a civil vehicle (here the Ranger) will the HECK 1 + 2 (here "undercver cops") still appear or not, or will it result in any errors because the game try load them ?

Synchronised code only puts actors inside the empty civil vehicles originaly created by the game as a part of the wanted level system, but ignores the police models (COPCAR, ENFORCER, FBIRANCHER, RHINO and BARRACKS) because those vehicles already have actors (COP, SWAT, FBI and the ARMY).
SO undercver cops will appear only inside civil cars if WL > 2. However I think there's is a way to replace WL actors inside emergency vehicles with some other models.

 

And what about the WOMIB & WYMIB ? i never saw them appear but they are included in the syncronisized code & in the helicoper code, are they just leftover from the 7 star mod ?

At the time I was building sync' code I thought I'm gonna need those models for the 7th star but later I build up another code with a purpose to create attacking vehicles AND actors inside them.
The helicopter code actually uses those actor models at the 7th star instead of the SWAT team models.
  • Like 2
Link to comment
Share on other sites

so when i just use:

01C0: [email protected] = player $PLAYER_CHAR wanted_levelWHILE 0039:   [email protected] == 3    wait 0    01C0: [email protected] = player $PLAYER_CHAR wanted_level    0A8C: [email protected] 4 #COPCARRU 1                0A8C: [email protected] 4 #COPCARLA 1    0A8C: [email protected] 4 #COPCARSF 1    0A8C: [email protected] 4 #COPCARVG 1END0A8C: [email protected] 4 #COPCARRU 1            0A8C: [email protected] 4 #COPCARLA 10A8C: [email protected] 4 #COPCARSF 10A8C: [email protected] 4 #COPCARVG 1

the heck 1 + 2 wont appear but the game still runs fine ?

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.