Left 4 Dead 2

Left 4 Dead 2

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

订阅以下载
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.
28 条留言
Wabisuke 4 Dead  [作者] 1 小时以前 
@duck_time
ok I will add it in 3 days
duck_time 9 小时以前 
is there a config .txt 4 this as well? please, the brightness is hurting
Wabisuke 4 Dead  [作者] 11 小时以前 
fixed. It should work now.
TheMarkerSlayer 11 小时以前 
Yay! :DS_Upgrade:
ozzy 11 小时以前 
cool I'm excited
Wabisuke 4 Dead  [作者] 12 小时以前 
@ozzy
i will fix this in 1h
ozzy 12 小时以前 
so it should be fixed now?
Wabisuke 4 Dead  [作者] 12 小时以前 
@tomaz
thank you again for helpful information :health: I forgot to include my shared library
tomaz 12 小时以前 
maybe u forgot to include something?
tomaz 12 小时以前 
i tested this out the other day and yeah it didn't seem to work.
it threw an error in the console, something about "shared". i don't remember the exact error message, and i can't double-check right now, but it's related to that.