AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   ScreenShake (https://forums.alliedmods.net/showthread.php?t=101885)

xbatista 08-28-2009 05:38

ScreenShake
 
What amplitude,frequency means?
http://wiki.alliedmods.net/Half-Life...ts#ScreenShake

Quote:

1 second is equal to (1<<12) i.e. 4096 units.
And how much is 3 seconds duration?
(3<<12) ? :0

hzqst 08-28-2009 05:49

Re: ScreenShake
 
1+2+4+8+...+2^12 = 4096??

Arkshine 08-28-2009 06:02

Re: ScreenShake
 
Quote:

Originally Posted by xbatista (Post 915118)
What amplitude,frequency means?
http://wiki.alliedmods.net/Half-Life...ts#ScreenShake


And how much is 3 seconds duration?
(3<<12) ? :0

Yes.

xbatista 08-28-2009 06:04

Re: ScreenShake
 
How about
Quote:

amplitude,frequency
?

Arkshine 08-28-2009 06:23

Re: ScreenShake
 
Quote:

Note: All arguments is in special units. 1 second is equal to (1<<12) i.e. 4096 units.

xPaw 08-28-2009 07:24

Re: ScreenShake
 
Translate those words to your language and you will get what those do :)

xbatista 08-28-2009 08:14

Re: ScreenShake
 
You think I know what that 'amplitude,frequency' means in ScreenShake...
Maybe amxx and somewhere mess 'write_short(Hz)' 'write_short(Volts)'....

Jon 08-28-2009 10:13

Re: ScreenShake
 
http://www.howlaserswork.org/wp-cont...-amplitude.jpg

xbatista 08-28-2009 10:31

Re: ScreenShake
 
wow, nice :]


All times are GMT -4. The time now is 14:58.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.