(Simpler) Late DB Attack

Questions specific to OpenMW-CS can be asked, and content development related topics can be discussed here
Post Reply
User avatar
wareya
Posts: 338
Joined: 09 May 2015, 13:07

(Simpler) Late DB Attack

Post by wareya »

The most recommended DB attack delay mod, http://www.nexusmods.com/morrowind/mods/14891/? , has such strong restrictions that despite my character being a very high level and having cured corpus, no dark brotherhood assassins have come to attack me yet. To me, this is too different from the vanilla behavior. It's nearly impossible to fulfill any of these conditions at a low level, and the script obviously shows that attacks at low levels were accounted for, even as low as level 1. Also if you run around killing high level famous NPCs I'm pretty sure the attacks would begin in a real world.

My attack delay mod works the same way, but the conditions are much more flexible:

1) If you start doing the main quest and get far enough that spies might become aware of you and your background (completing the Informant quest, the one with the puzzle box)
2) If you start the backdoor quest
3) If you beat the final boss, even if the backdoor and main quest aren't started
4) If you become level 5 or higher (so that the attacks start if you run around looting red mountain or something else that would trigger suspicion in a real world but isn't accounted for by the above three conditions)

The DB will only attack if at least one of these four conditions is true.

I didn't actually test conditions 1/2/3, but I'm pretty sure they're right.

Relevant code:

Code: Select all

short goodtogo
set goodtogo to 0

; Index 5 of this quest is the earliest point in the main
; quest that the protagonist is expected to talk to anyone
; about the Nerevarine prophecies.
; However, if a newbie gets assaulted by assassins on the
; way to the dungeon, and they never got assaulted by
; assassins before, it be SUPER janky, so I'll use the
; "gave the puzzle box to Antabolis" index instead.
if ( GetJournalIndex A1_2_AntabolisInformant >= 10 )
	set goodtogo to 1
endif
; We can also do it if they're doing the backdoor.
if ( GetJournalIndex CX_BackPath > 0 )
	set goodtogo to 1
endif
; If they somehow completed the main quest without
; doing any of the above (which is entirely possible)
; we should account for that, too.
if ( GetJournalIndex C3_DestroyDagoth == 50 )
	set goodtogo to 1
endif
; Alternatively, we can assume the protagonist is "good to go"
; if they're high enough level.
if ( player->GetLevel >= 5 )
	set goodtogo to 1
endif

if ( goodtogo == 0 )
	return
endif
Attachments
Late DB Attack.zip
(1.83 KiB) Downloaded 363 times
User avatar
SmartGuar
Posts: 45
Joined: 04 Aug 2017, 20:33

Re: (Simpler) Late DB Attack

Post by SmartGuar »

wareya wrote: 05 Apr 2017, 03:17 The most recommended DB attack delay mod, http://www.nexusmods.com/morrowind/mods/14891/? , has such strong restrictions that despite my character being a very high level and having cured corpus, no dark brotherhood assassins have come to attack me yet. To me, this is too different from the vanilla behavior. It's nearly impossible to fulfill any of these conditions at a low level, and the script obviously shows that attacks at low levels were accounted for, even as low as level 1. Also if you run around killing high level famous NPCs I'm pretty sure the attacks would begin in a real world.
Your idea sounds very good, so why don't you upload your mod to the modding sites like Nexusmods? Maybe your mod even works in the .esp format. :)
Also, there's the mod "The Road to Mournhold" which I haven't tried yet. It adds a quest to get to Mournhold without waiting for the assassins.
User avatar
wareya
Posts: 338
Joined: 09 May 2015, 13:07

Re: (Simpler) Late DB Attack

Post by wareya »

I'm too lazy for that. Anybody is free to modify and repost this elsewhere though, it's super basic.
Post Reply