Starsector 0.97a is out! (02/02/24); New blog post: Anubis-class Cruiser (12/20/24)
Quote from: Psiyon on September 09, 2011, 12:42:16 PMIn regards to your point about how it might suck not being able to see weapons under a ship, I wasn't really thinking about having weapons just plain invisible. I was thinking about having them stick out from the edges--still visible, but somewhat obscured, and not to the point that you don't know there's a weapon there. I'd also say that in a lot of cases, you could have the turret\hardpoint rendered underneath the ship, yet could still have the weapon rendered on the normal level. While it probably wouldn't be a good idea to have all of a ship's weapons come from underneath, it might be an interesting thing to see on the occasional ship. I suppose I'm just asking you give it a second thought. Even if you don't put weapons under ships in the native game, it would still be nice for modders to have that option. I'm not a programmer, but I'm guessing it probably wouldn't be all that difficult to add in an option for weapon files that lets us set which render level the turret\hardpoint are on. On the other hand, if it would take a while, then forget it, because I'd rather see new, operational features than modders-only hackjobs.Right, I see what you're saying. Some potential trouble there, too. For example, the missile weapons that show the actual missiles racked on the weapon sprite. When launched, those would jump from being below the ship sprite to being above it. Only a problem if the missile was partially obscured, but that depends on the weapon config as much as on the slot, so you can't guarantee that it wouldn't happen by tweaking only the slot. Not a huge deal, but leaving those types of issues unresolved definitely qualifies it as a "hackjob" in my mind.Similarly for missile launch smoke or gun muzzle flash - or even beams - since you can't really guarantee where those come out - it's easy to picture a weapon where the beam starts out way in the back of the sprite and goes all the way through it, for example - which would be a problem if that part of it was set into the hull.I've been thinknig about this particular idea for a while... and will still keep an eye out for a good solution.
In regards to your point about how it might suck not being able to see weapons under a ship, I wasn't really thinking about having weapons just plain invisible. I was thinking about having them stick out from the edges--still visible, but somewhat obscured, and not to the point that you don't know there's a weapon there. I'd also say that in a lot of cases, you could have the turret\hardpoint rendered underneath the ship, yet could still have the weapon rendered on the normal level. While it probably wouldn't be a good idea to have all of a ship's weapons come from underneath, it might be an interesting thing to see on the occasional ship. I suppose I'm just asking you give it a second thought. Even if you don't put weapons under ships in the native game, it would still be nice for modders to have that option. I'm not a programmer, but I'm guessing it probably wouldn't be all that difficult to add in an option for weapon files that lets us set which render level the turret\hardpoint are on. On the other hand, if it would take a while, then forget it, because I'd rather see new, operational features than modders-only hackjobs.
Wyvern is 100% correct about the math.
Thank you Heres the "final" sprite, with the changes I proposed earlier.As I said, with additional vertical line - an uninitiated viewer wouldnt know better.(otherwise.. change the shading, had a leap of logic there..)Spoiler[close]Edit - ill stop advert. right here. :pAnother question rises. I had an idea of using a "glow" from weapons to appear as..sort of a energy barrier (for carrier hangars for example..)However.. it doesnt show up in game, so my question is - is it possible to just use"glow" from decorative weapons at all?