Bullet Cam Script // Fly Script // DayZ Standalone

Posts 1–14 of 14 · Page 1 of 1
Bullet Cam Script // Fly Script // DayZ Standalone
I was having some fun so i thought i would record a quick video, sorry for the bad quality and lack of editing.

Video Removed

Credits: Jason7032, Bowen, Unknown Entity

Apparently these are arma 2 scripts. Enjoy!

BULLET CAM
Code:
if (isNil "bulletcamon") then {
    bulletcamon = false;
};

if (!bulletcamon) then
{
    bulletcamon = true;
    
    player addEventHandler ["Fired", {
    _null = _this spawn {
        _missile = _this select 6;
        _cam = "camera" camCreate (position player);
        _cam cameraEffect ["External", "Back"];
        waitUntil {
            if (isNull _missile) exitWith {true};
            _cam camSetTarget _missile;
            _cam camSetRelPos [0,-3,0];
            _cam camCommit 0;
        };
        sleep 0.4;      
        _cam cameraEffect ["Terminate", "Back"];
        camDestroy _cam;
    };
}];
    hint "bullet cam ON!";
}
else
{
    bulletcamon = false;
    
    (vehicle player) removeAllEventHandlers "Fired";


    
    
    hint "bullet cam OFF!";
};
FLY
Code:
// Flying Script by Jason7032// Bowen's Edit //

forwardAndBackward = 4;
leftAndRight = 2;     
upAndDown = 5;         
distanceFromGround = 1;
hovering = nil;
hoverPos = nil;


move_forward =
{
        if ((getPosATL (vehicle player) select 2) > distanceFromGround) then
        {
_vehicle = (vehicle player);
_vel = velocity _vehicle;
_dir = direction _vehicle;
_speed = 0.4; comment "Added speed";
_vehicle setVelocity [(_vel select 0)+(sin _dir*_speed),(_vel select 1)+
(cos _dir*_speed),1.4];
        };
};

move_left =
{
        if ((getPosATL (vehicle player) select 2) > distanceFromGround) then
        {
            _leftDirection = getdir (vehicle player);
            (vehicle player) setdir (_leftDirection) - leftAndRight;
            _leftDirection = getdir (vehicle player);
            (vehicle player) setdir (_leftDirection) - leftAndRight;
            _leftDirection = getdir (vehicle player);
            (vehicle player) setdir (_leftDirection) - leftAndRight;
        };
};

move_backward =
{
        if ((getPosATL (vehicle player) select 2) > distanceFromGround) then
        {
_vehicle = (vehicle player);
_vel = velocity _vehicle;
_dir = direction _vehicle;
_speed = -0.4; comment "Added speed";
_vehicle setVelocity [(_vel select 0)+(sin _dir*_speed),(_vel select 1)+
(cos _dir*_speed),0.4];
        };
};

move_right =
{
        if ((getPosATL (vehicle player) select 2) > distanceFromGround) then
        {
            _rightDirection = getdir (vehicle player);
            (vehicle player) setdir (_rightDirection) + leftAndRight;
            _rightDirection = getdir (vehicle player);
            (vehicle player) setdir (_rightDirection) + leftAndRight;
            _rightDirection = getdir (vehicle player);
            (vehicle player) setdir (_rightDirection) + leftAndRight;
            player setVariable["lastPos",1];player setVariable["lastPos",[]];
        };
};

move_up =
{
    if ((getPosATL (vehicle player) select 2) < distanceFromGround) then
    {
        //player setVariable["dayz_isSwimming",true,false];
        //player playMoveNow "AswmPercMrunSnonWnonDf_AswmPercMstpSnonWnonDnon"
    };
    
_vehicle = (vehicle player);
_vel = velocity _vehicle;
_dir = direction _vehicle;
_speed = 3; comment "Added speed";
_vehicle setVelocity [(_vel select 0),(_vel select 1),5];
};

move_down =
{
        if ((getPosATL (vehicle player) select 2) > distanceFromGround) then
        {
           _vehicle = (vehicle player);
            _forwardCurrentDirection = getdir (vehicle player);
            _forwardCurrentPosition = getPosATL (vehicle player);
            (vehicle player) setdir _forwardCurrentDirection;
            _vehicle setVelocity [0,0,-5];
        };
};

toggle_hover =
{
    if (isnil "hovering") then
    {
        hovering = true;
        titleText ["Now hovering","PLAIN DOWN"]; titleFadeOut 4;
        hoverPos = getPosATL (vehicle player);
    }
    else
    {
        hovering = nil;
        titleText ["No longer hovering","PLAIN DOWN"]; titleFadeOut 4;
        //hoverPos = nil;
    };
};

if (isnil "iBeFlying") then
{
    titleText ["We're flying!!! (Press Q to toggle hover)","PLAIN DOWN"]; titleFadeOut 4;
    iBeFlying = true;
    keyForward = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 17) then {call move_forward;}"];     //W - Forward
    keyLeft = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 30) then {call move_left;}"];         //A - Left
    keyBackward = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 31) then {call move_backward;}"];     //S - Backward
    keyRight = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 32) then {call move_right;}"];         //D - Right
    //keyUp = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 16) then {call move_up;}"];         //Q - Up
    keyDown = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 44) then {call move_down;}"];         //Z - Down
    keyHover = (findDisplay 46) displayAddEventHandler ["KeyDown","if ((_this select 1) == 16) then {call toggle_hover;}"];     //SpaceBar - Toggle Hover
}
else
{
    titleText ["Going Down!!!","PLAIN DOWN"]; titleFadeOut 4;
    iBeFlying = nil;
    (findDisplay 46) displayRemoveEventHandler ["KeyDown", keyForward];
    (findDisplay 46) displayRemoveEventHandler ["KeyDown", keyLeft];
    (findDisplay 46) displayRemoveEventHandler ["KeyDown", keyBackward];
    (findDisplay 46) displayRemoveEventHandler ["KeyDown", keyRight];
    //(findDisplay 46) displayRemoveEventHandler ["KeyDown", keyUp];
    (findDisplay 46) displayRemoveEventHandler ["KeyDown", keyDown];
    (findDisplay 46) displayRemoveEventHandler ["KeyDown", keyHover];
};

while {iBeFlying} do
{
    if (hovering) then
    {
(vehicle player) setvelocity [0,0,0.2];
    };
};
Fly does not work :/
works for me.... landing can be a bit suicidal
The bulletcam hack works for SA?
Quote Originally Posted by basger View Post
The bulletcam hack works for SA?
ya =p
Bulletcam works for SA ;D
hey just wanted to ask does it work with the new patch?
I think it does still work. Correct me if im wrong
nope not working
fly is not working with new patch, not tested bullet cam
Sorrry im a noob! But how could i use this? Sorry for this question i guess it would probably sound really dum
Quote Originally Posted by manu354 View Post
Sorrry im a noob! But how could i use this? Sorry for this question i guess it would probably sound really dum
get a paid injector or run the vac gauntlet with a public hack. then inject the bulletcam script, your camera will now follow your bullets. fly is broken for now
Quote Originally Posted by Jme View Post
get a paid injector or run the vac gauntlet with a public hack. then inject the bulletcam script, your camera will now follow your bullets. fly is broken for now
Thanks! I don't really understand the vac gauntlet part but thanks anyway!
Quote Originally Posted by manu354 View Post
Thanks! I don't really understand the vac gauntlet part but thanks anyway!
either get a paid hack (where someone devotes time to bypassing anti hack (VAC)) or just use a free public injector and get all your steam games banned
nope
Quote Originally Posted by Jme View Post
either get a paid hack (where someone devotes time to bypassing anti hack (VAC)) or just use a free public injector and get all your steam games banned
A VAC ban in DayZ does not effect ANY other VAC enabled games.
Posts 1–14 of 14 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us