Gibberlings3 / BG1NPC

The BG1 NPC Project adds a great deal of content by expanding the depth of character and levels of interaction with the NPCs from the Baldur's Gate game. Requires Tutu, BGT, or BGEE.
https://www.gibberlings3.net/mods/npcs/bg1npc/
47 stars 24 forks source link

Xzar's Quest: druid should spawn together #56

Closed Gitjas closed 4 years ago

Gitjas commented 4 years ago

I'm testing out Xzar's questline at the moment. I tried encountering the three druids on various maps. They tend not to spawn or stay together, which makes the Dialogue a bit. Blackberry comes up to talk to you, but Storm and Zosya are elsewhere on the map. If you had somehow already explored those areas, then the camera jumps to them, and you just look at the fog, without them actually being visible. If you have not yet discovered their area, then the camera stays on Blackberry. (randomwalk?...)

Reported by Thels https://forums.beamdog.com/discussion/comment/1043409/#Comment_1043409

Gitjas commented 4 years ago

This is probably because all three are spawned by CreateCreatureObjectOffScreen() (in x#xzdqu.baf), which lets the engine place them arbitrarily outside the visual range. Then, Storm and Zosya start walking towards Blackberry, not the group, which might let them wander outside the visual range.

I changed this locally so that all three start walking towards the group.

If that doesn't solve the problem, this could be fixed by spawning x#black first and have the other two spawn by his side by CreateCreatureObject("xxx","blackberry",0,0,0).

Gitjas commented 4 years ago

changes merged with 2.5ee branch.