Doesn't work anymore in the newest game update, i tried several fresh installs, tried shoot and reload method, but ammo cap stays the same vanilla one.
You can edit damage too... noted Tested, doesn't change damage.
Nice, Turns the crossbow into a repeater. Though, when tested, the crossbow auto reloads after consecutive shots even if you still have ammo in the magazine.
If you want to make the single shot rifle into a semi auto rifle. If you can use notepad++ Open main.lua in Win64\Mods\ExtendedMags\Scripts go to line 114 and add
end local name = item.ID:ToString() if string.find(name, "SingleShotRifle") then item.MagazineSize = palConfig.SSR else
Double check your work, match syntax, save
Then open config.lua in that same folder and change LegendaryRock = 4 --Default value = 1 to LegendaryRock = 4, --Default value = 1
and then add SSR = 5 --Default value = 1
For it to look like LegendaryRock = 4, --Default value = 1 SSR = 5 --Default value = 1
Double check your work, match syntax, save and Done
You can change the value of 5 to whatever you want. I chose that value because that how much my rifle takes IRL.
Thanks for sharing this! Really made Single Shot more viable. The only issue I have with the gun is the short range. Damage falls drop significantly at longer ranges. Is there a way to fix that?
--Old Bow+4 local name = item.ID:ToString() if string.find(name, "WeakerBow_5") then item.AttackValue = palConfig.WeakerBowAttackValue5 else
end
--Crossbow+4 local name = item.ID:ToString() if string.find(name, "BowGun_5") then item.MagazineSize = palConfig.BowGunStockValue5 item.AttackValue = palConfig.BowGunAttackValue5 else
end
--Crossbow Poison local name = item.ID:ToString() if string.find(name, "BowGun_Poison") then item.MagazineSize = palConfig.BowGun_Poison_StockValue item.AttackValue = palConfig.BowGun_Poison_AttackValue else
end
--SSR local name = item.ID:ToString() if string.find(name, "SingleShotRifle") then item.MagazineSize = palConfig.SingleShotRifleStockValue item.AttackValue = palConfig.SingleShotRifleAttackValue else
Am I the only one having issues with this mod? I've been trying to change the values of the Assault Rifle, but the amounts in-game are keeping the same. I've removed the mod and copied again into the folder, but no way to fix it so far.
Anyone with a sugegstion?
PS - I've followedd the instructions, changed from true to false the "UE4SS-settings.ini" line "bUseUObjectArrayCache"
37 comments
--main.lua
--crossbow
local name = item.ID:ToString()
if string.find(name, "BowGun") then
item.MagazineSize = palConfig.BowGunStockValue
else
end
local name = item.ID:ToString()
if string.find(name, "BowGun_2") then
item.MagazineSize = palConfig.BowGunStockValue
else
end
local name = item.ID:ToString()
if string.find(name, "BowGun_3") then
item.MagazineSize = palConfig.BowGunStockValue
else
end
local name = item.ID:ToString()
if string.find(name, "BowGun_4") then
item.MagazineSize = palConfig.BowGunStockValue
else
end
local name = item.ID:ToString()
if string.find(name, "BowGun_5") then
item.MagazineSize = palConfig.BowGunStockValue
else
end
--Musket
local name = item.ID:ToString()
if string.find(name, "Musket") then
item.MagazineSize = palConfig.MusketStockValue
item.Damage = 2000
else
end
--config.lua
MusketStockValue = 5, --Default value = 1
BowGunStockValue = 10 --Default value = 1
You can edit damage too... noted
Tested, doesn't change damage.Nice, Turns the crossbow into a repeater.
Though, when tested, the crossbow auto reloads after consecutive shots even if you still have ammo in the magazine.
If you can use notepad++
Open main.lua in Win64\Mods\ExtendedMags\Scripts
go to line 114 and add
end
local name = item.ID:ToString()
if string.find(name, "SingleShotRifle") then
item.MagazineSize = palConfig.SSR
else
Double check your work, match syntax, save
Then open config.lua in that same folder and change
LegendaryRock = 4 --Default value = 1
to
LegendaryRock = 4, --Default value = 1
and then add
SSR = 5 --Default value = 1
For it to look like
LegendaryRock = 4, --Default value = 1
SSR = 5 --Default value = 1
Double check your work, match syntax, save and
Done
You can change the value of 5 to whatever you want. I chose that value because that how much my rifle takes IRL.
力を上げるには攻撃力を上げるために AttackValue 。
--main.lua
--Old Bow+4
local name = item.ID:ToString()
if string.find(name, "WeakerBow_5") then
item.AttackValue = palConfig.WeakerBowAttackValue5
else
end
--Crossbow+4
local name = item.ID:ToString()
if string.find(name, "BowGun_5") then
item.MagazineSize = palConfig.BowGunStockValue5
item.AttackValue = palConfig.BowGunAttackValue5
else
end
--Crossbow Poison
local name = item.ID:ToString()
if string.find(name, "BowGun_Poison") then
item.MagazineSize = palConfig.BowGun_Poison_StockValue
item.AttackValue = palConfig.BowGun_Poison_AttackValue
else
end
--SSR
local name = item.ID:ToString()
if string.find(name, "SingleShotRifle") then
item.MagazineSize = palConfig.SingleShotRifleStockValue
item.AttackValue = palConfig.SingleShotRifleAttackValue
else
end
--config.lua
--Old Bow+4 AttackValue
WeakerBowAttackValue5 = 700,
--Crossbow+4 AttackValue
BowGunAttackValue5 = 500, -- Default value = 490
--Crossbow+4 Magazine
BowGunStockValue5 = 5, -- Default value = 1
--SSR AttackValue
SingleShotRifleAttackValue= 1500, -- Default value = 1100
--SSR Magazine
SingleShotRifleStockValue = 2, -- Default value = 1
--Crossbow Poison AttackValue
BowGun_Poison_AttackValue = 300, -- Default value = 280
--Crossbow Poison Magazine
BowGun_Poison_StockValue = 3, -- Default value = 1
Am I the only one having issues with this mod?
I've been trying to change the values of the Assault Rifle, but the amounts in-game are keeping the same.
I've removed the mod and copied again into the folder, but no way to fix it so far.
Anyone with a sugegstion?
PS - I've followedd the instructions, changed from true to false the "UE4SS-settings.ini" line "bUseUObjectArrayCache"
It's not reflecting in-game...
Ps. Nvm. I had to fire then reload...