Removing Skills & Feats
Odo
Member Posts: 4
Hello!
I've just begun work on a PW project, and would like to eliminate pickpocket entirely. I should also add that I know next to nothing about scripting, but I am very interested in learning at least the basics!
My question is: What is the easiest way to go about just completely removing the pickpocket skill from my module? I've tried editing the skills.2da, and just wiping out the pickpocket line altogether. Would that work? I also then wasn't sure how to convert that into a .hak file to import into the module.
Any help or tips would be greatly appreciated. Thank you!
I've just begun work on a PW project, and would like to eliminate pickpocket entirely. I should also add that I know next to nothing about scripting, but I am very interested in learning at least the basics!
My question is: What is the easiest way to go about just completely removing the pickpocket skill from my module? I've tried editing the skills.2da, and just wiping out the pickpocket line altogether. Would that work? I also then wasn't sure how to convert that into a .hak file to import into the module.
Any help or tips would be greatly appreciated. Thank you!
1
Comments
My next problem, that I'm seeming to have no luck with, is removing the pickpocket command from the radial menu, so the skill can't be used at all. Is such a thing even possible?
Dealing with pickpocket is on my todo list, but I have not started on it.
I believe most of what you need to script will be in the OnAcquireItem module event script.
Since you mention knowing nothing about scripting, @TarotRedhand has a great starter guide.
After getting the basics down, the pseudo code for blocking pick-pocketing would be:
Check if item GetStolenFlag() is true.
Check if GetModuleItemAcquiredFrom() is a PC.
If both of those checks come back true, return the item to the player and optionally inform the taker that it's not allowed.
You can also just ask me to script it for you, and I'll totally do it because I enjoy scripting—and was planing on doing it eventually anyway.
BUT, I'm also hoping that someone else, who knows more about it, will comment.
The Starting Point - module building tutorials for beginners - and where to find them
It is full of links to various tutorials. For learning to script I would recommend these from those mentioned-
Hope that helps.
TR
I don't know if that's hard-coded or not. If not it will probably involve editing one or more 2da files. Unless someone on here gives you a good answer, give the vault forums a try.
TR
@ForSerious If you truly wouldn't mind creating the pickpocket script you have in mind, I would really appreciate that. So far, my fixes to the skill haven't really produced the results I'm happy with, and I also feel like editing 2da files isn't the best way to go about this.
In skills.2da put a 0 in column AllClassesCanUse and also put a 0 in column ClassSkill for the various thief classes (rogue, assassin, ...).
That would not make the icon go away but you should get a message like 'Can't use that skill' whenever you click the icon. Also you could overwrite the pickpocket icon with a blank one.
I just realized we forgot to mention that unless you want to do what @Kamiryn mentioned here, you don't need a hakpack for this. Putting modified 2da files in the override folder of your game server machine will put those changes in effect for all players that join the server. As long as you don't allow local characters, no one would be able to get ranks in pick pocket, so they would never be able to use it.
So, you probably wouldn't need any scripting. My attempt so far has blocked items being pick pocketed, but not gold. I forgot to set up a test for stacked items. Either way, my script is mainly so that players can still pick pocket NPCs and monsters. Not quite what you're asking for.
@ForSerious, thank you as well for letting me know about the override folder option. While I would like to eventually put a script in place that would allow PC's to pickpocket NPC's, for the time being, just removing the whole thing will work best. The dang skill is just too broken for a MP setting, and causes too much drama for my liking.