Custom object has no texture

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
orocket333
Private Recruit
Posts: 25
Joined: Wed Aug 19, 2009 11:59 am

Custom object has no texture

Post by orocket333 »

I made a custom object and loaded it into zero editor but it looks like this
Hidden/Spoiler:
Image
but in xsi it looks like this
Hidden/Spoiler:
Image
and of couse in game it looks like this
Hidden/Spoiler:
Image
(yes I know nothings there)

oh i almost forgot this is my objects odf:
Hidden/Spoiler:
[GameObjectClass]

ClassLabel = "prop"
GeometryName = "floating-thingy.msh"


[Properties]

GeometryName = "floating-thingy"
so the you go. now how do i give my object a skin that will show up ingame?
Last edited by orocket333 on Wed Nov 25, 2009 2:27 pm, edited 1 time in total.
(Anonymous)
Under watchful eyes.
Posts: 106
Joined: Sun Oct 18, 2009 12:45 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: Where Ever You're Not
Contact:

Re: custom object has no texture

Post by (Anonymous) »

I'm not a modeler but you can try this:
Hidden/Spoiler:
[quote][GameObjectClass]

ClassLabel = "prop"
GeometryName = "floating-thingy.msh"


[Properties]

GeometryName = "floating-thingy"
OverrideTexture = "your tga file here"[/quote]
Hope it helps
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 has no texture

Post by FragMe! »

If it is a custom texture make sure RLE compression is turned off.
Did you get any errors relating to Type 10 format not supported?

If neither of the top two apply, make sure you freeze your model prior to export.
Also confirm your texture is in the same folder as the .msh file.
orocket333
Private Recruit
Posts: 25
Joined: Wed Aug 19, 2009 11:59 am

Re: Custom object has no texture

Post by orocket333 »

I dont have a tga for my texture, i added it in with xsi. and i did freeze before exporting, oh by the way anonymous, ill try that if someone can tell me how to get a tga. do i just save the texture as tga or something?
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: Custom object has no texture

Post by Maveritchell »

orocket333 wrote:I dont have a tga for my texture, i added it in with xsi. and i did freeze before exporting, oh by the way anonymous, ill try that if someone can tell me how to get a tga. do i just save the texture as tga or something?
Ignore what anonymous wrote; it is completely unrelated to your problem. If your texture isn't in .tga format, the game will not compile (munge) it or be able to read it. Dot TGA is just a texture format, the same as .jpeg or .png. You need to use your image editor to save as that filetype instead of .jpg (or whatever it is right now). You also need to make sure your .msh file is reading a .tga (search for the texture name and make sure it ends with .tga).
orocket333
Private Recruit
Posts: 25
Joined: Wed Aug 19, 2009 11:59 am

Re: Custom object has no texture

Post by orocket333 »

ok but can I have multiple tga's for an object? my model is separite objects with different textures so how would i do that?
mswf
Master Bounty Hunter
Master Bounty Hunter
Posts: 1674
Joined: Tue Mar 31, 2009 3:40 pm
Location: Twello, The Netherlands
Contact:

Re: Custom object has no texture

Post by mswf »

That should be well possible.

Welcome to SWBFII modding :)
orocket333
Private Recruit
Posts: 25
Joined: Wed Aug 19, 2009 11:59 am

Re: Custom object has no texture

Post by orocket333 »

mswf wrote:That should be well possible.

Welcome to SWBFII modding :)
how would I have my msh call for multiple textures?
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 has no texture

Post by Fiodis »

If your model has multiple texture projections reading different textures, your msh file will reflect this.
orocket333
Private Recruit
Posts: 25
Joined: Wed Aug 19, 2009 11:59 am

Re: Custom object has no texture

Post by orocket333 »

you saying i need a hex editor?

EDIT: nevermind I got one now
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 has no texture

Post by Fiodis »

You don't need a hex editor.
orocket333
Private Recruit
Posts: 25
Joined: Wed Aug 19, 2009 11:59 am

Re: Custom object has no texture

Post by orocket333 »

I have another object now with a stone texture but i need to know how to tile with the texture.
(have the regular size texture reapeat itself accross the object instead of stretching and looking like errr... bad stuff)
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Custom object has no texture

Post by DarthD.U.C.K. »

use texture projections, you can find a good tutorial about that in the xsi-tutorials-thread
(Anonymous)
Under watchful eyes.
Posts: 106
Joined: Sun Oct 18, 2009 12:45 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: Where Ever You're Not
Contact:

Re: Custom object has no texture

Post by (Anonymous) »

sorry, I assumed you had a tga for your model :music:
orocket333
Private Recruit
Posts: 25
Joined: Wed Aug 19, 2009 11:59 am

Re: Custom object has no texture

Post by orocket333 »

I didnt see anything about tileing there
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Custom object has no texture

Post by DarthD.U.C.K. »

(Anonymous) wrote:sorry, I assumed you had a tga for your model :music:
what are you talking about?

every textured model needs a tga-texture in the mshfolder


@orocket:the texture becomes tiled weh you scale the uvpiece bigger than the texture and wazmols UVing tutorial explains how to edit uvs, use subprojections tec.
orocket333
Private Recruit
Posts: 25
Joined: Wed Aug 19, 2009 11:59 am

Re: Custom object has no texture

Post by orocket333 »

DarthD.U.C.K. wrote:
(Anonymous) wrote:sorry, I assumed you had a tga for your model :music:
what are you talking about?

every textured model needs a tga-texture in the mshfolder


@orocket:the texture becomes tiled weh you scale the uvpiece bigger than the texture and wazmols UVing tutorial explains how to edit uvs, use subprojections tec.
how do i drag the points?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Custom object has no texture

Post by DarthD.U.C.K. »

select the points and translate them
orocket333
Private Recruit
Posts: 25
Joined: Wed Aug 19, 2009 11:59 am

Re: Custom object has no texture

Post by orocket333 »

how do i translate them?

EDIT: nevermind

by the way im on another object cause i decided i didnt want to us that one in my map anyway.
I made my object, gave it a texture, and exported it but it looks like this.
Hidden/Spoiler:
Image
but my object should look like this
Hidden/Spoiler:
Image
now what?
(Anonymous)
Under watchful eyes.
Posts: 106
Joined: Sun Oct 18, 2009 12:45 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: Where Ever You're Not
Contact:

Re: Custom object has no texture

Post by (Anonymous) »

please disregard what I said, as I said in post one, I'm not really a modeler
Post Reply