Jump to content

Fuchs

Member
  • Posts

    406
  • Joined

  • Days Won

    5

Posts posted by Fuchs

  1. You mean like this :

    Expansion\beta\arma2oaserver.exe -ip=xxx.xxx.xxx.xxx -port=2302 -beta=Expansion\beta;Expansion\beta\Expansion -name=defaultserver -profiles=defaultserver -cfg=defaultserver\basic.cfg -config=defaultserver\server.cfg -mod=expansion;expansion\beta;expansion\beta\expansion

    It's just another way to startup the server .

    Using this method since gamespy shutdown and works good.

    epoch.bat

    @echo off
    
    :: Settings:
    
    set ARMApath = C:\Server\ArmA2OA\instance_11_Chernarus
    set instance = 11
    set BECpath = C:\Server\ArmA2OA\instance_11_Chernarus\BEC
    set port = 2302
    set mod = @DayZ_Epoch106;@DayZ_Epoch_Server;
    set dbport = 3306
    set dbuser = xx
    set dbpass = xx
    set dbname = dayz_epoch
    set worldid = 11
    
    timeout 5
    :initialize
    cls
    :: see if our settings are correct
    echo ARMA main directory is: C:\Server\ArmA2OA
    echo ARMA BEC directory is:  C:\Server\ArmA2OA\instance_11_Chernarus\BEC 
    echo.
    cd /d C:\Server\ArmA2OA
    echo Switched to ArmA 2 main directory:
    echo C:\Server\ArmA2OA\instance_11_Chernarus\arma2oaserver
    echo.
    echo Killing current running server ...
    taskkill /IM arma2oaserver.exe
    echo.
    
    :start 
    timeout 5
    echo Starting server again ...1
    @start instance_11_Chernarus\arma2oaserver.exe -beta=Expansion\beta;Expansion\beta\Expansion -mod=@DayZ_Epoch106;@DayZ_Epoch_Server; -name=instance_11_Chernarus -config=instance_11_Chernarus\config.cfg -cfg=instance_11_Chernarus\basic.cfg -profiles=instance_11_Chernarus -port=2302 -cpuCount=4 -maxMem=2048 -exThreads=7 -noCB -noPause -noSound -loadMissionToMemory -autoInit
    echo.
    
    :start_bec
    timeout 25
    echo starting BEC again...
    cd /d C:\Server\ArmA2OA\instance_11_Chernarus\BEC
    echo Switched to instance 11 BEC directory:
    echo C:\Server\ArmA2OA\instance_11_Chernarus\BEC
    start bec.exe -f Config.cfg
    echo.
    echo restart procedure completed
    exit

     

  2.  

    config.cfg

    Quote

    ip = "YOUR IP";
    port = "2302";
    SteamPort = "2305";
    SteamQueryPort = "2303";
    hostName = "[WIP]  DayZ Epoch Chernarus Server (1.0.5.1/131129)";
    password = "";
    passwordAdmin = "xx";
    maxPlayers = 50;
    logFile = "server_log.txt";
    voteThreshold = 2;
    voteMissionPlayers = 3;
    reportingIP = "arma2oapc.master.gamespy.com";
    timeStampFormat = "short";
    motd[] = {"DayZ Epoch","Have fun!"};
    motdInterval = 0;
    vonCodecQuality = 11;
    disableVoN = 1;
    kickduplicate = 1;
    verifySignatures = 0;
    persistent = 1;
    BattlEye = 1;
    doubleIdDetected = "";
    onUserConnected = "";
    onUserDisconnected = "";
    onUnsignedData = "kick (_this select 0)";
    onHackedData =     "kick (_this select 0)";
    onDifferentData = "";
    regularCheck = "";
    requiredBuild = 131129;
    requiredSecureId = 2;

    class Missions
    {
        class Mission1
        {
            template = "DayZ_Epoch_11.Chernarus";
            difficulty="veteran";
        };

    };

     

  3. Hey Guys and Girls !

     

    Anyone here know's how to setup zombies with a headshot only kill ?

     

    Please if anyone has a clue about post or pm me ! :rolleyes:

     

     

    cheers fuchs

     

     

     

    open your compiles and search for local_zombieDamage

     

    e.g.

    	//local_zombieDamage = 			compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_damageHandlerZ.sqf";		//Generated by the client who created a zombie to track damage
    	local_zombieDamage = 			compile preprocessFileLineNumbers "AlpenFestung\walkingdead\fn_damageHandlerZ.sqf";		//Generated by the client who created a zombie to track damage 
    

    fn_damageHandlerZ.sqf found in dayz_code

    //[unit, selectionName, damage, source, projectile]
    //will only run when local to the created object
    //record any key hits to the required selection
    private["_zed","_selection","_damage","_hitter","_projectile","_headShots","_damageOrg"];
    
    _zed = 			_this select 0;
    _selection = 	_this select 1;
    _damage = 		_this select 2;
    _hitter = 		_this select 3;
    _projectile = 	_this select 4;
    
    if (local _zed) then {
    
    	if (_damage > 1 && _projectile != "") then {
    		//Record deliberate critical damages
    		switch (_selection) do {
    			case "head_hit": {
    				if (!(_zed getVariable["hitRegistered",false])) then {
    					_headShots = _hitter getVariable["headShots",0];
    					_hitter setVariable["headShots",(_headShots + 1),true];
    					_zed setVariable["hitRegistered",true];
    				};
    			};
    		};
    		if (_projectile isKindOf "Bolt") then {
    			_damageOrg = _hitter getVariable["firedDamage",0]; //_unit getVariable["firedSelection",_selection];
    			if (_damageOrg < _damage) then {
    				_hitter setVariable["firedHit",[_zed,_selection],true];
    				_hitter setVariable["firedDamage",_damage,true];
    			};
    		};
    	};
    };
    
    if (_selection == "head_hit") then {
    	_damage
    } else {
    	0
    };
    

    I wanna take it on a higher level:

     

    So if you shoot on their body nothing happens ,shooting in the head their dead!

     

    Anyone knows a really good scripting tutorial?

  4. Who ever wrote this bat for ArmA2OA Epoch i really love you since i cant got it working with TADST !
    

    Just delete the .txt after .bat and change the pathnames !!!!

    
    @echo off
    
    :: Settings:
    set ARMA3path = C:\Server\ArmA3 //edit pathfile
    set BECpath = C:\Server\ArmA3\BEC\bec.exe -f config.cfg  //edit pathfile
    set port = 2312 //edit port
    [do we need to set the db name and port or similar like for dayzepoch????]
    set mod = @Epoch;@EpochHive;
    timeout 5
    
    :initialize
    cls
    :: see if our settings are correct
    echo ARMA3 main directory is: C:\Server\ArmA3 //edit pathfile
    echo ARMA3 BEC directory is:  C:\Server\ArmA3\BEC //edit pathfile
    echo.
    cd /d C:\Server\ArmA3 //edit pathfile
    echo Switched to ArmA 3 main directory:
    echo C:\Server\ArmA3\arma3server //edit pathfile
    echo.
    echo Killing current running server ...
    taskkill /IM arma3server.exe
    echo.
    
    :start
    timeout 5
    echo Starting server again ...1
    @start arma3server.exe -mod=@Epoch;@EpochHive; -name=SC -config=C:\Server\ArmA3\SC\config.cfg -cfg=C:\Server\ArmA3\SC\basic.cfg -profiles=SC -port=2312 -cpuCount=8 -maxMem=2048 -exThreads=7 -noCB -noPause -noSound -malloc=system  //edit pathfile
    echo.
    
    :start_bec
    timeout 25
    echo starting BEC again...
    cd /d C:\Server\ArmA3\BEC //edit pathfile
    echo Switched to instance 1 BEC directory:
    echo C:\Server\ArmA3\BEC //edit pathfile
    start bec.exe -f Config.cfg
    echo.
    echo restart procedure completed
    exit
    

    Use the download not the file in the code over there...just an example where u have to edit the files !

     

    I hope i didn't forgot something... otherwise reply !

     

    Have fun !

     

    cheers fox

    a3epoch.bat.txt

  5. Morning!

     

    I know this example ,so do you want to set the vectors ?

     

    mmmmm I am looking in to diffrent commands, like 

    this setvectorup [0,0,1];
    

    This will make the buliding always stand stright up.. If you throw thoose numbers around you will get diffrent results. For example.

     


     

     

     

    I'm now trying to setup this my VM.

     

  6.  

    change

    		_unit enableAI "TARGET";
    		_unit enableAI "AUTOTARGET";
    		_unit enableAI "MOVE";
    		_unit enableAI "ANIM";
    		_unit enableAI "FSM";
    		_unit setCombatMode ai_combatmode;
    		_unit setBehaviour ai_behaviour;
    		removeAllWeapons _unit;
    		removeAllItems _unit;
    		_unit addweapon _weapon;
    

    to 

    		_unit enableAI "TARGET";
    		_unit enableAI "AUTOTARGET";
    		_unit enableAI "MOVE";
    		_unit enableAI "ANIM";
    		_unit enableAI "FSM";
    		_unit setCombatMode ai_combatmode;
    		_unit setBehaviour ai_behaviour;
    		removeAllWeapons _unit;
    		removeAllItems _unit;
    		_unit addweapon _weapon;
    
                    // Soul Hive
    		_unit setVariable["CashMoney",5000,true];
                    // 999 Hive
                    _unit setVariable["headShots",5000,true];
    
    

    Or how much cash u want, i put 5000 now, change that number to your likings

     

     

    If u want like random generated cash try this:

     

    Between 0 to 20000 ( always +1000)

    
    		_unit enableAI "TARGET";
    		_unit enableAI "AUTOTARGET";
    		_unit enableAI "MOVE";
    		_unit enableAI "ANIM";
    		_unit enableAI "FSM";
    		_unit setCombatMode ai_combatmode;
    		_unit setBehaviour ai_behaviour;
    		removeAllWeapons _unit;
    		removeAllItems _unit;
    		_unit addweapon _weapon;
    
    
                    _cash = round(random 20) * 1000; // number between 0 and 20 000
    
                    // Soul Hive
    		_unit setVariable["CashMoney",_cash ,true];
                    // 999 Hive
                    _unit setVariable["headShots",_cash ,true];
    

    Hi all!

     

    Does this also work for DZAI ?

×
×
  • Create New...