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

Importing a custom IV map object


EncryptedReality
 Share

Recommended Posts

EncryptedReality

 

GTA IV Object Import Tutorial

 

Video

 

 

 

 

Step-by-step textual explanation

 

1. WDR

1. Import a model from a GTA game to base scales on (San Andreas or IV recommended) - I use sweet.dff from SA.

2. Scale it until it fits the correct size!

3. Center the pivot to the object (Select Pivot icon -> Affect Pivot Only -> Center to Object).

Also make sure to reset its scales and rotation (found at bottom of the menu).

4. Convert it to Editable Poly and texture it with a minimum of 2 UVMaps (textures).

5. Center the object to 0!

6. Run Shadow's Script and Export WDR! - It is recommended to have your object under 2000 polys.

2.a) WBN - Static Collision

1. Clear all object mapping (Tools icon -> More -> UVW Remove).

2. In Modifier menu add these mofifiers : Vertex Weld - set to 0,1 if it's not and Tesselate - Center to Box if your object mesh doesn't have more 4 vertices!

3. Convert it to Editable Poly again!

4. Open GIMS Suite menu and enable Map helper to help you place your collision in GTA IV world.

NOTE: Because WBN are coordinated collisions you will be forced to have the col and WPL placement of WDR at same coordinate or Collision will be in the incorrect spot.

5. Create 2 dummies and center them to 0 throughout all axes and set hierarchy in the Schematic View like in the picture below:

user posted image

6. Set Collision to BVH type in GIMS or leave it as it is!

7. Export as OBN!

2.b) WBD- Dynamic collision

1. Do everything as you would do with WBN just in the object name set it the same as filename and WDR name! Also important to center it to 0 in Max Scene!

2. Export OBD!

3.a) WTD-OpenIV

1. When you make an archive for your new map you can choose to create a WTD by going to New->Windows Texture Dictionary (WTD) and edit the file using OpenIV's interface. Most common image types work (ie. png , jpg etc.)

3.b) WTD-G-Texture

1. This way to create a new WTD is more complex and less comfortable than making it with OpenIV, but because some people can't get OpenIV to work G-Texture is their alternative.

Open G-Texture!

2. Press New , and name your WTD and save it somewhere!

3. Get your textures in DDS (DirectDraw Surface) if you havent already (use Photoshop with Nvidia Plugin or iMage!) and make them in DXT1 if it is not an alpha or a opacity based texture.

4.Add textures and save the changed!

4. WPL and IDE

1. Back in 3ds Max make 3 dummies and center them!

2. In schematic mode set their names and hierarchy like this:

user posted image

3. Prepare your object in GIMS /Map Object Set WPL and IDE , also make sure to enter the WTD name , note to make the WTD which you created in G-Texture/Open-IV with same name.

4. Export IDE!

5. Go back to Schematic mode and just rename "dev_ide" to "dev_wpl"!

6. Export WPL!

7. Close 3ds Max!

5. IMG creation and setup for gta.dat and images.txt

1. Run OpenIV and press Create>New IMG archive!

2. Make your new folder inside GTA IV's pc/data/maps and put wpl ide and img made inside it!

3. Import WDR(s) and WTD(s) if made with G-Texture in it.

4. Press New->OpenFormats->Collision bound->select your OBN/OBD!

5. If you made WTD with G-Texture , skip this step! If not press New-> WTD file!

6. Rebuild and save the archive!

7. Go to common/data and open gta.dat!

In it add the path line to your wpl /identified as IPL in gta.dat) and ide!

Example IDE:

 

# map files   IDE platform:/DATA/MAPS/BOXEXAMPLE/BOXEXAMPLE.IDE

 

Example IPL:

 

# map files   IPL platform:/DATA/MAPS/BOXEXAMPLE/BOXEXAMPLE.IPL

 

8. Exit and save gta.dat , than open up images.txt!

In it add line for img path!

Example IMG:

 

platformimg:/data/maps/boxexample/boxexample	0

 

9. Save images.txt and enjoy new model ingame! smile.gif

 

 

Changes (GIMS 1.42 and onwards):

 

•WBN main dummy has been renamed from "dev_openbounds" to "dev_col". So if you are using the newer versions of GIMS make sure to call it "dev_col" instead of old "dev_openbounds" - quotation marks aren't meant to be included in the name.

 

•IDE and WPL don't require naming of "dev_ide" and "dev_wpl" , instead name it "dev_map"!

 

 

New updated tutorial coming soon!
Link to comment
Share on other sites

  • 4 weeks later...

Thank you for the tutorial. I have ~200 objects, for which I want to use one archive of textures (wtd). Can I select them all and set up the WPL and IDE at one time? It's annoying to select every object and press SET for IDE and WPL..

Link to comment
Share on other sites

I couldn't do any of this, as this uses old tools, and the one i use are the new ones (because the old ones are unavailable) everything in this tut is impossible for me, it all starts on the map viewer bit, i'm sorry. But this is useless to me.

Link to comment
Share on other sites

If you use GIMS 1,42, you should rename the dummys to:

 

- For IDE and WPL - just 'dev_map'.

- For COL (WBN) - 'dev_col'

 

The hiearachy must be like that:

 

for map:

 

[-] dev_map

|-- [-] IDE and WPL name

-----|-- [-] map

----------|-- [-] objs

---------------|-- model1

---------------|-- model2

---------------|-- model3

---------------|-- etc..

 

for col:

 

[-] dev_col

|-- [-] wbn filename

-----|-- [-] unnamed

----------|-- 0

----------|-- 1

----------|-- 2

----------|-- 3..

 

smile.gif

Link to comment
Share on other sites

If you use GIMS 1,42, you should rename the dummys to:

 

- For IDE and WPL - just 'dev_map'.

- For COL (WBN) - 'dev_col'

 

The hiearachy must be like that:

 

for map:

 

[-] dev_map

|-- [-] IDE and WPL name

-----|-- [-] map

----------|-- [-] objs

---------------|-- model1

---------------|-- model2

---------------|-- model3

---------------|-- etc..

 

for col:

 

[-] dev_col

|-- [-] wbn filename

-----|-- [-] unnamed

----------|-- 0

----------|-- 1

----------|-- 2

----------|-- 3..

 

smile.gif

is it possible to make a little video to show how to make dummy hierarchy for v 1.42 ????

pls thx to all

Link to comment
Share on other sites

EncryptedReality

Tutorial footer updated with latest collision, IDE and WPL (Map) names! I will try to update as new changes become known to me in future releases.

Edited by GTARandom
Link to comment
Share on other sites

  • 4 weeks later...
StunterDan

Yey finaly did it got my first SanAndreas object in IV everything working but col isnt but

Thanks great tut!

Link to comment
Share on other sites

  • 4 weeks later...

help when i export it says :

 

=====Scene check=====

ERROR::Empty "dev_col" dummy! No files exported. huh??

Link to comment
Share on other sites

  • 2 weeks later...
help when i export it says :

 

=====Scene check=====

ERROR::Empty "dev_col" dummy! No files exported. huh??

your hierarchy is wrong

Link to comment
Share on other sites

  • 2 months later...

In this travail, the RemoteObject component's instruction belongings is set to Coldfusion and the publication concept is set to the full modified itemise of the ColdFusion factor.

 

In oppositeness, when excavation with LiveCycle Collection Services ES or BlazeDS, you limit a fully eligible separate found in the author possession of a remoting maintenance direction in a configuration line, which by neglect is the remoting-config.xml enter. You specialize the gens of the destination in the RemoteObject component's direction property. The goal people also must get a no-args constructor. You can optionally configure a goal this way when employed with ColdFusion instead of by using the publication property on the RemoteObject component.

Link to comment
Share on other sites

  • 2 weeks later...
EncryptedReality

I updated the tutorial for this. It is already up and posted , just need mods/admins to approve

Link to comment
Share on other sites

Great to hear, but now I crave for more. smile.gif

 

I want to know how to do stuff like SLOD and MLO properly. Those are the only two that I have trouble on.

 

Or maybe how to export swimming pool water. Sorry, getting ahead of myself already.

 

Anyhow, thank you for this update. Also thank you for helping me come this far in map modding.

Link to comment
Share on other sites

  • 1 month later...

When will the updated tutorial come out?

Link to comment
Share on other sites

  • 3 months later...

when I tried to export wdr the error appeared: "--Runtime error: Mesh Color-per-vertex vertex index out of range 16.0" I don't know what going on.

Link to comment
Share on other sites

  • 9 months later...
  • 1 year later...

Do any of you guys know how to make proper dynamic collisions (.wbd)? I've followed every step featured in this tutorial, but somehow the collisions I've do not show up ingame. The models I've made show up, but they have no collision. I have tried this a 1000 times, but I've no idea what I have to do to get it right. I'm following this tut step by step, so logically it should work. But it doesn't. I've also tried emulating the .wbd's from GTA IV, still with no luck, tho. What am I doing wrong?

 

Soooo yeah, is there another tutorial on this subject somewhere? Or can anyone here help me? :)

Link to comment
Share on other sites

EncryptedReality

As me and nabo here addressed this issue in a chat privately, WBD collisions will not work if the IDE line for objects this collision type applies to mentions a LOD distance larger than 300!

 

Rememver to keep it at that number at maximum or below else WBD will have no effect at all

Link to comment
Share on other sites

  • 10 months later...

Sorry @GtaRandom can you please re-upload the video and the images of the tutorial? Or, if you know another video tutorial, can you link it? I just found something like this on @stilldre youtube channel.

 

Thanks :)

Link to comment
Share on other sites

  • 2 months later...

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.