Left 4 Dead 2

Left 4 Dead 2

检视武器 [VScript]
kouga 9 月 13 日 上午 6:00
The closest weve gotten to ADS without plugins
i think what's been done here is nothing short of mind-boggling, as it now presents players with possibilities that most of us didnt even know were possible. what a spectacular mod.

despite what the name of the addon suggests, this is waaayy more flexible with its usage than just using it for inspecting animations. to name one particular use, is to emulate the feature of Aim Down Sights (ADS).

before this mod, there were two ways you could achieve ADS:

1) by installing pseudo-ADS weapon animations that change the viewmodel depending on if you are firing or walking (see Artillery Rain's ADS mods for examples). this is great and all, but it also lacks the flexibility of being able to choose when you want to aim.

2) using the sourcemod plugin[github.com] and installing plugin compatible ADS weapon animations. a much more authentic experience, but theres less people using it due to the barrier of plugin installation.

but with this mod, with its ability to play an animation by a designated button (one of which includes the zoom button), is able to emulate the same behavior! and thats possible because you can CHOOSE what animations you can play, simply by editing the ems file!

granted after some testing, ive discovered there are just two things that arent possible with the current version of the mod (as of 9/13/25):

a) the animation cancels as soon as you shove or fire your weapon, meaning if you do set this to ADS animations, you would perform the animation but immediately eject out of it when firing...which kind of defeats the point. this is the most critical gap in the mod that i think a future update could address. maybe a way to separately assign animations for firing and shoving?

b) the ability to exit the animation when you let go of your chosen button. for those who prefer to ADS by holding their key, this is a big setback. this mod is currently for those preferring toggle ADS. but a future update could easily change that.

all in all, this is an incredible mod, and im PLEADING that the mod creator sees this and considers the possibility. it would be incredible to have this idea expanded upon even further! i cannot praise the mod creator enough. good job :steamhappy:
< >
正在显示第 1 - 13 条,共 13 条留言
4512369781  [开发者] 9 月 13 日 上午 6:25 
Thanks!:steamhappy:

I think the key is how to prevent shooting cancel the animation, not sure what I can do but I'll try my best.
kouga 9 月 13 日 上午 7:20 
i believe in you!

also, just throwing this suggestion out, not sure if its possible. maybe instead of preventing the shooting cancel, just make an action be able to play another animation that players can assign? working backwards, the ems settings would allow you to:

- register what action will execute animations (shooting, shoving, pickup/use, reload)
- what animation would play on said action


essentially this would mean it would be better to have separate "settings" configuration for each button. so that they wont overlap. maybe it could look like this?
"BUTTON_FIRE"
{
ButtonMode = 2
MultiClick = 1
LongPressTime = 0
HideCrosshair = 1
Animations = 3
}

and then the "weapons" section would instead have designateable buttons instead of animations. it would look like this:
"Weapons"
{
pistol = "BUTTON SCORE" , "BUTTON_WALK"
rifle_sg552 = "BUTTON_FIRE" , "BUTTON_SHOVE"
....
}

im aware this would require a massive overhaul of not just the settings but also existing code, im just simply providing options and its still up to you to decide how to go about it :steamhappy: nevertheless i am grateful
kouga 9 月 13 日 上午 7:23 
thats not even getting to "exit animation when button let go" feature, but like you said, the shooting cancel is the bigger "issue"
4512369781  [开发者] 9 月 13 日 上午 7:52 
:steamthumbsup:Yeah, I also think cover the vanilla shoot/shove/reload animations would be a better way.

It definitely need change most of the code, if this works, I'll release a new mod, let this one focuses on what it's should to do.
kouga 9 月 13 日 上午 9:32 
fantastic! i also agree that it'd be better as a separate mod, as there are way too many features that would impede the purpose of this one. im looking forward to it!

also just to provide some assurance. i have just now confirmed that your mod is able to detect the ads plugin custom animation activities!! here's the list of activities on the github page:

Aim down sight activities list:
ACT_PRIMARY_VM_IDLE_TO_LOWERED 1879 // 进入机瞄
ACT_PRIMARY_VM_IDLE 1873 // 机瞄-正常待机
ACT_PRIMARY_VM_DRYFIRE 1878 // 机瞄-最后一发子弹打掉时转空仓待机的动画
ACT_PRIMARY_VM_IDLE_LOWERED 1880 // 机瞄-空仓待机
ACT_PRIMARY_VM_PRIMARYATTACK 1875 // 机瞄-开火
ACT_PRIMARY_VM_LOWERED_TO_IDLE 1881 // 退出机瞄

currently im messing around with the sequence of which to play the animations. its quite satisfying! :steamhappy:
4512369781  [开发者] 9 月 14 日 下午 9:32 
Guess What?
Now I need install the sourcemod plugin to compare.:cleanhourglass:
kouga 9 月 14 日 下午 10:14 
haha! hope it goes well
4512369781  [开发者] 9 月 26 日 下午 4:04 
I think it's almost ready and I'll post it soon, thanks for making me realize it's possible.:steamhappy:
kouga 9 月 26 日 下午 9:54 
the pleasure is all mine! im seriously excited to see it drop, as well as all the mods that will be created because of it :DDD i, for one, will make my own weapon animations with ads down the line
4512369781  [开发者] 9 月 28 日 上午 9:09 
Can you add me? I would like to add you as a contributor.:steamhappy:
kouga 9 月 28 日 上午 9:17 
ITS BEAUTIFUL. THANK YOU SO MUCH.

and btw, ive added you! i really appreciate your work once again 😁
4512369781  [开发者] 9 月 28 日 上午 10:17 
Thanks!
without you, I wouldn't have started making this mod, thx again!:steamhappy:
< >
正在显示第 1 - 13 条,共 13 条留言
每页显示数: 1530 50