Fallout 4
0 of 0

File information

Last updated

Original upload

Created by

mmacola

Uploaded by

mmacola1

Virus scan

Safe to use

Tags for this mod

About this mod

Adds Glow Sights to the PBW - The 9mm Pistol by Alexerator

Requirements
Permissions and credits
Changelogs
ELI5: This contains some modified assets (nifs) from the (obviously required) mod and an ESL-Flagged ESP. Enjoy!



Basic: Adds some new properties to the 9mm barrels' models and completes the cut glowsights model. The esp adds the new sight and updates the attachments to reflect these changes (no balance changes).



Advanced (Learn how to add glow sights (or anything really) to moving parts):

1 - Using NifSkope, added 2 new BSConnectPoints::Parents to every barrel,


 named P-Dot (for the rear sight) and P-Frontsight (I wonder what is this one for?),



 all having the WeaponBolt ninode as their parent (as that is the weapon Slide's ninode that is animated when shooting, reloading, etc)



The P-Dot's position didn't really matter in this circumstance, but the P-Frontsight had to be unique for each barrel, since they all have different front sight positions. I chose to have them be slightly before the front ironsight, as one would expect.

You should also note that, if your weapon is supposed to have their iron sights elsewhere (say, on different receivers), that's where you'll need to put these

2 - Since these BSConnectPoints::Parents have a ninode (WeaponBolt) as their parent, their position need to account for any difference from origin that ninode might have 

 

But, as all barrels have the same position for said ninode, I applied the difference in the next step instead.

3 - Completed the already present in the mod 9mmPistolGlowSights_1.nif with parts from the vanilla 10mm pistol glowsights, making sure to have two ninodes named CFrontSight and Rearsight



each have their glowing bits representing where they'll be in the gun, accounting for the WeaponBolt ninode coordinate difference from 0.


(glowsights position may not look right, but that won't matter because...)

4 - Using FO4Edit, in the barrels' OMODs, added an attach point ap_gun_FrontSight [KYWD:0012ECF2],


and added keyword remapNode_CFrontSight_P-FrontSight [KYWD:00044455],



which is the same keyword used by the game to change the hunting rifle's front sight, as they also move depending on the length of the barrel. As the name suggests, this keyword tells the game to move any CFrontSight node (created in step 3) to a new position (BSConnectPoints::Parents named P-FrontSight in step 1).

5 - Created a new OMOD for the glow sights, using the mod's iron sights and completing with some info from the 10mm's, the most important being the attach point ap_gun_Dot and the keyword remapNode_RearSight_P-Dot [KYWD:0012ECEB],



which does the same as described in step 4 but for ninodes named Rearsight to BSConnectPoints::Parents named P-Dot.

And voilà



As an extra, added the glowsight OMOD to the 9mm's Scopes Mod Collection to integrate it into the world, created a Miscmod for it (same value as the Laser sight, so it will appear next to it when crafting) and a recipe (same resources needed as a 10mm pistol's glow sight).