MadBeardMan
April 25th, 2018, 00:14
Morning All (midnight + 10 mins here),
Been adding Vehicles to the Traveller ruleset, got that all done nicely.
However there is a lovely 'Vehicles by Type' button on the Vehicles frame.
That too is ace, but the columns need changing.
So I found the:
aListViews = {
["vehicle"] = {
["bytype"] = {
sTitleRes = "vehicle_grouped_title_bytype",
aColumns = {
{ sName = "name", sType = "string", sHeadingRes = "vehicle_grouped_label_name", nWidth=200 },
{ sName = "tl", sType = "number", sHeadingRes = "vehicle_grouped_label_tl", sTooltipRes="vehicle_grouped_tooltip_tl", bCentered=true },
{ sName = "speed", sType = "string", sHeadingRes = "vehicle_grouped_label_speed", sTooltipRes="vehicle_grouped_tooltip_speed", nWidth=100, bCentered=true },
{ sName = "cost", sType = "string", sHeadingRes = "vehicle_grouped_label_cost", nWidth=80, bCentered=true },
},
aFilters = {},
aGroups = { { sDBField = "type" } },
aGroupValueOrder = {},
},
},
};
Which is also ace, but the aListViews is not being picked up, it's using the CoreRPG default values.
How do I go about telling the ruleset to use my version?
This is the last piece I need to solve, so any help would be greatly received.
Cheers,
MBM
Been adding Vehicles to the Traveller ruleset, got that all done nicely.
However there is a lovely 'Vehicles by Type' button on the Vehicles frame.
That too is ace, but the columns need changing.
So I found the:
aListViews = {
["vehicle"] = {
["bytype"] = {
sTitleRes = "vehicle_grouped_title_bytype",
aColumns = {
{ sName = "name", sType = "string", sHeadingRes = "vehicle_grouped_label_name", nWidth=200 },
{ sName = "tl", sType = "number", sHeadingRes = "vehicle_grouped_label_tl", sTooltipRes="vehicle_grouped_tooltip_tl", bCentered=true },
{ sName = "speed", sType = "string", sHeadingRes = "vehicle_grouped_label_speed", sTooltipRes="vehicle_grouped_tooltip_speed", nWidth=100, bCentered=true },
{ sName = "cost", sType = "string", sHeadingRes = "vehicle_grouped_label_cost", nWidth=80, bCentered=true },
},
aFilters = {},
aGroups = { { sDBField = "type" } },
aGroupValueOrder = {},
},
},
};
Which is also ace, but the aListViews is not being picked up, it's using the CoreRPG default values.
How do I go about telling the ruleset to use my version?
This is the last piece I need to solve, so any help would be greatly received.
Cheers,
MBM