The forum has been set to read-only mode. For community discussion and questions, head over to our Discord: https://discord.taleoftwowastelands.com
[Mod Request] Cowboy perk affects double barrel shotguns
-
CrusaderTheFirst
- Posts: 55
- Joined: Thu Oct 22, 2015 7:29 am
[Mod Request] Cowboy perk affects double barrel shotguns
I know there's probably a mod or two out there that does this but none of them add the TTW double barrel shotgun and pa's fishing aid to the list of weapons affected by cowboy. I was just hoping for someone to make a mod that makes cowboy perk affect all the break-action shotguns including the double barrel shotgun and pa's fishing aid.
- EyeDeck
- Posts: 30
- Joined: Mon Dec 29, 2014 8:44 pm
Re: [Mod Request] Cowboy perk affects double barrel shotguns
This is a very simple thing to do quickly xEdit. Here's what I did:
[link]
If I were going to release it as a "proper" mod, I would probably write a little script that added the new weapons onto the cowboy formlist with AddFormToFormlist, since there's no way for a user to mess installation up that way—or at least give the option between direct FormList edits and a scripted version—but for personal use I always just do direct edits and resolve any conflicts with a manual patch.
- Look in the list of perks in FalloutNV.esm and sort by name, to find Cowboy
- Look in the perk to find what formlist of weapons the bonus is applied to (PerkCowboyWeapons)
- Copy that formlist as an override into a new plugin (making sure we use TTW's version of the formlist so we don't bash all of its changes)
- Go find the 20ga formlist (AmmoList20Ga) and see what weapons use it
- Make note of which things in the "referenced by" list look appropriate:
- WeapNVCaravanShotgun "Caravan Shotgun" [WEAP:000CD53A]
- WeapNVSingleShotgun "Single Shotgun" [WEAP:000E393B]
- WeapPreordCaravanShotgun "Sturdy Caravan Shotgun" [WEAP:001735E3]
- Repeat with the 12ga formlist:
- WeapShotgunSawedOff "Sawed-Off Shotgun" [WEAP:0000434C]
- WeapShotgunSawedOffUnique "Big Boomer" [WEAP:001673CD]
- WeapShotgunSawedOffDC "Sawed-Off Shotgun" [WEAP:0600434C]
- WeapUniqueKneecapper "The Kneecapper" [WEAP:0606B53A]
- DLC04WeapShotgun "Double-Barrel Shotgun" [WEAP:0A007473]
- DLC04WeapUniquePasFishingAid "Pa's Fishing Aid" [WEAP:0A00D5B3]
- Add each of those to the PerkCowboyWeapons formlist we found earlier and save
[link]
If I were going to release it as a "proper" mod, I would probably write a little script that added the new weapons onto the cowboy formlist with AddFormToFormlist, since there's no way for a user to mess installation up that way—or at least give the option between direct FormList edits and a scripted version—but for personal use I always just do direct edits and resolve any conflicts with a manual patch.
- RoyBatty
- Gary
- Posts: 7742
- Joined: Sun Apr 27, 2014 10:26 am
- Location: Vault 108
Re: [Mod Request] Cowboy perk affects double barrel shotguns
Don't script those things, it's bad, this is not Skyrim and the practice is wrong.
AddFormToFormList makes it so the mod cannot be uninstalled if someone added something from another thing with it, or in this case it would be permanent. Also it removes user choice, which is never nice.
AddFormToFormList makes it so the mod cannot be uninstalled if someone added something from another thing with it, or in this case it would be permanent. Also it removes user choice, which is never nice.

- EyeDeck
- Posts: 30
- Joined: Mon Dec 29, 2014 8:44 pm
Re: [Mod Request] Cowboy perk affects double barrel shotguns
Fair enough; I suppose I should've written ListAddForm instead since TTW requires NVSE anyway—Papyrus has spoiled me and it's been a few years since I last thought about the old engines. That said, I'd still probably offer the option of either a scripted, or base edit version. Even on the newer engines I still prefer base edits myself since I like being able to tweak things and don't mind spending time in xEdit, but I know that there are always a good percentage of users who can't be bothered with that and prefer to use something that "just works".
- RoyBatty
- Gary
- Posts: 7742
- Joined: Sun Apr 27, 2014 10:26 am
- Location: Vault 108
Re: [Mod Request] Cowboy perk affects double barrel shotguns
Yeap, it's always best to do the edits for user choice.
In the FNV community we try not to coddle users too much, then they get really entitled and demanding and we waste more time making patches for them than actually doing what we enjoy and creating new content. It should be on users to learn a little and deal with their own modded game which is never going to be the same as someone elses. It doesn't make any sense at all to encourage that, we are not in game studios with a product that is set in stone with no variation.
In the FNV community we try not to coddle users too much, then they get really entitled and demanding and we waste more time making patches for them than actually doing what we enjoy and creating new content. It should be on users to learn a little and deal with their own modded game which is never going to be the same as someone elses. It doesn't make any sense at all to encourage that, we are not in game studios with a product that is set in stone with no variation.
