Problem Modding EM Trees

Custom mods, stories, and artwork based on the Evochron / Arvoch universe.
Leatherpoker
Lieutenant Jr. Grade
Lieutenant Jr. Grade
Posts: 53
Joined: Mon Jun 07, 2010 4:37 pm

Problem Modding EM Trees

Post by Leatherpoker »

Hi everyone,

I've been working to mod the trees in EM and I have hit a road block...

In the EM modding kit readme file it says:

To replace the tree textures, use the \\environment folder and these filenames:

treeX.png = Tree textures (X range = 1-4, 256X256 or higher recommended, black is transparent)

My custom textures show up in game, however the black in my textures is not transparent- it is simply black. I have tried making sure that it is truly black (RGB 0,0,0) and have checked to see if white is actually transparent (nope). I've also tried RGB and indexed color png files.

Any help would be appreciated!

Thanks,
LP
User avatar
Vice
Administrator
Administrator
Posts: 12227
Joined: Fri Apr 25, 2003 1:38 am

Problem Modding EM Trees

Post by Vice »

Eclipse is right, the PNG needs to have your alpha layer defined, so just specify the black as transparent in the image editing program you are using.
StarWraith 3D Games
www.starwraith.com | www.spacecombat.org
3D Space Flight and Combat Simulations
Leatherpoker
Lieutenant Jr. Grade
Lieutenant Jr. Grade
Posts: 53
Joined: Mon Jun 07, 2010 4:37 pm

Problem Modding EM Trees

Post by Leatherpoker »

Ah...lol...:P

It is that simple? I guess I didn't realize that it needed an alpha layer. I guess I thought that EM would treat it like it does the jpg files and make the black transparent on its own...

Can you tell I'm just winging this?...

Thanks for the help!

LP