lexx 1408 Posted December 21, 2014 (edited) Hello all. Can someone tell me how to check if a unit is dead or alive? Just a joke... The real question is: I have multiple missions that are connected to one campaign. This setup works, no problems, etc. Now I have a few text strings that are being used in every mission of that campaign, but I don't want to edit every single mission file every time I am changing something in that text string. The best solution for this issue would be to have one "global" stringtable file that covers these strings... I have no idea how to do this, though, or if this is possible at all. BIS is using the stringtable.xml which can be found inside all the languages_*.pbo files. So yeah... can I do something similar with my campaign missions? It's really annoying having to edit every file, not to forget that this is a source of typing errors / slightly different texts at different times. /Edit: Damn, I just found out that this actually works if I put my stringtable into my campaign top folder. They won't be read for the mission editor if I haven't started the campaign at least once, but other than that it works... Not optimal, but better than nothing, I'll guess. Of course I am still open for other ideas / solutions, if there are any. My guess is, the stringtable must be read at game start. Is that possible to do without extra addon? Edited December 21, 2014 by Lexx Share this post Link to post Share on other sites
Undeceived 392 Posted December 22, 2014 I have the same question, so I dare to bump this one here. (sorry Lexx, I don't have the answer. :) ) EDIT: One idea could be to create a stringtable for every mission and then, when all is done, copy & paste them in the main one. But yeah... Way too complex and you might lose the overview quite easily. Share this post Link to post Share on other sites
lexx 1408 Posted December 23, 2014 Yeah, bad solution. Thought of the same. Also @ my variant posted above with putting the stringtable into my campaign top folder... Well, turns out it gets only read if I actually *start* the campaign first. So if I run the game, go into the campaigns tab, none of the strings will be visible. Only if I start a random mission of that campaign the stringtable file gets loaded. So yeah... best approach would be to load the file at game startup. But how, if not in an extra addon? Share this post Link to post Share on other sites
Undeceived 392 Posted December 23, 2014 I went with single stringtables for every mission for now, until we find out a solution. Share this post Link to post Share on other sites
lexx 1408 Posted December 23, 2014 But for me this is bad because I want to use the mission title and description text in multiple places. I just won't edit these in every file manually, it's madness. On the other hand, if I am forced to make a custom add on just for the correct display of the strings at the initial game start, then I might as well put some other assets into it as well... I'd actually love to have bicycles on Altis. :> My stuff isn't for the MANW contest, so it wouldn't matter much.... Still, I don't like this solution at all. Share this post Link to post Share on other sites
lexx 1408 Posted December 24, 2014 Well, turns out I am a bit stupid. I simply turned my campaign into an Addon now. This means I'll have to rebuild the pbo file all the time, but that's still better than having to copy&paste text in many files whenever I am changing a word. The mission dialog lines, etc. are still in the mission specific stringtable, so it's all ok for me. Problem solved good enough. Share this post Link to post Share on other sites