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

    1. Red Dead Redemption 2

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

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

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

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

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

Rob.Zombie

[Q] Make the npcs stop behind my car

Recommended Posts

Rob.Zombie
Alright give this a try -> http://www.gtagarage.com/mods/show.php?id=5601

 

It uses the .net script hook 0.86. Just put the file into the scripts folder. Hopefully it will stop the peds from running into the back of you, they'll still get pissed off at waiting and attempt to either run into or or drive past you, this just sets the peds speed to 0 when it detects them trying that.

 

At the moment if you get close enough to a car while driving, they'll stop too. Only at the side of you though.

I tried this out and the problem is that they don't stop behind me, they go on the left then they stop, or if I've just stopped my car, they stop behind me, wait for about 3 seconds then they try to overtake me from the left and hit my car confused.gif Hazzard can you release that code as a downloadable script? I'd be very happy to simply make those annoying npcs stop behind my car. smile.gif

Share this post


Link to post
Share on other sites
Corgi

Can you please release the mod you made? Just put a download link here in this thread...

 

I've been waiting on this since the game was released.

 

Thanks

 

 

cookie.gifcookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
Kookas

Yes, please release it! I really want to be able to "civvy drive" and stop at traffic lights without having to drive forward or backward every 5 seconds or so.

Share this post


Link to post
Share on other sites
Rob.Zombie

Till we get the mod, you guys should go a bit forward (or backwards) with your car when you're waiting at the traffic light. You really only have to move a bit and they'll stop. It's ridiculous I know, but it works biggrin.gif

Share this post


Link to post
Share on other sites
Symbiote

Hey guys, I should've checked this thread awhile ago. HazardX basically already 'released' this mod. He posted all the necessary code already. Here is all you need to do:

 

1. Scroll up to where HazardX posted his code (big white box that says 'CODE' above it).

2. Copy and paste into Notepad.

3. Save as a .vb file. I saved mine as HaltBehindScript.vb.

4. If you don't already have the .NET scripthook, get it. It gives you a 'scripts' folder to put your mod scripts into. Put the file you saved into this folder.

Share this post


Link to post
Share on other sites
Rob.Zombie

Jesus Christs it works so nice. Thanks Hazzard and AngryAmoeba cookie.gifcookie.gif

Share this post


Link to post
Share on other sites
Corgi

Where can you download a .NET Script Hook? Thanks.

Share this post


Link to post
Share on other sites
Symbiote

Well I think this is the last mod I use that is 1.0.2 only. Does anyone know how to make this mod using the C++ hook instead of the .NET scripthook, which is apparently defunct?

Share this post


Link to post
Share on other sites
YoungGun
Hey guys, I should've checked this thread awhile ago. HazardX basically already 'released' this mod. He posted all the necessary code already. Here is all you need to do:

 

1. Scroll up to where HazardX posted his code (big white box that says 'CODE' above it).

2. Copy and paste into Notepad.

3. Save as a .vb file. I saved mine as HaltBehindScript.vb.

4. If you don't already have the .NET scripthook, get it. It gives you a 'scripts' folder to put your mod scripts into. Put the file you saved into this folder.

so this doesnt work with 1.3?

 

no one can make a asi mod for this?

Share this post


Link to post
Share on other sites
Kookas
Well I think this is the last mod I use that is 1.0.2 only. Does anyone know how to make this mod using the C++ hook instead of the .NET scripthook, which is apparently defunct?

I would love to see this working in 1.0.3 .. I believe there will be no .NET scripthook for 1.0.3 (the thread puts it in its Topic Description to not ask about a version for 1.0.3, giving the impression there will not be one, perhaps due to Cockstar's crap).

Share this post


Link to post
Share on other sites
Rob.Zombie

It has nothing to do with Rockstar. He's just lazy / quit modding...

And yes without .net scripthook it's pretty much unobtainable (wow wtf?)

Share this post


Link to post
Share on other sites
Neon25

Now that NET scripthook is updated for 1.40, would anyone mind updating the source code? (if necessary)

Share this post


Link to post
Share on other sites
SPITFIRE57

Wow, guys it actually works. I am using patch 1.0.4.0 and I followed the directions on page two and it worked. Now every once in a while a speed demon will come up and try to go around me and when he realizes that he cant pass he will then just sit there all day long. So that is a huge improvement. Good work.

Share this post


Link to post
Share on other sites
Crossz0r

Will peds overtake if I actually pull over?

Share this post


Link to post
Share on other sites
SPITFIRE57
Will peds overtake if I actually pull over?

Yes they will.

Share this post


Link to post
Share on other sites
Symbiote

Edit: Dead link

Edited by AngryAmoeba

Share this post


Link to post
Share on other sites
Iaquinta

Well dont work for me...

Share this post


Link to post
Share on other sites
CyberOps

would be nice if it could be converted to a c++ script so it works with the latest version.

Share this post


Link to post
Share on other sites
CyberOps

Any news on someone converting this to a c++ script ???

Share this post


Link to post
Share on other sites
Symbiote

I wonder if you might have more luck finding someone in the C++ Scripthook thread?

Share this post


Link to post
Share on other sites
Iaquinta

I dont think so

Share this post


Link to post
Share on other sites
CyberOps

yes a new .net version is out so now we can use this wink.gif

Share this post


Link to post
Share on other sites
CyberOps

not sure if it works with the new .net scripthook version sad.gif maybe it needs an update ????? or it's the .net scripthook that doesn't work

Share this post


Link to post
Share on other sites
Iaquinta

Hmm stll dont work for me, maybe its buggy.

Share this post


Link to post
Share on other sites
HazardX

The script posted by me on page 1 still works on the new hook.

Share this post


Link to post
Share on other sites
CyberOps

ok so i paste it in notepad and save it as a .vb file ????

Share this post


Link to post
Share on other sites
HazardX

Yes, and then you put it into the "scripts" subfolder of your GTA installation. Post the content of the ScriptHookDotNet.log file here if it does not work.

Share this post


Link to post
Share on other sites
CyberOps

where can i find that log as i dont see any logfile of scripthookdotnet but i do have a scripthook log from Aru's c++ scripthook

Share this post


Link to post
Share on other sites
CyberOps

 

Yes, and then you put it into the "scripts" subfolder of your GTA installation. Post the content of the ScriptHookDotNet.log file here if it does not work.

Hazard the script works however they still try to pass me on the left side, is there anyway to stop them doing that ?? and will this script work on EFLC or does it need some alteration ??

Edited by CyberOps

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.
Note: Your post will require moderator approval before it will be visible.

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.


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