ScreenShake time stock
Can someone write a small stock where you can choose a numeric Float for duration, amout and freaquency of ScreenShake.
|
Re: ScreenShake time stock
I think that if you look at screenFADE_util thread, you can find a post from arkshine with another stock, for make screenshake according to distance from a specific origin.
Following one is a simple stock with float input values. PHP Code:
|
Re: ScreenShake time stock
Thanks you a lot!
EDIT : From which to which number is frequency and amplityde ? |
Re: ScreenShake time stock
max short value is 65535
1<<12 = 4096 1<<8 = 256 So amplitude and duration can be max 16.0 (65535 / 4096 = 15.999756) and freq can be max 256.0 (255.996094). |
Re: ScreenShake time stock
Thanks a lot Connor, but it is not actually working as it should, i guess
Code:
|
Re: ScreenShake time stock
See yourself HLSDK :
Code:
// Shake the screen of all clients within radius |
| All times are GMT -4. The time now is 10:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.