Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Hunter712

#46
Help / Re: Workaround for alpha bleeding textures?
December 14, 2014, 07:52:53 PM
Quote from: Klitri on December 14, 2014, 07:47:56 PM
I think that's the result of anti-aliasing. Go into your editor and colour over the white speckles and see if that fixes the issue. The anti-aliasing causes transparency, and I don't think the game can handle that yet, and thus it turns to white.

The speckles don't exist in the files themselves, though partially transparent pixels do. I've tried removing all partially transparent pixels from the images though the speckles still appear.
#47
Help / Workaround for alpha bleeding textures?
December 14, 2014, 07:19:48 PM
While messing with textures I've discovered that no matter what I do, the images created and saved as PNGs will always have alpha bleeding (To my knowledge, that is). I find this incredibly annoying since all of the textures I've been creating have been showing up in-game was some rather unpleasant alpha bleeding artifacts around the props.

Pictured below you can see the nasty white speckles as a result of the alpha bleeding in PNGs, so my question is if anyone here knows of a workaround for such a thing

[attachment deleted due to age]
#48
Quote from: skullywag on December 14, 2014, 02:16:59 PM
what graphic class are you using, single?

Pastebin of the code is here http://pastebin.com/T9HDZPFs

But in short, yeah, single.

    <graphicPath>Things/Building/EnergyTurretGun</graphicPath>
    <graphicClass>Graphic_Single</graphicClass>

^ That's the path.


EDIT: I did a bunch of testing and the code isn't the problem (Least I don't think so.) I replaced the line of the graphic path with the path to the vanilla turret base and it worked fine, though the problem still remains as I have custom turret bases that I can't seem to get working.

EDIT: I've changed the canvas size for all the turret bases to 192x192, this appears to be aspect ratio that all a8 mods that include custom turret bases use, and I still cannot get them to display properly.
#49
Quote from: skullywag on December 14, 2014, 01:43:59 PM
Ok so first thing is this a 1x1 building or a 2x2, whichever it is, use 64x64 px per square it takes up, I should have been clearer on that point.

A few of them were 1x1 and some were 2x2, I've sized all the 2x2s down to 1x1. The graphic still remains smaller than what it normally should b, no matter the building size (1x1 or 2x2). That, and I've never had a problem with sizing them down to 1x1 in the past, the game always auto-adjusted it to fit the correct size, however a8 seems to be entirely different in that aspect.
#50
Quote from: skullywag on December 14, 2014, 11:35:33 AM
It sounds like overdraw isnt being applied. Bear in mind if you leave a gap between the end of the image and the edge of the canvas itll be smaller ingame. Make your image 64x64 up to the edge and see how you get on.

The images I'm using were compatible with all versions prior to a8, https://ludeon.com/forums/index.php?topic=6770.0 is the mod I'm trying to convert to a8, so I'm not sure I'd have to change any of the models unless something has changed with how the models/images are being handled.

Also, I tried your method and decreased the size, the base of the turret is a little bigger but now the preview in the construction menu aswell as the blueprint for it are massive in size.

[attachment deleted due to age]
#51
Quote from: skullywag on December 14, 2014, 11:03:11 AM
How bigs the actual image in pixels 64x64?

The image is 256x256, but the model in the image is 101x107
#52
Help / Re: Modded turret bases are incredibly small
December 14, 2014, 08:08:02 AM
Quote from: iame6162013 on December 14, 2014, 07:50:11 AM
are you using your full texture?

Full texture as in?

The texture works and shows up fully when placing a construction blueprint, but its only until after its built does base size of it change into an almost invisible size.



[attachment deleted due to age]
#53
Help / Re: Modded turret bases are incredibly small
December 14, 2014, 06:45:22 AM
Quote from: Rikiki on December 14, 2014, 03:03:53 AM
Add this line to the turret def:
    <graphicOverdraw>true</graphicOverdraw>.

Already have that in for each turret, still doesn't work.
#54
Bugs / Re: Surgery and Herbal Medicine
December 13, 2014, 11:23:40 PM
Noticed this too, yet to figure out the actual application of herbal medicine
#55
Help / (HELP) Modded turret bases are incredibly small
December 13, 2014, 08:47:21 PM
So I've been fiddling around with some the files in the Turrets Pack mod and decided to give it at a go at coverting them from a7 to a8.

So far I've stomped every bug and have made the mod fully compatible with a8 except for one issue, bases for the turrets are so terribly small that you can't even see them, and I have no idea why this is.

Admittedly, I've never done this before, so I'm surprised I've gotten as far as this, but I would appreciate any help I can get to figure this problem out.

http://pastebin.com/T9HDZPFs


[attachment deleted due to age]