Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: mr.WHO on January 18, 2009, 10:07:01 am

Title: Icons.tbl modification - need help
Post by: mr.WHO on January 18, 2009, 10:07:01 am
I created two additional species:
-modifed terran entry
-modified shivan entry


My problem is that FS2 and FRED keeps notify me about an error that those new species don't have icons entries in icons.tbl.
I want to get rid of that error message, by using stock terran and shivan icons by those new species.

My problem is that I don't know how to modify this icons.tbl (it looks completely diffrend than sounds.tbl configuration), I'm confused.
Any help?
Title: Re: Icons.tbl modification - need help
Post by: Snail on January 18, 2009, 10:22:26 am
Your icons.tbl probably looks something like this:

Code: [Select]
#Start

; ICON_FIGHTER

;; Terran Icons

$Name: iconT-fighter ; regular
$Name: FadeiconT-fighter ; fade anim
$Name: iconhighlight04 ; highlight anim

;; Vasudan Icons

$Name: iconV-fighter ; regular
$Name: FadeiconV-fighter ; fade anim
$Name: iconhighlight04 ; highlight anim

;; Shivan Icons

$Name: iconS-fighter ; regular
$Name: FadeiconV-fighter ; fade anim
$Name: iconhighlight04 ; highlight anim

Just add two more of the same:

Code: [Select]
#Start

; ICON_FIGHTER

;; Terran Icons

$Name: iconT-fighter ; regular
$Name: FadeiconT-fighter ; fade anim
$Name: iconhighlight04 ; highlight anim

;; Vasudan Icons

$Name: iconV-fighter ; regular
$Name: FadeiconV-fighter ; fade anim
$Name: iconhighlight04 ; highlight anim

;; Shivan Icons

$Name: iconS-fighter ; regular
$Name: FadeiconV-fighter ; fade anim
$Name: iconhighlight04 ; highlight anim

;; Mod Terrans

$Name: iconT-fighter ; regular
$Name: FadeiconT-fighter ; fade anim
$Name: iconhighlight04 ; highlight anim

;; Mod Shivans

$Name: iconS-fighter ; regular
$Name: FadeiconV-fighter ; fade anim
$Name: iconhighlight04 ; highlight anim


Just do that for every icon group (icon groups denoted by ; ICON_CRUISER and ; ICON_CORVETTE and so on).
Title: Re: Icons.tbl modification - need help
Post by: mr.WHO on January 18, 2009, 01:49:12 pm
Unfortunately there is no species categories in icons.tbl, only icon type categories:

Code: [Select]
; ICON_FIGHTER
$Name: iconT-fighter ; regular
$Name: FadeiconT-fighter ; fade anim
$Name: iconhighlight04 ; highlight anim

$Name: iconV-fighter ; regular
$Name: FadeiconV-fighter ; fade anim
$Name: iconhighlight04 ; highlight anim

$Name: iconS-fighter ; regular
$Name: FadeiconS-fighter ; fade anim
$Name: iconhighlight04 ; highlight anim
Title: Re: Icons.tbl modification - need help
Post by: Droid803 on January 18, 2009, 01:50:03 pm
Just add an another set of 3 $Name: 's
Title: Re: Icons.tbl modification - need help
Post by: mr.WHO on January 18, 2009, 02:01:03 pm
It works, thanks :)
Title: Re: Icons.tbl modification - need help
Post by: Aardwolf on January 19, 2009, 11:34:48 am
In any .tbl or .tbm file, all the ; does anyway is mark a line as a comment / disabled.