57 camera_position[0] = 1323.0;
58 camera_position[1] = 1.0;
59 camera_position[2] = 1590.37;
60 float camera_rotation_h = 100;
61 float camera_rotation_v = -3;
62 float camera_fov = 0.85;
63 float camera_focus_distance = 0.0;
64 float camera_focus_streght = 0.0;
67 float character_distance = 2.25;
70 m_SceneCamera =
CameraCreate(camera_position, camera_rotation_h, camera_rotation_v, camera_fov, camera_focus_distance, camera_focus_streght);
77 m_CharacterPos = camera_position + ( cam_dir * character_distance );
94 g_Game.SetHudBrightness(
g_Game.GetHUDBrightnessSetting());
141 PPERequester_MenuEffects requester;
142 Class.
CastTo(requester,PPERequesterBank.GetRequester(PPERequester_MenuEffects));
144 requester.SetVignetteIntensity(0.3);
145 PPERequesterBank.GetRequester(PPERequester_IntroChromAbb).Start();
185 vector pos_right = pos + (dir * 1.5);
186 vector pos_left = pos + (-dir * 1.5);
239 protected Camera CameraCreate(
vector cam_pos,
float cam_rot_h,
float cam_rot_v,
float cam_fov,
float cam_focus_dist,
float cam_focus_strg)
242 cam.SetOrientation(
Vector( cam_rot_h, cam_rot_v, 0) );
243 cam.SetFOV( cam_fov );
244 cam.SetFocus(cam_focus_dist, cam_focus_strg);
286 string character_name;
346 float pos_x = pos[0];
347 float pos_z = pos[2];
350 tmp_pos[1] = tmp_pos[1] + pos[1];
proto native owned string GetName()
proto native BiosUser GetSelectedUser()
Returns the currently selected user.
proto native void ObjectDelete(Object obj)
MenuDefaultCharacterData GetMenuDefaultCharacterData(bool fill_data=true)
proto native Object CreateObject(string type, vector pos, bool create_local=false, bool init_ai=false, bool create_physics=true)
Creates object of certain type.
override ScriptCallQueue GetCallQueue(int call_category)
proto native BiosUserManager GetUserManager()
proto native float SurfaceY(float x, float z)
Super root of all classes in Enforce script.
protected ref MenuEvaporation m_FXParticleStreamLeft
void UpdateSelectedUserName()
protected int m_LastPlayedCharacterID
void CheckXboxClientUpdateLoopStart()
protected ref MenuEvaporation m_FXParticleStreamRight
ref Timer m_TimerClientUpdate
protected ref MenuCarEngineSmoke m_FXParticleCarSmoke
protected ref TStringArray m_genderList
protected ref TIntArray m_Date
protected Weather m_Weather
protected ref IntroSceneCharacter m_Character
void CheckXboxClientUpdateLoopStop()
vector SnapToGround(vector pos)
ref Timer m_TimerParticle
void DayZIntroSceneXbox()
bool CheckXboxClientUpdate()
protected ref TStringArray m_CharShirtList
protected MenuData m_MenuData
void SaveCharName(string name)
protected ref TStringArray m_CharPantsList
protected Object m_Clutter
protected ref TStringArray m_CharPersonalityFemaleList
protected bool m_IsCharFemale
protected Camera CameraCreate(vector cam_pos, float cam_rot_h, float cam_rot_v, float cam_fov, float cam_focus_dist, float cam_focus_strg)
protected void SetInitPostprocesses()
void ~DayZIntroSceneXbox()
protected vector m_CharacterPos
void UpdateCharacterPos()
IntroSceneCharacter GetIntroCharacter()
protected vector m_CharacterDir
void CreateRandomCharacter()
protected ref TStringArray m_CharPersonalityMaleList
protected ref TStringArray m_CharShoesList
protected Camera m_SceneCamera
protected ref TStringArray m_AllCharacters
void SetCharacterFemale(bool fem)
void IntroSceneCharacter()
static bool CheckUpdate()
Static component of PPE manager, used to hold the instance.
static PPEManager GetPPEManager()
Returns the manager instance singleton.
Deprecated; 'PPEManager' used instead.
Manager class for managing Effect (EffectParticle, EffectSound)
static int PlayInWorld(notnull Effect eff, vector pos)
Play an Effect.
static void DestroyEffect(Effect effect)
Unregisters, stops and frees the Effect.
proto void CallLater(func fn, int delay=0, bool repeat=false, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto void Call(func fn, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto vector Normalized()
return normalized vector (keeps orginal vector untouched)
proto native CGame GetGame()
const string DEFAULT_CHARACTER_NAME
static proto bool CastTo(out Class to, Class from)
Try to safely down-cast base class to child class.
proto native vector Vector(float x, float y, float z)
Vector constructor from components.
static proto int RandomInt(int min, int max)
Returns a random int number between and min [inclusive] and max [exclusive].