Jump to content

Pickpocketing and animal skinning only through perks


Cubicar

Recommended Posts

Is it possible to make that the ability of pickpocketing was not active by default, but would require special perk to be taken? What is the best way to do that (in general terms)? Would it require NVSE using?

 

Is it possible to make that the ability to skin animals was not active by default, but would require special perk to be taken? Can it be done that a player would not be able to move the hide from the inventory of dead animals, or what is the best way to do that (in general terms)? Would it require NVSE using?

Edited by Cubicar
Link to comment
Share on other sites

I don't think there's a clean way to disallow pickpocketing without using NVSE. With NVSE, you can use an event handler to intercept activations on NPCs and then prevent the container interface from popping up. I'm doing this right now for a lockpick overhaul I'm making.

 

Skinning animals can be done without NVSE. Hides and meat are added to creatures as death items, which uses a system of levelled lists. You can edit these lists to only add hides and/or meat if a certain global variable is set. Then you can create a perk that sets this variable when taken. You can also take it a step further and use a perk with an activation entry to add extra options upon activating a dead animals. Plenty of possibilities here.

Link to comment
Share on other sites

You don't need NVSE for the no pickpocket there is a script already made for that. You just need to create the perk and add player.hasperk yourperk == 0 to the if statement

scn YourScript


BEGIN OnActivate

	If Player.IsSneaking && Player.HasPerk YourPerk == 0
		Return;
	Else
		Activate
	EndIf

END

Still thinking on the skinning part. I have a very simple method but having it differentiate between creature types not to sure.

 

Geoff

 

EDIT - Want to add that the vanilla script is attached to 2 holograms in dead money the cashier and bartender. How to use it for the player I have an idea but it would affect everything you try to activate while sneaking. looting containers etc. Maybe an additional statement something like

scn NVDLC01HologramNoPickPocketScript


BEGIN OnActivate

If GetIsFormType NPC == 1

	If Player.IsSneaking && player.HasPerk YourPerk == 0
		Return;
	Else
		Activate
	EndIf

EndIf

END

Attached to a new quest? Someone with more knowledge on this will correct me I'm sure. Just wanted to share what I found that had relevance to this.

Link to comment
Share on other sites

If you want to manually add that script to every NPC in the game, don't mind it not working with modded NCPs, as well as a few other issues, then yeah, that can work. :smile:

 

Yeah I realized that after posting that why I edited afterwards. I hadn't had my coffee yet lol. Check the edited info I'm not 100% if it would work.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...