Author: aliascartoons
Author Website:

Requirements: No addons required

Version: 1.03

Short description: Intro script provides a way to control the camera and create awesome intros for your missions.

Date: 2017-09-15 18:01


Comments: (4)
Rating:



 



Intro Script

by
aliascartoons


Description:
Intro script provides a way to control the camera and create awesome intros for your missions.
Script MP, JIP and SP compatible.
You can use, adapt and/or modify the script as you see fit.


Installation / Usage:
Place this lines in your intro.sqf file and replace variables with according values.
_camera_shot = [position_1_name, position_2_name, target_name, duration, zoom_level1, zoom_level_2, attached, x_rel_coord, y_rel_coord, z_rel_coord] execVM "camera_work.sqf";
waitUntil {scriptdone _camera_shot};

Where
_camera_shot - string, is the name/number of the camera shot, you can have as many as you want see examples from down bellow
position_1_name - string, where camera is created, replace it with the name of the object you want camera to start from
position_2_name - string, the object where you want camera to move, if you don't want to move from initial position put the same name as for position_1_name
target_name - string, name of the object you want the camera to look at
duration - seconds, how long you want the camera to function on current shot
zoom_level_1 - takes values from 0.01 to 2, FOV (field of view) value for initial position
zoom_level_2 - takes values from 0.01 to 2, FOV value for second position, if you don't to change you can give the same value as you did for zoom_level_1
attached - boolean, if you want to attach camera to an moving object its value has to be true, otherwise must be false
in this case position_1_name must have the same value as position_2_name
x_rel_coord - meters, relative position to the attached object on x coordinate
y_rel_coord - meters, relative position to the attached object on y coordinate
z_rel_coord - meters, relative position to the attached object on z coordinate


Media:



Armaholic.com has its own Youtube channel where we will cover the Community made releases.
Subscribe to the Armaholic.com Youtube channel


Notes:
If you have questions let me know, also if you have a video made using this script send me the link, i'll be happy to feature it.

Tested on dedicated but not in MP. Any feedback would be greatly appreciated. Thanks!


Credits & Thanks:
Special thanks to Distinct and Grim_2o0o for providing constructive feedback.


Changelog:
v1.03
- changed the script structure
- added a new boolean parameter in camera shot for better control and simpler way to test the intro on the fly
- added a new parameter which provides options to deal with JIP players and makes it MP friendly in a simpler way than suggested before

v1.02
- changed variables type to control intro progress to prevent players to get stuck in camera view
- changed condition for script to run to avoid launching it on HC

v1.01
fixed: when on MP/dedicated with many players camera would jump between player view and camera shot, now should work fine.

v1.0
- fitrst release


Forum topic:
- BI forums


Steam Workshop:
- Subscribe




Enable javascript to be able to download from Armaholic please!



Tags: No tags