Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Retsof on November 09, 2008, 09:46:21 pm

Title: Trying to add breifing icons.
Post by: Retsof on November 09, 2008, 09:46:21 pm
Okay, I wasn't happy that the science vessel showed up as a cruiser in the briefings, so I made a new icon for it.  Problem is, FRED (and most likely freespace itself, haven't tried) barfs all over me for having too many briefing icons.  Solutions?
Title: Re: Trying to add breifing icons.
Post by: Droid803 on November 09, 2008, 09:48:08 pm
I'd suggest replacing one of the redundant icons, such as largeship and largeshipwing.
(which are identical to cruiser and cruiser wing anyway)
Title: Re: Trying to add breifing icons.
Post by: Retsof on November 09, 2008, 10:00:06 pm
That'll work for now, I'd still like to be able to ADD stuff though.
Title: Re: Trying to add breifing icons.
Post by: Droid803 on November 09, 2008, 10:01:51 pm
I don't think you're allowed to add any new icon types.
I'm not certain though.
Title: Re: Trying to add breifing icons.
Post by: chief1983 on November 09, 2008, 10:14:11 pm
It sounds like it's another hardcoded limit, unless there's a table somewhere that value can be changed.  The value could be modified in the code, but like many hardcoded values it could have far-reaching implications that make it not worthwhile right now.  Have any mods run into this limit before I wonder?
Title: Re: Trying to add breifing icons.
Post by: Retsof on November 09, 2008, 10:32:50 pm
Well, tried that and the name is still largeship and no icon appears.  I guess I could still have it called largship and just chage the file name in the table ... anyway here's the ani if anyone want's to play with it a little.


[attachment deleted by necromancer]
Title: Re: Trying to add breifing icons.
Post by: Droid803 on November 09, 2008, 10:41:35 pm
I just did an icon myself. (as an experiment)
It needs to have a specific pallet (only the first 15 colors can be used, the rest must be green). Just import a pallet from an existing ani.
Title: Re: Trying to add breifing icons.
Post by: Retsof on November 09, 2008, 10:53:06 pm
Right, had the same issue with sheild hud icons.
Title: Re: Trying to add breifing icons.
Post by: Galemp on November 09, 2008, 11:37:54 pm
FSPort has a bunch of new icons, including the Faustus, that you can use. They're definitely verified to work in-game.
Title: Re: Trying to add breifing icons.
Post by: haloboy100 on November 10, 2008, 01:35:32 am
So you did indeed add icons when you worked on FSPort?
Title: Re: Trying to add breifing icons.
Post by: Akalabeth Angel on November 10, 2008, 01:46:21 am
So you did indeed add icons when you worked on FSPort?

   I imagine they brought the FS1 icons over or something similar.
Title: Re: Trying to add breifing icons.
Post by: chief1983 on November 10, 2008, 09:24:28 am
I think haloboy is wondering if they set it up so it uses more than are in stock FS2, but it's more likely that they just replaced the ones they didn't need.
Title: Re: Trying to add breifing icons.
Post by: Galemp on November 10, 2008, 09:35:48 am
So you did indeed add icons when you worked on FSPort?

No, we replaced duplicated or unused icons with the new ones. The GTSC Fasutus is the Terran Large Ship, the SD Demon is the Shivan Support Ship, and the GTD Hades is the Vasudan Supercap (which is why it's Vasudan in the tables.) At present it is not possible to add new icon type entries.
Title: Re: Trying to add breifing icons.
Post by: haloboy100 on November 10, 2008, 12:31:55 pm
Ah.

Wait, a Shivan Support Ship? :wtf:
Title: Re: Trying to add breifing icons.
Post by: Galemp on November 10, 2008, 02:22:02 pm
Wait, a Shivan Support Ship? :wtf:

Well, the icon wasn't being used for anything, so I considered it an open slot.
Title: Re: Trying to add breifing icons.
Post by: Droid803 on November 10, 2008, 06:28:26 pm
But wouldn't making the Hades Vasudan change its engine glows?
Title: Re: Trying to add breifing icons.
Post by: Galemp on November 10, 2008, 06:39:39 pm
Yep. They're orange. We're handwaving it away by saying they're Terran/Shivan hybrid engines.

Although there's been some talk of just moving the Hades icon to the Terran Supercap (Colossus) slot, which would let us go Terran again. The icon set was originally created when we were maintaining compatibility with FS2.
Title: Re: Trying to add breifing icons.
Post by: Droid803 on November 10, 2008, 06:57:14 pm
Yeah...wouldn't making the Colossus Vasudan make more sense?
That we know for sure is part Vasudan :P
Title: Re: Trying to add breifing icons.
Post by: chief1983 on November 10, 2008, 07:35:53 pm
And what research do you think led to the Colossus?

(purely speculation of course)
Title: Re: Trying to add breifing icons.
Post by: Trivial Psychic on November 13, 2008, 11:28:28 pm
Isn't there a table option to override species default engine glows?  TBP uses it on many of its ships.
Title: Re: Trying to add breifing icons.
Post by: Galemp on November 14, 2008, 12:19:05 am
Not in retail... (don't get me started)
Title: Re: Trying to add breifing icons.
Post by: TrashMan on November 14, 2008, 11:21:40 am
At present it is not possible to add new icon type entries.

Which is why we have SCP...Something for the future.
Title: Re: Trying to add breifing icons.
Post by: Black Wolf on November 15, 2008, 08:47:37 pm
If you want a whole boatload of open slots you can go into Speciesdefs and define a new species "Terran Icons". As long as you copy all the terran stuff exactly, you'll have an entire species worth of empty slots. But you will need to go and put an icon in to every different type in icons.tbl, or it'll crash
Title: Re: Trying to add breifing icons.
Post by: Trivial Psychic on November 15, 2008, 10:22:45 pm
Wouldn't adding new ship classes into the objecttypes.tbl file automatically add new class slots into the icon.tbl, or is it only that I THINK it should work that way?
Title: Re: Trying to add breifing icons.
Post by: haloboy100 on November 15, 2008, 10:55:25 pm
If it was that easy, I think it'd be well known by now.