Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / (request) Halt player and camera shake script

Author
Message
PekelaarSFX
14
Years of Service
User Offline
Joined: 11th Apr 2010
Location: Netherlands
Posted: 8th Jan 2012 15:31
Hello, I've been working on a project. And I really could use a script what stops the player from moving and shakes the camera around. I have seen a script in the scriptbank called: shakecamera, but i've tried it and i cannot get it to work properly (I'm using V1.19 beta 4).

Does anyone know how to acquire a script like that? And if you do, can you explain how to use it properly?

PekelaarSFX

PekelaarSFX - Dedicated storywriter
Akanto10
14
Years of Service
User Offline
Joined: 24th Apr 2010
Location: Earth
Posted: 8th Jan 2012 19:54 Edited at: 8th Jan 2012 19:56
Try this:



If you want to increase the duration of the halt and shake, then change 1000 (1 second) to something higher, possibly 2000 (2 seconds). Just keep in mind that it measures milliseconds. You just need to assign this script to a triggerzone where you want it to happen.

Happy to help,
Akanto

| Windows 7 Home Premium 64 - Bit | AMD Athlon II X4 630 @ 2.8GHz | Nvidia GeForce GTX 460 1GB | 6GB DDR3 RAM | 1TB HDD |
PekelaarSFX
14
Years of Service
User Offline
Joined: 11th Apr 2010
Location: Netherlands
Posted: 9th Jan 2012 08:30
Thanks for the help, I got what I want now.

PekelaarSFX

PekelaarSFX - Dedicated storywriter
Akanto10
14
Years of Service
User Offline
Joined: 24th Apr 2010
Location: Earth
Posted: 9th Jan 2012 23:08
No problem!

Thanks,
Akanto

| Windows 7 Home Premium 64 - Bit | AMD Athlon II X4 630 @ 2.8GHz | Nvidia GeForce GTX 460 1GB | 6GB DDR3 RAM | 1TB HDD |

Login to post a reply

Server time is: 2024-11-24 01:25:33
Your offset time is: 2024-11-24 01:25:33