Jump to content

3rd Person View


khalcifer

Recommended Posts

I use this code: 

vehicle player switchCamera 'EXTERNAL';

in one of my scripts that gets run on login for the player, you could use rules.sqf

So that will force them to 3PV on login.

The default epoch Battleye filters will kick for it, so here's the exemption for scripts.txt, this would go on the line starting with: 5 switchCamera: 

!="vehicle player switchCamera 'EXTERNAL';"

 

Link to comment
Share on other sites

here is my rules.sqf can you tell me where i need paaste your code?

Spoiler

private ["_messages","_timeout"];

waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};

_messages = [
    ["Dayz Epoch Infinity PVE!!!", "Welcome "+(name player)],
    ["Website", "soon"],
    ["Server Rules", "Using dupes / hacks / glitches<br />Leads to a permanent ban."],
    ["Additions", "Single currency, Bankers,<br />Vehicle Finder,<br />Towing, Choice of respawn,<br />Mystery Briefs,<br />Deploy bike,<br />Custom Missions,<br /> and much more!"],
    ["Hotkeys", "Keys 1,2,3 for changing weapons,<br />F1 - Earplugs,<br />F5 - Group Manager"],
    ["Teamspeak Channel", "soon"]
];
 
_timeout = 8;
{
    private ["_title","_content","_titleText"];
    uiSleep 2;
    _title = _x select 0;
    _content = _x select 1;
    _titleText = format[("<t font='TahomaB' size='0.45' color='#00ff00' align='right' shadow='1' shadowColor='#000000'>%1</t><br /><t shadow='1'shadowColor='#000000' font='TahomaB' size='0.60' color='#FFFFFF' align='right'>%2</t>"), _title, _content];
    [
        _titleText,
        [safezoneX + safezoneW - 0.8,0.50],     //DEFAULT: 0.5,0.35
        [safezoneY + safezoneH - 0.8,0.7],      //DEFAULT: 0.8,0.7
        _timeout,
        0.5
    ] spawn BIS_fnc_dynamicText;
    uiSleep (_timeout * 1.1);
} forEach _messages;

 

Link to comment
Share on other sites

3 hours ago, khalcifer said:

here is my rules.sqf can you tell me where i need paaste your code?

  Hide contents

private ["_messages","_timeout"];

waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};

_messages = [
    ["Dayz Epoch Infinity PVE!!!", "Welcome "+(name player)],
    ["Website", "soon"],
    ["Server Rules", "Using dupes / hacks / glitches<br />Leads to a permanent ban."],
    ["Additions", "Single currency, Bankers,<br />Vehicle Finder,<br />Towing, Choice of respawn,<br />Mystery Briefs,<br />Deploy bike,<br />Custom Missions,<br /> and much more!"],
    ["Hotkeys", "Keys 1,2,3 for changing weapons,<br />F1 - Earplugs,<br />F5 - Group Manager"],
    ["Teamspeak Channel", "soon"]
];
 
_timeout = 8;
{
    private ["_title","_content","_titleText"];
    uiSleep 2;
    _title = _x select 0;
    _content = _x select 1;
    _titleText = format[("<t font='TahomaB' size='0.45' color='#00ff00' align='right' shadow='1' shadowColor='#000000'>%1</t><br /><t shadow='1'shadowColor='#000000' font='TahomaB' size='0.60' color='#FFFFFF' align='right'>%2</t>"), _title, _content];
    [
        _titleText,
        [safezoneX + safezoneW - 0.8,0.50],     //DEFAULT: 0.5,0.35
        [safezoneY + safezoneH - 0.8,0.7],      //DEFAULT: 0.8,0.7
        _timeout,
        0.5
    ] spawn BIS_fnc_dynamicText;
    uiSleep (_timeout * 1.1);
} forEach _messages;

 

After this line: 

waitUntil {uiSleep 1; !isNil ("Dayz_loginCompleted")};

 

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...