Most recent edit on 2004-01-14 13:38:48 by VarisWiki
Additions:
{
name = "Corvette",
stringParam = "$2101",
numParam = 2,
},
{
type = "
RadioButton",
buttonStyle = "
IGButtonCorvette",
name = "Corvette",
helpTip = "$2624",
helpTipTextLabel = "lblCurrentFacility",
hotKeyID = 91,
},
Deletions:
{
name = "Corvette",
stringParam = "$2101",
numParam = 2,
},
{
type = "
RadioButton",
buttonStyle = "
IGButtonCorvette",
name = "Corvette",
helpTip = "$2624",
helpTipTextLabel = "lblCurrentFacility",
hotKeyID = 91,
},
Edited on 2004-01-14 13:37:36 by VarisWiki
Additions:
In Data\ui\newui\build\finalbuild.lua it is written:
{
type = "
RadioButton",
buttonStyle = "
IGButtonCorvette",
name = "Corvette",
helpTip = "$2624",
helpTipTextLabel = "lblCurrentFacility",
hotKeyID = 91,
},
This means that there is a DisplayFamily Corvette defined, the Vgr_lasercorvette ship is a member of this said family, and the family has its own button under the build menus. In other words, entries related to the Vaygr Laser corvettte appear under Corvette in the build menus.
Deletions:
So entries related to the Vaygr Laser corvettte appear under Corvette in the research and build menus.
Oldest known version of this page was edited on 2004-01-14 13:33:38 by VarisWiki []
Page view:
DisplayFamily is a grouping system that organizes the build and research menus. Defined in Data\scripts\familylist.lua. For example, the corvette family reads thus:
{
name = "Corvette",
stringParam = "$2101",
numParam = 2,
},
And in the ship definition file Vgr_lasercorvette.ship we have the line:
NewShipType.DisplayFamily = "Corvette"
So entries related to the Vaygr Laser corvettte appear under Corvette in the research and build menus.
Note that
DisplayFamily is not tightly connected to
BuildFamily, so you can do interesting things like mix different families and make new submenus for research and build. You can easily add your own
DisplayFamily into familylist.lua.
--
VarisWiki