I noticed some additional bugs during the initial siege of West Harbor:
-Tarmas never reaches his wheat field location after the spiders are killed, because the pathfinding AI in this game is as bad as in ME2 and DAO. To fix, re-apply a delayed (DelayCommand) ActionForceMoveToObject or ActionForceMoveToLocation every 0.5 seconds until he reaches the destination (may take 50 commands!) or simply ActionJump him ToObject (ActionJumpToObject):
11_cs_tarmas.NSS:
AssignCommand(oTarmas, ActionJumpToObject(GetWaypointByTag("11_wp_tarmas_farm")));
-As far as I understand, Tarmas is not supposed to re-generate his spells every round after the fight with the Githyanki mage:
11_b_tarmas_hb.NSS, changed like this:
if(!GetLocalInt(OBJECT_SELF, "bInCutscene"))
{
//if (GetLocalInt(GetModule(),"11_shield_on")==1)
if (GetLocalInt(OBJECT_SELF,"bSpidersDead")!=1)
{
ForceRest(OBJECT_SELF);
}
}
-Tarmas's Magic Missile deals absolutely no damage against the enemies in the wheat field. I have no idea why. Big Mystery! If anybody understands what the hell is going on, please let me know
-Tarmas is distracted when going to the wheat field after the spiders are dead. He stops to fight every single enemy in the village. But since his spells don't deal any damage and since the enemies are set as immortal and undamageable until the AllowFight triggers are triggered, he simply gets stuck. Faction problem. Check out the original script (11_cs_tarmas.NSS):
case 5: //tarmas goes to the farm
//he goes neutral so as not to get distracted
// ChangeToStandardFaction(oTarmas,STANDARD_FACTION_DEFENDER);
ChangeFaction(oTarmas, oPig);
"STANDARD_FACTION_DEFENDER" is worth **** in this context! So I changed him to Lewi's dead pig faction (neutral faction). Is changed to "STANDARD_FACTION_DEFENDER" in 11_tr_charge.NSS anyway when the first wave of wheat field enemies appears. If you simply actionjump him to the wheat field after the spiders are dead, he'll teleport there instantly and bypass the enemies in the village anyway.
- Spelling bug in 11_a_georg_lv.nss:
object oGirl = GetObjectByTag("11_figher1");
It's "11_figh
ter1", not "11_figher1".
-The militia girl in green ("11_militia2") bumps into another guy when taking position in the wheat field and gets stuck on the way there. Add additional delayed movement command, 11_a_georg_lv.NSS:
DelayCommand(1.0f,AssignCommand(GetObjectByTag("11_militia2"), ActionForceMoveToLocation(GetLocation(GetWaypointByTag("11_farm_stop2")), TRUE)));
Others bump into world objects and each other as well and get stuck too. Fix through 11_tr_charge.NSS
//just as a precaution, cause pathfinding is once again an issue!
AssignCommand(GetObjectByTag("npc_tarmas"), ActionJumpToObject(GetWaypointByTag("11_wp_tarmas_farm")));
AssignCommand(GetObjectByTag("11_militia2"), ActionJumpToObject(GetWaypointByTag("11_farm_stop2")));
etc etc - do this for everybody