Left 4 Dead 2

Left 4 Dead 2

Critical strike
19 条留言
Absolute Sucker 4 月 7 日 上午 12:26 
@zetgoodkid

Understood sir! Really appreciate your kind response!
Z  [作者] 4 月 6 日 上午 7:35 
kuro can do his thing xD Im rusty rn and wouldnt be about to make time for something like that with current schedule anyway
Absolute Sucker 4 月 6 日 上午 7:18 
@zetgoodkid

There's an addon called "Stumble Shot" where it has a cfg file that let's you set which individual weapon's chance of stumbling an infected and what infected is allowed to be stumbled. So I wanted a version where the damage is multiplied by whatever amount desired instead of stumbling.

I am eager to buff weapons this way and the "Stumble Shot" creator told me to look for you first, you up for it?
Z  [作者] 4 月 6 日 上午 5:58 
I accept suggestions for everything I made, except for the ones where I explicitly said I dont.

Plz write your suggestions
Absolute Sucker 4 月 6 日 上午 5:54 
@zetgoodkid

Hello there! Do you accept suggestions for this addon?
Doc903 2024 年 10 月 18 日 下午 1:08 
Ah, fair enough. It's a neat script, so I'm trying to isolate just the "infected_hurt" event, since I want tgem to stumble when shot, to make the bullets seem more realistic.
Z  [作者] 2024 年 10 月 18 日 上午 11:22 
feel free to use any part from any of my scripts. I havent touched this game in a few months and dont have any plans on coming back for the forseable future, and have forgotton how to write vscripts.
Doc903 2024 年 10 月 18 日 上午 8:20 
Or if you take requests, if you could try this out. I'm having a lot of issues finding a proper "manual" to learn how I'm supposed to format scripts like this. The Wiki tells me all the names of things, but outside of a couple examples, it doesn't tlel me too much.
Doc903 2024 年 10 月 18 日 上午 7:42 
Hey, could I get some help on developing a VSCript, or would you mind if I used yours as a template? I had an ides that I think your script template could help with.

Essentially, instead of a chance-based critical, I am looking to make it where common infected(50hp) "stagger" when shot, and am trying to figure out how to properly implement "DMG_STUMBLE", when the infected take non-fatal damage.
Z  [作者] 2024 年 8 月 24 日 上午 5:24 
bumped it. also check the video I just linked to hear what it sounds like
SPOGGERS 2024 年 8 月 24 日 上午 5:17 
cannot hear crit sound
Z  [作者] 2024 年 8 月 21 日 下午 8:56 
Updated.

I forgot to test on shotguns, and other guns work just fine
kurochama 2024 年 8 月 21 日 下午 4:08 
Btw, have you tested that 30% chance? If what you used to trigger chance is "RandomInt", 30% chance is still frequent enough to happen. For example, I have a feature like "Bot Headshot Rate" somewhere on my mod that puts different damage type on tank (health-based damage type by using certain percentage of "GetHealth" to determine the damage) by using "player_hurt" & "infected_hurt", with "RandomInt" as the trigger for the headshot chance/ rate, & even when I set it to 10%, tank could still get hit by the bot's "forced headshot" quite frequently especially when bots used automatic guns or shotguns (10% chance felt like 25% chance).

So, 30% chance would probably be triggered almost on every 3-5 shots, & for shotguns, each pellet is registered on "player_hurt" & "infected_hurt" so basically shotguns will have 100% chance when most pellets hit infected.
Z  [作者] 2024 年 8 月 21 日 上午 5:08 
I saw your 159 item workshop and was about to just tell you how to edit my code, but then I saw all model mods and 0 vscript.

here: https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3313651613

took longer to make than I thought
LE37 2024 年 8 月 21 日 上午 3:59 
maybe this can be used on something with I make :steamhappy: can you make only melee weapon version?
Z  [作者] 2024 年 8 月 21 日 上午 3:44 
game is dead to me the day they removed necronomicon :d2naturesprophet:
CocaPepsi 2024 年 8 月 21 日 上午 3:39 
Ironically, Dota is the least dead Valve game
Z  [作者] 2024 年 8 月 21 日 上午 2:38 
peak sarcasm :steamthumbsup: but srsly 30% might be too much for a game designed without crit
ChimiChamo 2024 年 8 月 21 日 上午 2:32 
random crits are fair and balanced