CEG's got me beat
Moderators: MR.D, Moderators
- SanadaUjiosan
- Conflict Terra Developer
- Posts: 907
- Joined: 21 Jan 2010, 06:21
Re: CEG's got me beat
Knorke's right.
Our CEGs will probably just have to be stylistic in smooth edges and the shapes we use. Until the engine makes it possible (i bet it will never happen) we'll just have to make do.
Thanks a ton Forb for helping clear this up. Now I can move on.
Our CEGs will probably just have to be stylistic in smooth edges and the shapes we use. Until the engine makes it possible (i bet it will never happen) we'll just have to make do.
Thanks a ton Forb for helping clear this up. Now I can move on.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: CEG's got me beat
Well I honestly thought it could be done. I was pretty surprised when I saw that black on pngs was seen as transparent. That's just weird :-/ Sorry
Re: CEG's got me beat
make feature request on mantis.
(i would myself but havent tried it myself and cba to mess around with images)
(i would myself but havent tried it myself and cba to mess around with images)
Re: CEG's got me beat
change the alpha value to 1, should fix the alpha blending issue that you havecolormap = [[1 0.9 0 0.01 1 0.7 0 0.01 1 0.5 0 0.01]],
change to a positive or negative value so the front muzzle matches with the side muzzle..frontoffset = 0,
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: CEG's got me beat
But if alpha is 1, then there will be no transparency at all amirite? Resulting in a square picture with a lot of black in it?
Re: CEG's got me beat
no, the final alpha value is:
e.g. with 1 in the colormap:
Code: Select all
alpha = color.a * sprite.a
Code: Select all
alpha = 1 * sprite.a = sprite.a
Re: CEG's got me beat
which means you will have the texture alpha but no additive blending as in colors being added together which is why there is no black


- SanadaUjiosan
- Conflict Terra Developer
- Posts: 907
- Joined: 21 Jan 2010, 06:21
Re: CEG's got me beat
Alright, the combination of Rattle's advice with Forb's impromptu image-fixing resulted in what I want. Awesome guys!
Now, Forb, how did you make that image work? You can PM me, or try me in the lobby, although I predict I won't be available much today. I use PS CS4 if that helps.
Now, Forb, how did you make that image work? You can PM me, or try me in the lobby, although I predict I won't be available much today. I use PS CS4 if that helps.
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: CEG's got me beat
hehe silly 
Copied image from forums
Put into photoshop
Color range select white (100 feather)
copy result into a new smaller image (for some reason the original had a ton of whitespace)
Save image as png
Upload to ftp
Post on forums
Attempt to look like a hero
Profit.
Basically, I just converted it to a transparent png and removed the white + whitespace. Using anything other than png with the engine is pretty silly. Png is by far the most versatile (looks the best too) format we have access to.

Copied image from forums
Put into photoshop
Color range select white (100 feather)
copy result into a new smaller image (for some reason the original had a ton of whitespace)
Save image as png
Upload to ftp
Post on forums
Attempt to look like a hero
Profit.
Basically, I just converted it to a transparent png and removed the white + whitespace. Using anything other than png with the engine is pretty silly. Png is by far the most versatile (looks the best too) format we have access to.
- SanadaUjiosan
- Conflict Terra Developer
- Posts: 907
- Joined: 21 Jan 2010, 06:21
Re: CEG's got me beat
Sounds pretty easy. Maybe that Alpha value in the .lua is what screwed over my previous attempts. I am the King of Doing it Wrong.
I would love all of our image files to be .png, but the tutorial we used for texturing used .tga and its what we learned. Converting to .png is a goal, but probably a far-off one due to the work involved and the fact of learning that process.
I would love all of our image files to be .png, but the tutorial we used for texturing used .tga and its what we learned. Converting to .png is a goal, but probably a far-off one due to the work involved and the fact of learning that process.
Re: CEG's got me beat
No. I am.SanadaUjiosan wrote:I am the King of Doing it Wrong.
Is this a coup d'etat?
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: CEG's got me beat
Dds is fail for so many reasons.
Use png.Hey I want to edit my... Aww fuck.
- SanadaUjiosan
- Conflict Terra Developer
- Posts: 907
- Joined: 21 Jan 2010, 06:21
Re: CEG's got me beat
smoth wrote:Double dees

Our goal is still png, I tampered with .dds once, but I don't feel like sitting and sniping the level of compression we'd need for our textures to look good.
Re: CEG's got me beat
SanadaUjiosan wrote:smoth wrote:Double dees
Our goal is still png, I tampered with .dds once, but I don't feel like sitting and sniping the level of compression we'd need for our textures to look good.

Use a real image host, Sockhead, so we don't get hotlinking errors!
- Forboding Angel
- Evolution RTS Developer
- Posts: 14673
- Joined: 17 Nov 2005, 02:43
Re: CEG's got me beat
Tripod still exists? When I was 16 tripod and geoshitties was cool. 12 years later, not so much.
Edit: ahha oh wow, I guess make that 13 years later. I forgot that my bday is this sunday
Edit: ahha oh wow, I guess make that 13 years later. I forgot that my bday is this sunday
