Jump to content

Enemies attacking while feared


Recommended Posts

Is this an undocumented feature of SCS? Every time I use the horror spell, I see the enemies running around like normal but also attacking my party members at regular intervals. Just now I had giant spiders (with improved spiders) webbing my guys while feared. I noticed this over several versions of SCS also. My party members don't attack anyone while under the effects of the horror spell so I figure it's SCS doing it.

Edited by MachoGrande
Link to comment

It's not an SCS-specific issue, though it may be exacerbated by SCS, and it's a bug, not a feature. Fear has to be dealt with specifically by scripts; it looks as if some enemy actions aren't being caught by SCS's scripts. Can you be more specific as to when it's happening?

Link to comment

Like I said, It seems to be anytime I use the horror spell. I first noticed it in BGEE with the latest version of SCS in my current playthrough with the Morvin ambush. The fighter/mage  Halacon guy nearly one-shotted my main character while feared with the horror spell. I saw this same behavior many times in SCS v31 on BG2 Classic. Enemies appear to be acting normally under effects of the horror spell, but they will stop to attack then start running around again. I think they would only attack guys within melee range. It's like they still get  their normal attacks per round, but are running around in fear until their turn to attack comes up again.

Edited by MachoGrande
Link to comment

Fairly typical install but who knows. Here's why weidu log. Most likely people either never use the horror spell because web/stinking cloud is superior or those that did never got in melee range, or just never reported it. This playthrough I'm using the item randomizer and have not found a web scroll so I am stuck using nothing but horror for my crowd control.

// Log of Currently Installed WeiDU Mods
// The top of the file is the 'oldest' mod
// ~TP2_File~ #language_number #component_number // [Subcomponent Name -> ] Component Name [ : Version]
~DLCMERGER/SETUP-DLCMERGER.TP2~ #0 #1 // Merge DLC into game -> "Siege of Dragonspear" DLC: 1.2
~LEUI/LEUI.TP2~ #0 #0 // lefreut's Enhanced UI - Core component: 4.0
~LEUI/LEUI.TP2~ #0 #2 // lefreut's Enhanced UI - BG2 vanilla fonts for descriptions: 4.0
~LEUI/LEUI.TP2~ #0 #3 // lefreut's Enhanced UI - Disable item comparison feature: 4.0
~LEUI/LEUI.TP2~ #0 #4 // lefreut's Enhanced UI - Reverse +/- buttons position: 4.0
~LEUI/LEUI.TP2~ #0 #5 // lefreut's Enhanced UI - Single Click to Map Travel: 4.0
~LEUI/LEUI.TP2~ #0 #9 // lefreut's Enhanced UI - Small right sidebar buttons: 4.0
~LEUI/LEUI.TP2~ #0 #10 // lefreut's Enhanced UI - Quests in journal collapsed by default: 4.0
~BGEECLASSICMOVIES/SETUP-BGEECLASSICMOVIES.TP2~ #0 #0 // Restore BG1 movies to BG:EE -> Replace all movies: v2.2.0
~BGEECLASSICMOVIES/SETUP-BGEECLASSICMOVIES.TP2~ #0 #3 // Restore BG1 Chapter and Dream Screens: v2.2.0
~A7-CONVENIENTEENPCS/SETUP-A7-CONVENIENTEENPCS.TP2~ #0 #2 // Modify Enhanced Edition NPCs -> Make all NPCs passive: v4.0
~BGEESPAWN/SETUP-BGEESPAWN.TP2~ #0 #101 // BGEE Leveling Spawns Mod: v0.6
~BG1NPC/BG1NPC.TP2~ #0 #0 // The BG1 NPC Project: Required Modifications: v24.8
~BG1NPC/BG1NPC.TP2~ #0 #10 // The BG1 NPC Project: Banters, Quests, and Interjections: v24.8
~BG1NPC/BG1NPC.TP2~ #0 #32 // The BG1 NPC Project: Branwen's Romance Core (teen content) -> Speed: 30 minutes real time minimum between LoveTalks: v24.8
~BG1NPC/BG1NPC.TP2~ #0 #156 // The BG1 NPC Project: Add Non-Joinable NPC portraits to quests and dialogues: v24.8
~BG1NPC/BG1NPC.TP2~ #0 #200 // The BG1 NPC Project: Player-Initiated Dialogues: v24.8
~RANDOMISER/RANDOMISER.TP2~ #0 #530 // Randomise scrolls: 7
~RANDOMISER/RANDOMISER.TP2~ #0 #570 // Randomise the appearance of cursed items: 7
~RANDOMISER/RANDOMISER.TP2~ #0 #1100 // Randomise items -> Mode 1: Randomise with in-game scripts. No items are lost: 7
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #60 // Weapon Animation Tweaks: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #90 // Disable Portrait Icons Added by Equipped Items: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #100 // Commoners Use Drab Colors: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #130 // Force All Dialogue to Pause Game: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #200 // Remove Blur Effect from Items, e.g. Cloack of Displacement: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1010 // More Interjections: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1036 // Make Cloakwood Areas Available Before Completing the Bandit Camp -> All of Cloakwood Except the Mines: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1060 // Breakable Iron Nonmagical Shields, Helms, and Armor: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1075 // Send BioWare NPCs to an Inn (DavidW/Zed Nocear): v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1090 // Exotic Item Pack: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1100 // Reveal City Maps When Entering Area: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1251 // Move NPCs to Convenient Locations: Move Alora to Gullykin: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1252 // Move NPCs to Convenient Locations: Move Eldoth to the Coast Way: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1253 // Move NPCs to Convenient Locations: Move Quayle to the Nashkel Carnival: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1254 // Move NPCs to Convenient Locations: Move Shar-Teel to North Nashkel Road: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1255 // Move NPCs to Convenient Locations: Move Tiax to Beregost: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #1256 // Move NPCs to Convenient Locations: Move Viconia to South Beregost Road: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2150 // Wear Multiple Protection Items -> P&P Restrictions: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2220 // Change Magically Created Weapons to Zero Weight: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2330 // Remove Delay for Magical Traps (Ardanis/GeN1e): v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #2500 // Exceptional Strength Weight Limit Changes: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3001 // Higher HP on Level Up -> NWN Style: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3070 // Change Effect of Reputation on Store Prices -> Low Reputation Store Discount (Sabre): v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3081 // Increase Ammo Stack Size -> Stacks of 40: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3091 // Increase Gem and Jewelry Stacking -> Stacks of 40: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3101 // Increase Potion Stacking -> Stacks of 40: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3111 // Increase Scroll Stacking -> Stacks of 40: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3200 // Sellable Items (Icelus): v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3230 // Taerom Makes Additional Ankheg Armor (Icendoan/grogerson): v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #3300 // Death Cam: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #4000 // Adjust Evil joinable NPC reaction rolls: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #4030 // Consistent Stats: Edwin -> Use BG Values: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #4040 // Consistent Stats: Jaheira -> Use BG Values: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #4061 // Consistent Stats: Minsc -> Use BG2 Values: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #4071 // Consistent Stats: Viconia -> Use BG2 Values: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #4080 // Make Khalid a Fighter-Mage (Domi): v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #4170 // Ensure Shar-Teel doesn't die in the original challenge: v9
~CDTWEAKS/SETUP-CDTWEAKS.TP2~ #0 #4140 // Don't Auto-Assign Advanced AI Scripting to Party: v9
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #3505 // Wider selection of random scrolls: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #3580 // Restoration and Lesser Restoration spells heal ability-score damage: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #4000 // Faster Bears: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #4051 // Decrease the rate at which reputation improves -> Reputation increases at about 1/2 the normal rate: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #4115 // Thieves assign skill points in multiples of five: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #5080 // Improved textscreens in Tales of the Sword Coast: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #5900 // Initialise AI components (required for all tactical and AI components): v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6000 // Smarter general AI: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6010 // Better calls for help: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6030 // Smarter Mages: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6040 // Smarter Priests: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6100 // Potions for NPCs: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6200 // Improved Spiders: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6300 // Smarter sirines and dryads: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6310 // Slightly smarter carrion crawlers: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #6320 // Smarter basilisks: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7010 // Tougher Black Talons and Iron Throne guards: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7020 // Improved deployment for parties of assassins: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7030 // Improved kobolds: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7040 // Relocated bounty hunters: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7050 // Improved Ulcaster: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7060 // Improved Balduran's Isle: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7070 // Improved Durlag's Tower: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7090 // Improved Cloakwood Druids: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7100 // Improved Bassilus: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7110 // Improved Drasus party: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7130 // Improved Red Wizards: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7140 // Improved Undercity assassins: v33
~STRATAGEMS/SETUP-STRATAGEMS.TP2~ #0 #7900 // Improved minor encounters: v33
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #100 // Restore innate infravision to Half-Orc characters: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #101 // Prevent skeletal and incorporeal undead from being affected by Illithids' Devour Brain attack: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #102 // Change Spiritual Hammer into a ranged force weapon: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #103 // Allow Dispel/Remove Magic to take down Globes of Invulnerability: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #117 // Allow Mages to scribe memorized spells onto scrolls -> Scrolls can only be scribed at inns and strongholds: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #120 // Restore innate disease immunity to Paladins: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #125 // Rangers' Animal Empathy improves with experience: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #130 // Additional racial traits for Dwarves: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #140 // Additional racial traits for Gnomes: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #201 // Instant casting for warrior innates: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #202 // Revised Bhaalpowers -> Enhance the Bhaalpowers and standardize their casting time: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #203 // Make druidic shapeshifting uninterruptable: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #204 // Prevent Mislead clones from singing Bard songs: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #205 // Prevent Project Image and Simulacrum clones from using quickslot items: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #211 // Make Death Ward protect against Vorpal Hits: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #210 // Restore the Dispel Magic vulnerability to Nishruu and Hakeashars: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #212 // Make alignment detection spells more accurate: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #213 // Expanded saving throw bonus tables for Dwarves, Gnomes and Halflings: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #217 // Bard songs break invisibility -> All Bard songs break invisibility: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #310 // Distinctive creature coloring: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #315 // Distinctive creature soundsets: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #510 // Expanded temple services: v4.53
~ATWEAKS/SETUP-ATWEAKS.TP2~ #0 #999 // BG2-style icons for aTweaks content: v4.53
~K9QUICKSAVE/SETUP-K9QUICKSAVE.TP2~ #0 #4 // Install 1 Quick Save Slot: v1.5

 

Link to comment

It's always been the case that creatures suffering magical fear or morale failure will occasionally swing at you if you get close enough.

It might be more noticeable with SCS because they are more often hasted (potion or spell) which gives an initiative bonus, and makes the attack more likely to resolve while they are fleeing.

Link to comment

Yeah, I can concur that, this is not SCS  issue, it happens pretty often even without it. 

EDIT: although webbing while scared is nasty thing. But not as much as webbing while under sleep, courtesy of Improved battles or Big picture...

Edited by Greenhorn
Link to comment
17 hours ago, Greenhorn said:

EDIT: although webbing while scared is nasty thing. But not as much as webbing while under sleep, courtesy of Improved battles or Big picture...

Ah, there is definitely a problem with Giant Spider scripting now that I look closely. They lack this block:

IF
	StateCheck(Myself,STATE_PANIC)
THEN
	RESPONSE #100
		RandomWalkContinuous()
END

Which most SCS enemies have at the top of their script to prevent them from using abilities while panicked.

More importantly, the implementation of their ranged web spell like ability doesn't have a proper timer or count on number of uses:

IF
	OR(2)
		Global("DMWW_spider_difficulty","GLOBAL",0)
		GlobalGT("DMWW_spider_difficulty","GLOBAL",2)
	OR(2)
		DifficultyGT(EASY)
		GlobalGT("DMWW_spider_difficulty","GLOBAL",2)
	!StateCheck(Myself,STATE_DISABLED)
	HaveSpell(INNATE_SPIDER_WEB)
	See(NearestEnemyOf(Myself))
	See(SecondNearestEnemyOf(Myself))
	See(ThirdNearestEnemyOf(Myself))
	See(FourthNearestEnemyOf(Myself))
	!GlobalTimerNotExpired("web","LOCALS")
THEN
	RESPONSE #100
		ForceSpell(NearestEnemyOf(Myself),INNATE_SPIDER_WEB)
		Continue()
	RESPONSE #100
		ForceSpell(SecondNearestEnemyOf(Myself),INNATE_SPIDER_WEB)
		Continue()
	RESPONSE #100
		ForceSpell(ThirdNearestEnemyOf(Myself),INNATE_SPIDER_WEB)
		Continue()
	RESPONSE #100
		ForceSpell(FourthNearestEnemyOf(Myself),INNATE_SPIDER_WEB)
		Continue()
	RESPONSE #300
		SetGlobalTimer("web","LOCALS",ONE_ROUND)
		Continue()
END

This can result in the spider launching multiple web tangles in the span of a second until the timer is randomly set (3 in 7 probability). Clearly the action should be:

	RESPONSE #100
		RemoveSpell(INNATE_SPIDER_WEB)
		ForceSpell(NearestEnemyOf(Myself),INNATE_SPIDER_WEB)
		Continue()

 

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...