Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Black Wolf on October 17, 2006, 06:09:51 am
-
Just curiopus - would these be considerably harder than autogenerating the top down icons currently used in ship selection?
-
Would it be a case of copying the Target window code and loking the view to top down?
Maybe :nervous:
-
doesnt it do that already. mind you the autogened icons dont look very good. i think im gonna move on to scripted icons, because they could look better.
-
Just curiopus - would these be considerably harder than autogenerating the top down icons currently used in ship selection?
happens automatically already, you'll know it because the shields on the auto-generated ones are square instead of circular.
-
I just use 'GenericShield' for all the models... even retail ones...
-
Autogenerated icons suck.
I should know, I spent awhile implementing them (lots of copy-pasted sort of code) and they still don't look that good. :p
If someone can do something better with scripting, I _might_ end up replacing the current effect with the C++ equivelant, if I get the time. But I would recommend a do-it-yourself approach for the time being, if it's feasible, either using Nuke's suggestion of scripting or ones cooked up by an artist.
All this is IMHO, of course, they may just be what you're looking for. They're toggleable via a ship-flag; it should be in the wiki, if not, PM me and I'll dig it up.
-
my plan was to just use a top-down image of the ship, and generate the shield quads procedurally. another way is to generate a ship icon, and render that ontop of the procedurally rendered shield quads. i could use a generic set of bitmap quads. and use gr.setOpacity() and gr.drawImage() to fade them in and out as they charge. it still calls for an image of the ship though, either created by the engine or from an image file.
-
All this is IMHO, of course, they may just be what you're looking for. They're toggleable via a ship-flag; it should be in the wiki, if not, PM me and I'll dig it up.
I'm not actually "looking for" anything - I make my own shield anis. But I did notice a few screenies of... I think the Starfox mod, using generic Herc or whatever anis, and wondered if shield anis could be a autogenerated.