Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Diamond Casino Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

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

      1. Events
    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA 6

    3. GTA V

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

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

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    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. DYOM
      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
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

Sign in to follow this  
rapsis2x2

Smarter police request

Recommended Posts

rapsis2x2

Hello every modder here, I have an request!

I'm pissed off of those cops ruining the game. If there is a cop nearby and someone is shooting me, he doesnt give a sh*t! But if I shoot the guy thats SHOOTING me, those dumbass cops start chasing me!

Can someone please fix this? I love this game, but I hate the cops in it.

Share this post


Link to post
Share on other sites
yair1221

what game are you using?

is it VC, GTA 3, SA, or IV?

Share this post


Link to post
Share on other sites
rapsis2x2
what game are you using?

is it VC, GTA 3, SA, or IV?

GTA San Andreas

Share this post


Link to post
Share on other sites
Deji

Lemme get this straight... you're complaining because you're being chased by cops in a Grand Theft Auto game?

 

I think you need to recheck the concept of the game... If you want a reality game.. umm.. do they make those?

Share this post


Link to post
Share on other sites
rapsis2x2
Lemme get this straight... you're complaining because you're being chased by cops in a Grand Theft Auto game?

 

I think you need to recheck the concept of the game... If you want a reality game.. umm.. do they make those?

No, I'm pissed off that when some f*cking suckers are shooting at me, I can't do a sh*t couse cops start chasing me!

Share this post


Link to post
Share on other sites
Deji

If yeh don't wanna be chased by a cop.. it's often a wise choice not blast someones head off with a sawnoff in front of them...

 

Just a thought.

Share this post


Link to post
Share on other sites
rapsis2x2
If yeh don't wanna be chased by a cop.. it's often a wise choice not blast someones head off with a sawnoff in front of them...

 

Just a thought.

I mean gangsters. I'm just walking down the street and some of em start shooting me. And what cops do? NOTHING!

Share this post


Link to post
Share on other sites
Deji

Okay, okay.. I've fixed up a little something... Paste and compile in Sanny Builder smile.gif You need to use CLEO 4, since I couldn't be assed writing twice as many lines. I had it in a nicely structured for loop using arrays, but I decided this was more "noob friendly".

 

 

{$CLEO}wait 250//0A8C: write_memory 0x56BB71 size 5 value 0x90 virtual_protect 1 // causes nasty crash0A8C: write_memory 0x56C10F size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C812 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C1DF size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C8E2 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56BC5B size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56BE5E size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56BD4E size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56BF57 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C349 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C44D size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56CA52 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56CB59 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C571 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C66C size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56CC81 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56CD8C size 5 value 0x90 virtual_protect 10A93: end_custom_thread

 

 

Now your problems with annoying and pointless gunfire will be gone!

 

Dedication, eh? I had a few problems along the way, but it's turned out pretty effective. Only yair1221 could do a better job.

 

I'd love for someone to make a video of this smile.gif

 

 

N'joy!

Edited by Deji

Share this post


Link to post
Share on other sites
rapsis2x2

 

Okay, okay.. I've fixed up a little something... Paste and compile in Sanny Builder smile.gif You need to use CLEO 4, since I couldn't be assed writing twice as many lines. I had it in a nicely structured for loop using arrays, but I decided this was more "noob friendly".

 

 

{$CLEO}wait 250//0A8C: write_memory 0x56BB71 size 5 value 0x90 virtual_protect 1 // causes nasty crash0A8C: write_memory 0x56C10F size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C812 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C1DF size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C8E2 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56BC5B size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56BE5E size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56BD4E size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56BF57 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C349 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C44D size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56CA52 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56CB59 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C571 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56C66C size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56CC81 size 5 value 0x90 virtual_protect 10A8C: write_memory 0x56CD8C size 5 value 0x90 virtual_protect 10A93: end_custom_thread

 

 

Now your problems with annoying and pointless gunfire will be gone!

 

Dedication, eh? I had a few problems along the way, but it's turned out pretty effective. Only yair1221 could do a better job.

 

I'd love for someone to make a video of this smile.gif

 

 

N'joy!

Thanks alot. I'll make the video tomorrow. All credit will go to you, of course smile.gif

 

Oh, by the way, can you say how to save those files to .cs? I recently got sannybuilder and I cant figure it out.

Edited by rapsis2x2

Share this post


Link to post
Share on other sites
Deji

user posted image

 

Woah... dejavu. Love that topic... Have it as a bookmark.

Share this post


Link to post
Share on other sites
Bennington

Just add:

 

{$CLEO .cs}//-------------MAIN---------------

 

at the beginning of your script, then compile it.

Share this post


Link to post
Share on other sites
TheSiggi

{$CLEO} is the short form of {$CLEO .cs} tounge.gif you just need to add an extension to compile a custom mission (.cm) or an external script.

 

// = comment: everything behind it will be ignored by the compiler

 

 

 

//-------------MAIN--------------- 

 

is just used to show that the cleo scripts are initialized and handled as if they were normal threads in the main thread

Share this post


Link to post
Share on other sites
rapsis2x2

Hey, I think the script.. kinda went wrong. All weapons besides explosives don't hurt people (including me) so, can you fix it please? dozingoff.gif

 

Thanks

Share this post


Link to post
Share on other sites
Deji

Wait.. you saying it doesn't fix the problem you've been having with annoying gunfire? wow.gif

Share this post


Link to post
Share on other sites
rapsis2x2
Wait.. you saying it doesn't fix the problem you've been having with annoying gunfire? wow.gif

No, it just makes me shoot TROUGHT anyone!

Share this post


Link to post
Share on other sites
Deji

No, not just that.. it also makes anyone shoot through you smile.gif

 

You don't like it? I spent ages doing this sad.gif

Share this post


Link to post
Share on other sites
rapsis2x2
No, not just that.. it also makes anyone shoot through you smile.gif

 

You don't like it? I spent ages doing this sad.gif

Yea, but I can't shoot anyone... Whats the point of it?

Share this post


Link to post
Share on other sites
TheSiggi

I guess thats the point! Nobody can shoot you, so you don't have to shoot back, so the cops don't shoot you and everyone goes home and has a happy day! Everybody wins! lol.gif

Share this post


Link to post
Share on other sites
Deji

 

No, I'm pissed off that when some f*cking suckers are shooting at me, I can't do a sh*t couse cops start chasing me!

 

I mean gangsters. I'm just walking down the street and some of em start shooting me.

 

So you've changed your mind? You just want no cops in the game..?

 

That can be arranged, but what happened to posting a video of my awesome mod?

Share this post


Link to post
Share on other sites
rapsis2x2
No, I'm pissed off that when some f*cking suckers are shooting at me, I can't do a sh*t couse cops start chasing me!

 

I mean gangsters. I'm just walking down the street and some of em start shooting me.

 

So you've changed your mind? You just want no cops in the game..?

 

That can be arranged, but what happened to posting a video of my awesome mod?

I didin't try the mod, while I didin't know how to save the script. And from your description, I thought that gangsters will not shoot me anymore. But when everyone started to shoot throught me, I thought that the script was messed up. Maybe it's possable that when walking near other gangsters, they will not shoot me anymore? If you could make that, I would totally make a video for it.

Share this post


Link to post
Share on other sites
james227uk

 

Just add:

 

{$CLEO .cs}//-------------MAIN---------------

 

at the beginning of your script, then compile it.

It doesn't really matter, but adding

 

 

//-------------MAIN---------------

 

 

 

To your script is a waste of time, since the compiler removes it when compiled, and adds it automatically when decompiled

 

 

Just a thought which could save you 10 seconds tounge.gif

Share this post


Link to post
Share on other sites
rooood

I think what he wants is that the cops start chasing the ganstas who shoot CJ, instead of chasing CJ when he shoot the gangstas.

 

Anyway, I also hate GTA cops, the police system is not exactly poorly coded, but there's a lot of improvements to be made.

First of all, when I accidently hit a police car (or do any other silly thing that get me a wanted level), they start shooting me to kill. Police shouldn't shoot first, ask questions later (I KNOW this is GTA and that's the point of it, but still). Police should only start shooting with 2 or more wanted stars.

And another thing that irritates me everytime I'm doing the Vigilante missions is that the f*cking cops start chasing me. GODDAMMED, I'M TRYING TO HELP YOU GUYS, COME ON.

 

I'll try to figure out a script about police, but I'm new at scripting so I don't think i'll get anything anytime soon (also I wanna start coding for IV instead of SA).

Share this post


Link to post
Share on other sites
seggaeman

I got an idea (though I haven't tried it out yet). How about changing the RESPECT and HATE parameters in /.../GTA San Andreas/data/ped.dat ?

 

GANG2 is grove street; try making everyone respect GANG2. And add the other gangs to the cop hate list.

Edited by seggaeman

Share this post


Link to post
Share on other sites
Deji

They only shoot you with 1 star if you are waving a gun in their faces... Nothing wrong with that, just switch to fists or stop doing crimes... basically, cops go after people who do crimes. My script puts a fix to that, though wink.gif

Share this post


Link to post
Share on other sites
Gramps

Toonskull posted a few cleo's to deal with the cop system. Check them out.I think they in the Mod Showroom.

 

One of them is a 'witness' script, so you can only get stars if a cop is around, or if a ped witnesses the crime and calls the cops. You have 'bout 30 seconds to kill the ped witness before the call is made, and you gain a star. Its open-source as well, and has given his permission to anyone to modify and upload it, with credits o course. I'm suprised none of the experienced cleo modders jumped on the band-wagon.

Share this post


Link to post
Share on other sites
rapsis2x2

Sorry I didin't reply, I didin't see that there is another page biggrin.gif

 

I think what he wants is that the cops start chasing the ganstas who shoot CJ, instead of chasing CJ when he shoot the gangstas.

 

Thats exacly what I want.

Share this post


Link to post
Share on other sites
rapsis2x2

Oh come friggin on ppl I went so far for this post, I anit want it dead!

Share this post


Link to post
Share on other sites
TheSiggi

I have a hint for you then:

 

 

Requests are to be made in the pinned topic.

 

tounge.gif

 

cheers monocle.gif

Share this post


Link to post
Share on other sites
rapsis2x2
I have a hint for you then:

 

 

Requests are to be made in the pinned topic.

 

tounge.gif

 

cheers monocle.gif

Well actully one admin sent me here so... Yea....

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

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