Left 4 Dead 2

Left 4 Dead 2

185 个评价
No VSLib Dynamic Light: Optimized Muzzle Flash
   
奖励
收藏
已收藏
取消收藏
Game Content: Weapons, Scripts
文件大小
发表于
更新日期
5.925 KB
11 月 13 日 上午 10:07
11 月 18 日 上午 8:16
3 项改动说明 ( 查看 )

订阅以下载
No VSLib Dynamic Light: Optimized Muzzle Flash

描述
This addon works as a part of No VSLib Dynamic Light. However, it can also be used alone.

Since non-bot survivors already have the vanila muzzle flash light, this light only applies to the muzzle flashes of bots.

This mod is optimized compared to the original, making SMG issues and flickering less likely to occur. Of course, since it doesn't use VSLib, it won't cause crashes either.

Additionally, the effects are more dramatic than the original mod for the following reasons.

The optimization methods are as follows:
Only one light spawns. This prevents flickering caused by overlapping light sources.
The light teleports in front of the bot for only 0.08 seconds immediately after it fires.
This light illuminates a wider area than the original mod, so even if bots fire simultaneously within 0.08 seconds, it appears unchanged visually. In fact, it creates a more dramatic effect.
To depict the rapid fire rate of SMGs, I use light_dynamic with style=4 (fast strobe style) instead of rapidly toggling the light on/off like original mod did.

Additionally, the light does not teleport to the exact same position as the bot, as in the original mod. Instead, it teleports slightly ahead of the bot. This darkens the back of the bot survivor, creating a dramatic effect.

Dynamic light for grenades in hand is still progress.

---

Update:
You can change brightness of muzzle light by light/muzzle.txt. And fixed an issue melee weapons emitted light.
37 条留言
Wabisuke 4 Dead  [作者] 11 月 19 日 上午 4:21 
@RF
The original mod is so popular because many people prioritize cinematic effect over a lower frame rate.
R󠀡F 11 月 19 日 上午 2:28 
Dynamic light stuff in source games are cool concept but unfortunately unusable because of the 100+ FPS drops you get from them.
jetSetWilly II 11 月 18 日 下午 6:05 
Will other people see if they join your local server or is this just for the local client?
Wabisuke 4 Dead  [作者] 11 月 18 日 上午 8:17 
@duck_time @Pemarces273
I fixed melee weapon and added setting light/muzzle.txt
Pemarces273 11 月 18 日 上午 7:42 
melee weapons sometimes emit light when the bots melee
Wabisuke 4 Dead  [作者] 11 月 18 日 上午 12:07 
@Shinrak.-
I will consider it
Shinrak.- 11 月 17 日 下午 10:26 
Your mod looks incredible, thank you so much.
You mentioned that “Dynamic light for grenades in hand is still in progress.”

I wanted to ask: could you also add dynamic light for the Tank while it's burning?
That would look amazing as well.

Thanks again for your work!
< blank > 11 月 17 日 下午 9:50 
Your mod is truly outstanding.
Thanks to it, I can now enjoy Left 4 Dead 2 with even more immersion.
PEACEandLOVE 11 月 17 日 下午 7:31 
Bro why your default light levels so blinding XD
Wabisuke 4 Dead  [作者] 11 月 17 日 上午 6:13 
@duck_time
ok I will add it in 3 days