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. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

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

      1. Recruitment
    2. Events

    1. GTA Online

      1. Arena War
      2. After Hours
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA Next

    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 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 Mods
    10. GTA Vice City

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

      1. Guides & Strategies
      2. Help & Support
      3. GTA 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

Sign in to follow this  
HippieCommunist

Another nice mod

Recommended Posts

HippieCommunist

its a more simple script mod i made

its makes very very low amount of peds/cars after midnight and before 6 in the morning (nice to see ppl rushing to work after a long crime night! =] )

 

 

:trafwait 0if   Player.Defined($PLAYER_CHAR)jf @traf00BF: $TIME_HOURS = current_time_hours, $TIME_MINS = current_time_minutes if and $TIME_HOURS >= 0 // integer values  6 > $TIME_HOURS // integer values jf @traf2jump @traf1:traf1 01EB: set_car_density_to 0.1 03DE: set_pedestrians_density_multiplier_to 0.1wait 2000jump @traf:traf201EB: set_car_density_to 1.0 03DE: set_pedestrians_density_multiplier_to 1.0wait 2000jump @traf

 

 

 

Share this post


Link to post
Share on other sites
stan101

biggrin.gif Cool, I love "real life" intimatations for GTA SA/GTA. xmas.gif

 

Have a cookie, great job! xmas.gif

 

Now a rush over after 6 tounge2.gif

Share this post


Link to post
Share on other sites
Demarest
Here's a much more compressed version, written for MB 0.33
:TRAF0001: wait  10000 ms00D6: if  10028:   $TIME_HOURS >=  0001A:   6  > $TIME_HOURS004D: jump_if_false ££TRAF201EB: set_car_density_to  0.103DE: set_pedestrians_density_multiplier_to  0.10002: jump ££TRAF:TRAF201EB: set_car_density_to  1.003DE: set_pedestrians_density_multiplier_to  1.00002: jump ££TRAF

The original game always updates $TIME_HOURS by itself. It should also be noted that some missions specifically force traffic/ped density. This mod could disrupt that as well as be disrupted by such missions being passed.

Share this post


Link to post
Share on other sites
HippieCommunist

i dont think theres ANY mission that uses the density of anything to pass... however its not that hard to add another IF $on_mission == 1...

 

its just more fun doing mission at night with my mod.

Share this post


Link to post
Share on other sites
Demarest
I never said there was a mission that required density to pass. But there are plenty of missions that change the density themselves. Of course the way I wrote it, it will be "corrected" ten seconds later. Or in yours, two seconds later.

Share this post


Link to post
Share on other sites
anishgirdhar

How to install this mod and whts that code for? ( I am asking because i am just a kid of 12 years) Do i need to put this code in main.scm file with .scm editor??

Share this post


Link to post
Share on other sites
Demarest
Questions of how to install scripts can be answered by browsing the forums in the appropriate places. There's no need to disrupt somebody's release topic. Also, one's age is no excuse. This is the internet, where the answer to just about any question you can think of is within your reach... IF you're willing to put forth the effort.

Share this post


Link to post
Share on other sites
atfburner

simple yet great idea cookie.gif

thanks to Demarest aswell for the MB version biggrin.gif

Share this post


Link to post
Share on other sites
Lioshenka
Questions of how to install scripts can be answered by browsing the forums in the appropriate places. There's no need to disrupt somebody's release topic. Also, one's age is no excuse. This is the internet, where the answer to just about any question you can think of is within your reach... IF you're willing to put forth the effort.

ive looked through all the threads and havent fond anything concerning inserting scripts in Sanny Builder. so May i ask someonw to release this as an SCM file?

Share this post


Link to post
Share on other sites
nosferatu5

For some reason I don't feel I want to put this in my SA disrupting the harmony of the 10s of mods that are installed right now.

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.