Creating a spawn intro cut-scene?

So I'm using epoch 1.0.2.5 with epochs halo spawn for new spawns and this login camera for relog only
ok all i did was removed this line
Code:
waitUntil {!isNil ("PVDZE_plr_LoginRecord")};
from my logingcamera.sqf then in my player_monitor.fsm look for
Code:
      "if(dayz_paraSpawn and !(player isKindOf ""PZombie_VB"")) then {" \n
      "    player setPosATL [(_setPos select 0),(_setPos select 1),1000];" \n
      "    player setDir _setDir;" \n
      "    [player, 1000] exec ""ca\air2\halo\data\Scripts\HALO_init.sqs"";" \n
      "} else {" \n
      "" \n
and add in (and _isNew) to the dayz_paraSpawn line, and change the call in for the login camera from the Init.sqf to the player_monitor.fsm like so
Code:
      "if(dayz_paraSpawn and !(player isKindOf ""PZombie_VB"") and _isNew) then {" \n
      "    player setPosATL [(_setPos select 0),(_setPos select 1),2000];" \n
      "    player setDir _setDir;" \n
      "    [player, 2000] exec ""ca\air2\halo\data\Scripts\HALO_init.sqs"";" \n
      "    _nul = [] execVM ""custom\altimeter.sqf"";" \n
      "} else {" \n
      "_nul = [] execVM ""camera\logincamera_execute.sqf"";" \n
      "" \n
camera\logincamera_execute.sqf is the file that i call the logincamera and playerspawn.sqf (godmode)
Code:
      "    _nul = [] execVM ""custom\altimeter.sqf"";" \n
i added this line in to make the altimeter work for dayz_paraSpawn
 
The sound isn´t playing for me on Epoch 1.0.2.5 I know a bit about scripting so i followed the instructions correctly but maybe my .ogg file is wrong somehow? i will post it here maybe someone can check ;) thx :D
https://www.dropbox.com/s/mfzwk8soa8qvw6x/introSong.ogg
tried ur .ogg file works fine for me, my description.ext looks like
Code:
respawn = "BASE";
respawndelay = 5;
onLoadMission= "DayZ Epoch Chernarus";
OnLoadIntro = "Welcome to DayZ Epoch Chernarus";
OnLoadIntroTime = False;
OnLoadMissionTime = False;
disabledAI = true;
disableChannels[]={0,2,6};
enableItemsDropping = 0;
#include "R3F_Realism\R3F_Weight\R3F_CfgWeight.h"
briefing = 0;
debriefing = 0;
 
onPauseScript = "";
//loadScreen = "\z\addons\dayz_code\gui\dayz_logo_ca.paa";
loadScreen = "custom\loadingscreen.jpg";
class CfgSounds {
    sounds[] = {playerSnoring,spawn_in,drink_water};
    class playerSnoring {
        name = "";
        sound[]={"custom\sfx\snoring.ogg",0.9,1};
        titles[] = {};
    };
    class spawn_in {
        name = "";
        sound[] = {"custom\sfx\spawn_in.ogg",0.9,1};
        titles[] = {};
    };
    class drink_water {
        name = "";
        sound[] = {"custom\sfx\drink_water.ogg",0.9,1};
        titles[] = {};
    };
};
and i called it in, in my playerspawn.sqf (god mode at login script)
Code:
waitUntil {(!isNull Player) and (alive Player) and (player == player) and (!isNil 'dayz_animalCheck')};
player_zombieCheck = {};
fnc_usec_damageHandler = {};
fnc_usec_unconscious  = {};
player allowDamage false;
playsound "spawn_in";
sleep 22;
cutText ["Good luck, Your Gunna Need It !!!", "PLAIN DOWN"];
sleep 15;
player_zombieCheck = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\player_zombieCheck.sqf";
fnc_usec_damageHandler = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandler.sqf";
fnc_usec_unconscious = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_unconscious.sqf";
player allowDamage true;
cutText ["WARNING!!! GOD MODE MODE IS NOW DEACTIVATED", "PLAIN DOWN"];
but u could call it in, in the loginCamera.sqf at the start make sure u see
Code:
playsound "spawn_in";
or whatever u called ur file hope this helps
 
I actually made a stupid mistake... had another class configsound done before by another script and forgot to give this one another name... thank you for your reply though this community is awesome!!
 
Hi all!

How do i display the server infos on the logincamera ?
It wont show up on a Epoch Server i had this piece of code running on a vanilla DayZ 1.7.6.1 Server

Code:
_role1 = "SERVER INFOS";
_role1names = ["PVP is NOT allowed","DayZ Epoch v1.0.2.5"];
_role2 = "Server Rules";
_role2names = ["Never infiltrating/stealing in Bases","No Bugusing","Bases staying 3 months then u have to rebuild your base"];
_role3 = "Server Mods";
_role3names = ["Safezones in Bash, Klen and Stary","Refuel-Rearm-Repair Script","Self Bloodbag", "Bandit AI 1.8.1", "New Login", "Custom Buildings by GOC Charlatan aka FOAR","Better FX"];
_role5 = "Autom.Restarts";
_role5names = [ "06:00", "12:00", "18:00", "24:00"];
_role6 = "THX to";
_role6names = ["ArmAholic.com","Bohemia Interactive","dayzepoch.com"."OpenDayZ.net","Play Hard,but Fair!"];
 
{
  sleep 2;
    _memberFunction = _x select 0;
    _memberNames = _x select 1;
    _finalText = format ["<t size='0.75' color='#ffffff' align='left'>%1<br /></t><t size='0.1'><br /></t>", _memberFunction];
    _finalText = _finalText + "<t size='0.60' color='#ffffff' align='left'>";
    {_finalText = _finalText + format ["%1<br />", _x]} forEach _memberNames;
    _finalText = _finalText + "</t>";
    _onScreenTime = 1 + (((count _memberNames) - 1) * 0.5);
    [
        _finalText,
        [safezoneX + safezoneW - 0.55,0.38],
        [safezoneY + safezoneH - 0.8,0.7],
        _onScreenTime,
        0.5
    ] spawn BIS_fnc_dynamicText;
    sleep (_onScreenTime);
} forEach [
    [_role1, _role1names],
    [_role2, _role2names],
    [_role3, _role3names],
    [_role5, _role5names],
    [_role6, _role6names] // Keep this one in mind, NO COMMA on the last role
];
 
Sooo im running an DayZ Epoch 1.0.2.5 server and i got a problem with the login Camera.... the login sound works great but i dont know why the camera dont work... heres my init.sqf:
Code:
//REALLY IMPORTANT VALUES
dayZ_instance =    11;                    //The instance
dayzHiveRequest = [];
initialized = false;
dayZ_serverName = "SuS Server";
dayz_previousID = 0;
PVDZE_plr_LoginRecord = nil; // Epoch
 
 
    //Run the player monitor
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "loginCamera.sqf";}];
    _playerMonitor = [] execVM "fixes\spawn\player_monitor.sqf";
    _nul = [] execVM "camera\loginCamera.sqf";
    _nul = [] execVM "playerspawn.sqf";
    _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";

and heres the loginCamera.sqf:
Code:
private ["_camera", "_camDistance"];
_camDistance = 150;
 
waitUntil {!isNil ("PVDZE_plr_LoginRecord")}; \\ Epoch
 
 
//intro move
showCinemaBorder true;
camUseNVG false;
 
_camera = "camera" camCreate [(position player select 0)-2, position player select 1,(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,2];
_camera camCommit 8;
 
waitUntil {camCommitted _camera};
 
_camera cameraEffect ["terminate","back"];
camDestroy _camera;

anyone see the problem? i tested so much things but i dont get it...

would be pretty nice if anyone can say me how i get this working
 
it took me a bit to get it right but here is what i have for epoch 1.0.2.5

loginCamera.sqf
Code:
private [ "_camera", "_welcomeMessage", "_camDistance" ];
_welcomeMessage = format["Welcome to PsyDayz Panthera %1, Enjoy your stay!",format["%1", name player]];
_camDistance = 60;
 
waitUntil {!isNil ("PVDZE_plr_LoginRecord")};
 
//intro move
showCinemaBorder true;
camUseNVG false;
 
_camera = "camera" camCreate [(position player select 0)-100*sin (round(random 359)), (position player select 1)-100*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,2];
_camera camCommit 30;
 
cutText [_welcomeMessage, "PLAIN DOWN"];
 
waitUntil {camCommitted _camera};
 
_camera cameraEffect ["terminate","back"];
camDestroy _camera;

camera_init.sqf
Code:
waitUntil {!isNil ("dayzLoginRecord")};
 
//intro move
showCinemaBorder true;
camUseNVG false;
 
_camera = "camera" camCreate [(position player select 0)-100*sin (round(random 359)), (position player select 1)-100*cos (round(random 359)),(position player select 2)+60];
_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 30;
waitUntil {camCommitted _camera};
 
_camera cameraEffect ["terminate","back"];
camDestroy _camera;

init.sqf
Code:
//REALLY IMPORTANT VALUES
dayZ_instance = 16;    //The instance
dayzHiveRequest = [];
initialized = false;
dayz_previousID = 0;
PVDZE_plr_LoginRecord = nil;
i bit later in init.sqf
Code:
//Run the player monitor
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "camera_init.sqf";}];
    _id = player addEventHandler ["Respawn", {_id = [] spawn player_death; _nul = [] execVM "playerspawn.sqf";}];
    _playerMonitor =    [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";
    _nul = [] execVM "camera\loginCamera.sqf";
    _nul = [] execVM "playerspawn.sqf";
    _void = [] execVM "R3F_Realism\R3F_Realism_Init.sqf";
and at the bottom of the init.sqf
Code:
[] execVM "camera\loginCamera.sqf";
and the description.ext for the sounds
Code:
class CfgSounds
{
    sounds[] = { playerSnoring, introSong};
 
    class playerSnoring
    {
    name="playerSnoring";
    sound[]={\custom\sfx\snoring.ogg,0.9,1};
    titles[] = {};
    };
    class introSong
    {
    name="introSong";
    sound[]={introSong.ogg,0.9,1};
    titles[] = {};
    };
};

i hope this helps
i plan on checking this and posting on it when commander finally updates to epoch 1.0.3.1 cuz i cant get 1.0.3 to work for anything

oh and this is on a panthera test server
 
Anybody with a script on Epoch 1.0.3.1?
Try this?
Code:
waitUntil {!isNil "dayz_animalCheck"};
//intro move
showCinemaBorder true;
camUseNVG false;
_camera = "camera" camCreate [(position player select 0)-100*sin (round(random 359)), (position player select 1)-100*cos (round(random 359)),(position player select 2)+60];
_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 8;
waitUntil {camCommitted _camera};
_camera cameraEffect ["terminate","back"];
camDestroy _camera;
 
yeah it also not working for me on epoch / overpoch 1.0.5.1 / 0.2.4 .... i tried all kinds diff things.. if anyone knows how to create this for the newest version of Dayz epoch please let me know..

many thanks
 
Back
Top