[L4D2]Shockwave?
does anyone know how to create a shockwave?
like in this video: i wanted to put in explosions and impacts of something I was trying to create with CreateTimer but it turned out a little good PHP Code:
|
Re: [L4D2]Shockwave?
I don't think the engine will handle like that. Physics are expensive.
Maybe you can do something with the explosion (env_explosion) or breaking a propane + Gravity Physics extension. |
Re: [L4D2]Shockwave?
Quote:
|
Re: [L4D2]Shockwave?
Quote:
|
Re: [L4D2]Shockwave?
So the video is from your utube channel,
Didn't you already accomplished that, or is some kind of private plugin that you don't have the source code. |
Re: [L4D2]Shockwave?
1 Attachment(s)
Quote:
|
Re: [L4D2]Shockwave?
You can create a "shockwave" effect that can both knock players backwards, as well as give them a little bit (or a lot) of air, using the TeleportEntity method.
You'll need to get the origin point of both the blast point and the player in order to know which angles to push the player at. You can use m_vecOrigin for both players and non-player entities. It's super easy stuff. |
| All times are GMT -4. The time now is 23:46. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.