PDA

View Full Version : Shaking Player's Screen


Littlehelper
22/06/2012, 01:38 AM
Title says it all.
How can i shake player's screen? i tried using SetPlayerDrunkLevel but that shakes very slowly, is there any other way to do it more faster?
Thanks.

[MM]RoXoR[FS]
22/06/2012, 04:33 AM
Try using camera functions.

Littlehelper
22/06/2012, 10:33 PM
what camera fucntions?
Anybody knows how to do this?

Lorenc_
22/06/2012, 11:15 PM
Increase the drunk level?

admantis
22/06/2012, 11:29 PM
He means shaking it like an earthquake, try setting the player drunk level repeatedly (on a low interval timer), I think this may work.

Cxnnor
22/06/2012, 11:30 PM
Just set the level to increase when your player drinks an alcoholic beverage, if you need a code, reply and I am sure I can make one.

MP2
23/06/2012, 12:44 AM
I believe I once achieved this by setting a player's drunk level to about 2020 on a fast timer (levels under 2000 stop the camera from swaying), but I doubt it would work for players with certain a FPS.

Littlehelper
23/06/2012, 01:44 AM
Just set the level to increase when your player drinks an alcoholic beverage, if you need a code, reply and I am sure I can make one.
I dont even need it for that cause.....

I believe I once achieved this by setting a player's drunk level to about 2020 on a fast timer (levels under 2000 stop the camera from swaying), but I doubt it would work for players with certain a FPS.
I'll try that and reply the result.

MP2
23/06/2012, 01:45 AM
I did some testing with that, sucked. Oh well.

Littlehelper
23/06/2012, 01:52 AM
It does not shake like i want it to, i want it to shake fast because i have a new idea of creating realistic vehicle handling that shake player(s) screen when they go over certain amount of speed...
I hope you catch my drift.

[NWA]Hannes
23/06/2012, 02:09 AM
You mean speed blur?
I've seen it on some server but I have no idea how they achieved it

Littlehelper
23/06/2012, 02:10 AM
Hannes;1940361']You mean speed blur?
I've seen it on some server but I have no idea how they achieved it
Well yes something like speed blur...

rscaerzx
06/04/2013, 08:18 AM
Try this:


CreateExplosion(vehicleposX, vehicleposY, vehicleposZ, 13, 0.01);


Explosion type 13 doesn't make any damage or sound effect, but the black burn effect still remain. With the radius of 0.01, it will made a huge camera shake. I've tested it, and it works.

Sorry for my bad english.

RajatPawar
06/04/2013, 08:30 AM
SetCameraFacingAngle really fast, I think MAYBE that coupled with SetPlayerDrunkLevel could work.

Fredrick
06/04/2013, 08:52 AM
Hannes;1940361']You mean speed blur?
I've seen it on some server but I have no idea how they achieved it

i have the speed blur on mine but am wanting to remove it!