peterb
June 14th, 2023, 15:40
If you are using a campaign extension you need to update your myscript.lua (or whatever name you have given the script that allows you to override settings in BRP) due to changes/fixes in the latest release of the ruleset.
The local array Gameline has an element called "WeaponTypes" that used to be defined as follows:
WeaponTypes = {
["0"] = "Melee",
["1"] = "Missile",
["2"] = "Heavy",
["3"] = "Artillery",
["4"] = "Explosive"
It must now be defined in this way:
WeaponTypes = {
"Melee",
"Missile",
"Heavy",
"Artillery",
"Explosive"
The local array Gameline has an element called "WeaponTypes" that used to be defined as follows:
WeaponTypes = {
["0"] = "Melee",
["1"] = "Missile",
["2"] = "Heavy",
["3"] = "Artillery",
["4"] = "Explosive"
It must now be defined in this way:
WeaponTypes = {
"Melee",
"Missile",
"Heavy",
"Artillery",
"Explosive"