Re: RELEASE: DaiZy FACTIONS Chernarus 1987 v1.0

Posted by Eric the Viking on
URL: http://kodabar-dayz-daizy-single-player-forum.163.s1.nabble.com/RELEASE-DaiZy-FACTIONS-Chernarus-1987-v11-32b-20-10-20-tp13907p18567.html

Been playing around with some values merely to achieve what I felt was the desired effect.

I still run and suffer the same thirst/food penalties and on a bike or motorbike the rate is a little bit higher but in a car or heli I can travel much further (20Km) than before.

Changed the following code (original values are commented):

//Thirst-Hunger VehiclePlayer
        switch (1==1) do {
                default {
                        _thirst = (_speed + 4) * 2.8;
                        dayz_thirst = dayz_thirst + (_thirst / 28) * (dayz_temperatur / dayz_temperaturnormal); //27
                        dayz_hunger = dayz_hunger + (_hunger / 38); //33
                }; //2600m
                case (_typeOfVeh in bicycleList):{
                        _thirst = (_speed + 3) * 2.7;
                        dayz_thirst = dayz_thirst + (_thirst / 38) * (dayz_temperatur / dayz_temperaturnormal); //28
                        dayz_hunger = dayz_hunger + (_hunger / 48); //37
                        _speedVeh = speed _refObj;
                        if (_speedVeh > 6) then {
                                dayz_temperatur = dayz_temperatur - (_speedVeh / 92000);
                        };
                }; //3350m
                case ((_refObj isKindOf "Motorcycle") && !(_typeOfVeh in bicycleList)):{
                        _thirst = (_speed + 0.1) * 2;
                        dayz_thirst = dayz_thirst + (_thirst / 28) * (dayz_temperatur / dayz_temperaturnormal); //27
                        dayz_hunger = dayz_hunger + (_hunger / 70); //70
                        _speedVeh = speed _refObj;
                        if (_speedVeh > 6) then {
                                dayz_temperatur = dayz_temperatur - (_speedVeh / 84000);
                        };
                }; //4400m
                case (_refObj isKindOf "Car"):{
                        _thirst = _speed + 0.1; //(_speed + 0.1) * 2
                        dayz_thirst = dayz_thirst + (_thirst / 80) * (dayz_temperatur / dayz_temperaturnormal); //34
                        dayz_hunger = dayz_hunger + (_hunger / 180); //88
                }; //5800m
                /*
                case (_refObj isKindOf "Tank"):{
                        _thirst = (_speed + 3) * 2;
                        dayz_thirst = dayz_thirst + (_thirst / 25) * (dayz_temperatur / dayz_temperaturnormal);
                        dayz_hunger = dayz_hunger + (_hunger / 44);
                };
                */
                case (_refObj isKindOf "Air"):{
                        _thirst = _speed + 0.1;
                        dayz_thirst = dayz_thirst + (_thirst / 80) * (dayz_temperatur / dayz_temperaturnormal); //20
                        dayz_hunger = dayz_hunger + (_hunger / 180); //110
                }; //6600m
        };
A bit rough and not as elegant as your code Oliv82 but effective ;)

[Ah yeah, please excuse the triple post.... ]