Added a separate faction to track player's rank in the Golden Sickle, fixes lack of reaction of Ark citizens to player assault

This commit is contained in:
Eddoursul 2024-01-26 06:22:46 +01:00
parent 27946c01a1
commit 09d6af2354
13 changed files with 11 additions and 18 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -175,6 +175,3 @@ Scene Property NQ_G_04_SC03_DijaamEncounter Auto
;marker ;marker
ObjectReference Property _00E_NQ_G_04_DijaamTeleportForSceneMarker Auto ObjectReference Property _00E_NQ_G_04_DijaamTeleportForSceneMarker Auto
ObjectReference Property _00E_NQ_G_04_DijaamTeleportToTavernMarker Auto ObjectReference Property _00E_NQ_G_04_DijaamTeleportToTavernMarker Auto
;for guild rank, called by TIF__00139D66
Faction Property ArkHaendlergilde Auto

View File

@ -125,10 +125,8 @@ EndFunction
Function RemovePlayerFromSickle() Function RemovePlayerFromSickle()
PlayerREF.RemoveFromFaction(ArkHaendlergilde) PlayerREF.RemoveFromFaction(ArkHaendlergildePlayer)
PlayerREF.RemoveFromFaction(ArkKontorFaction) ArkHaendlergildePlayer.SetPlayerExpelled()
ArkHaendlergilde.SetPlayerExpelled()
ArkKontorFaction.SetPlayerExpelled()
EndFunction EndFunction
@ -290,8 +288,7 @@ Scene Property NQ_G_05_SC02_CellarTalk Auto
Scene Property NQ_G_05_SC03_DijaamTalk Auto Scene Property NQ_G_05_SC03_DijaamTalk Auto
;for guild rank ;for guild rank
Faction Property ArkHaendlergilde Auto Faction Property ArkHaendlergildePlayer Auto
Faction Property ArkKontorFaction Auto
;sound for dooropen when messenger is teleported ;sound for dooropen when messenger is teleported
Sound Property DRSWoodSingleLight02OpenM Auto Sound Property DRSWoodSingleLight02OpenM Auto

View File

@ -61,8 +61,7 @@ _00E_NQ_G_01_Functions kmyQuest = __temp as _00E_NQ_G_01_Functions
;BEGIN CODE ;BEGIN CODE
SetObjectiveCompleted(10) SetObjectiveCompleted(10)
kmyQuest.FinishQuest() kmyQuest.FinishQuest()
Game.GetPlayer().SetFactionRank(ArkHaendlergilde, 0) Game.GetPlayer().SetFactionRank(ArkHaendlergildePlayer, 0)
Game.GetPlayer().SetFactionRank(ArkKontorFaction, 0)
;END CODE ;END CODE
EndFunction EndFunction
;END FRAGMENT ;END FRAGMENT
@ -77,5 +76,4 @@ EndFunction
;END FRAGMENT CODE - Do not edit anything between this and the begin comment ;END FRAGMENT CODE - Do not edit anything between this and the begin comment
Faction Property ArkHaendlergilde Auto Faction Property ArkHaendlergildePlayer Auto
Faction Property ArkKontorFaction Auto

View File

@ -16,7 +16,7 @@ Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE ;BEGIN CODE
NQ_G_04.RemoveContract() NQ_G_04.RemoveContract()
NQ_G_04.PlayerRef.SetFactionRank(NQ_G_04.ArkHaendlergilde, 1) (Game.GetForm(0x14) as Actor).SetFactionRank(ArkHaendlergildePlayer, 1)
;END CODE ;END CODE
EndFunction EndFunction
;END FRAGMENT ;END FRAGMENT
@ -24,3 +24,4 @@ EndFunction
;END FRAGMENT CODE - Do not edit anything between this and the begin comment ;END FRAGMENT CODE - Do not edit anything between this and the begin comment
_00E_NQ_G_04_Functions Property NQ_G_04 Auto _00E_NQ_G_04_Functions Property NQ_G_04 Auto
Faction Property ArkHaendlergildePlayer Auto

View File

@ -6,7 +6,7 @@ Scriptname TIF__0013CF75 Extends TopicInfo Hidden
Function Fragment_0(ObjectReference akSpeakerRef) Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE ;BEGIN CODE
If PlayerREF.IsInFaction(ArkHaendlergilde) If PlayerREF.IsInFaction(ArkHaendlergildePlayer)
GetOwningQuest().SetCurrentStageID(25) GetOwningQuest().SetCurrentStageID(25)
Else Else
GetOwningQuest().SetCurrentStageID(100) GetOwningQuest().SetCurrentStageID(100)
@ -19,4 +19,4 @@ EndFunction
Actor Property PlayerRef Auto Actor Property PlayerRef Auto
Faction Property ArkHaendlergilde Auto Faction Property ArkHaendlergildePlayer Auto

View File

@ -6,7 +6,7 @@ Scriptname TIF__0013CFA5 Extends TopicInfo Hidden
Function Fragment_0(ObjectReference akSpeakerRef) Function Fragment_0(ObjectReference akSpeakerRef)
Actor akSpeaker = akSpeakerRef as Actor Actor akSpeaker = akSpeakerRef as Actor
;BEGIN CODE ;BEGIN CODE
If PlayerREF.IsInFaction(ArkHaendlergilde) If PlayerREF.IsInFaction(ArkHaendlergildePlayer)
GetOwningQuest().SetCurrentStageID(25) GetOwningQuest().SetCurrentStageID(25)
Else Else
GetOwningQuest().SetCurrentStageID(100) GetOwningQuest().SetCurrentStageID(100)
@ -19,4 +19,4 @@ EndFunction
Actor Property PlayerRef Auto Actor Property PlayerRef Auto
Faction Property ArkHaendlergilde Auto Faction Property ArkHaendlergildePlayer Auto