Hard Light Productions Forums

Modding, Mission Design, and Coding => The FRED Workshop => Topic started by: HLD_Prophecy on November 26, 2017, 07:11:40 pm

Title: How to clear the intel database?
Post by: HLD_Prophecy on November 26, 2017, 07:11:40 pm
How do I clear the default entries from the intel database? I mean what goes under the "intelligence" tab, not weapons or ships. Do I have to make a .tbm with the default entries set to not show? Or can I just make a blank .tbl file, wouldn't that overwrite the defaults?
Title: Re: How to clear the intel database?
Post by: Mito [PL] on November 27, 2017, 02:25:19 pm
I think there are SEXPs that allow you to manipulate your tech room stuff. I think one of them was tech-add-intel (http://wiki.hard-light.net/index.php?title=Tech-add-intel&action=edit&redlink=1).
Title: Re: How to clear the intel database?
Post by: HLD_Prophecy on November 28, 2017, 08:15:43 am
I think there are SEXPs that allow you to manipulate your tech room stuff. I think one of them was tech-add-intel (http://wiki.hard-light.net/index.php?title=Tech-add-intel&action=edit&redlink=1).

But I want the entries cleared from the beginning, when the player first boots up the mod. Thanks for the suggestion, though. :)
Title: Re: How to clear the intel database?
Post by: AdmiralRalwood on November 28, 2017, 08:36:15 pm
But I want the entries cleared from the beginning, when the player first boots up the mod.
http://wiki.hard-light.net/index.php/Ships.tbl#.22in_tech_database.22
http://wiki.hard-light.net/index.php/Weapons.tbl#.22in_tech_database.22
Those flags determine what's in the techroom at the start.
Title: Re: How to clear the intel database?
Post by: headdie on November 29, 2017, 02:41:57 am
to clear the default intel entries you need to create a blank [Species.tbl] in your mod (http://wiki.hard-light.net/index.php/Species.tbl)
Title: Re: How to clear the intel database?
Post by: 0rph3u5 on November 29, 2017, 03:50:25 am
to clear the default intel entries you need to create a blank [Species.tbl] in your mod
 (http://wiki.hard-light.net/index.php/Species.tbl)

... or just change the $AlwaysInTechRoom value of existing entries to 0.
Title: Re: How to clear the intel database?
Post by: HLD_Prophecy on November 29, 2017, 01:45:17 pm
Thanks guys!
Title: Re: How to clear the intel database?
Post by: HLD_Prophecy on November 30, 2017, 01:25:59 pm
Looks like a blank Species.tbl was, in fact, all that was needed.