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

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

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

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

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

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

Please be aware that this is not a tutorial request forum! Use the appropriate topic for the effect.
Sign in to follow this  
EncryptedReality

Importing a custom IV map object

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!

Share this post


Link to post
Share on other sites
iZinith

Nice Tut! Will try it out soon tounge.gif

Share this post


Link to post
Share on other sites
hristobg

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

Share this post


Link to post
Share on other sites
Kalvin'

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.

Share this post


Link to post
Share on other sites
hristobg

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

Share this post


Link to post
Share on other sites
kevv
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
StunterDan

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

Thanks great tut!

Share this post


Link to post
Share on other sites
nanito13

help when i export it says :

 

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

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

Share this post


Link to post
Share on other sites
lazlow555
help when i export it says :

 

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

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

your hierarchy is wrong

Share this post


Link to post
Share on other sites
nanito13

hey can you make a video of the latest version please smile.gif

Share this post


Link to post
Share on other sites
PanosD

a whole f*cking process for a damn single model.....

Share this post


Link to post
Share on other sites
nanito13

when will the new tutorial come out smile.gif ?

Share this post


Link to post
Share on other sites
nanito13

uhhh hello ?

Share this post


Link to post
Share on other sites
Jestic
a whole f*cking process for a damn single model.....

You can also do 100 objects at once, doesn't really slow down the process. It can all be mass processed with gims and openiv.

 

@nanito13, I will talk to Random, maybe we will write a new tutorial together, what is what you want to know?

Share this post


Link to post
Share on other sites
anthony312

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.

Share this post


Link to post
Share on other sites
EncryptedReality

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

Share this post


Link to post
Share on other sites
Limiter

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.

Share this post


Link to post
Share on other sites
SaharVi

Thank you!

But where is the video?

 

 

Share this post


Link to post
Share on other sites
JANTSUU

When will the updated tutorial come out?

Share this post


Link to post
Share on other sites
przem93pl

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.

Share this post


Link to post
Share on other sites
Limiter

How did you export it? With shadow's tools? If so, use GIMS instead. It does this procedure perfectly.

Share this post


Link to post
Share on other sites
JORGEARNES

VIDEO FROM YOUTUBE DEAD...

Share this post


Link to post
Share on other sites
nabo45

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? :)

Share this post


Link to post
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

Share this post


Link to post
Share on other sites
arkmaii

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 :)

Share this post


Link to post
Share on other sites
Saunders420

any updates?

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.
Note: Your post will require moderator approval before it will be visible.

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  

  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.