[Info Request] BG:EE and BG2:EE Area Types (new areas) List Anywhere?
cmorgan
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
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?
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
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".
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
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?
0
Comments
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.
@Miloch, come to me! Help the brave @cmorgan in his quest!
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.