|
Post by WhyNot on Apr 22, 2017 16:26:09 GMT
Hi guys! I have a question about iObjectParam Set. is it only available for PCar. can't we use it for something like Cameras and skin meshes? and If we can what are the int's called. I really need help with this.
|
|
|
Post by GH Games on Apr 22, 2017 19:15:10 GMT
Sadly this command only works for the PCar and nothing else. Sorry mate.
|
|
|
Post by WhyNot on Apr 23, 2017 2:31:55 GMT
Oh,
So, another question is there any way to change the FOV of camera with a script?
|
|
|
Post by TinSoldier on Apr 23, 2017 5:01:16 GMT
ummm have you connected a camchase to a script yet ?? , one of the out registers controls the cams FOV.
|
|
|
Post by GH Games on Apr 23, 2017 7:53:44 GMT
Oh, So, another question is there any way to change the FOV of camera with a script? Giving that your CamChase is OBJ_0, you can use the following to set the FOV to different values runtime. (The iKeyDown's are just for example purposes, you only need OUT_0 to change the FOV). void Main(){ if(iKeyDown(iKeyCode("DIK_S")))OUT_0 = 50; //Zoomed in else if(iKeyDown(iKeyCode("DIK_D")))OUT_0 = 90; //Zoomed out else OUT_0 = 75; //Default FOV }
|
|
|
Post by WhyNot on Apr 23, 2017 10:03:37 GMT
Oh, Sorry I have not do too much with camchase and script .
|
|
|
Post by WhyNot on Apr 26, 2017 14:36:42 GMT
Um!, I'm really confused That Function is only available for camchase is it also available for CamFirstPerson? This might be a dumb question how can I change FOV of CamFirstPerson with a script.
|
|
|
Post by NicusorN5 on Apr 26, 2017 14:42:10 GMT
Oh, So, another question is there any way to change the FOV of camera with a script? Um!, I'm really confused That Function is only available for camchase is it also available for CamFirstPerson? This might be a dumb question how can I change FOV of CamFirstPerson with a script. *facepalm* You can edit almost all parameters of the objects in a script by attaching them , and changing the OUT (OUTPUT) values .
|
|
|
Post by GH Games on Apr 26, 2017 14:56:07 GMT
WhyNot that Function will only work for the CamChase and not the Cam1stPerson because the Cam1stPerson has no Outputs... to change the FOV of a FPS cam you must create a custom one using the Character Object etc...
|
|
|
Post by WhyNot on Apr 26, 2017 15:00:43 GMT
NicusorN5 I try to reply only after trying it once for my self , i.e I tried it . and GH Games I was thinking of trying that too, Thanks I'll surely try that.
|
|
|
Post by GH Games on Apr 26, 2017 15:01:46 GMT
No worries... I had to edit that post so many times haha.
(and now this one)
|
|