More Awesome Than You!
Welcome, Guest. Please login or register.
2024 October 30, 09:28:50

Login with username, password and session length
Search:     Advanced search
540282 Posts in 18067 Topics by 6543 Members
Latest Member: tyerules
* Home Help Search Login Register
+  More Awesome Than You!
|-+  The Bowels of Trogdor
| |-+  The Large Intestines of Trogdor
| | |-+  Custom strings: is it safe/sane to do it this way?
0 Members and 1 Chinese Bot are viewing this topic. « previous next »
Pages: [1] THANKS THIS IS GREAT Print
Author Topic: Custom strings: is it safe/sane to do it this way?  (Read 8191 times)
pbox
Garrulous Gimp
**
Posts: 315


View Profile
Custom strings: is it safe/sane to do it this way?
« on: 2010 January 15, 00:11:25 »
THANKS THIS IS GREAT

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.)
Logged
J. M. Pescado
Fat Obstreperous Jerk
El Presidente
*****
Posts: 26286



View Profile
Re: Custom strings: is it safe/sane to do it this way?
« Reply #1 on: 2010 January 15, 01:36:06 »
THANKS THIS IS GREAT

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.
Logged

Grant me the serenity to accept the things I cannot change, the courage to change the things I cannot accept, and the wisdom to hide the bodies of those I had to kill because they pissed me off.
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.024 seconds with 18 queries.