Models appear almost invisible/transparent in ZE Editor

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Post Reply
MissingTexture
2nd Lieutenant
2nd Lieutenant
Posts: 380
Joined: Sat Jun 13, 2015 10:51 am
Projects :: SW Resistance Rising
Location: Toronto, ON

Models appear almost invisible/transparent in ZE Editor

Post by MissingTexture »

So I recently converted some props for a map I am making but when I load the ODF file into ZE, they look almost, if not entirely, invisible!

I am not sure why this is, but they appear fine ingame! I do have lowrez models for them aswell. Any ideas as to why this is?
User avatar
Kingpin
Jedi
Jedi
Posts: 1096
Joined: Fri Sep 13, 2013 7:09 pm
Projects :: The Sith Wars II
Location: Denver, CO
Contact:

Re: Models appear almost invisible/transparent in ZE Editor

Post by Kingpin »

This happens to me when I use models with alpha channels on the texutres. Do your custom models have alpha channels?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Models appear almost invisible/transparent in ZE Editor

Post by Marth8880 »

Yep, Kingpin's right. ZE loads all textures with alpha channels as transparent textures, which is really annoying when they're just diffuse textures with specular. A way around this is to have an "editor" version of the mesh. Simply export a different version of the mesh and have it use different versions of the textures but without alpha channels. To *set* the editor mesh, simply set the GeometryName in the [GameObjectClass] tree to the name of the editor mesh like so:

Code: Select all

[GameObjectClass]		
ClassLabel		=	"prop"
GeometryName	=	"editor_eur_prop_kodiak_interior_cinematic.msh"    // editor mesh

[Properties]		
GeometryName	=	"eur_prop_kodiak_interior_cinematic"    // in-game mesh

FoleyFXGroup    = "metal_foley"
MissingTexture
2nd Lieutenant
2nd Lieutenant
Posts: 380
Joined: Sat Jun 13, 2015 10:51 am
Projects :: SW Resistance Rising
Location: Toronto, ON

Re: Models appear almost invisible/transparent in ZE Editor

Post by MissingTexture »

Ah never thought of that, totally forgot about alpha channels!

So I'd need to remove the alpha channels through Photoshop or something?
Marth8880
Resistance Leader
Posts: 5042
Joined: Tue Feb 09, 2010 8:43 pm
Projects :: DI2 + Psychosis
Games I'm Playing :: Silent Hill 2
xbox live or psn: Marth8880
Location: Edinburgh, UK
Contact:

Re: Models appear almost invisible/transparent in ZE Editor

Post by Marth8880 »

Correct, but keep in mind that doing so will destroy any specular maps that the textures may have if you're not doing this to editor versions of the textures.
MissingTexture
2nd Lieutenant
2nd Lieutenant
Posts: 380
Joined: Sat Jun 13, 2015 10:51 am
Projects :: SW Resistance Rising
Location: Toronto, ON

Re: Models appear almost invisible/transparent in ZE Editor

Post by MissingTexture »

Marth8880 wrote:Correct, but keep in mind that doing so will destroy any specular maps that the textures may have if you're not doing this to editor versions of the textures.
I actually don't have spec maps on the models, it's just diffuse maps

Edit:
I deleted the alpha channel in photoshop! Props appearing just fine :)
Post Reply