Ambrosia Garden Archive
    • Compgov fields in EV and EVO


      I have noticed a little inconsistency between the EV bible and EV data files with respect to the compgov field. I wanted to confirm exactly what the situation was.

      In the EV bible it says that the compgov field should have govt number 0-127 in it. In the EV data files I notice they use the govt resource ID (i.e. 128-255).

      In EVO the bible says the same thing but the data files seem to reflect this i.e. numbers 0-127.

      My questions are a) Is the EV bible wrong in this respect? 🆒 What happens in EVO if you have, say, 128 in the compgovt field (as might happen if you were converting some EV data to EVO)?

      Thanks

      ------------------
      Its amazing how "tsk, tsik, nik" can mean anything from "There's a bomb in the bus, get help!" to "I'm hungry, feed me"
      In case of ambiguity about anything I say - choose the nicest interpretation.

    • 0-127, in this case, probably refers to the Index IDs instead of the Resource IDs. Check the "Game Constants" at the beginning of the bible for more info. Entering a number below 128 in a ResID field can seriously F*** your OS.

      ------------------
      Warning: Signatures in mirror are closer than they appear.
      (url="http://"http://www.AmbrosiaSW.com/cgi-bin/ubb/search.cgi?action=intro&default;=26")Search the Webboards(/url) | (url="http://"http://www.AmbrosiaSW.com/games/evn/addons.html")EVN Addons(/url) | (url="http://"http://www.winternet.com/~mikelr/flame1.html")Flame Warriors(/url) | (url="http://"http://www.evula.com")EVula's Site(/url) | (url="http://"http://www.joecartoon.com")JoeCartoon(/url) | (url="http://"http://www.tekzoned.com")TekZoned(/url) | (url="http://"http://macaddict.com")MacAddict(/url) | (url="http://"http://www.maximonline.com")Maxim(/url) | (url="http://"http://users.pandora.be/p0p0/youare.swf")Useful Link(/url)

      (This message has been edited by Neon Soldier (edited 09-29-2002).)

    • To clarify - this is a question about how EV/O interprets the field. Looking at EV Data shows that govt res IDs seem to be used, despite what the bible says. Looking at EVO Data 1 shows that govt index IDs seem to be used, in accordance with what the EVO (and EV) bible says.

      ------------------
      Its amazing how "tsk, tsik, nik" can mean anything from "There's a bomb in the bus, get help!" to "I'm hungry, feed me"
      In case of ambiguity about anything I say - choose the nicest interpretation.

    • Like Neon Soldier says, Matt Burch is probably reffering to the index numbers, which go from 0-xxx

      ResIDs go from 128-xxx.

      ------------------
      "My karma ran over my dogma."

    • Actually, ResIDs go from -32768 to 32767. However, touching any below 128 is not recommended as it screws things up.

      ------------------
      Why are you all looking at me like that?