Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    2. News

    1. Red Dead Redemption 2

      1. Gameplay
      2. Missions
      3. Help & Support
    2. Red Dead Online

      1. Gameplay
    1. GTA Online

      1. After Hours
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

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

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. 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. Forum Support

    2. Site Suggestions

Shadow-Link

[TUT|IV|3DSMax]3DS Max to IV

Recommended Posts

Shadow-Link

3DS Max to IV

 

Description

This tutorial will learn you how to put custom models into GTA IV.

It's still a work in progress and will be updated whenever I release a new version of Shadows Plugins!

This tutorial will be split into several sections.

  • Creating the WDR
  • Creating the WTD
  • Creating the WBD (No info yet)
  • Adding the model to the game files
  • Placing the model
  • Ejoying the new model
Extra tuts:What you'll needLet's get started!

 

Creating the WDR

Download the latest version of my scripts and install them by extracting all files into the 3DS Max->Scripts folder.

Now launch 3DS Max and model something you want in IV. Only use the default material diffusemap and use atleast 2 materials!

This will be the model I'll be using in this example called "glasbak" (dutch for GlassContainer)(I know it's not awesome blush.gif ):

user posted image

 

Next step is to go to the "Utilities"(1) tab and click "IV IO"(2). A new window will pop up. Select the model you want to export and click "Export WDR" and give it a name.

user posted image

 

That's it you now got yourself a WDR file!

 

Creating the WTD

To create the WTD file we'll use G-Texture by Respawn.

Launch G-Texture and select "New" from the File menu. You can now tell it where you want to save the wtd file.

Now add the textures (.dds only) by clicking "Add" in the Textures menu.

 

Once you've added all your textures you should get something like this:

user posted image

Save the WTD and you're done!

 

Creating the WBD

More info about this soon!

 

Adding the model to the game files

To add the model to the game files you can use Shadow Mapper or OpenIV.

I'll use OpenIV in this example because it's what most people use.

 

Launch OpenIV and open the IMG you want to add the model to.

Next press the little "Add" button and add your WDR and WTD file.. wowa easy isn't it.

user posted image

I am using the OpenIV beta so things might look a bit different for you. As you can see I added glasbak.wdr and glasbak.wtd to the img.

 

Close OpenIV and you're done with this step.

 

Positioning the model

Now we only need to place the model somewhere so we can check it out! This will be one of the hardest things for most people because Shadow Mapper is not really stable.

Launch Shadow Mapper and select your install.

Now go to the IDE tab and select the IDE with the same name as your IMG where you added the files to.

Click the "New" button on the middle right of the form.

A new window will popup.

user posted image

Click on "Select" and select your wdr form the img.

Click on "Select" and select your wtd from the img.

Click "Ok".

You've just created the IDE line for your model.

 

Now go to the scene tab and find the ipl where you want the model in.

Check the checkbox in front of it and click render... Be patient, loading might take a while.

Double click the ipl file to move the camera right to the action. Move to the position you want the model to be placed and go to the "IPL" tab.

Click the "New" button on the middle right of the form.

A new window will popup.

user posted image

Select the IDE and select the just created IDE line.

 

Now go to the scene tab again and render it again (Sorry bug, my fault tounge.gif)

You can position your model by going to the "Properties" tab and use the controls there.

user posted image

 

Close Shadow Mapper it will ask you to save your files. Click "Save". You're done!

 

Enjoy the custom model

user posted image

Edited by Shadow-Link

Share this post


Link to post
Share on other sites
Shadow-Link

 

Setting up lights, dummies and bones

 

Description

You are now able to export a model and put it ingame, but what if you want it to have lights, dummies or even bones.

Note: Only lights are supported at this moment

 

Let's get started!

 

Open the model you want to attach the light to, I'll use the same example as in the exporting tutorial.

user posted image

 

There are two ways to create a light (That I know off). From the menu select "Create->Lights->Standard Lights->Omni". Now click your scene to create it.

This is the other way:

user posted image

 

To adjust the light settings (Color only for now), you can go to the "Tools->Light Lister.." settings.

user posted image

 

For the export we need to attach the light to the model you can do this in the "Schematic View"

Click the connect button then click on the light and drag it to your model. You should now see something like this:

user posted image

 

You're done! To export the model, with light, select only the model and follow the steps from the first tutorial.

 

Result:

user posted image

Edited by Shadow-Link

Share this post


Link to post
Share on other sites
Shadow-Link

Post reserved for Materials tut

Share this post


Link to post
Share on other sites
coin-god

Great work icon14.gif

 

Finaly IV modding is starting to get interesting.

Share this post


Link to post
Share on other sites
ZAZ

 

Great work  icon14.gif

 

Finaly IV modding is starting to get interesting.

yep cookie.gif

 

does it work with 3dmax v7?

Share this post


Link to post
Share on other sites
Shadow-Link
Great work  icon14.gif

 

Finaly IV modding is starting to get interesting.

yep cookie.gif

 

does it work with 3dmax v7?

Nope sorry. Max 2010 or higher (Someone got it to work on 2009 tho).

Share this post


Link to post
Share on other sites
Arvis

Awesome tutorial! That light in the screenshot, it works only in night or whole time?

Share this post


Link to post
Share on other sites
vans123

yeh, i get everything and everything goes cool, but when closing shadow mapper and say it to save "save" button is doesnt do anything, it keeps having the pop up there panic.gif

 

 

Share this post


Link to post
Share on other sites
pmillett

Well I can't get Shadow Mapper working <_< Right after the loading bars disappear, nothing happens. the program shuts down, no error given.

Share this post


Link to post
Share on other sites
lpgunit

Nice... Well it's obvious that this will impair multiplayer functionality, but who cares when you made a new city in IV? tounge.gif

 

Oh, and here are your precious cookies, Shadow, you really, really deserve to have one: cookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
Shadow-Link

@pmillett try the x64 or x86 (doesn't matter which version of windows you got).

 

@vans: Looks like something went wrong with your ide file, open the ide window and select the model/wtd again. This Might fix it.

 

@Arvis, only at night time, but I'll add more light options in one of the next releases smile.gif

Share this post


Link to post
Share on other sites
pmillett

Tried both.. same thing

Share this post


Link to post
Share on other sites
Shadow-Link

Try running it via command line "java -jar PathToShadowMapper.jar" and post the output smile.gif

Share this post


Link to post
Share on other sites
pmillett

Do I use regular command line?

Share this post


Link to post
Share on other sites
Shadow-Link
Do I use regular command line?

yes

Share this post


Link to post
Share on other sites
pmillett

As soon as it loads, it says "Unable to Load Ini" adn then I have to select IV's location but it doesn't load into the select screen..... that's it

Share this post


Link to post
Share on other sites
Shadow-Link

I need to know the command line output wink.gif

Share this post


Link to post
Share on other sites
pmillett

How do I post that???

Share this post


Link to post
Share on other sites
Shadow-Link

Take a screenshot or type it over or something tounge.gif

Share this post


Link to post
Share on other sites
pmillett

Here

 

user posted image

Share this post


Link to post
Share on other sites
Shadow-Link

What happens after that?

Share this post


Link to post
Share on other sites
pmillett

exactly what I told you happens. That's all that is shown in the CMD. Then I have to select IV but it doesn't show in the menu.

Share this post


Link to post
Share on other sites
Shadow-Link

That's because you've got to add it..

Share this post


Link to post
Share on other sites
Arvis

pmillett, there is simple solution for your problem:

1st in cmd write

 

cd c:/users/dragon king/desktop/shadow mapper/

 

and then

 

java -jar shadow-mapper.jar

 

If you did this exactly as I told it should work now.

 

Also add ALL these lines to settings file

 

offset13 = 0xBE6540

name13 = 1.0.6.0 All

offset14 = 0xBE7540

name14 = 1.0.7.0

Share this post


Link to post
Share on other sites
pmillett

@shadow, i did several times but it doesn't appear in the select menu after i added it.

 

@Vecis, ok NOW I got something worth posting tounge.gif Thank you.

 

Here's all that was available for posting:

 

 

 Problem Event Name: APPCRASHApplication Name: javaw.exeApplication Version: 6.0.220.4Application Timestamp: 4c9088ddFault Module Name: nvoglv64.DLLFault Module Version: 8.17.12.6099Fault Module Timestamp: 4cb9db45Exception Code: c0000005Exception Offset: 0000000000761b28OS Version: 6.1.7600.2.0.0.768.3Locale ID: 1033Additional Information 1: 3f76Additional Information 2: 3f76a2f97cb0d43752984c382605bc27Additional Information 3: 4d12Additional Information 4: 4d12e41703a5369c2d401c1a91c62709

 

Edited by pmillett

Share this post


Link to post
Share on other sites
Shadow-Link
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: C:\Users\Dragon King\Desktop\Shadow Mapper\jogl.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

 

Like I said before use the other version of Shadow-Mapper (x86 or x64).

Share this post


Link to post
Share on other sites
pmillett

I was about to post the x64 bit version:

 

 

 Problem Event Name:	APPCRASH Application Name:	javaw.exe Application Version:	6.0.220.4 Application Timestamp:	4c9088dd Fault Module Name:	nvoglv64.DLL Fault Module Version:	8.17.12.6099 Fault Module Timestamp:	4cb9db45 Exception Code:	c0000005 Exception Offset:	0000000000761b28 OS Version:	6.1.7600.2.0.0.768.3 Locale ID:	1033 Additional Information 1:	3f76 Additional Information 2:	3f76a2f97cb0d43752984c382605bc27 Additional Information 3:	4d12 Additional Information 4:	4d12e41703a5369c2d401c1a91c62709

 

Edited by pmillett

Share this post


Link to post
Share on other sites
Shadow-Link

I need to know the crash not the other info (Could you please edit your post and remove all the info?).

Share this post


Link to post
Share on other sites
pmillett

better?

Share this post


Link to post
Share on other sites
Shadow-Link

Yeah, could you please edit your other post to?

 

I can't help you with that crash, looks like it's something beyond my reach.

Share this post


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

  • 1 User Currently Viewing
    0 Members, 0 Anonymous, 1 Guest

×

Important Information

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