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

Object shifted after exporting using Kams scripts


firedihm
 Share

Recommended Posts

Basically, object I worked on is shifted after I export it, even thoug its center is at 0,0,0 in Max. This happens after exporting it. I also tried importing it alongside the vanilla (unmodified) one, aligning them together and exporting my modified one, but same thing happens. I can provide screen or .dff itself if anyone needs it.

Link to comment
Share on other sites

6 hours ago, firedihm said:

I can provide screen or .dff itself if anyone needs it.

Hard to tell what the problem is without at least a screen, so do provide

Link to comment
Share on other sites

9 hours ago, guard3 said:

Hard to tell what the problem is without at least a screen, so do provide

Okay.

 

This is how it looks in Max: green is modified one and blue is original. Green is positioned slightly to the left of blue. Even if I align green with blue, after exporting objects nothing changes and if I import my modded .dff it will be shifted again. I think I may have messed something up in mesh or maybe I have some isolated geometry, but I can't find them. I still kinda new to Max.

UmYf68r.png

 

This is how it looks in-game: collision and 2dfxs are in their original piosition, but the .dff is not.

xdpCcTB.jpg

taAR0UV.jpg

qXYNEhX.jpg

 

Here are the .dffs:

https://drive.google.com/open?id=10wFsYYRzcnp6L9Hfzttsn2WCaW-IIdcp

Edited by firedihm
Link to comment
Share on other sites

Looks like you've accidentally moved pivot around by -2.0 on y-axis. You'll have to reset it to its original position:

  • Select the object mesh. Go to hierarchy tab
    unknown.png
     
  • Make sure Pivot is selected (blue)
    unknown.png
     
  • And click Reset Pivot
    unknown.png

This will work if you're working on the original max scene. If it doesn't work for some reason or you export-import to dff all the time (which is generally a bad practice imho) you'll have to move pivot yourself:

  • Select the object mesh. While in Hierarchy tab with Pivot selected, click Affect Pivot only
    unknown.png
    The button will turn blue
     
  • Now you can change the y position from 0.0 to 2.0 from the bottom of the screen
    unknown.png
    You'll notice only the gizmo (aka the 3 arrows) moved around
    unknown.png
     
  • Click on Affect Pivot Only again to "unblue" it

Done.
Some notes since you say you're new to 3ds Max:

  • The object's position doesn't affect the position in which it will be exported. For example if you move your object to x,y,z in 3ds Max viewport, the exporter will treat it if it was at 0,0,0 (as it should). If you want to change the position of the models centre (aka the "pivot"), then you'll have to do the procedure I described.
  • I noticed you use 3ds Max 2010, you might want to use a newer and more updated importer/exporter (The Hero's one). Since you're working with a map object (which also has prelight which is important), The Hero's one will handle it better; Kam's is old and its vCol option can make prelight too bright and generally mess it up sometimes.
Link to comment
Share on other sites

Thank you SO much for this detailed answer, but it looks like after I export after changing pivot it doesn't save. If I reimport the same model its pivot would be where it originally was.

Edited by firedihm
Link to comment
Share on other sites

There's another workaround, if for some reason Kam's doesn't like pivot manipulation for you.

  • Select the mesh and press 4 to activate face editing mode
  • Press Ctrl+A to select all faces, right click, select the little window icon next to Move:
    unknown.png
     
  • Change offset y to -2.0 and hit enter
    unknown.png
    After hitting enter it will turn back to 0.0, don't worry, you'll see the faces move
     
  • Click on Editable Mesh/Poly to "unblue" it and get out of face editing mode
    unknown.png

Done. If that doesn't work, use a different plugin.

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