Left 4 Dead 2

Left 4 Dead 2

评价数不足
Reinforced Door (Vscript)
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts, Miscellaneous
Game Modes: Single Player, Co-op
Items: Other
文件大小
发表于
更新日期
8.057 KB
5 月 18 日 上午 3:00
6 月 3 日 上午 5:03
4 项改动说明 ( 查看 )

订阅以下载
Reinforced Door (Vscript)

在 kurochama 的 1 个合集中
Useful "Side-Dish" Mods (Especially for Bots)
64 件物品
描述
This is just a simple mod that modifies the status of a door that a survivor opens/ closes. When holding TAB & then pressing E on a door, the door can become either breakable/ unbreakable. When it becomes unbreakable, it changes color to red, but when it's breakable, it changes back to the original color. There's a notification when the door status is successfully changed.

Well, as it's a very simple mod, there's no cfg file, for now.


Available Chat Command:
Chat Command
Effects
change door color (red) (green) (blue)
Changes door color via chat. Format examples:
change door color 255 0 0
change door color 0 255 0
change door color 150 100 0


Injected Cvar
Injected cvar is a cvar injected with scripts to change door color based on crosshair color. This one remains active on next chapters if set via console.
Injected cvar
Description
cl_buy_favorite_quiet 0.5
- The reinforced door will close itself automatically
cl_buy_favorite_quiet 1
- Changes door color based on your crosshair color
- White crosshair color is excluded
cl_buy_favorite_quiet 1.5
- The reinforced door will close itself automatically
- Changes door color based on your crosshair color
- White crosshair color is excluded
cl_buy_favorite_quiet 2
- Same, with a new feature to lock the unbreakable door
- The locked door will close automatically


So, with this mod, you can change the door to unbreakable one & go to kitchen to get your snacks & drink without worrying about zombies breaking the door before you're back in front of your pc :D .


NOTES:
  • It might be possible to change door status of the doors for the event that is originally unbreakable to be breakable (not tested yet).
  • When "cl_buy_favorite_quiet" is set to 2, there's a chance to unlock the locked doors in custom campaigns even without using keys.
23 条留言
kurochama  [作者] 9 月 27 日 上午 2:31 
@Lanzkila , use the chat command. Or use "cl_buy_favorite_quiet 1" to change door color based on your crosshair color.
Lanzkila 9 月 27 日 上午 12:08 
how to change color door ? i just send change door color with color name at chat commands or console ? tq
kurochama  [作者] 9 月 18 日 下午 12:56 
@The Grim Knight , this is only for normal doors. Saferoom doors are already unbreakable except from tank's attack.
Nick 9 月 18 日 上午 9:34 
what about the safe room doors does it work with those if not can you make one please
kouga 6 月 3 日 上午 8:45 
@kurochama, tried both out...it works fantastically! thanks again!
kurochama  [作者] 6 月 3 日 上午 5:05 
@Kouga , I updated the injected cvar. You can check the mod description. Use 0.5 or 1.5 if you want the door to closw automatically when it's set to unbreakable.
kouga 6 月 2 日 上午 10:42 
@kurochama, im aware that it doesnt break yeah, the problem really was that it would open as soon as you press TAB + USE...so even if the door was unbreakable it wouldnt matter because the infected could run through anyway lol. i tried "cl_buy_favorite_quiet 2" after i sent that original comment, and it does seem to solve the problem i mentioned! although, it presents another issue where when the door becomes breakable again, the door automatically opens. so basically the new problem is the opposite of the original problem.
kurochama  [作者] 6 月 2 日 上午 10:08 
@Kouga , as long as the door color changes, it won't break. I ever tested on doors that I put some holes on them with several shots & then change the color, & the zombies couldn't break them.
You can try "cl_buy_favorite_quiet 2", as this will automatically close & lock the door when the door is unbreakable.
kouga 6 月 2 日 上午 9:46 
@kurochama hey so i finally got to playtest this mod. i noticed that the door would open right before it turns unbreakable which is kind of counterproductive. any way to change that?
kurochama  [作者] 5 月 19 日 上午 7:27 
@Bonnie , I tested 2 custom campaigns with locked doors so far, "Resident Evil 1" & "Kokiri Forest". The locked door in RE1 didn't get unlocked with this mod, but the doors in "Kokiri Forest" got unlocked. Probably door types also affect it, like, if the doors are default doors like wooden/ metal doors, there's a chance that they will be unlocked even without keys, but if the doors are custom doors or with different models, they won't be unlocked by this mod. So, probably you can also try to test custom campaigns that use default doors as the locked doors that require keys.