View topic - SpringMapEdit Features Problem



All times are UTC + 1 hour


Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: 08 Apr 2011, 17:34 

Joined: 10 Feb 2011, 03:00
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.


Top
 Offline Profile  
 
PostPosted: 08 Apr 2011, 18:08 
User avatar

Joined: 02 May 2005, 02:56
Location: Canada
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

Attachment:
Channels1.PNG
Channels1.PNG [ 27.92 KiB | Viewed 405 times ]
Attachment:
Channels2.PNG
Channels2.PNG [ 13.8 KiB | Viewed 405 times ]
Attachment:
Channels3.PNG
Channels3.PNG [ 22.76 KiB | Viewed 405 times ]
Attachment:
Channels4.PNG
Channels4.PNG [ 29.38 KiB | Viewed 405 times ]


Top
 Offline Profile  
 
PostPosted: 08 Apr 2011, 18:28 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
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.


Top
 Offline Profile  
 
PostPosted: 08 Apr 2011, 19:27 

Joined: 10 Feb 2011, 03:00
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/


Top
 Offline Profile  
 
PostPosted: 08 Apr 2011, 21:40 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
Upload the goddamn source files


Top
 Offline Profile  
 
PostPosted: 08 Apr 2011, 22:36 
User avatar

Joined: 02 May 2005, 02:56
Location: Canada
smoth wrote:
Upload the goddamn source files


he already did like 6 posts ago


Top
 Offline Profile  
 
PostPosted: 09 Apr 2011, 02:16 

Joined: 10 Feb 2011, 03:00
here the files after I followed SinbadEV method to get alpha black.
https://www.yousendit.com/download/UFh0 ... TVUwTVE9PQ

Thanks!


Top
 Offline Profile  
 
PostPosted: 09 Apr 2011, 04:23 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
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.


Top
 Offline Profile  
 
PostPosted: 09 Apr 2011, 06:11 

Joined: 10 Feb 2011, 03:00
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!


Top
 Offline Profile  
 
PostPosted: 09 Apr 2011, 14:59 

Joined: 16 Jul 2007, 23:52
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? :)


Top
 Offline Profile  
 
PostPosted: 11 Apr 2011, 02:25 

Joined: 10 Feb 2011, 03:00
A copy of the licence is here: http://pastebin.com/HWPx3RWs

My understanding is that it is royalty-free?


Top
 Offline Profile  
 
PostPosted: 11 Apr 2011, 03:41 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
Location: ModalitÃ
the license covers derivative works there for you can make derivatives based on the content.


Top
 Offline Profile  
 
PostPosted: 11 Apr 2011, 20:35 

Joined: 16 Jul 2007, 23:52
Ok, nice. :)

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


Top
 Offline Profile  
 
PostPosted: 12 Apr 2011, 02:09 

Joined: 10 Feb 2011, 03:00
I download from this link: 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!


Top
 Offline Profile  
 
PostPosted: 12 Apr 2011, 22:02 

Joined: 16 Jul 2007, 23:52
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^^


Top
 Offline Profile  
 
PostPosted: 13 Apr 2011, 14:01 

Joined: 10 Feb 2011, 03:00
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


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 36 posts ]  Go to page Previous  1, 2

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.