Jump to content
  • 0

Looking for mod: Camera pans in from above/music


BetterDeadThanZed

Question

10 answers to this question

Recommended Posts

  • 0

init file;

 

edit this

 

//REALLY IMPORTANT VALUES
dayZ_instance =    11;                    //The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
PVDZE_plr_LoginRecord = nil;        //cameraOnSpawn               <-------- edit this bit
server_name = "TheGreenRoom";    //Watermark

 

and this

 

//Run the player monitor
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "custom\camera\loginCamera.sqf";}];
    _playerMonitor =     [] execVM "dayz_code\system\player_monitor.sqf";

 

add this to the bottom

 

[] execVM "custom\camera\loginCamera.sqf";

 

in description add or add too the class;

 

class CfgSounds
{
    sounds[] =
    {
    introSong
    };
    class introSong
    {
    name="introSong";
    sound[]={"custom\introSong.ogg",0.9,1};
    titles[] = {};
    };
};

 

Class example

class RscPicture
{
    access=0;
    type=0;
    idc=-1;
    style=48;
    colorBackground[]={0,0,0,0};
    colorText[]={1,1,1,1};
    font="TahomaB";
    sizeEx=0;
    lineSpacing=0;
    text="";
};
class CfgSounds
{
    sounds[] =
    {
    introSong
    };
    class introSong
    {
    name="introSong";
    sound[]={"custom\introSong.ogg",0.9,1};
    titles[] = {};
    };
};

 

add the sqf file

 

logincamera

private [ "_camera", "_welcomeMessage", "_camDistance" ];
_welcomeMessage = format["%1, has dropped in!",format["%1", name player]];
_camDistance = 60;
 
waitUntil {!isNil ("PVDZE_plr_LoginRecord")};
playsound "introSong";
 
//intro move
showCinemaBorder true;
camUseNVG false;
 
_camera = "camera" camCreate [(position player select 0)-80*sin (round(random 359)), (position player select 1)-80*cos (round(random 359)),(position player select 2)+_camDistance];
_camera cameraEffect ["internal","back"];
 
_camera camSetFOV 2.000;
_camera camCommit 0;
waitUntil {camCommitted _camera};
 
_camera camSetTarget vehicle player;
_camera camSetRelPos [0,0,0];
_camera camCommit 14;
 
cutText [_welcomeMessage, "PLAIN DOWN"];
 
waitUntil {camCommitted _camera};
 
_camera cameraEffect ["terminate","back"];
camDestroy _camera;

 

I used the name introsong for the music.

 

 

Obviously adjust the file names and addresses.

 

Its should work for you now.

 

Goodluck!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...