.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening > Scenarios, Maps and Mods

Reply
 
Thread Tools Display Modes
  #11  
Old August 21st, 2008, 03:13 PM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default Re: Unit creation

Well here is the sprite.. I checked.. the RGB thingies are good at least
Attached Files
File Type: zip 2751_Ao_Oni_1.zip (1.4 KB, 82 views)
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.
Reply With Quote
  #12  
Old August 21st, 2008, 10:07 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: Unit creation

The cause of the problem is just a theory, but the solution works.
I removed the alpha channel from your image in GIMP and replaced the transparency with pure black RGB(0,0,0). Saved the image and tested it in game. Worked like a charm. I will upload the fixed version to this post.

I believe that if you want to use the transparency (alpha channel), then you have to manually create a darkened shadow for it to appear normally in game. If you remove the alpha channel then the black becomes transparent and the magenta becomes a shadow. You shouldn't have to use pure magenta, as I believe slight variations will work, but I see no reason to gamble or experiment with it.

It is also worth noting that removing the alpha channel reduces the file size considerably. (From 3kb to 2kb.)

Edit:
The image will need cleaned up as there were some pixels around the edges of the unit were not fully transparent and therefore were not turned pure black. Looks like maybe a spray or rounded tool was used to draw. An easy way to fix this would be to fill the pure black background with a lighter color and then user a color replace tool to get rid of the near black around the edges of the unit.

Hope this helped.
Attached Files
File Type: zip fixed2751_Ao_Oni_1.zip (1.3 KB, 73 views)
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor

Last edited by Ballbarian; August 21st, 2008 at 10:20 PM..
Reply With Quote
  #13  
Old August 22nd, 2008, 01:25 AM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Unit creation

If he uses GIMP, he must alter the drawing tool settings to have sharp edges, otherwise it gives a gradual fade with color variations, which produces that effect.
Reply With Quote
  #14  
Old August 22nd, 2008, 02:15 AM
HoneyBadger's Avatar

HoneyBadger HoneyBadger is offline
General
 
Join Date: Oct 2006
Posts: 3,445
Thanks: 85
Thanked 79 Times in 51 Posts
HoneyBadger is on a distinguished road
Default Re: Unit creation

Gimp never gave me good results. I don't get what people see in it, actually. Has anyone ever tried ImageForge? It works much better for me, and seems to require less resources.
__________________
You've sailed off the edge of the map--here there be badgers!
Reply With Quote
  #15  
Old August 22nd, 2008, 01:04 PM

Aezeal Aezeal is offline
Lieutenant General
 
Join Date: Sep 2007
Posts: 2,691
Thanks: 5
Thanked 39 Times in 31 Posts
Aezeal is on a distinguished road
Default Re: Unit creation

ok that alpha channel... how do I remove it (I want to thank ballbarian for his changed thingie but I've got quite some I need to edit I figure so I really need to know how to do it )

adn I dislike GIMP too takes a long time to load etc does image forge have the same options?
__________________
Want a blend of fantasy and sci-fi? Try the total conversion Dominions 3000 mod with a new and fully modded solar system map.
Dragons wanted? Try the Dragons, Magic Incarnate nation.
New and different undead nation? Try Souls of Shiar. Including new powerfull holy magic.
In for a whole new sort of game? Then try my scenario map Gang Wars.
Reply With Quote
  #16  
Old August 22nd, 2008, 02:29 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: Unit creation

I don't know anything about Image Forge, but in GIMP you go to Layer/Transparency/Remove Alpha Channel. If you do this it helps to be sure your base background color is already set to true black. Maybe it is a similar process in Image Forge.
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:55 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.