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 Product Chat / Limit Camera view angle vertically?

Author
Message
SpaceWurm
13
Years of Service
User Offline
Joined: 11th Nov 2011
Playing:
Posted: 23rd Feb 2012 16:12 Edited at: 6th Jul 2019 22:29
Hi everyone,

At the moment a user can look straight up (90 degrees up) and straight down (90 degrees up). Is it possible to limit the angle of a view that a user can see when playing a standard FPSC?

So a player can only look upwards at a 45 degree angle and downwards at 45 degrees.

Thanks,
Landman
SpaceWurm
13
Years of Service
User Offline
Joined: 11th Nov 2011
Playing:
Posted: 23rd Feb 2012 16:39 Edited at: 6th Jul 2019 22:29
Something of this formula could work.

Quote: ":
If (view_angle > 45 degrees) then

view_angle=45 degrees

else

If (view_angle < -45 degrees) then

view_angle=-45 degrees"


But I'm not sure how to approach this with FPSC.
Akanto10
15
Years of Service
User Offline
Joined: 24th Apr 2010
Location: Earth
Posted: 23rd Feb 2012 23:04
Just for future reference, you should post this in the "Scripts" section of the forum. I happen to know how to do this, so here you go:



Just apply it to a triggerzone.

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 |
SpaceWurm
13
Years of Service
User Offline
Joined: 11th Nov 2011
Playing:
Posted: 23rd Feb 2012 23:37 Edited at: 6th Jul 2019 22:30
Arkanto10, thank you loads man. Much appreciated.
Akanto10
15
Years of Service
User Offline
Joined: 24th Apr 2010
Location: Earth
Posted: 24th Feb 2012 03:26
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 |
elbow
14
Years of Service
User Offline
Joined: 3rd Dec 2010
Location:
Posted: 24th Feb 2012 05:01
This forum's amazing: one only needs to ask and there's always someone who's done it or tried it who can share experience.

Eugene

Login to post a reply

Server time is: 2025-08-08 12:08:59
Your offset time is: 2025-08-08 12:08:59