[L4D] No Mercy's Elevator [APRIL/2020]
1 Attachment(s)
DESCRIPTION: This plugin removes elevator's doors at chapter 4, just for fun. CONVARS: PHP Code:
Version 1.0: 26 april 2020 - Initial stable release. - Added explosions on doors. - Removed elevator's ceiling. Todo list: - Make elevator lift faster. Known bugs: - None at the moment, post on comments. Credits: - Thanks Dragokas for optimizations tips. Warning: Not tested on L4D2, please, post here. Beta testing versions: - Beta testing versions will be posted on comments. The purpose of this is posting my work progress oftenly. They may include unused code, unstable behaviors, non-working features. Beta testing plugins will be removed without warning. |
Re: [L4D1] Door-less elevator at No Mercy [APRIL/2020]
I tried many ways to create an explosion on doors but nothing worked.
My idea was creating a propane tank on doors, make it invisible and make it explode, but it didn't work because propane tank got in flames but it never explodes. Even if I shoot at it, it doesn't explode. I have to pick it up and drop it to make it vulnerable to bullets. |
Re: [L4D1] Door-less elevator at No Mercy [APRIL/2020]
Look at other plugins for examples. "expode" from "env_explosion" in Mutants (bomb type), or Flare Gun, or Pourgas, or Airstrike plugin. They all demonstrate one method. Another for replicating Propane tank would be using "prop_physics" and "break" input, see Greandes or Pourgas which does this using the firework /gascan models, just change to use propane model and you should have the same effect.
|
Re: [L4D1] Door-less elevator at No Mercy [APRIL/2020]
Quote:
|
Re: [L4D1] Door-less elevator at No Mercy [APRIL/2020]
Interesting idea, thanks !
|
Re: [L4D1] Door-less elevator at No Mercy [APRIL/2020]
good
|
Re: [L4D1] Door-less elevator at No Mercy [APRIL/2020]
The code is very non-optimized.
I would suggest to hook "player_use" only when map is "l4d_hospital04_interior" instead of checking it constantly. You can use OnMapStart forward to do that. Anyway, "player_use" is also fire too often. It's inefficient to make the check everytime. Instead you could just hook exactly that entity. If you decide to follow this way, some entities could not initialize yet at map start stage so "round_freeze_end" is preferrable. PHP Code:
|
Re: [L4D1] Door-less elevator at No Mercy [APRIL/2020]
Quote:
I will consider this for first stable version. |
Re: [L4D] Door-less elevator at No Mercy [APRIL/2020]
Version 1.0 stable released!
|
Re: [L4D] Door-less elevator at No Mercy [APRIL/2020]
1 Attachment(s)
Beta testing version released.
Source: Attachment 181204 Get plugin! Beta Changelog: - Removed: Explosion on door opening. - Added: Now door will open manually. - Added: Special infected inside elevator. - Added a witch on ventilation duct. - Added: Elevator break and fall down to floor (may be removed on next version). |
All times are GMT -4. The time now is 00:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.