Left 4 Dead 2

Left 4 Dead 2

Melee Weapons can Break
 此主题已被置顶,因此可能具有重要性
ChimiChamo  [开发者] 2023 年 11 月 4 日 下午 4:32
Default Durability Values
The default durability of values of all weapons, in case you changed it at some point or were curious:

fireaxe = 60
fryingpan = 45
machete = 50
baseballbat = 35
crowbar = 80
cricketbat = 35
baton = 30
katana = 45
guitar = 20
knife = 45
golfclub = 40
pitchfork = 25
shovel = 40
defaultwep = 50 //used for melees that aren't official, like those in custom campaigns

You can change the values to be random by replacing the number with RandomInt(min,max). You replace min and max with the range of numbers you want so for eg RandomInt(30,40).
最后由 ChimiChamo 编辑于; 2023 年 11 月 7 日 上午 9:01
< >
正在显示第 1 - 15 条,共 17 条留言
AngeloGS 2023 年 11 月 4 日 下午 7:01 
a
ChimiChamo  [开发者] 2023 年 11 月 4 日 下午 7:02 
a
Kittycat Kye 2023 年 11 月 4 日 下午 7:28 
Now people will have a reason to use the crowbar. <3
senzawa 2023 年 11 月 4 日 下午 7:42 
the pitchfork was one of the worst melees
now it's *the* worst melee ever XD
TBK Duy 2023 年 11 月 4 日 下午 8:25 
I don't know if I use some Weapon Drop plugin, will it reset those values upon weapon drop by plugin feature itself, make this mod useless completely ?
逍遥HEHE 2023 年 11 月 5 日 上午 8:51 
我发现当使用近战武器攻击Tank或者Witch的时候,耐久值损失的更快,比如使用吉他攻击Tank 10次左右就会坏掉,如果使用吉他攻击的是Witch,那么短短3次就会坏掉。另外你使用近战武器打到防暴警察感染者的正面护甲,你的近战武器并不会损耗耐久值。
I found that when using melee weapons to attack Tank or Witch, the durability lost faster, for example, if using guitar to attack Tank for about 10 times, it would break, if using guitar to attack Witch, it would break after only 3 times. In addition, if you use a melee weapon to hit the front armor of a riot cop infected, your melee weapon will not lose durability. (Machine translation)
ChimiChamo  [开发者] 2023 年 11 月 5 日 上午 8:54 
引用自 逍遥HEHE
我发现当使用近战武器攻击Tank或者Witch的时候,耐久值损失的更快,比如使用吉他攻击Tank 10次左右就会坏掉,如果使用吉他攻击的是Witch,那么短短3次就会坏掉。另外你使用近战武器打到防暴警察感染者的正面护甲,你的近战武器并不会损耗耐久值。
I found that when using melee weapons to attack Tank or Witch, the durability lost faster, for example, if using guitar to attack Tank for about 10 times, it would break, if using guitar to attack Witch, it would break after only 3 times. In addition, if you use a melee weapon to hit the front armor of a riot cop infected, your melee weapon will not lose durability. (Machine translation)
The durability lost is doubled when attacking tanks, shouldn't be for witches though
逍遥HEHE 2023 年 11 月 5 日 上午 9:18 
引用自 ChimiChamo
引用自 逍遥HEHE
我发现当使用近战武器攻击Tank或者Witch的时候,耐久值损失的更快,比如使用吉他攻击Tank 10次左右就会坏掉,如果使用吉他攻击的是Witch,那么短短3次就会坏掉。另外你使用近战武器打到防暴警察感染者的正面护甲,你的近战武器并不会损耗耐久值。
I found that when using melee weapons to attack Tank or Witch, the durability lost faster, for example, if using guitar to attack Tank for about 10 times, it would break, if using guitar to attack Witch, it would break after only 3 times. In addition, if you use a melee weapon to hit the front armor of a riot cop infected, your melee weapon will not lose durability. (Machine translation)
The durability lost is doubled when attacking tanks, shouldn't be for witches though
I tried to attack the Witch with other melee weapons, using the fire axe to attack the Witch about 11 times, and using the crowbar to attack the Witch about 19 times. (Machine translation)
XARK 2023 年 11 月 22 日 上午 11:53 
I thought the values ​​were how many times it is possible to use the item until it breaks according to the guidance on using RandomInt(min,max), but the value is already a percentage? I also tried changing it to a value that I liked better, but none of the settings worked...

I believe you added unnecessary complexity to the idea. I think most who downloaded this mod expected something like adding random charges to the weapon, and after finishing it it breaks, but the way it was done is very strange to configure. The use is also strange, as it doesn't wear out if it hits walls or even when used freely (if it's swinging, it's wearing out, even if it's just a little)

I really liked the mod, but it's strange to use and configure...I couldn't use it unfortunately...
Jerkakame² 2023 年 12 月 1 日 上午 4:09 
Im playing with Custom Weapons Base and some of those weapons will break, especially the flamethrower. But changing the defaultwep doesnt work, I also tried adding the names of the custom weapons but that didnt work either.
Jerkakame² 2023 年 12 月 1 日 上午 5:47 
defaultwep seems to be working, I think the problem I had is that the durability cfg keeps randomly reset to default values
Jerkakame² 2023 年 12 月 1 日 上午 6:28 
I think I fixed it, it would reset when I added the custom weapon names. and when I had "RandomInt(30,40)." with the dot at the end

Im a very big dumdum
[GC.SKINS] ElTamales 2024 年 6 月 1 日 上午 12:13 
I have the question, does this include the riot shield?
zuaL 2024 年 6 月 14 日 下午 9:02 
So the setting for it to be random is:
fryingpan = RandomInt(30,40).
Is this what you mean? I don't know if it need to be a dot "." or not :D.
Jerkakame² 2024 年 6 月 14 日 下午 9:21 
引用自 zuaL
So the setting for it to be random is:
fryingpan = RandomInt(30,40).
Is this what you mean? I don't know if it need to be a dot "." or not :D.

no dot
< >
正在显示第 1 - 15 条,共 17 条留言
每页显示数: 1530 50