Metal Gear Solid V: The Phantom Pain
0 of 0

File information

Last updated

Original upload

Created by

Three-Socks

Uploaded by

ThreeSocks3

Virus scan

Safe to use

Tags for this mod

About this mod

A very basic mod to drop any of your weapons while in game using a button input.

Permissions and credits
Donations
Ported to SnakeBite by Aaoms: https://www.nexusmods.com/metalgearsolidvtpp/mods/550

Drop Weapon Button Input 1.0.1

by Three-Socks
For MGSV version 1.0.7.0 (1.07 in title screen)

A very basic mod to drop your weapons while in game. Also a proof of concept on how to install a lua file using only a windows batch file. It should be compatible with future game updates too as long as 00.dat stays the same location for lua lib files.

This mod is designed for controller in mind but works for keyboard as well.

Controls

Controller

In the weapon equip menu (Dpad Up or Down) highlight the weapon using the right stick and hold RS/R3 to drop.

Keyboard

Equip the weapon you want to drop first. Then use the arrow keys, Up for primary (hip) and Down for Secondary weapon and hold switch zoom (default V) to drop.

SnakeBite Install

Ported to SnakeBite by Aaoms: https://www.nexusmods.com/metalgearsolidvtpp/mods/550

Auto Install

Unzip and copy all files to C:\Program Files (x86)\Steam\steamapps\common\MGS_TPP\master\0\ (need to be running steam patch 1.006/game ver 1.02 or above)

Run INSTALL_TPP_DropWeapon.bat

Manual Install

To manually install in case you have a heavily modified game or SnakeBite installed or the auto install .bat file doesn't work for you.

Download the zip from the download page and extract DropWeapon.lua

Download GzsTool

Extract your \MGS_TPP\master\0\00.dat file

Find \00_dat\Assets\tpp\script\lib\Tpp.lua if you cannot find this file extract the 01.dat and work from that file instead.

Open the folder \00_dat\ extracted by GzsTool if working on 00.dat or \01_dat\ if working on 01.dat

Place DropWeapon.lua into \Assets\tpp\script\lib\

Open \Assets\tpp\script\lib\Tpp.lua

Find

"/Assets/tpp/script/lib/TppMbFreeDemo.lua"

Add After

,"/Assets/tpp/script/lib/DropWeapon.lua"

Open \Assets\tpp\script\lib\TppMain.lua

Find

TppMission.UpdateForMissionLoad

Add After

,DropWeapon.Update

Open 00.dat.xml or 01.dat.xml created by GzsTool

Find

<Entries>

Add After

<Entry FilePath="/Assets/tpp/script/lib/DropWeapon.lua" Compressed="false" />

Repack your file using GzsTool

Example
GzsTool.exe "C:\Program Files (x86)\Steam\steamapps\common\MGS_TPP\master\0\00.dat.xml"


Includes QAR Tool by Sergeanur

Changelog

1.0.1

Tweaked find pattern of auto installer to support Infinite Heaven changes, thanks tin man tex