Scripting: Other Bounties than Tamriel and Shivering Isles?

Post » Fri May 13, 2011 5:08 am

Hey this is just a quick question, is the bounty system hard coded? I've got an extra worldspace right now with its own quests, dungeon, jail, city and citizens but I want to know if it's possible to create a third bounty that displays in your stats.
Here's what I have right now on the doorway between my worldspace and tamriel.

Begin OnActivate	if IsActionRef player == 1			; player is entering another plane of Oblivion:		Player.SCAOnActor				; guards won't chase you through the door, but enemies will.		SEJailMarkerParentTamriel.Disable				; turns OFF jail markers in Tamriel and turns ON jail markers in SE		;SEJailMarkerCrucible.Enable		;SEPrisonMarkerCorpserot.Enable				; I don't want the player to leave my worldspace and be teleported to SI		If Player.GetEquipped TGGrayFoxCowl == 1			Set SECrime.EnteredSECowlOn to 1		EndIf		activate	else	activate				;This allows NPC's to still use the door.	endifEnd			;OnActivate Player/NPC


Thanks,
Haozure
User avatar
Emma louise Wendelk
 
Posts: 3385
Joined: Sat Dec 09, 2006 9:31 pm

Post » Fri May 13, 2011 4:50 pm

I don't think there is a way to add a third bounty to the menu, although mods like Oblivion XP have done similar by packaging a whole new menu file. Don't ask me how this was done. As to making guards react to it, I know Vanilla and SI bounties and guards are hardcoded to act as they do(and guards are hardcoded by a flag in their class), although I imagine with a bit of scripting and hidden quests behavior could be created. It would probably take a while.

I'm sure it wouldn't me game breaking to bite the bullet and use the vanilla bounty if you want to save some time and potential bugs.

This belongs in the CS forums as well really.
User avatar
Jaki Birch
 
Posts: 3379
Joined: Fri Jan 26, 2007 3:16 am

Post » Fri May 13, 2011 6:29 pm

A whole bunch of crime related stuff is hardcoded in Oblivion. It's a real pain to make it do anything it wasn't designed to do. Making a third bounty that is meant to be used in a third worldspace would likely require modification of the Oblivion executable file in order for Oblivion to "know" that the third bounty system exists. Of course, this same functionality can be scripted / hacked, but all you will be doing is using the regular ModCrimeGold functions and keeping track of your worldspace's bounty and switching back to Tamriel bounty when the player switches back to the Tamriel worldspace.
User avatar
Red Sauce
 
Posts: 3431
Joined: Fri Aug 04, 2006 1:35 pm

Post » Fri May 13, 2011 7:28 am

Thanks for the replies, I suppose ModCrimeGold is a good place to look! I think I'll just use the Oblivion bounty, it'll also save me some dialogue (which still scares me :( )
When you say the CS forums you mean the forums on the wiki?
User avatar
Aliish Sheldonn
 
Posts: 3487
Joined: Fri Feb 16, 2007 3:19 am


Return to IV - Oblivion