Avenger Posted September 5, 2009 Share Posted September 5, 2009 After the happiness field at 0x2a in saved npcs there are 24 unknown dwords. According to Taimon's notes (i checked them too), these fields are checked by NumTimesInteracted* triggers. Apparently this is a matrix (distributed across the npcs) with npc vs npc interact counts. In any case, the fields are not unknown anymore. The ids are determined by interact.2da This implies that the maximum row/column size of interact.2da is 24 Link to comment
Miloch Posted September 5, 2009 Share Posted September 5, 2009 This implies that the maximum row/column size of interact.2da is 24Doh? I expanded it to 34 or so (rows and columns) for DSotSC. Don't think I broke anything with it, but I'm not certain the new entries work either. Does the engine really need to check for NumTimesInteracted for BG-style interparty banters (compliments, insults, etc.)? I thought they just fired kind of randomly. Link to comment
devSin Posted September 6, 2009 Share Posted September 6, 2009 You can look, but I don't think they actually get stored (I don't recall any BG/TotSC GAM where any of these were ever nonzero, but I guess I never really payed attention to every single byte). The NumTimesInteracted() trigger wasn't ever used for anything, so no loss in the original game. Link to comment
Avenger Posted September 6, 2009 Author Share Posted September 6, 2009 That's why i wrote that those fields are not unknown, at least. They are unused (but formerly used for something we know from bg1). This is the same category as area links embedded in the area header. Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.