Squad
评价数不足
Share and Repack [v10.1]
   
奖励
收藏
已收藏
取消收藏
Content type: Balance Changes
Server operation notes: Vanilla Rotation Compatible, Plugin
文件大小
发表于
更新日期
541.822 KB
9 月 7 日 下午 3:47
12 月 4 日 上午 11:22
7 项改动说明 ( 查看 )

订阅以下载
Share and Repack [v10.1]

描述
AKA KIT MANAGER

Insert to Repack current mag with last mag in weapon inventory.

Delete to Share Mag (limited to Inf Weapons, Grenades, Smokes, and Bandages)

P to precise repack current mag (puts 1 bullet per 0.5s from last mag to current mag) NOTE: locks weapon for half the reload time of that weapon.


- can now support modded weapons via json
- added verbose logging (be sure to keep this off during normal gameplay)
- able to toggle share/repack usage
- able to toggle precise repack usage; can change timer from percentage to literal timings

ModLoader Actor: Blueprint'/Kit_Manager/Blueprints/BP_MagRepackShareManager.BP_MagRepackShareManager_C'


Windows & Linux

Options

bCanRepack : true
bCanShare : true

bPreciseRepackUseLiteralOrPercentTimer : false (true = literal aka all weapons will be locked for 0.5s, false = percent aka all weapons will be locked for 50% of their normal reload speed)
fPreciseRepackTimer 0.5

bVerboseLogging : false (turn this off unless youre debugging otherwise youll bloat your log file


All "addon" files should be located in /KitManager/Packages/{filename}.json then paste the file name into the packages array as shown below
Packages":[
"Default"
]


All weapon data should be structured as follows

"Weapon Category": {
"intCaliber": 556,
"ParentClasses": [
"/Game/Blueprints/Items/Rifles/BP_M4A1.BP_M4A1_C",
"/Game/Blueprints/Items/MachineGuns/BP_M249_Pip.BP_M249_Pip_C",
"/Game/Blueprints/Items/MachineGuns/BP_M240.BP_M240_C",
"/Game/Blueprints/Items/Rifles/BP_M110_Optic.BP_M110_Optic_C",
"/Game/Blueprints/Items/Rifles/BP_M16A2.BP_M16A2_C",
"/Game/Blueprints/Items/MachineGuns/BP_M27_IAR_Parent.BP_M27_IAR_Parent_C",
"/Game/Blueprints/Items/Rifles/BP_M38_DMR_Optic.BP_M38_DMR_Optic_C"
]
}

Please ensure weapon categories are unique in name otherwise they could be overwritten, prefix your weapon categories such as "KM 5.56 Weapons"