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 / Can you change player settings?

Author
Message
BadKarma
13
Years of Service
User Offline
Joined: 2nd Sep 2012
Location: The Old Gein Farm
Posted: 30th Sep 2012 05:02
For instance, can I change the PLAYER view cone angle? If so, HOW?
Bugsy
17
Years of Service
User Offline
Joined: 24th Nov 2008
Location: another place in time
Posted: 30th Sep 2012 05:14
if you have FPSC v1.16, fenix mod allows this.

BadKarma
13
Years of Service
User Offline
Joined: 2nd Sep 2012
Location: The Old Gein Farm
Posted: 30th Sep 2012 07:01
Blah, not using a MOD but thanks...
maho76
15
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 1st Oct 2012 10:21
if cone angle means field-of-view-wideness, you can change this via scripting using camfov=x, for example. look into script-syntax-list (sticky in scripts-subforum) to see what else is possible with scripting( a lot).

BadKarma
13
Years of Service
User Offline
Joined: 2nd Sep 2012
Location: The Old Gein Farm
Posted: 1st Oct 2012 18:02
maho, where can I find the individual script file to change this?
maho76
15
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 1st Oct 2012 18:33 Edited at: 1st Oct 2012 18:37
changing camfov is easy to do with a triggerzone so the player can trigger the effect:

:state=0,plrwithinzone=1:camfov=35,state=1

if i remember right 50 is standard, so below is zoom in while above is zoom out:

:state=0,plrwithinzone=1:camfov=70,state=1

play around with the camfov-numbers to tune. to get a permanent change to from the beginning of the level (triggered zones dont work most of the time on start), lets say 65, you can assign the following line into state=0-lines in levelsetup.fpi in your games-folder (languagebank/english/gamebank/mygame is default for testgame):

:state=0:camfov=65

as said there are some other camera-options with v119+, look into syntax list and try around with it:
Quote: "3.10 CAMERA

3.10.1 CONDITIONS

3.10.1.1 INVIEW=X
3.10.1.2 PICKOBJECT=X

3.10.2 ACTIONS

3.10.2.1 CAMFOV=X
3.10.2.2 CAMFOVINC=X
3.10.2.3 CAMROTATIONON=X
3.10.2.4 CAMSHAKE=X
3.10.2.5 ENTITYCAM
3.10.2.6 LASTCAM
3.10.2.7 PLAYERCAM
3.10.2.8 PLRCAMOFFSETON=X
3.10.2.9 PLRCAMOFFSETX=X
3.10.2.10 PLRCAMOFFSETY=X
3.10.2.11 PLRCAMOFFSETZ=X
3.10.2.12 SETCAMOFFSETX=X
3.10.2.13 SETCAMOFFSETY=X
3.10.2.14 SETCAMOFFSETZ=X
3.10.2.15 SETCAMROTX=X
3.10.2.16 SETCAMROTY=X
3.10.2.17 SETCAMROTZ=X"


hope this is helpfull.

gz

That Guy John
16
Years of Service
User Offline
Joined: 30th Apr 2010
Location: United States
Posted: 1st Oct 2012 23:12
This was extremely helpful for me in order to start messing with the view.
http://forum.thegamecreators.com/?m=forum_view&t=199954&b=23

And Here Is A Penguin:
FPSC OneSource [DeskTop App] - Bringing everything together into one.

Login to post a reply

Server time is: 2026-07-02 19:20:45
Your offset time is: 2026-07-02 19:20:45