Scripts / Need help in Cinematics

Author
Message
Suraj Singha
8
Years of Service
User Offline
Joined: 2nd Mar 2016
Location:
Posted: 11th Mar 2016 06:42
I wanted to make an event when player enters a triggerzone, the camera will automatically redirected to an object... Means player will not be able to control the character, instead the camera will be automatically moved... Like in Far Cry 3..
PM
Belidos
3D Media Maker
9
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 11th Mar 2016 07:50
As far as I am aware there are no LUA commands to control the camera separately from the player. Of the top of my head the closest I can think of would be to make them walk on to an object and move the object with them on to the object you want to view.

i7, NV960 4GB, 16GB memory, 2x 4TB Hybrid, Win10.
i5 , AMD 6770 1GB, 8GB memory, 512GB Generic SATAIII + 2TB Seagate Baracuda SATAIII, Win7.
i3, Radeon integrated graphics, 4GB memory, 512gB Generic SATAII, Win8.1.
Q6600, Intel integrated graphics, 2GB memory, 180GB Generic SATAII, WinXP.
DVader
20
Years of Service
User Offline
Joined: 28th Jan 2004
Location:
Posted: 11th Mar 2016 08:42
As Belidos says there are no direct camera controls, the closest you can get at the moment is the transport command.


SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 11th Mar 2016 09:44
as said above it can be done but its quite limiting on angle and such so a better way might be to walk the desired direction in a test game and record it, then you can just playback the video instead.

Turn off the AI if you have enemies (F11).
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Login to post a reply

Server time is: 2024-12-22 15:11:57
Your offset time is: 2024-12-22 15:11:57