Page 1 of 2

SpringMapEdit Features Problem

Posted: 06 Apr 2011, 15:23
by Von66341
Hey!

The program am using for the map creation is SpringMapEdit.
I use one of the building features from the Assets (Features, textures, etc) and save the map by selecting export.
Together with the respective folders, insert with the object3d, unittextures and the features file.

When I run the map in game, my features are not texture. For example, I was using mc2city2a, when show up in the game was a yellow building instead of the texture. However the texture works in springmapeditor.

any suggest to how I can rectify this? Or did anyone else met with the problem using the assert pack too?

Thanks!

Re: SpringMapEdit Features Problem

Posted: 06 Apr 2011, 16:20
by Beherith
Upload the map and ill take a look.

Re: SpringMapEdit Features Problem

Posted: 06 Apr 2011, 19:21
by KaiserJ
thats very peculiar; i've had textures not appear in SME but then appear ingame

SME is recognizing a texturing format that spring doesnt /wildguess

Re: SpringMapEdit Features Problem

Posted: 06 Apr 2011, 21:04
by FLOZi
My guess:

SME doesn't render teamcolour (alphachannel)

Re: SpringMapEdit Features Problem

Posted: 06 Apr 2011, 22:41
by oksnoop2
Image

I had this problem once, I'm trying to remember what caused it. I think in my case I forgot to put the texture there. So maybe either the texture is not there or it's not applied to the model in upspring.

Re: SpringMapEdit Features Problem

Posted: 07 Apr 2011, 19:31
by Von66341
Hey. this is what happens.

Image shows texture feature in springmapedit:
http://img849.imageshack.us/i/springmapeditor.jpg/

But feature not texture in game :
http://img651.imageshack.us/i/ingameimage.jpg/

Complete files for this map can be found here:
https://www.yousendit.com/download/UFhz ... bUpFQlE9PQ

Thanks lot for the help!

Re: SpringMapEdit Features Problem

Posted: 07 Apr 2011, 19:41
by smoth
I bet your team color is yellow

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 04:08
by Von66341
My team colour is yellow. hmm
The features would follow the team colour?
But why doesn't tress or rocks not follow?

Is there a way to change the team colour?
Or get features not follow the team colour?

Thanks!

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 04:14
by smoth
Von66341 wrote:My team colour is yellow. hmm
The features would follow the team colour?
But why doesn't tress or rocks not follow?

Is there a way to change the team colour?
Or get features not follow the team colour?

Thanks!
FLOZi wrote:My guess:

SME doesn't render teamcolour (alphachannel)
He hinted at it before I even got around to posting.

Here is the part you are missing. solid on texture 1 is teamcolor.. transparent is not team color. Again, if you had just posted the models and textures. you should have seen this in upspring.

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 08:23
by Von66341
in upspring i tried the following:

Texture 1> file of the texture i want

Current rendering method : Full

It still remains as team color in the game.

I also tried current rendering method: texture 1 color

Both didn't work.

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 13:33
by FLOZi
Those settings are just for how the model is rendered in Upspring.

Spring will always render the teamcolour, regardless.

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 14:19
by Von66341
Puzzled. how come certain features are not render in team colour?

For e.g. spring 1944 farm houses or the tress or rock?

Thanks alot for assisting in understanding.

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 14:25
by SinbadEV
If you have the alpha channels set correctly on the textures then there is no team colour... I haven't modded in a while but I think it was a solid white alpha on texture1? My guess is that the images you are using do not HAVE an alpha channel and as such spring is glitching and assuming an all black alpha.

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 14:55
by smoth
That isn't glitching that is working as designed don't confuse the noob

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 15:04
by Von66341
hmm...am getting confuse.
Am quite new to mapping and trying to get a better understanding here.

Inside the unittextures there are 2 texture files:
mc2city2a.tga >> the brick texture
mc2city2a2.tga >>a black background with green windows.

for the mc2city2a model.

How should I check/change the alpha channel?
In upspring or image editor like paint.net or gimp?

Basically I want the brick texture display in game, instead of the team colour.

Thanks for all the guidance! =D

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 15:22
by SinbadEV
smoth wrote:That isn't glitching that is working as designed don't confuse the noob
I wouldn't have to confuse people if you just told him the right answer in the first place.

@Von66341 In gimp, go to the channels and make sure you have a red, green, blue and alpha... if you don't have all four add one and it should default to being an alpha, make it either all white or all black (maybe smoth with tell you which).

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 16:46
by FLOZi
iirc it is 99% black (but not 100%).

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 16:50
by SinbadEV
FLOZi wrote:iirc it is 99% black (but not 100%).
Oh right, because the image parser optimized the image and just took a fully opaque alpha as no alpha. (it has been a long time)

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 16:59
by Von66341
am having some problem with gimp.

the texture image have alpha white.

I change the alpha to black by changing the opacity.
But my RGB all turn to black.
This is wrong correct?

Re: SpringMapEdit Features Problem

Posted: 08 Apr 2011, 18:26
by smoth
SinbadEV wrote:
smoth wrote:That isn't glitching that is working as designed don't confuse the noob
I wouldn't have to confuse people if you just told him the right answer in the first place.
I did tell him the right answer jackass