Appendix III - Patching STR# Resources
The STR# resource format used to store many of the strings in Nova may seem to
be incompatible with the flexible nature of plugin files. For example, a plugin
for a new ship would have to replace several of the built-in STR# resources to
incorporate its new name into the game. The problem arises when you want to use
two plugins that try to modify the same STR# resource.
The solution is not to change the STR# resources at all, but to use Novas handy
string patching functionality by updating only select strings in a STR# resource
by providing Nova with a properly-numbered 'STR ' resource. For example, to
change the first cargo type from food to something else, youd simply create a
'STR ' resource with the ID 9000 and type in the name of your new commodity. A
chart of 'STR ' resource numbers is provided below:
String Type: Replacement 'STR ' ID range:
Message buoys 1000-2500
Hail quotes 5000-5511
Stellar types 7000-7063
Base prices of commodities 9300-9305
Commodity abbreviations for status display 9400-9405
Govt-specific greetings for comm dialog 10000-12559 (first 10 for
govt -1, second 10 for
govt 0, third 10 for govt
1, etc.)
përs-resource CommQuotes 15000-15511
EDIT: What exactly are you trying to figure out? What are you trying to patch?
------------------
My (url="http://"http://www.evula.org/parrypmp")website(/url), hosted by (url="http://"http://www.evula.org")EVula(/url).
"I'm desperately trying to figure out why kamikaze pilots wore helmets." -- David Edison
"A bug in a program is merely an undocumented feature."
(This message has been edited by P-Psycho (edited 10-06-2002).)