Modifié par Lazarus Magni, 30 juillet 2011 - 11:15 .
Global Pick Pocket nerf?
Débuté par
Lazarus Magni
, juil. 30 2011 07:37
#1
Posté 30 juillet 2011 - 07:37
I have tried a couple of the anti-pick pocket scripts off the vault, but they don't seem to work for NPCs. My PW used to have such a system, but it doesn't seem to be functioning any longer, nor can I find it. There are 1000's of custom creatures on the server so going through them 1 by one to remove PP skill is tedious to say the least. I have gotten most of them, but would love to institute a global system for peice of mind on any that were missed. Can anyone point me in the right direction?
#2
Posté 30 juillet 2011 - 02:38
It seems odd to need to change an NPCs PP skill that way, but if you're using NWNX you could just add a line to the generic (nw_c2_default9, or whatever replacement script you use) to set the pick pocket skill to zero.
In the windows version, it would just need this:
NWNXFuncs_SetSkill (OBJECT_SELF, SKILL_PICK_POCKET, 0);
In the windows version, it would just need this:
NWNXFuncs_SetSkill (OBJECT_SELF, SKILL_PICK_POCKET, 0);
#3
Posté 30 juillet 2011 - 04:48
or in nw_c2_default9 script check if the OBJECT_SELF has any base pickpocket rank and is so apply -50 penalty and print the creature resreg/name into log so you can find her and edit it manually
other than that old letoscript can do this too, but there are no tutorials and probably even a place where you can download it (i have the offline version in my door system package at vault but it doesnt do this unless you are able to rewrite that leto-script)
other than that old letoscript can do this too, but there are no tutorials and probably even a place where you can download it (i have the offline version in my door system package at vault but it doesnt do this unless you are able to rewrite that leto-script)
#4
Posté 30 juillet 2011 - 07:51
Thanks for the info you two. I will look into these options. It's too bad the systems on the vault only work for PCs, there are some decent ones on there. Why is it odd though Failed Bard? And I am in fact using nwnx (windows), and have the nwnx_functions plugin installed so this might be a good solution if I can just add that line to the on spawn event scripts used.
#5
Posté 30 juillet 2011 - 09:18
its odd because the issue with pickpocket is that you can use it withouth hostility on neutral PC so you have lower DC, but NPC cannot ake advantage of this
Second, NPCs often dont have enough pickpocket to always overcome DC and if they do, then its maybe builders(yours) intend?
It makes sense only if you care of the item size/etc. But those are details, that not many bother with.
Second, NPCs often dont have enough pickpocket to always overcome DC and if they do, then its maybe builders(yours) intend?
It makes sense only if you care of the item size/etc. But those are details, that not many bother with.
#6
Posté 30 juillet 2011 - 10:32
Would it be easier to set most items where they cant be pickpocketed?
#7
Posté 30 juillet 2011 - 10:36
I may be a bit off, but can't you use the onmodload handle to set items above XXX gold value where they can't be pickpocketed?
#8
Posté 30 juillet 2011 - 11:52
I could not tell you Baragg, but FB's solution is working beautifully with maxrock's nwnx_funcs plugin (for windows.) Thank you all!
#9
Posté 31 juillet 2011 - 01:42
Lazarus Magni wrote...
Thanks for the info you two. I will look into these options. It's too bad the systems on the vault only work for PCs, there are some decent ones on there. Why is it odd though Failed Bard? And I am in fact using nwnx (windows), and have the nwnx_functions plugin installed so this might be a good solution if I can just add that line to the on spawn event scripts used.
I've just never seen a mod where non-DM controlled NPCs would pick-pocket outside of scripted events. Glad to hear the NWNX function is working for you, though.
Baragg wrote...
I may be a bit off, but can't you use the onmodload handle to set items above XXX gold value where they can't be pickpocketed?
It's the OnAquire script you do that in. I use this in the one for my little mod.
object oItem = GetModuleItemAcquired ();
if (GetWeight (oItem) >= 30) SetPickpocketableFlag (oItem, FALSE);
Weight is in 1/10ths of a pound, so in this case any item over 3 pounds is set as unpick-pocketable the moment any PC or NPC "aquires" it, which they do on spawning (npc) or entering the game world (pc).
Modifié par Failed.Bard, 31 juillet 2011 - 01:45 .





Retour en haut







