More Awesome Than You!

The Bowels of Trogdor => The Large Intestines of Trogdor => Topic started by: pbox on 2010 January 15, 00:11:25



Title: Custom strings: is it safe/sane to do it this way?
Post by: pbox on 2010 January 15, 00:11:25
I just started to construct string overrides for the EAxian careers like so:

1. in the tuning XML, the entries go

<Political>
  <Title>pboxSTC_Secretary</Title>
  <stuff></stuff>
</Political>

2. then I wrote an .xml that goes
<KEY>Gameplay/Excel/Careers/Political:pboxSTC_Secretary</KEY>
<STR>Secretary</STR>

converted it with stblc (thanks for that!) and imported the resulting stbl into my package. The instance for the stbl is pulled out of thin air I actually even forgot that, it has an instance of 0.

This works for me (phew!) - I'm just not sure if it's recommended to do this kind of thing, since I see that everybody else seems to override the EAxian values (where I'm making my own keys instead). I have AM installed and my package overrides AM; haven't tested without AM yet.

Opinions?

(If it does turn out to be a viable way of doing it, I'll convert this into a more info-like post.)


Title: Re: Custom strings: is it safe/sane to do it this way?
Post by: J. M. Pescado on 2010 January 15, 01:36:06
The correct way to generate a STBL instance is basically asspull, although the first byte is used for region encoding and does not form part of the instance. The lowest-instanced STBL takes precedence.