Skip to content

[Info Request] BG:EE and BG2:EE Area Types (new areas) List Anywhere?

cmorgancmorgan Member Posts: 707
Hello again -

Do we have a list similar to http://gibberlings3.net/iesdp/appendices/area_lists/bg2aref.htm that lists the new areas used in BG:EE and BG2:EE?

Even more importantly, is there a list of the area flags associated with these areas?

I am tying to simplify things in my mod to use FL_INN.tpa from atweaks-v440b3, so that I can use area type flagging for dialogues and "at rest" exits that have custom content. I am hoping that I can do something like

IF ~~ c-aran_rest
SAY ~[ARAN] Aye. Have a good night.~
IF ~!AreaType(FL_INN) !AreaType(DUNGEON) !AreaType(OUTDOOR) !AreaCheck("AR4500") ~ THEN DO ~ClearAllActions() StartCutSceneMode() StartCutScene("c-arnblk")~ /* Fade To Black */
IF ~AreaCheck("AR4500") ~ THEN DO DO ~ClearAllActions() StartCutSceneMode() StartCutScene("c-restpp")~ /* PocketPlane */
IF ~AreaType(OUTDOOR)~ THEN DO ~ClearAllActions() StartCutSceneMode() StartCutScene("c-restco")~ /* Camping Out */
IF ~AreaType(DUNGEON)~ THEN DO ~ClearAllActions() StartCutSceneMode() StartCutScene("c-restdg")~ /* Dungeon */
IF ~AreaType(FL_INN)~ THEN DO ~ClearAllActions() StartCutSceneMode() StartCutScene("c-restin")~ /* Inn */
END
This type of construction can be done easily for most mods by just regular resting, but if I want the "rest" to not allow triggering of vanilla or other mod-added dreamscript content, including even stuff from within my own mod, I need to run a custom cutscene that does the same thing without using the in-game "rest".

So before I go poking through all the oh######.are files and such, is there a list somewhere of both .are name and flagged types?

Comments

  • cmorgancmorgan Member Posts: 707
    No luck them... Ah, Miloch, how I miss thee, old friend - time to fire up NI and DLTCEP.

    Suprisingly, I have found lots of pre-existing patching weidu code that deals with areas, but it looks like no one has anything pre-built that greps the existing .are and lists the bits already set for area type flagging. Even Wisp's cool FL_INN and _STRONGHOLD relies on pre-defined arrays of areas.
  • cmorgancmorgan Member Posts: 707
    OK, from a vanilla patch 1.3 BG2:EE install,

    OH4000.ARE is flagged 0b01010111 (87); [OUTDOOR] [DAYNIGHT] [WEATHER] [ 0 ] [FOREST] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH4010.ARE is flagged 0b00010111 (23); [OUTDOOR] [DAYNIGHT] [WEATHER] [ 0 ] [FOREST] [ 0 ] [ 0 ] [ 0 ]
    OH4100.ARE is flagged 0b01000011 (67); [OUTDOOR] [DAYNIGHT] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH4101.ARE is flagged 0b01000010 (66); [ 0 ] [DAYNIGHT] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH4200.ARE is flagged 0b01010111 (87); [OUTDOOR] [DAYNIGHT] [WEATHER] [ 0 ] [FOREST] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH4210.ARE is flagged 0b00100000 (32); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [DUNGEON] [ 0 ] [ 0 ]
    OH4220.ARE is flagged 0b10100000 (160); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [DUNGEON] [ 0 ] [CANRESTOTHER]
    OH4230.ARE is flagged 0b10100000 (160); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [DUNGEON] [ 0 ] [CANRESTOTHER]
    OH4290.ARE is flagged 0b00010011 (19); [OUTDOOR] [DAYNIGHT] [ 0 ] [ 0 ] [FOREST] [ 0 ] [ 0 ] [ 0 ]
    OH5000.ARE is flagged 0b00000000 (0); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ]
    OH5100.ARE is flagged 0b11010111 (215); [OUTDOOR] [DAYNIGHT] [WEATHER] [ 0 ] [FOREST] [ 0 ] [EXTENDEDNIGHT] [CANRESTOTHER]
    OH5110.ARE is flagged 0b00100000 (32); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [DUNGEON] [ 0 ] [ 0 ]
    OH5120.ARE is flagged 0b00000000 (0); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ]
    OH5200.ARE is flagged 0b11010111 (215); [OUTDOOR] [DAYNIGHT] [WEATHER] [ 0 ] [FOREST] [ 0 ] [EXTENDEDNIGHT] [CANRESTOTHER]
    OH5300.ARE is flagged 0b11010011 (211); [OUTDOOR] [DAYNIGHT] [ 0 ] [ 0 ] [FOREST] [ 0 ] [EXTENDEDNIGHT] [CANRESTOTHER]
    OH5400.ARE is flagged 0b00010101 (21); [OUTDOOR] [ 0 ] [WEATHER] [ 0 ] [FOREST] [ 0 ] [ 0 ] [ 0 ]
    OH5500.ARE is flagged 0b00000001 (1); [OUTDOOR] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ]
    OH6000.ARE is flagged 0b01010111 (87); [OUTDOOR] [DAYNIGHT] [WEATHER] [ 0 ] [FOREST] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH6010.ARE is flagged 0b01001011 (75); [OUTDOOR] [DAYNIGHT] [ 0 ] [CITY] [ 0 ] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH6100.ARE is flagged 0b01010111 (87); [OUTDOOR] [DAYNIGHT] [WEATHER] [ 0 ] [FOREST] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH6200.ARE is flagged 0b01010111 (87); [OUTDOOR] [DAYNIGHT] [WEATHER] [ 0 ] [FOREST] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH6300.ARE is flagged 0b00000000 (0); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ]
    OH6400.ARE is flagged 0b11000011 (195); [OUTDOOR] [DAYNIGHT] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [EXTENDEDNIGHT] [CANRESTOTHER]
    OH6450.ARE is flagged 0b01000011 (67); [OUTDOOR] [DAYNIGHT] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH6460.ARE is flagged 0b00000000 (0); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ]
    OH6500.ARE is flagged 0b01000010 (66); [ 0 ] [DAYNIGHT] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH7000.ARE is flagged 0b10100000 (160); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [DUNGEON] [ 0 ] [CANRESTOTHER]
    OH7100.ARE is flagged 0b10100000 (160); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [DUNGEON] [ 0 ] [CANRESTOTHER]
    OH7200.ARE is flagged 0b10100000 (160); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [DUNGEON] [ 0 ] [CANRESTOTHER]
    OH7300.ARE is flagged 0b10100000 (160); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [DUNGEON] [ 0 ] [CANRESTOTHER]
    OH7310.ARE is flagged 0b00000001 (1); [OUTDOOR] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ]
    OH8000.ARE is flagged 0b00000000 (0); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ]
    OH8100.ARE is flagged 0b00000000 (0); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ]
    OH8200.ARE is flagged 0b01000011 (67); [OUTDOOR] [DAYNIGHT] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH8300.ARE is flagged 0b01000111 (71); [OUTDOOR] [DAYNIGHT] [WEATHER] [ 0 ] [ 0 ] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH8400.ARE is flagged 0b01000111 (71); [OUTDOOR] [DAYNIGHT] [WEATHER] [ 0 ] [ 0 ] [ 0 ] [EXTENDEDNIGHT] [ 0 ]
    OH9000.ARE is flagged 0b10000000 (128); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [CANRESTOTHER]
    OH9100.ARE is flagged 0b00100000 (32); [ 0 ] [ 0 ] [ 0 ] [ 0 ] [ 0 ] [DUNGEON] [ 0 ] [ 0 ]
  • AedanAedan Member, Translator (NDA) Posts: 8,551
    Perhaps we should try to summon him?

    @Miloch, come to me! Help the brave @cmorgan in his quest!
  • cmorgancmorgan Member Posts: 707
    Heh! Miloch is the Official Area List Person in my book :) I think the Mega Install folks, like Lollorian, have a really strong list too - and it includes mod areas. I should go track that down.

    In the meantime, the data is there for folks. I don't know if anyone has done a full bg2ee cmp var treatment or not. I know the BG:EE ones were done.
Sign In or Register to comment.