Boost Moving Speed in Water(swimming)
how do we make player moves or swims faster when he's in water and give him longer breath when he's diving..
|
Re: Boost Moving Speed in Water(swimming)
At the top, you will see my notes. Code:
EDIT: Actually, I did figure everything out. This code allows you to change just about everything with water damage. It also allows you to change a player's water speed. To customize it, just change the #define's at the top to your values. Code:
EDIT: Code is now a full plugin, here: http://forums.alliedmods.net/showthread.php?p=741366 |
Re: Boost Moving Speed in Water(swimming)
Wow, you kicked this topic's ass. You should post this somewhere for reference.
|
Re: Boost Moving Speed in Water(swimming)
should be added to the snippets lol
|
Re: Boost Moving Speed in Water(swimming)
sweet..thanks alot
and why you're using both to set client's max speed: Code:
engfunc(EngFunc_SetClientMaxspeed, client, maxspeed);and as for longer breath, any different if i use pev_air_finished? |
Re: Boost Moving Speed in Water(swimming)
Quote:
|
Re: Boost Moving Speed in Water(swimming)
pev_air_finished is the amount of time in seconds that player has spent not in water.
|
Re: Boost Moving Speed in Water(swimming)
lol, using ham... you could have someone gib when they drown. That would be hillarious.
|
Re: Boost Moving Speed in Water(swimming)
Exolent, why the drown player's health is regenerated when he comes out of water?
|
Re: Boost Moving Speed in Water(swimming)
That is part of the game.
|
| All times are GMT -4. The time now is 09:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.