IMPORTANT: Usage of id= key in [campaign] nodes
Moderator: Forum Moderators
IMPORTANT: Usage of id= key in [campaign] nodes
This message is directed to all user-made add-on makers.
The wiki formerly stated that [campaign] node's attribute id= was deprecated with the gettext i18n support introduced in the 0.x series. However, this is not correct.
The id attribute is used nowadays by the game engine to classify saved games, to determine what campaign they pertain to. Due to this misinformation published in the wiki (and removed during the clean-up, leaving id= undocumented), I had a lot of problems trying to trace back an inexistent bug. The fact is that you must use id= attribute in your [campaign] declarations.
Otherwise, your players will stumble upon saved games that display this way (or similar, i.e. "(invalid)" in red) in the left panel of "Load game" dialog: Campaign authors are encouraged to fix their content as soon as possible. Thanks.
The wiki formerly stated that [campaign] node's attribute id= was deprecated with the gettext i18n support introduced in the 0.x series. However, this is not correct.
The id attribute is used nowadays by the game engine to classify saved games, to determine what campaign they pertain to. Due to this misinformation published in the wiki (and removed during the clean-up, leaving id= undocumented), I had a lot of problems trying to trace back an inexistent bug. The fact is that you must use id= attribute in your [campaign] declarations.
Otherwise, your players will stumble upon saved games that display this way (or similar, i.e. "(invalid)" in red) in the left panel of "Load game" dialog: Campaign authors are encouraged to fix their content as soon as possible. Thanks.
Last edited by Iris on May 26th, 2008, 9:03 pm, edited 2 times in total.
Reason: De-announced it. It should be de-stickified once we reach 1.6.0.
Reason: De-announced it. It should be de-stickified once we reach 1.6.0.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
Re: IMPORTANT: Usage of id= key in [campaign] nodes
Hey, that's my campaign. W00t!
Oh wait..
Oh wait..