Page 1 of 1

Custom object has no texture

Posted: Mon Nov 23, 2009 7:57 pm
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?

Re: custom object has no texture

Posted: Tue Nov 24, 2009 8:53 am
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

Re: Custom object has no texture

Posted: Tue Nov 24, 2009 1:44 pm
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.

Re: Custom object has no texture

Posted: Tue Nov 24, 2009 4:52 pm
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?

Re: Custom object has no texture

Posted: Tue Nov 24, 2009 5:08 pm
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).

Re: Custom object has no texture

Posted: Tue Nov 24, 2009 5:11 pm
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?

Re: Custom object has no texture

Posted: Tue Nov 24, 2009 5:12 pm
by mswf
That should be well possible.

Welcome to SWBFII modding :)

Re: Custom object has no texture

Posted: Tue Nov 24, 2009 5:19 pm
by orocket333
mswf wrote:That should be well possible.

Welcome to SWBFII modding :)
how would I have my msh call for multiple textures?

Re: Custom object has no texture

Posted: Tue Nov 24, 2009 6:43 pm
by Fiodis
If your model has multiple texture projections reading different textures, your msh file will reflect this.

Re: Custom object has no texture

Posted: Tue Nov 24, 2009 7:29 pm
by orocket333
you saying i need a hex editor?

EDIT: nevermind I got one now

Re: Custom object has no texture

Posted: Tue Nov 24, 2009 8:24 pm
by Fiodis
You don't need a hex editor.

Re: Custom object has no texture

Posted: Wed Nov 25, 2009 10:22 am
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)

Re: Custom object has no texture

Posted: Wed Nov 25, 2009 10:41 am
by DarthD.U.C.K.
use texture projections, you can find a good tutorial about that in the xsi-tutorials-thread

Re: Custom object has no texture

Posted: Wed Nov 25, 2009 11:25 am
by (Anonymous)
sorry, I assumed you had a tga for your model :music:

Re: Custom object has no texture

Posted: Wed Nov 25, 2009 11:40 am
by orocket333
I didnt see anything about tileing there

Re: Custom object has no texture

Posted: Wed Nov 25, 2009 11:40 am
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.

Re: Custom object has no texture

Posted: Wed Nov 25, 2009 11:46 am
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?

Re: Custom object has no texture

Posted: Wed Nov 25, 2009 12:13 pm
by DarthD.U.C.K.
select the points and translate them

Re: Custom object has no texture

Posted: Wed Nov 25, 2009 12:24 pm
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?

Re: Custom object has no texture

Posted: Tue Dec 01, 2009 7:12 pm
by (Anonymous)
please disregard what I said, as I said in post one, I'm not really a modeler