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. Forum Support

    3. Suggestions

[VC] Generated car color and gui/markers file location


kozooh
 Share

Recommended Posts

I have few problems.

First, I want to know where I can find in the files configuration of Lances Infernus color (that one spawned near Vercetti Estate).
I found in main.scm line
 

014B: $83 = init_car_generator 141 1 1 force_spawn 1 alarm 0 door_lock 0 min_delay 0 max_delay 10000 at -363.0 -532.2 12.0 angle 0.0 


I've changed color values (two numbers after car ID 141), and compiled. But it has no effect in game. I tried 100% save and pass Rub Out mission again with other save after changing scripts. Also I've tried with modloader and direct file replacement. Car is always white.

Second, same as above but about location in files of markers (with item spheres/arrows) and gui font color settings. I want to change them too.

 

Edited by kozooh
Link to comment
Share on other sites

1 hour ago, kozooh said:

I tried 100% save and pass Rub Out mission again with other save after changing scripts.

"main.scm" changes requires a new game so loading the savefile with modified .scm will have no effect..😀

 

014B: $1880 = init_car_generator #INFERNUS -1 -1 force_spawn 0 alarm 0 door_lock 0 min_delay 0 max_delay 10000 at -363.0 -532.2 12.0 angle 355.5 // Random Infernus at Diaz Estate
014C: set_parked_car_generator $1880 cars_to_generate_to 101 // Infinite times spawning for this car
014B: $83 = init_car_generator #INFERNUS 1 1 force_spawn 1 alarm 0 door_lock 0 min_delay 0 max_delay 10000 at -363.0 -532.2 12.0 angle 0.0 // White Infernus which you have found
014C: set_parked_car_generator $83 cars_to_generate_to 0 // Spawn disabled

....
....
....

:BARON5_12576
...
...
014C: set_parked_car_generator $1880 cars_to_generate_to 0 // Disabling spawn feature for random Infernus
014C: set_parked_car_generator $83 cars_to_generate_to 101 // Activating spawn feature for white Infernus
...
...

If you think you've edited your .scm.. than start a new game and test it by reaching the mission "Rub Out" if you still having a problem you may carefully tweak the random Infernus opcodes.. 🙂

 

1 hour ago, kozooh said:

Second, same as above but about location in files of markers (with item spheres/arrows) and gui font color settings. I want to change them too.

You mean HUD and Radar.. these are really difficult to edit if you don't know how to do but you may find yourself a convenient "CLEO MOD" so you can carefeully edit them 😉

Link to comment
Share on other sites

1 hour ago, ArmanCan said:

"main.scm" changes requires a new game so loading the savefile with modified .scm will have no effect..😀

 

Ah, so this is the point 😅 Well, I'm gonna try this out. And thanks for explaining the code though I kind of figured it out after hours of searching through it hah. It's hard to edit the game when everything is in one file.

 

Quote

You mean HUD and Radar.. these are really difficult to edit if you don't know how to do but you may find yourself a convenient "CLEO MOD" so you can carefeully edit them 😉

Yup, I've seen CLEO mod for this but I wanted to edit the game by myself to make my mod be "standalone". Anyway I'll try them too.

And btw. main.scm file can be replaced by modloader as well? 'cause I've noticed that files from TXD folder can't be loaded (loading screens) with modloader.

Link to comment
Share on other sites

4 minutes ago, kozooh said:

It's hard to edit the game when everything is in one file.

It has to be like this because almost all mission and external scripts are connected with each other and must be stayed together 🙂

 

6 minutes ago, kozooh said:

I wanted to edit the game by myself to make my mod be "standalone". Anyway I'll try them too.

well.. make a research to find out how to prepare an "asi plugin" to make it exclusive 😉

 

8 minutes ago, kozooh said:

And btw. main.scm file can be replaced by modloader as well?

I don't think so.. this file is the heart of the game (except exe file) and it controls/coordinates the remaining files so putting it under modloader file may cause unknown bugs/glitches 😀

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.