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

    3. Suggestions

Simple Native Trainer - loading objects problem


Mysterious2k9
 Share

Recommended Posts

Mysterious2k9

Hi,

 

Every time I make a map with Simple Native Trainer, save it, then load it, the objects always load slightly higher than the position I saved them in..

 

Is there any way to fix this? Or at least a better map editor?

 

Thanks in advance

Link to comment
Share on other sites

Mysterious2k9

Okay I couldn't find any way of fixing this. So I decided to write a program in Visual Basic which edits the objects.ini file, changing the Z coords for each object back to the position you originally saved them in. Just tested it for the first time and it works perfectly :D

 

I'll probably only be doing the objects that are listed in the objects menu though, not the ones that are alphabetically listed.. since I have to actually stand on each object and work out the difference from where it was saved and where it loaded. which takes ages =\

 

I will post it here when it's done. But if anyone has a better solution, I'll be damn happy to hear it!

 

Edit:

 

Just tested it again after I restart my computer and the whole thing went to hell.. the objects spawn at a completely random spot every time. Guess this is just a lost cause... >:(

Edited by Mysterious2k9
Link to comment
Share on other sites

biggrin.gif

You should release your script. It pisses me off how the objects do that, especially if I'm trying to show my friends something and they tell me that the objects aren't in line with each other properly.

 

XTREME0235.

Link to comment
Share on other sites

Actually, the trainer itself correct them, but it needs to know which objects to correct and with what value. I did describe how to do this yourself somewhere in the readme or in the changes file. (I suck for documentation:))

 

The problem is, that some objects are correct while others aren't. Don't ask me why, they just do.

 

If you know of an object that is incorrect, all you need to do is:

 

1) Spawn an object that does save/load correctly, (like the first object on the object menu). Save it to an object slot (slot one for instance).

 

2) Delete the object you just saved

3) spawn the object that is incorrect onto the same spot

4) save it in an object slot (slot two for instance)

5) in trainer.ini locate the two objectslots, and substract the Z value of slot 1 to the Z value of slot 2, also note the object id of slot 2.

 

You know have the two parameters you need, the object id, and the corrected value.

 

Now you can add both to the objectcorrection section of trainer.ini.

 

 

Next time you save and load that particular object, the trainer will correct it automatically.

 

I already correct about 100 objects automatically in the trainer using an object array (compiled with trainer). I would be more then happy to add more objects.

 

All I need are object Id and corrected value.

 

 

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.