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 / camera distance in fenix mode

Author
Message
SAAB Driver
19
Years of Service
User Offline
Joined: 1st Nov 2005
Location:
Posted: 3rd Feb 2010 00:45
Hi

To higher the distance between the charachter and the screen/camera in third person mode, i wrote this in the third person script with no succes. I wrote the line in other ways as well but did not work. any suggestions?



Is there somehow possible to turn/rotate the camera view from the back of the character a bit more to the side of the character?

Thank you for taking time

Hello!
Bugsy
16
Years of Service
User Offline
Joined: 24th Nov 2008
Location: another place in time
Posted: 3rd Feb 2010 03:26
that basically says "if movecamera=1000"

the movecamera is an action. use it in the "then" half of your code sentence.



to fenix mod!
SAAB Driver
19
Years of Service
User Offline
Joined: 1st Nov 2005
Location:
Posted: 3rd Feb 2010 16:44
If this was DBpro i would have wrote something like this


Or action command similar to your example would easiet be something like:



But sence this is not DBpro and im totally new to coding in fpsc, i would be very greatful for a explaining example in how to write a working "set camera distance code". As far as i know you cant write tings like "if" and "then" in fpi scripts, am i wrong?

Thank you!

Hello!
Bugsy
16
Years of Service
User Offline
Joined: 24th Nov 2008
Location: another place in time
Posted: 4th Feb 2010 01:10
the first " : " means if

the second " : " means then

a " , " means and. thats all the syntax there is. no else. It's kind of automatic, or done by a different "if" in the same state (else if) or another line telling it what to do if the above command doesn't return true.

:state=1:movecamera=1000,state=2

that basically says :

If we're in state one, then immediately move the camera, and also go to state two.



to fenix mod!

Login to post a reply

Server time is: 2024-11-25 03:30:13
Your offset time is: 2024-11-25 03:30:13