Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums! (92,322 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. 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

    2. Red Dead Redemption

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

uNi

Using Sketchup models in SA

Recommended Posts

uNi

 

user posted image

Using Sketchup models in SA

 

First step, you may want to model something.

Some details you should have in attention:

 

 

- Store the .skp model and .bmp textures in the same folder.

- The names of the .bmp's should be below 8/6 characters( not sure on the limit ).

- Everytime you create a new texture in Sketchup give it the name of the .bmp if not Sketchup will create one with

another name and then the other programs can't find it.

- Keep your model around 400/500 polys, most of the time when Sketchup exports your model to .3ds it will double

the poly count.

 

 

1 - Ok, now with our model finished. Open the Paint bucket>In model, and make sure there's only texture your

using and the correct names.

 

user posted image

 

2 - Now go to Export>3dmodel and click on the options button. Make sure you have this settings like in

the pic below:

 

user posted image

 

Save the .3ds in your model's folder. I'll be using seinfeld.3ds.

 

3- Now open 3d max ( I'm using 7). Goto File>Import and import your .3ds.

 

A popup will appear, Choose these settings and click Ok.

 

user posted image

 

Another one will , click No.

At this point you may check if all the textures are in the correct places.

 

4 - Click on the Select and Move tool on the top. user posted image

Make sure that in the bottom your model's coordinates are all at 0.0

 

user posted image

 

and change the name from model to the name you using.

 

5- Right click on the model: Convert to> and convert it to a editable mesh.

 

Now you will need Kam's scripts, you can get it here. ( Link from wauzie's topic).

 

Open DFF IO ( All version ), open the export dff settings and select this:

 

user posted image

 

Export your .dff as seinfeld.dff ( the name I'm using ).

 

6 - Now goto MAXScript>Run script and choose the COL_IO_2b.ms.

 

Below the replace button write your model name ( seinfeld ). Open the Surface parameters and

do Set Surface and the Create Boundigs, save your .col and close max.

 

7 - Now you need to create a .txd for the model, use Delfi's TXDWorkshop, I'm using version 3.7 and I have no

errors like the progressbar one.

 

Now goto File>New and create a 32bits texture. You will need to creat one of these for each one

of the textures your model have.

 

Double click on the "32 bit image". Now, on the name write the name of your texture. e.g: If is pic.png write pic.

Click on compressed and click Ok. Repeat the process for each texture you got.

 

Save it as seinfeld.txd (..).

 

8 - Open your gta3.img with Spooky's ImgTool 2. You can get it here[/ulr].

 

Do Commands>Add, and add one file at each time. Then Commands>Rebuild Archive.

Close the Imgtool.

 

open your SA's data folder and open gta.dat.

 

Find Object types, and below the last IDE line write:

 

 

IDE DATA\MAPS\lot1\seinfeld.ide

 

 

seinfeld and lot1 are just names I'm using.

 

Search SPLASH loadsc2 and do the same below the last IPL line:

 

 

IPL DATA\MAPS\lot1\seinfeld.ipl

 

 

Save it. Open your maps folders and create a 'lot1' folder.

Inside that folder create a seinfeld.ide and a seinfeld.ipl.

 

Open the seinfeld.ide and put this there:

 

 

objs8028, seinfeld, seinfeld, 250, 128end2dfxend

 

 

I'll be using 8028, you have to find a free id. Save it.

 

Open the seinfeld.ide and put this there:

 

 

# IPL generated from Max file countn2.maxinst8028, seinfeld, 0, 1680.37, 1861, 12.4, 0, 0, 0.69466, -0.719338, -1endcullendpathendgrgeendenexendpickendcarsendjumpendtcycendauzoendmultend

 

 

8028 - id

seinfeld - your dff

0 - if is interior or not.

1680.37 - X

1861 - Y

12.4 - Z

0, 0, 0.69466, -0.719338 - rotation

-1 - no lod

 

Save it. Now test it in game, you may want to see it first in the mapper. You can get MED at gtagarage.

 

user posted image

[/b][/color]

Edited by uni

Share this post


Link to post
Share on other sites
[NX] Joao.pt

Look uni ive folloed that tut and the model dont apears ingame why?

 

To make the ide file and ipl i used map editor v0.30

Share this post


Link to post
Share on other sites
uNi
Does the object shows up in the mapper ? Edited by uni

Share this post


Link to post
Share on other sites
[NX] Joao.pt

In mapper the object apears but in the game object dont apears sad.gif

Share this post


Link to post
Share on other sites
uNi
Post some info on your object.

Share this post


Link to post
Share on other sites
knocker

What are the dimensions of the building? You didn't scale it down..last time i wanted to import a sketchup model into VC, i had to scale it down like a mofo.

Share this post


Link to post
Share on other sites
uNi
Import a ped or car into Sketchup and scale your object. smile.gif

Share this post


Link to post
Share on other sites
knocker

Thanks for that biggrin.gif never thought of scaling it in sketchup, always did it in zmod. And it wasnt very practical.

 

Nice tutorial tho, very simple to follow.

Share this post


Link to post
Share on other sites
Puma06111991

i think it too smile.gif but i can't use my 3dsMax trialversion because the 30 days are over... do i have to buy the programme? or register or what?

Share this post


Link to post
Share on other sites
[NX] Joao.pt

You must buy the program its very expensive sad.gif but you can use the free version of GMAX

Share this post


Link to post
Share on other sites
uNi

You can get Kam's scripts GMAX version here.

Share this post


Link to post
Share on other sites
Puma06111991

10000 thanx (I am SOOOO GLAD!!!!!) biggrin.gifbiggrin.gifbiggrin.gif

Edited by Puma06111991

Share this post


Link to post
Share on other sites
Puma06111991

uhm ok i've downloaded the GMAX programme and it works fine, i've finished the model in sketchup and got it in GMAX, but when i run the DFFIO script and select the options as you've said... then i click on "export dff", choose a name, and save it, but when i click on "save" it says: "-- Runtime error: Feature not available: "fopen write mode" ".... and i don't know what to do...

here screens....

 

FIRST I START "DFF SA"

 

user posted image

 

THEN I CLICK THE RIGHT OPTIONS EN CLICK ON EXPORT

 

user posted image

 

WHEN I CLICK ON "SAVE" IT SAYS

 

user posted image

 

Can you please help me????

Share this post


Link to post
Share on other sites
Puma06111991

PLEASE ANSWER I NEED HELP!!! cry.gifcry.gifcry.gif

Share this post


Link to post
Share on other sites
Nur5

it says maxscript error? ever thought o that you need another script o this replace it... cookie.gif not so sure but miht work i it works have some cookies cookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
Nur5

it says maxscript error? ever thought o that you need another script o this replace it... cookie.gif not so sure but miht work i it works have some cookies cookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gifcookie.gif

Share this post


Link to post
Share on other sites
Grant

Uni i dont understand how this works, as u well know i've been trying to do this for ages now and i still can't get it into max correctly. Maybe someone else has some knowledge. Here's my problem, it's like it loads the base colour but ignores the texture, it's so frustrating too.

 

user posted image

 

Please help me folks, i've been trying to fix this for months now with no success.

Share this post


Link to post
Share on other sites
uNi

That's normal, do a quick render, if it shows the textures it's correct. smile.gif

Share this post


Link to post
Share on other sites
Grant

That was a render, and as you could clearly see, no textures.

Share this post


Link to post
Share on other sites
uNi

Are you sure you did these steps?

 

 

- Store the .skp model and .bmp textures in the same folder.

- The names of the .bmp's should be below 8/6 characters( not sure on the limit ).

 

 

and

 

 

user posted image

 

Share this post


Link to post
Share on other sites
The-end

Thanks a million uni, worked great smile.gif got my model in-game for the first time, using 3dsm is much easyer than doing it in zmod.

Share this post


Link to post
Share on other sites
uNi
Thanks a million uni, worked great smile.gif got my model in-game for the first time, using 3dsm is much easyer than doing it in zmod.

I'm glad it helped you. wink.gif

Share this post


Link to post
Share on other sites
Gearstix

darn, my house is about 2000 polies, will it still work?

Share this post


Link to post
Share on other sites
uNi
darn, my house is about 2000 polies, will it still work?

Yes, go ahead.

Share this post


Link to post
Share on other sites
Sim_2000

Hey I have a problem, I put the object in the game but it will appear in my map editor but in game only the collision file works. bored.gif The object is invisible ingame.

Share this post


Link to post
Share on other sites
Grant

Maybe your Draw Distance is messed up mate.

Share this post


Link to post
Share on other sites
Sim_2000

Nope its 299

Share this post


Link to post
Share on other sites
Black-hawk

I've got a similar problem, it shows all fine in MED, but in-game it's missing, even no invisible col's. If it helps I added omni lights to the model to give it some shading.

Share this post


Link to post
Share on other sites
TonyResta

has someone got a link to a txd workshop that doesnt have the progress bar error its so annoying, please?

Share this post


Link to post
Share on other sites
TonyResta

EDIT: my object doesnt show up in the game, not even in MEd, can someone please help me? Oh and when you said to add all the items in gta3.img, did you mean the .skp too?

 

Thanks for your time

Edited by tony-resta

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.