Fallout New Vegas

File information

Last updated

Original upload

Created by

Deadlyman256

Uploaded by

DeadlymaN256

Virus scan

Safe to use

About this mod

Are you ever dreamed about underbarel grenade launcher or red dot sight? So, I gave it for you.

Permissions and credits
==============
==Requements==
==============

Requies joefoxx082's Weapon Animation Replacer
Reques NVSE for correct work.
===============
==What is it==
===============

This mod does not add anything to the game. But any other mod can expand this .ESM and add to the Mojave weapon with red dot sight or useable underbarel grenade launcher (switching by "B" key).

Also it gives you an ability to take breath when aiming through scope.

You can view all of it in a Test File.
===============
==INSTALATION==
===============

It's not so difficult.
Just activate .FOMOD file from zip.

===============
==For modders==
===============

1. Underbarel weapon


1) Create a new weapon like you did it.
2) Create a weapon for underbarel use.
3) Write simple script:

begin onEquip
set FFMainQuest.bHasUnderbarel to 1; == Weapon has underbarel weapon
set FFMainQuest.underbarelWeapon to FFUnderbarelGRND; == setting underbarel weapon
setUIString "HUDMainMenu/underbarel_icon/filename" "weapons\TheAce\Icons\grenadeLauncher.dds"; == setting underbarel icon
set FFMainQuest.bInit to 0; == Main script init call
end;

begin onUnEquip
set FFMainQuest.bHasUnderbarel to 0;
end;

This adds to your weapon an underbarel 40mm grenade launcher and sets path to underbarel weapon icon.
4) You also can add recoil:
[i]
short rnd;
float player_z_angle;

begin onEquip
set FFMainQuest.bHasUnderbarel to 1; == Weapon has underbarel weapon
set FFMainQuest.underbarelWeapon to FFUnderbarelGRND; == setting underbarel weapon
setUIString "HUDMainMenu/underbarel_icon/filename" "weapons\TheAce\Icons\grenadeLauncher.dds"; == setting underbarel icon
set FFMainQuest.bInit to 0; == Main script init call
set FFMainQuest.RecoilStrength to 10; == Recoil
end;

begin onUnEquip
set FFMainQuest.RecoilStrength to 0
set FFMainQuest.bHasUnderbarel to 0;
end;

begin onFire

set player_z_angle to player.getAngle z;

set rnd to GetRandomPercent;
if rnd > 50
set player_z_angle to player_z_angle + 0.3;
else
set player_z_angle to player_z_angle - 0.3;
endif;
player.setAngle z player_z_angle;

player.dispel 00FFRecoilEffectACTOR;
player.CastImmediateOnSelf 00FFRecoilEffectActor;
end;


This script gives to your weapon medium vertical recoil and some horizontal.
5) Attach your script to your weapon.

Note: you also can just use 00FFWeapPrefabGrenadeRecoil - weapon with recoil and underbarel launcher.

2. Red dot sight

1) Create weapon.
2) Add to weapon mesh plane with name "ReflexRedDot".

P.S. Sorry for my bad english! I'm from Ukraine. Have you ever heard about Ukraine?