Custom Object + Texture Help.

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
xXxDimmuBorgir13xXx
Private Recruit
Posts: 21
Joined: Mon Mar 16, 2009 9:29 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Canada, Ontario

Custom Object + Texture Help.

Post by xXxDimmuBorgir13xXx »

After a long time, I finnaly got my mod tools to work again, got 3dsmax 9, a MSH convter, and paint.net.The problem, I made an object (little house) and also a wood texture for it, so I could put it into my custom map.Now I have made a ODF, and MSH folder in my custom map's WORLD folder (where I always put them), except my texture won't show up in game or the editor.The object shows up, but it is a solid greyish colour, witch I know means the texture is missing.

Here's what I did.Made a object in 3dsmax, saved it as wood_house.wrl,
put it into the MSH converter, saved it newly as wood_house.msh.
Then went into Paint.net made a texture 512x512, saved it wood_house.tga.

Put wood_house.msh , and wood_house.tga into my MSH folder in the location stated above. Went into my ODF folder made a new text document(then saved as a .ODF.) and it looked like this

[objectClass]

classlabel = "prop"
GeometryName = "wood_house.msh"

[Properties]

GeometryName = "wood_house"

then after all that I save it as a .odf file, then go into the editor, open up my, map put my object in, (still a grey house), then save, munge (no errors), run my map, and finnally still a grey house.

does anyone know what Im doing wrong here?, cause I would really like to make objects with texutres, instead of just grey objects :P

thanks

And yay, I finally found out that I needed a different email to regester on here :)
VF501
Lieutenant Colonel
Lieutenant Colonel
Posts: 539
Joined: Fri Jun 08, 2007 1:18 am
Projects :: Various Stuff- Weapon models. UDK Stuff
Games I'm Playing :: Fallout New Vegas
xbox live or psn: Vintage Tagious
Location: Terra Firma, Sol System; Milky Way

Re: Custom Object + Texture Help.

Post by VF501 »

You need to UV and apply the texture to the model in 3Ds Max first, then export it with either Tipam's Msh Viewer or RepSharpShooter's MeshEx. Look both of those up in the forums for how to use them.
xXxDimmuBorgir13xXx
Private Recruit
Posts: 21
Joined: Mon Mar 16, 2009 9:29 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Canada, Ontario

Re: Custom Object + Texture Help.

Post by xXxDimmuBorgir13xXx »

so uh, just apply a uv wrap moddifier, apply the texture within 3dsmax, convert into a .MSH?, I have the MSH Viewer (thats the name) I got it off of the starwarsfilefront, can I still use that, cause it changes .wrl files into a .MSH , and thats what I export from 3dsmax.(.wrl)

Finally, aside from all this,are my folders, odfs, and msh's all set up good?

thanks :)
VF501
Lieutenant Colonel
Lieutenant Colonel
Posts: 539
Joined: Fri Jun 08, 2007 1:18 am
Projects :: Various Stuff- Weapon models. UDK Stuff
Games I'm Playing :: Fallout New Vegas
xbox live or psn: Vintage Tagious
Location: Terra Firma, Sol System; Milky Way

Re: Custom Object + Texture Help.

Post by VF501 »

Since your object does show up, all your setup in the Folders and ZE is fine. But to make a texture show up on any model anywhere, you need to create a UV map on the texture you made/wish to use. Simply making the .msh and texture the same name as eachother won't work.
xXxDimmuBorgir13xXx
Private Recruit
Posts: 21
Joined: Mon Mar 16, 2009 9:29 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Canada, Ontario

Re: Custom Object + Texture Help.

Post by xXxDimmuBorgir13xXx »

ya, so I did this: made a new object in 3dsmax, make a new texture in Paint.net.Applyed the texture to the object, did a uvw unwrap, textured it right, exported as .wrl , put it into the swbfviewer (or something like that, the MSH viwer =/) then converted it as a .MSH.

Now I made a new map,folders, and an ODF, put it into the folder.In the editor, now my object shows up all textured, and looking good :) , except...it now dosnt show up in game :(

Any ideas?
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

Re: Custom Object + Texture Help.

Post by FragMe! »

Did you make sure RLE compression was unchecked when you saved your tga file?
If not then do a save as with the same name and uncheck the box.
xXxDimmuBorgir13xXx
Private Recruit
Posts: 21
Joined: Mon Mar 16, 2009 9:29 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Canada, Ontario

Re: Custom Object + Texture Help.

Post by xXxDimmuBorgir13xXx »

Yup, un-checked it when I saved the texture, the object textured shows up in the editor when I place it, but in game nothing shows up, not even the object :S

And forgot to mention, there are no errors when I munge.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Custom Object + Texture Help.

Post by Fiodis »

In any case RLE would cause a crash, wouldn't it?

Any error log messages?


Oh, and so you know, Filefront isn't that much of a ghost town. People who know how to mod still look through there, I for one.
xXxDimmuBorgir13xXx
Private Recruit
Posts: 21
Joined: Mon Mar 16, 2009 9:29 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Canada, Ontario

Re: Custom Object + Texture Help.

Post by xXxDimmuBorgir13xXx »

O sorry :oops: well, I made a new object , and same thing it shows up in the editor when I place it, with the texture on it, but when I munge (no errors) , then I load up my map in-game the object does not show up at all, and nothing is in it's place...just uh blank.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: Custom Object + Texture Help.

Post by Fiodis »

Yes, you have no mungelog, but I'm asking if there's anything related to it in the error log, which is different.
xXxDimmuBorgir13xXx
Private Recruit
Posts: 21
Joined: Mon Mar 16, 2009 9:29 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Canada, Ontario

Re: Custom Object + Texture Help.

Post by xXxDimmuBorgir13xXx »

eh is there any other way to get a bferror log cause I dont wanna download that file for the dvd version, and whenever I try to run the one from the modtools it says bink something was not found, and when I put it in the starwars main folder it says insert disc 1.OR is there any other suggestions on why it isnt working, plus I though the error log was only for crashes :S , I might be wrong correct me if so.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: Custom Object + Texture Help.

Post by MercuryNoodles »

If you have the DVD version of the game, you need to download that file. The reason being that the one that comes with the tools has a CD check, which prevents DVD version users from accessing it.
xXxDimmuBorgir13xXx
Private Recruit
Posts: 21
Joined: Mon Mar 16, 2009 9:29 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Canada, Ontario

Re: Custom Object + Texture Help.

Post by xXxDimmuBorgir13xXx »

Alright thanks, but I think Im just gonna give up on this :(
so, ya this can get locked.
Post Reply