SpringMapEdit Features Problem

SpringMapEdit Features Problem

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Von66341
Posts: 111
Joined: 10 Feb 2011, 03:00

SpringMapEdit Features Problem

Post 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!
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: SpringMapEdit Features Problem

Post by Beherith »

Upload the map and ill take a look.
User avatar
KaiserJ
Community Representative
Posts: 3113
Joined: 08 Sep 2008, 22:59

Re: SpringMapEdit Features Problem

Post 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
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: SpringMapEdit Features Problem

Post by FLOZi »

My guess:

SME doesn't render teamcolour (alphachannel)
User avatar
oksnoop2
Posts: 1207
Joined: 29 Aug 2009, 20:12

Re: SpringMapEdit Features Problem

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

Re: SpringMapEdit Features Problem

Post 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!
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: SpringMapEdit Features Problem

Post by smoth »

I bet your team color is yellow
Von66341
Posts: 111
Joined: 10 Feb 2011, 03:00

Re: SpringMapEdit Features Problem

Post 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!
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: SpringMapEdit Features Problem

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

Re: SpringMapEdit Features Problem

Post 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.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: SpringMapEdit Features Problem

Post by FLOZi »

Those settings are just for how the model is rendered in Upspring.

Spring will always render the teamcolour, regardless.
Von66341
Posts: 111
Joined: 10 Feb 2011, 03:00

Re: SpringMapEdit Features Problem

Post 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.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: SpringMapEdit Features Problem

Post 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.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: SpringMapEdit Features Problem

Post by smoth »

That isn't glitching that is working as designed don't confuse the noob
Von66341
Posts: 111
Joined: 10 Feb 2011, 03:00

Re: SpringMapEdit Features Problem

Post 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
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: SpringMapEdit Features Problem

Post 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).
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: SpringMapEdit Features Problem

Post by FLOZi »

iirc it is 99% black (but not 100%).
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: SpringMapEdit Features Problem

Post 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)
Von66341
Posts: 111
Joined: 10 Feb 2011, 03:00

Re: SpringMapEdit Features Problem

Post 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?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: SpringMapEdit Features Problem

Post 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
Post Reply

Return to “Map Creation”