Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

Recommended Posts

This is a script I wrote that mimics the effect of the Gray Cowl in Oblivion, when attached to an article of clothing. I wanted to share this with the TESA Community, so use it as you see fit, but I do request that you never repost the source on another website (preferrably just link them to this page) and to give credit if you use this in a published mod.

 

When equipped by the player (it does not function on NPCs), the player will have a separate list of bounties for each hold (and any other vanilla crime factions). They will not stop fighting you, if you are already resisting arrest (I could probably tweak it to do that if someone would like though).

 

I'll try to add a demonstration video when time allows.

 

To use this script:

  • Attach it to an Article of clothing
  • Open the Properties Window and use the Auto-Fill button
  • Click "Edit" on each of the Integers (you can just leave them at 0, but if you want the Gray fox to start out with a bounty like he did in oblivion, modify the "Fake" integers (the "Real" ones are the ones that store your regular bounties).
  • You do not need to do anything else; all variables are stored internally and factions already exist, so there's no need to define any external variables.

 

 

Scriptname GFGrayCowlCrimeScript extends ObjectReference

Faction Property CrimeFactionEastmarch Auto
Faction Property CrimeFactionCidhnaMine Auto
Faction Property CrimeFactionFalkreath Auto
Faction Property CrimeFactionGreybeard Auto
Faction Property CrimeFactionHaafingar Auto
Faction Property CrimeFactionHjaalmarch Auto
Faction Property CrimeFactionImperial Auto
Faction Property CrimeFactionKhajiitCaravans Auto
Faction Property CrimeFactionOrcs Auto
Faction Property CrimeFactionPale Auto
Faction Property CrimeFactionReach Auto
Faction Property CrimeFactionRift Auto
Faction Property CrimeFactionSons Auto
Faction Property CrimeFactionThievesGuild Auto
Faction Property CrimeFactionWhiterun Auto
Faction Property CrimeFactionWinterhold Auto

int Property GFCrimeGoldRealCidhnaMine Auto
int Property GFCrimeGoldRealEastmarch Auto
int Property GFCrimeGoldRealFalkreath Auto
int Property GFCrimeGoldRealGreybeard Auto
int Property GFCrimeGoldRealHaafingar Auto
int Property GFCrimeGoldRealHjaalmarch Auto
int Property GFCrimeGoldRealImperial Auto
int Property GFCrimeGoldRealKhajiitCaravans Auto
int Property GFCrimeGoldRealOrcs Auto
int Property GFCrimeGoldRealPale Auto
int Property GFCrimeGoldRealReach Auto
int Property GFCrimeGoldRealRift Auto
int Property GFCrimeGoldRealSons Auto
int Property GFCrimeGoldRealThievesGuild Auto
int Property GFCrimeGoldRealWhiterun Auto
int Property GFCrimeGoldRealWinterhold Auto

int Property GFCrimeGoldRealCidhnaMineViolent Auto
int Property GFCrimeGoldRealEastmarchViolent Auto
int Property GFCrimeGoldRealFalkreathViolent Auto
int Property GFCrimeGoldRealGreybeardViolent Auto
int Property GFCrimeGoldRealHaafingarViolent Auto
int Property GFCrimeGoldRealHjaalmarchViolent Auto
int Property GFCrimeGoldRealImperialViolent Auto
int Property GFCrimeGoldRealKhajiitCaravansViolent Auto
int Property GFCrimeGoldRealOrcsViolent Auto
int Property GFCrimeGoldRealPaleViolent Auto
int Property GFCrimeGoldRealReachViolent Auto
int Property GFCrimeGoldRealRiftViolent Auto
int Property GFCrimeGoldRealSonsViolent Auto
int Property GFCrimeGoldRealThievesGuildViolent Auto
int Property GFCrimeGoldRealWhiterunViolent Auto
int Property GFCrimeGoldRealWinterholdViolent Auto

int Property GFCrimeGoldFakeCidhnaMine Auto
int Property GFCrimeGoldFakeEastmarch Auto
int Property GFCrimeGoldFakeFalkreath Auto
int Property GFCrimeGoldFakeGreybeard Auto
int Property GFCrimeGoldFakeHaafingar Auto
int Property GFCrimeGoldFakeHjaalmarch Auto
int Property GFCrimeGoldFakeImperial Auto
int Property GFCrimeGoldFakeKhajiitCaravans Auto
int Property GFCrimeGoldFakeOrcs Auto
int Property GFCrimeGoldFakePale Auto
int Property GFCrimeGoldFakeReach Auto
int Property GFCrimeGoldFakeRift Auto
int Property GFCrimeGoldFakeSons Auto
int Property GFCrimeGoldFakeThievesGuild Auto
int Property GFCrimeGoldFakeWhiterun Auto
int Property GFCrimeGoldFakeWinterhold Auto

int Property GFCrimeGoldFakeCidhnaMineViolent Auto
int Property GFCrimeGoldFakeEastmarchViolent Auto
int Property GFCrimeGoldFakeFalkreathViolent Auto
int Property GFCrimeGoldFakeGreybeardViolent Auto
int Property GFCrimeGoldFakeHaafingarViolent Auto
int Property GFCrimeGoldFakeHjaalmarchViolent Auto
int Property GFCrimeGoldFakeImperialViolent Auto
int Property GFCrimeGoldFakeKhajiitCaravansViolent Auto
int Property GFCrimeGoldFakeOrcsViolent Auto
int Property GFCrimeGoldFakePaleViolent Auto
int Property GFCrimeGoldFakeReachViolent Auto
int Property GFCrimeGoldFakeRiftViolent Auto
int Property GFCrimeGoldFakeSonsViolent Auto
int Property GFCrimeGoldFakeThievesGuildViolent Auto
int Property GFCrimeGoldFakeWhiterunViolent Auto
int Property GFCrimeGoldFakeWinterholdViolent Auto

Event OnEquipped(Actor akActor)
if akActor == Game.GetPlayer()
;=======================Save Original Bounties============================
;NON VIOLENT BOUNTIES
GFCrimeGoldRealCidhnaMine = CrimeFactionCidhnaMine.GetCrimeGoldNonViolent()
GFCrimeGoldRealEastmarch = CrimeFactionEastmarch.GetCrimeGoldNonViolent()
GFCrimeGoldRealFalkreath = CrimeFactionFalkreath.GetCrimeGoldNonViolent();
GFCrimeGoldRealGreybeard = CrimeFactionGreybeard.GetCrimeGoldNonViolent()
GFCrimeGoldRealHaafingar = CrimeFactionHaafingar.GetCrimeGoldNonViolent()
GFCrimeGoldRealHjaalmarch = CrimeFactionHjaalmarch.GetCrimeGoldNonViolent()
GFCrimeGoldRealImperial = CrimeFactionImperial.GetCrimeGoldNonViolent()
GFCrimeGoldRealKhajiitCaravans = CrimeFactionKhajiitCaravans.GetCrimeGoldNonViolent()
GFCrimeGoldRealOrcs = CrimeFactionOrcs.GetCrimeGoldNonViolent()
GFCrimeGoldRealPale = CrimeFactionPale.GetCrimeGoldNonViolent()
GFCrimeGoldRealReach = CrimeFactionReach.GetCrimeGoldNonViolent()
GFCrimeGoldRealRift = CrimeFactionRift.GetCrimeGoldNonViolent()
GFCrimeGoldRealSons = CrimeFactionSons.GetCrimeGoldNonViolent()
GFCrimeGoldRealThievesGuild = CrimeFactionThievesGuild.GetCrimeGoldNonViolent()
GFCrimeGoldRealWhiterun = CrimeFactionWhiterun.GetCrimeGoldNonViolent()
GFCrimeGoldRealWinterhold = CrimeFactionWinterhold.GetCrimeGoldNonViolent()
;VIOLENT BOUNTIES
GFCrimeGoldRealCidhnaMineViolent = CrimeFactionCidhnaMine.GetCrimeGoldViolent()
GFCrimeGoldRealEastmarchViolent = CrimeFactionEastmarch.GetCrimeGoldViolent()
GFCrimeGoldRealFalkreathViolent = CrimeFactionFalkreath.GetCrimeGoldViolent();
GFCrimeGoldRealGreybeardViolent = CrimeFactionGreybeard.GetCrimeGoldViolent()
GFCrimeGoldRealHaafingarViolent = CrimeFactionHaafingar.GetCrimeGoldViolent()
GFCrimeGoldRealHjaalmarchViolent = CrimeFactionHjaalmarch.GetCrimeGoldViolent()
GFCrimeGoldRealImperialViolent = CrimeFactionImperial.GetCrimeGoldViolent()
GFCrimeGoldRealKhajiitCaravansViolent = CrimeFactionKhajiitCaravans.GetCrimeGoldViolent()
GFCrimeGoldRealOrcsViolent = CrimeFactionOrcs.GetCrimeGoldViolent()
GFCrimeGoldRealPaleViolent = CrimeFactionPale.GetCrimeGoldViolent()
GFCrimeGoldRealReachViolent = CrimeFactionReach.GetCrimeGoldViolent()
GFCrimeGoldRealRiftViolent = CrimeFactionRift.GetCrimeGoldViolent()
GFCrimeGoldRealSonsViolent = CrimeFactionSons.GetCrimeGoldViolent()
GFCrimeGoldRealThievesGuildViolent = CrimeFactionThievesGuild.GetCrimeGoldViolent()
GFCrimeGoldRealWhiterunViolent = CrimeFactionWhiterun.GetCrimeGoldViolent()
GFCrimeGoldRealWinterholdViolent = CrimeFactionWinterhold.GetCrimeGoldViolent()
;================================================================
;=======================Set Gray Fox Bounty============================
;NON VIOLENT BOUNTIES
CrimeFactionEastmarch.SetCrimeGold(GFCrimeGoldFakeEastmarch)
CrimeFactionCidhnaMine.SetCrimeGold(GFCrimeGoldFakeCidhnaMine)
CrimeFactionFalkreath.SetCrimeGold(GFCrimeGoldFakeFalkreath)
CrimeFactionGreybeard.SetCrimeGold(GFCrimeGoldFakeGreybeard)
CrimeFactionHaafingar.SetCrimeGold(GFCrimeGoldFakeHaafingar)
CrimeFactionHjaalmarch.SetCrimeGold(GFCrimeGoldFakeHjaalmarch)
CrimeFactionImperial.SetCrimeGold(GFCrimeGoldFakeImperial)
CrimeFactionKhajiitCaravans.SetCrimeGold(GFCrimeGoldFakeKhajiitCaravans)
CrimeFactionOrcs.SetCrimeGold(GFCrimeGoldFakeOrcs)
CrimeFactionPale.SetCrimeGold(GFCrimeGoldFakePale)
CrimeFactionReach.SetCrimeGold(GFCrimeGoldFakeReach)
CrimeFactionRift.SetCrimeGold(GFCrimeGoldFakeRift)
CrimeFactionSons.SetCrimeGold(GFCrimeGoldFakeSons)
CrimeFactionThievesGuild.SetCrimeGold(GFCrimeGoldFakeThievesGuild)
CrimeFactionWhiterun.SetCrimeGold(GFCrimeGoldFakeWhiterun)
CrimeFactionWinterhold.SetCrimeGold(GFCrimeGoldFakeWinterhold)
;VIOLENT BOUNTIES
CrimeFactionEastmarch.SetCrimeGoldViolent(GFCrimeGoldFakeEastmarchViolent)
CrimeFactionCidhnaMine.SetCrimeGoldViolent(GFCrimeGoldFakeCidhnaMineViolent)
CrimeFactionFalkreath.SetCrimeGoldViolent(GFCrimeGoldFakeFalkreathViolent)
CrimeFactionGreybeard.SetCrimeGoldViolent(GFCrimeGoldFakeGreybeardViolent)
CrimeFactionHaafingar.SetCrimeGoldViolent(GFCrimeGoldFakeHaafingarViolent)
CrimeFactionHjaalmarch.SetCrimeGoldViolent(GFCrimeGoldFakeHjaalmarchViolent)
CrimeFactionImperial.SetCrimeGoldViolent(GFCrimeGoldFakeImperialViolent)
CrimeFactionKhajiitCaravans.SetCrimeGoldViolent(GFCrimeGoldFakeKhajiitCaravansViolent)
CrimeFactionOrcs.SetCrimeGoldViolent(GFCrimeGoldFakeOrcsViolent)
CrimeFactionPale.SetCrimeGoldViolent(GFCrimeGoldFakePaleViolent)
CrimeFactionReach.SetCrimeGoldViolent(GFCrimeGoldFakeReachViolent)
CrimeFactionRift.SetCrimeGoldViolent(GFCrimeGoldFakeRiftViolent)
CrimeFactionSons.SetCrimeGoldViolent(GFCrimeGoldFakeSonsViolent)
CrimeFactionThievesGuild.SetCrimeGoldViolent(GFCrimeGoldFakeThievesGuildViolent)
CrimeFactionWhiterun.SetCrimeGoldViolent(GFCrimeGoldFakeWhiterunViolent)
CrimeFactionWinterhold.SetCrimeGoldViolent(GFCrimeGoldFakeWinterholdViolent)
;================================================================
endIf
endEvent

Event OnUnequipped(Actor akActor)
if akActor == Game.GetPlayer()
;=======================Save Gray Fox Bounties===========================
;NON VIOLENT BOUNTIES
GFCrimeGoldFakeCidhnaMine = CrimeFactionCidhnaMine.GetCrimeGoldNonViolent()
GFCrimeGoldFakeEastmarch = CrimeFactionEastmarch.GetCrimeGoldNonViolent()
GFCrimeGoldFakeFalkreath = CrimeFactionFalkreath.GetCrimeGoldNonViolent();
GFCrimeGoldFakeGreybeard = CrimeFactionGreybeard.GetCrimeGoldNonViolent()
GFCrimeGoldFakeHaafingar = CrimeFactionHaafingar.GetCrimeGoldNonViolent()
GFCrimeGoldFakeHjaalmarch = CrimeFactionHjaalmarch.GetCrimeGoldNonViolent()
GFCrimeGoldFakeImperial = CrimeFactionImperial.GetCrimeGoldNonViolent()
GFCrimeGoldFakeKhajiitCaravans = CrimeFactionKhajiitCaravans.GetCrimeGoldNonViolent()
GFCrimeGoldFakeOrcs = CrimeFactionOrcs.GetCrimeGoldNonViolent()
GFCrimeGoldFakePale = CrimeFactionPale.GetCrimeGoldNonViolent()
GFCrimeGoldFakeReach = CrimeFactionReach.GetCrimeGoldNonViolent()
GFCrimeGoldFakeRift = CrimeFactionRift.GetCrimeGoldNonViolent()
GFCrimeGoldFakeSons = CrimeFactionSons.GetCrimeGoldNonViolent()
GFCrimeGoldFakeThievesGuild = CrimeFactionThievesGuild.GetCrimeGoldNonViolent()
GFCrimeGoldFakeWhiterun = CrimeFactionWhiterun.GetCrimeGoldNonViolent()
GFCrimeGoldFakeWinterhold = CrimeFactionWinterhold.GetCrimeGoldNonViolent()
;VIOLENT BOUNTIES
GFCrimeGoldFakeCidhnaMineViolent = CrimeFactionCidhnaMine.GetCrimeGoldViolent()
GFCrimeGoldFakeEastmarchViolent = CrimeFactionEastmarch.GetCrimeGoldViolent()
GFCrimeGoldFakeFalkreathViolent = CrimeFactionFalkreath.GetCrimeGoldViolent();
GFCrimeGoldFakeGreybeardViolent = CrimeFactionGreybeard.GetCrimeGoldViolent()
GFCrimeGoldFakeHaafingarViolent = CrimeFactionHaafingar.GetCrimeGoldViolent()
GFCrimeGoldFakeHjaalmarchViolent = CrimeFactionHjaalmarch.GetCrimeGoldViolent()
GFCrimeGoldFakeImperialViolent = CrimeFactionImperial.GetCrimeGoldViolent()
GFCrimeGoldFakeKhajiitCaravansViolent = CrimeFactionKhajiitCaravans.GetCrimeGoldViolent()
GFCrimeGoldFakeOrcsViolent = CrimeFactionOrcs.GetCrimeGoldViolent()
GFCrimeGoldFakePaleViolent = CrimeFactionPale.GetCrimeGoldViolent()
GFCrimeGoldFakeReachViolent = CrimeFactionReach.GetCrimeGoldViolent()
GFCrimeGoldFakeRiftViolent = CrimeFactionRift.GetCrimeGoldViolent()
GFCrimeGoldFakeSonsViolent = CrimeFactionSons.GetCrimeGoldViolent()
GFCrimeGoldFakeThievesGuildViolent = CrimeFactionThievesGuild.GetCrimeGoldViolent()
GFCrimeGoldFakeWhiterunViolent = CrimeFactionWhiterun.GetCrimeGoldViolent()
GFCrimeGoldFakeWinterholdViolent = CrimeFactionWinterhold.GetCrimeGoldViolent()
;================================================================
;=======================Set Original Bounty==============================
;NON VIOLENT BOUNTIES
CrimeFactionEastmarch.SetCrimeGold(GFCrimeGoldRealEastmarch)
CrimeFactionCidhnaMine.SetCrimeGold(GFCrimeGoldRealCidhnaMine)
CrimeFactionFalkreath.SetCrimeGold(GFCrimeGoldRealFalkreath)
CrimeFactionGreybeard.SetCrimeGold(GFCrimeGoldRealGreybeard)
CrimeFactionHaafingar.SetCrimeGold(GFCrimeGoldRealHaafingar)
CrimeFactionHjaalmarch.SetCrimeGold(GFCrimeGoldRealHjaalmarch)
CrimeFactionImperial.SetCrimeGold(GFCrimeGoldRealImperial)
CrimeFactionKhajiitCaravans.SetCrimeGold(GFCrimeGoldRealKhajiitCaravans)
CrimeFactionOrcs.SetCrimeGold(GFCrimeGoldRealOrcs)
CrimeFactionPale.SetCrimeGold(GFCrimeGoldRealPale)
CrimeFactionReach.SetCrimeGold(GFCrimeGoldRealReach)
CrimeFactionRift.SetCrimeGold(GFCrimeGoldRealRift)
CrimeFactionSons.SetCrimeGold(GFCrimeGoldRealSons)
CrimeFactionThievesGuild.SetCrimeGold(GFCrimeGoldRealThievesGuild)
CrimeFactionWhiterun.SetCrimeGold(GFCrimeGoldRealWhiterun)
CrimeFactionWinterhold.SetCrimeGold(GFCrimeGoldRealWinterhold)
;VIOLENT BOUNTIES
CrimeFactionEastmarch.SetCrimeGoldViolent(GFCrimeGoldRealEastmarchViolent)
CrimeFactionCidhnaMine.SetCrimeGoldViolent(GFCrimeGoldRealCidhnaMineViolent)
CrimeFactionFalkreath.SetCrimeGoldViolent(GFCrimeGoldRealFalkreathViolent)
CrimeFactionGreybeard.SetCrimeGoldViolent(GFCrimeGoldRealGreybeardViolent)
CrimeFactionHaafingar.SetCrimeGoldViolent(GFCrimeGoldRealHaafingarViolent)
CrimeFactionHjaalmarch.SetCrimeGoldViolent(GFCrimeGoldRealHjaalmarchViolent)
CrimeFactionImperial.SetCrimeGoldViolent(GFCrimeGoldRealImperialViolent)
CrimeFactionKhajiitCaravans.SetCrimeGoldViolent(GFCrimeGoldRealKhajiitCaravansViolent)
CrimeFactionOrcs.SetCrimeGoldViolent(GFCrimeGoldRealOrcsViolent)
CrimeFactionPale.SetCrimeGoldViolent(GFCrimeGoldRealPaleViolent)
CrimeFactionReach.SetCrimeGoldViolent(GFCrimeGoldRealReachViolent)
CrimeFactionRift.SetCrimeGoldViolent(GFCrimeGoldRealRiftViolent)
CrimeFactionSons.SetCrimeGoldViolent(GFCrimeGoldRealSonsViolent)
CrimeFactionThievesGuild.SetCrimeGoldViolent(GFCrimeGoldRealThievesGuildViolent)
CrimeFactionWhiterun.SetCrimeGoldViolent(GFCrimeGoldRealWhiterunViolent)
CrimeFactionWinterhold.SetCrimeGoldViolent(GFCrimeGoldRealWinterholdViolent)
;================================================================
endIf
endEvent

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. 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.

 Share

×
×
  • Create New...