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 / Dose anyone one know how to use this camera script?

Author
Message
SonOfLight
14
Years of Service
User Offline
Joined: 8th Nov 2010
Location: Heaven
Posted: 4th Sep 2012 21:51
Hello,

Ok so I found this script in a Russian forum that can cumstom control your camera but I dont know how to work scripting. I used translate section (the plugin for google crome) to get the instructions down. But Since I am kinda new to this stuff I dont know if I am doing it right or wrong. Ill put on here the Script and instructions. Maybe you guys can tell me how its done. THANK YOU !!



Here is the script its self.


I made it into a fpi and added into the script bank also And tryed to follow the directions and best as I could. According to my knowledge. Hopfully you guys can doit and show me how its done. Thanks guys.

-S.O.L
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 5th Sep 2012 10:30
^^ please write it into statelines as intended so we dont have to scroll towards the neighbor-countries to read it, maybe then it will work, too.

SonOfLight
14
Years of Service
User Offline
Joined: 8th Nov 2010
Location: Heaven
Posted: 6th Sep 2012 20:47
Ohh hah. I guess it came out like that when I copied it. Alright!

-S.O.L
SonOfLight
14
Years of Service
User Offline
Joined: 8th Nov 2010
Location: Heaven
Posted: 18th Sep 2012 23:47
Its really not working out. But I think this stuff wont even work because. Its coded in russia. Will a russin code for fpsc work in the american version??

-S.O.L
maho76
13
Years of Service
User Offline
Joined: 31st May 2011
Location: universe-hub, playing the flute
Posted: 19th Sep 2012 11:07 Edited at: 19th Sep 2012 11:09
Quote: "Will a russin code for fpsc work in the american version??"


no, because they dont speak the same language.^^ no, stop, they DO: fpsc script-language.

looking at the code there are some wrong-written commands in it, beside the totally wrong formating (space where no spaces should be, commatas instead of semicolon etc.). i dont think this script,as it is, is working.

this is the beginning of your script, even reformated its full of errors:

; Camera Entity Tool - Editor camera component , Author: Nikita Koshelev (www.fpsc.forum24.ru)
; Date: 20.06.2012
; Requirements: Required patch 1.19 and higher.
; Script Version: 1.0 , Description: a script-based tool specifically written in order to facilitate your work to configure the coordinates for the camera component.

:state=0:dimlocalvar=rx,dimlocalvar=ry,dimlocalvar=rz,setvar0=rx,setvar= ry 0,setvar=rz 0

; SETOFFSET (x) (y) (z)
:State=0:dimlocalvar=ox,dimlocalvar=oy,dimlocalvar=oz,setvar=ox 0,setvar=0y 0,setvar=oz 0

; SETCAMROT (x) (y) (z)
:State=0:dimlocalvar=wp,setvar=wp 0,dimlocalvar=wpstate,setvar=wpstate 0

; WAYPOINT State
:State=0:dimlocalvar=cam,setvar=cam0,dimlocalvar=camstate,setvar=camstate 0

; CAMERAROTATIONON State
:State=0:dimlocalvar=camedit,setvar=camedit 0,dimlocalvar=cameditstate,setvar=cameditstate 0

; ENTITYCAM State
:State=0:state=1

:varequal=cameditstate 0,varequal=camedit 0,keypressed=February 1:setvar =camedit 1,setvar=cameditstate 1

...

if you really want to use it, contact nikita or think of what the entity should do and write it on your own.

Login to post a reply

Server time is: 2024-11-23 19:26:02
Your offset time is: 2024-11-23 19:26:02