Ambrosia Garden Archive
    • String Resources


      Okay, what exactly is the difference between "STR" resources and "STR#" resources? EV comes with STR# resources built into the game, but when making a plugin I am supposed to make them STRs. What seperates the two resources?

      ------------------
      --ares
      "I'm going to live my life by the ideals that my hippy forefathers refused to go to war and fight for." -- Homer Simpson
      Check out my EV website: (url="http://"http://home.cfl.rr.com/aresev/")The Legion(/url).

    • str# is a string table, whereas str is a single string. using str allows you to overwrite a single string from an str# resource w/o having to replace the whole resource. personally, i find it easier to just work with the str#s, but strs work better if you use plug checker or so etwas

      ------------------
      if you find yourself in bed with a raving lunatic, don't worry: looks can be deceiving, it's probably not me

    • If you're familiar at all with programming, STR#s are like arrays of STRs. EV allows STRs of certain values to "patch" particular STR#s.

      Example: STR# 8102 stores the test messages associated with Mission-related Öopses, such as the one that occurs after the Diphidia mission string. If you're making a plug-in that just has one Öops in it, you don't want to have to copy the entire STR#. So, you get the Bible and look up which STR is used to patch that string. Turns out it's STR 6000 + Öops Index number (that is, the Öops ID# - 128). So, you add an STR resource with the appropriate ID# that contains the text you want to show up.

      ------------------
      "She said, 'Honey, you know I gave up cigarrettes for my new-year's resolution... but I didn't give up SMOKIN'!"
      -- The Blues Brothers, "I Don't Know"
      Bounty Plus, Final Battle and the Annotated Bibles
      idisk: andyg