Author Topic: Tables and briefing icons  (Read 1861 times)

0 Members and 1 Guest are viewing this topic.

Offline ReeNoiP

  • 27
  • I FRED
Tables and briefing icons
I'm trying to add some extra icons to the briefing, but I'm not sure how to put it into the tables. I know they go to icons.tbl and the structure of the input (define regular,fade and highlight for terran, vasudan and shivan version), but I can't seem to add to the list in FRED. For instance:

Code: [Select]
; ICON_CAPITAL
$Name: icont-cap ; regular
$Name: Fadeicont-Cap ; fade anim
$Name: iconhighlight06 ; highlight anim

$Name: iconv-cap ; regular
$Name: Fadeiconv-Cap ; fade anim
$Name: iconhighlight06 ; highlight anim

$Name: icons-cap ; regular
$Name: Fadeicons-Cap ; fade anim
$Name: iconhighlight06 ; highlight anim

; Extra_capships
; SD Ravana
$Name: SDavana ; regular
$Name: Fade_SDRavana ; fade anim
$Name: iconhighlight07

; SD Ravana
$Name: SDavana.ani ; regular
$Name: Fade_SDRavana ; fade anim
$Name: iconhighlight07

; SD Ravana
$Name: SDavana.ani ; regular
$Name: Fade_SDRavana ; fade anim
$Name: iconhighlight07

; ICON_PLANET
$Name: iconplanet ; regular
$Name: FadeiconPlanet ; fade anim
$Name: iconhighlight03 ; highlight anim

$Name: iconplanet ; regular
$Name: FadeiconPlanet ; fade anim
$Name: iconhighlight03 ; highlight anim

$Name: iconplanet ; regular
$Name: FadeiconPlanet ; fade anim
$Name: iconhighlight03 ; highlight anim


Puts my new inserts my new icons as Planet in FRED and bumps everything below it down (planet icon becomes asteroid etc.). If I put the entry at the bottom of the table they don't show up at all.

What I would really like is to make a extra_icons.tbm, containing all the necessary inputs to use the icons. But I'm not sure if that is possible.
Uncharted Territory is released. But I still need voice actors

  

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Re: Tables and briefing icons
In short, it's not possible at the moment.

The icons.tbl is almost completely hardcoded, in that you can only control (via tables) which entry links to which effects file. There are a hardcoded number of entries that the game will allow. These are the ones you see in the briefing editor in FRED (Gas Miner, Knossos Device, Planet, Asteroid etc.). Each entry points to an effects file (well, files, that is Fade, Bitmap and Highlight) which is what you see in-game.

What's more all of these entries have some specific traits, for example Unknown will always show the 3D-question mark when clicked, Asteroids will ways show the Asteroid ship type when clicked, and the planet can't be clicked at all no matter what you do with the table.

Anyway the point is, you can't add any new entries, only modify existing ones. Fortunately a lot of them are duplicates. You could probably swap Largeship and Largeship Wing (which point to the same effects as Cruiser and Cruiser Wing) off for your own icons. Any other built-in icons you never use such as Support Ship or Transport Wing can also be replaced.


I think this has been changed in newer builds, or at least will be changed soon. For now you'll have to settle with modifying the given ones unless you can find a build with a dynamic icons.tbl. Which AFAIK doesn't exist. Yet.

 

Offline ReeNoiP

  • 27
  • I FRED
Re: Tables and briefing icons
Oh that's too bad. I was making icons to match the different ships. No more having the Lucifer represent a Ravana etc.
Uncharted Territory is released. But I still need voice actors

 

Offline Snail

  • SC 5
  • 214
  • Posts: ☂
Re: Tables and briefing icons
Oh that's too bad. I was making icons to match the different ships. No more having the Lucifer represent a Ravana etc.
Keep at it! I'm sure the SCP will find a way for this to be possible soon if they haven't already.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Tables and briefing icons
There has work towards this end but it has never been completed
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Tables and briefing icons
It's hardcoded but you can have a set per species. Just add new species which are clones (ie. Shivan2, Terran2, Vasudan2). For each one you can have an entire new set of icons :P

This is very much a hack-job though.
(´・ω・`)
=============================================================

 

Offline ReeNoiP

  • 27
  • I FRED
Re: Tables and briefing icons
I have made icons for the following ships now:
SD Ravana
SD Demon
SC Rakshasa
GTC Aeolus
GTF Pegasus
GTtca Hestia (needed it for Uncharted Territory  :p)
GVD Typhoon

If you want them, you can grab them here.

I noticed a icons for some ships can be found in fsport, so I won't make those. I'm not sure if different fighter types are really needed either.

Anyway thanks for the idea about replacing repeated entries. At least I can use the icons now.
Uncharted Territory is released. But I still need voice actors

 

Offline Aardwolf

  • 211
  • Posts: 16,384
Re: Tables and briefing icons
I have made icons for the following ships now:
SD Ravana
SD Demon
SC Rakshasa
GTC Aeolus
GTF Pegasus
GTtca Hestia (needed it for Uncharted Territory  :p)
GVD Typhoon

If you want them, you can grab them here.

I noticed a icons for some ships can be found in fsport, so I won't make those. I'm not sure if different fighter types are really needed either.

Anyway thanks for the idea about replacing repeated entries. At least I can use the icons now.

Aeolus? Aeolus already existed. And there's no such thing as GVD Typhoon. It's got a different spelling because it's a different word, with a different meaning.

 

Offline ReeNoiP

  • 27
  • I FRED
Re: Tables and briefing icons
 :ick: Typhon then.
Uncharted Territory is released. But I still need voice actors