Laster...

Off-Road Traffic [.NET/C#] 1.3.0

4 464

This script spawns vehicles on dirt roads to make them less lonely. The cars types are random, from a configurable list in the script. Cops and Marines will spawn with two random weapons (Marines only spawn at the military base).

Installation:

You must have ScripthookvDotNet installed.
Place the Traffic.cs file in either your ...\Installationfolder\Scripts\ folder, or if you use my mod manager, place it in its own subdirectory like this:

GTAV Mods\OffRoadTraffic\Scripts\Traffic.cs

changes from 1.2.2 -> 1.3.0
  • Rehauled vehicle spawn location code
  • making sure vehicles are facing the correct heading on the road
  • Prevents vehicles from spawning when the player is in the air


  • changes from 1.2.1 -> 1.2.2
  • Minor code change to prevent issues adding more locations
  • overhaul on vehicle/pedestrian generation
  • .

    changes from 1.1 -> 1.2.1
  • Fixed a typo that may cause the script to no longer function
  • Added 3 more vehicles (Jeeps) Thanks tall70
  • Added BF Injection and Dune vehicles Thanks JWillMac51!
  • Removed hard coded distance and use per Location distance for check
  • Made the tick rate lower for driving faster than 40f (was 3 seconds now is 2)
  • Added a check to make sure the pedestrian spawned before trying to give weapons
  • Added configurable setting for spawn speed when driving fast and slow
  • .


    CREDITS:

    This mod is based off of the mod released by @5mith https://www.gta5-mods.com/scripts/off-road-traffic . I have converted the code from VB and re-wrote most of the functions to be a lot lighter on the CPU time, and easier to modify and read.
    Show Full Description

    Først Lastet opp: 6. august 2015
    Sist Oppdatert: 26. oktober 2015
    Last Downloaded: 7 dager siden

    All Versions

     1.3.0 (current)

    4 464 nedlastninger , 4 kB
    6. august 2015

    37 Kommentarer