Page 2 of 2

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 18:34
by Von66341
Hey.

This is what I have done.

Using the steps from this tutorial for gimp to set the alpha channel: http://springrts.com/wiki/The_Complete_ ... pring_Game

My RGBA are all black when it is in gimp:
http://img706.imageshack.us/i/unledq.jpg/

After which the model, appear all black in springmapedit and doesn't appear in game.

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 19:08
by SinbadEV
Von66341 wrote:Hey.

This is what I have done.

Using the steps from this tutorial for gimp to set the alpha channel: http://springrts.com/wiki/The_Complete_ ... pring_Game

My RGBA are all black when it is in gimp:
http://img706.imageshack.us/i/unledq.jpg/

After which the model, appear all black in springmapedit and doesn't appear in game.
Actually that's the way it's supposed to look... you can see the "original" texture by turning off the alpha layer... but your image will be solid black when you save it... unless smoth tells you otherwise of course :P
Channels1.PNG
Channels1.PNG (27.92 KiB) Viewed 3303 times
Channels2.PNG
Channels2.PNG (13.8 KiB) Viewed 3303 times
Channels3.PNG
Channels3.PNG (22.76 KiB) Viewed 3303 times
Channels4.PNG
Channels4.PNG (29.38 KiB) Viewed 3303 times

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 19:28
by smoth
255-1 alpha are team color you just don't notice 99%alpha because team color is an overlay. Full white in your alpha channel means (255) and absolute black is (0). Any image that is saved and looks solid is team colored in a way which will be apparent.

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 20:27
by Von66341
Hey.

I followed what SinbadEV show to get the alpha channel black.

But my feature in game is still yellow and untexture.

Do i need to do the upspring process again?

Image of feature in springmapedit: http://img135.imageshack.us/i/unledq.jpg/

image in game: http://img225.imageshack.us/i/unled1b.jpg/

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 22:40
by smoth
Upload the goddamn source files

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 23:36
by SinbadEV
smoth wrote:Upload the goddamn source files
he already did like 6 posts ago

Re: SpringMapEdit Features Problem

Posted: 09 Apr 2011, 03:16
by Von66341
here the files after I followed SinbadEV method to get alpha black.
https://www.yousendit.com/download/UFh0 ... TVUwTVE9PQ

Thanks!

Re: SpringMapEdit Features Problem

Posted: 09 Apr 2011, 05:23
by smoth
You are not saving with the alpha layer. There is no alpha on the ones I looked at. easy test is if your unit shows teamcolor in upspring it probably will in spring as well.

also why tga? png is much easier to work with.

Re: SpringMapEdit Features Problem

Posted: 09 Apr 2011, 07:11
by Von66341
Hey guys! thanks alot!
I finally got it working!

Just in case other would like to know:

For the alpha channel, require to decompose and recompose.
And include the alpha channel when save.
png work like magic =)

Thanks!

Re: SpringMapEdit Features Problem

Posted: 09 Apr 2011, 15:59
by Frostregen
So the mc2 stuff should be updated / fixed for spring.
But IIRC the license did not allow modification, or?
If it allows modification I would include the fixed features with SME.
Could anyone check the licensing stuff, and supply me with a fixed version? :)

Re: SpringMapEdit Features Problem

Posted: 11 Apr 2011, 03:25
by Von66341
A copy of the licence is here: http://pastebin.com/HWPx3RWs

My understanding is that it is royalty-free?

Re: SpringMapEdit Features Problem

Posted: 11 Apr 2011, 04:41
by smoth
the license covers derivative works there for you can make derivatives based on the content.

Re: SpringMapEdit Features Problem

Posted: 11 Apr 2011, 21:35
by Frostregen
Ok, nice. :)

@Von66341:
Could you give me your fixed version, so I can update the prefab pack?

Re: SpringMapEdit Features Problem

Posted: 12 Apr 2011, 03:09
by Von66341
I download from this link: http://springrts.com/phpbb/viewtopic.php?p=310698

Not sure if it is the fixed verison thou.

The buildings are in the Assets (Features, textures, etc): AssetPack r3

Thanks!

Re: SpringMapEdit Features Problem

Posted: 12 Apr 2011, 23:02
by Frostregen
Hehe, this is exactly the prefab pack I want to update ;)
So no, they are not fixed.
But you did fix the textures/prefabs, so you just need to upload them somewhere I can get them^^

Re: SpringMapEdit Features Problem

Posted: 13 Apr 2011, 15:01
by Von66341
Here the fixed verison: https://www.yousendit.com/download/VnBw ... M1JFQlE9PQ

Contains only the modified files.

Oh ya, I got a question on the SpringMapEdit.

When am using it in my office computer, it hangs whenever I click 'Select Features'.
However it is working perfectly on my personal laptop.
Any idea the reasons?

Thanks =D