Jump to content

kat

Member
  • Content Count

    62
  • Joined

  • Last visited

About kat

  • Rank
    Survivor
  • Birthday 09/01/1992

Profile Information

  • Gender
    Female
  • Location
    Australia

Recent Profile Visitors

1074 profile views
  1. i believe you have to change 'trade_weapons' to 'trade_weapons_old'
  2. comment out this line in your Server_UpdateObject.sqf // delete if still not ok if (_isNotOk) exitWith { deleteVehicle _object; diag_log(format["Deleting object %1 with invalid ID at pos [%2,%3,%4]",typeOf _object,_object_position select 0,_object_position select 1, _object_position select 2]); };
  3. Missing: ", After: <t size='0.9'> %8min </t><img size='0.9' align='right' image='ZSC\gui\Uptime.paa'/> The line break (<br/>) isn't necessary after the above either, so remove that. disableSerialization; while {true} do { 1000 cutRsc ["ZSC_Money_Display","PLAIN"]; _wpui = uiNameSpace getVariable "ZSC_Money_Display"; // Thx to ASREMIX _vitals = _wpui displayCtrl 4900; Money = player getVariable["cashMoney",0]; ZombieKills = player getVariable["zombieKills",0]; Hero_Kills = player getVariable["humanKills",0]; Bandit_Kills = player getVariable["banditKills",0]; Humanity = player getVariable["humanity",0]; Blood = player getVariable["USEC_BloodQty",12000]; Fps = (round diag_fps); Temp = player getVariable["dayz_temperatur",36]; Reset = (241-(round(serverTime/60))); if(Humanity >= 5000) then { Humanity_Icon = "<img size='0.9' image='ZSC\gui\HeroHumanity.paa'/>"; }; if((Humanity >= 200) && (Humanity <= 4999)) then { Humanity_Icon = "<img size='0.9' image='ZSC\gui\CivHumanity.paa'/>"; }; if(Humanity <= 199) then { Humanity_Icon = "<img size='0.9' image='ZSC\gui\BanditHumanity.paa'/>"; }; _vitals ctrlSetStructuredText parseText format [" <t size='0.9'> %4 </t><img size='0.9' align='right' image='ZSC\gui\Health.paa'/><br/> <t size='0.9'> %2 %3 </t><br/> <t size='0.9'> %1 </t><img size='0.9' align='right' image='ZSC\gui\Money.paa'/><br/> <t size='0.9'> %5 </t><img size='0.9' align='right' image='ZSC\gui\HeroKills.paa'/><br/> <t size='0.9'> %6 </t><img size='0.9' align='right' image='ZSC\gui\BanditKills.paa'/><br/> <t size='0.9'> %7 </t><img size='0.9' align='right' image='ZSC\gui\ZombieKills.paa'/><br/> <t size='0.9'> %9 </t><img size='0.9' align='right' image='ZSC\gui\Fps.paa'/><br/> <t size='0.9'> %8min </t><img size='0.9' align='right' image='ZSC\gui\Uptime.paa'/> ", [Money] call BIS_fnc_numberText, [Humanity] call BIS_fnc_numberText, Humanity_Icon, Blood, Hero_Kills, Bandit_Kills, Zombiekills, Reset, Fps ]; _vitals ctrlCommit 0; sleep 1.5; };
  4. Introduction: http://opendayz.net/threads/resources-introduction-to-scripting.11313/ Commands: https://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA2 Functions: https://community.bistudio.com/wiki/Category:ArmA_2:_Functions
  5. Literally on the main thread for zupa's single currency. http://epochmod.com/forum/index.php?/forum/56-project-gold-coin-based-single-currency-banking-system/
  6. Add it inbetween. if (count _intentory > 0) then { if( count (_intentory) > 3)then{ _object setVariable ["bankMoney", _intentory select 3, true]; }else{ _object setVariable ["bankMoney", 0, true]; }; if (_type in DZE_LockedStorage) then { // Fill variables with loot _object setVariable ["WeaponCargo", (_intentory select 0),true]; _object setVariable ["MagazineCargo", (_intentory select 1),true]; _object setVariable ["BackpackCargo", (_intentory select 2),true]; } else {
  7. WAI: spawn_group.sqf Find call { if(_aitype == "hero") exitWith { _unit setVariable ["Hero",true]; _unit setVariable ["humanity", ai_remove_humanity]; }; if(_aitype == "bandit") exitWith { _unit setVariable ["Bandit",true]; _unit setVariable ["humanity", ai_add_humanity]; }; if(_aitype == "special") exitWith { _unit setVariable ["Special",true]; _unit setVariable ["humanity", ai_special_humanity]; }; }; Replace with call { if(_aitype == "hero") exitWith { _unit setVariable ["Hero",true]; _unit setVariable ["humanity", ai_remove_humanity]; _unit setVariable ["cashMoney", ai_hero_amount]; }; if(_aitype == "bandit") exitWith { _unit setVariable ["Bandit",true]; _unit setVariable ["humanity", ai_add_humanity]; _unit setVariable ["cashMoney", ai_bandit_amount]; }; if(_aitype == "special") exitWith { _unit setVariable ["Special",true]; _unit setVariable ["humanity", ai_special_humanity]; _unit setVariable ["cashMoney", ai_special_amount]; }; }; on_kill.sqf Add _playerCoins = _player getVariable["cashMoney",0]; _unitCoins = _unit getVariable["cashMoney",0]; Under _banditkills = _player getVariable["banditKills",0]; _humankills = _player getVariable["humanKills",0]; Add if (ai_coin_award) then { _player setVariable ["cashMoney",(_playerCoins + _unitCoins),true]; }; Under if (ai_humanity_gain) then { _gain = _unit getVariable ["humanity", 0]; call { if (_unit getVariable ["Hero", false]) exitWith { _player setVariable ["humanity",(_humanity - _gain),true]; }; if (_unit getVariable ["Bandit", false]) exitWith { _player setVariable ["humanity",(_humanity + _gain),true]; }; if (_unit getVariable ["Special", false]) exitWith { if (_humanity < 0) then { _player setVariable ["humanity",(_humanity - _gain),true]; } else { _player setVariable ["humanity",(_humanity + _gain),true]; }; }; }; }; Config.sqf Add ai_coin_award = true; ai_hero_amount = 200; ai_bandit_amount = 200; ai_special_amount = 300; Change the values to what you want. Under ai_special_humanity = 150; If your using an older version of SC then change 'cashMoney' to 'headShots'
  8. I had this issue also. If you relog and only trade 1 item at a time it would work.
  9. An attachTo / detach should work. _object attachTo [player,[0,3,2]]; detach _object; Under: _object = "Old_bike_TK_INS_EP1" createVehicle (position player); _object setVariable ["ObjectID", "1", true]; _object setVariable ["ObjectUID", "1", true];
  10. Add a "HeliHEmpty" to where you want them to spawn. Im sure it works with other helipads, cant remember exactly which.
  11. Insta award for zombie killing? edit local_eventKill.sqf
  12. kat

    Issues on load in

    Black screen but hearing sounds fix: I'm assuming that's the issue. To remove decay: Add/Change CleanupPlacedAfterDays = -1 in the HiveExt.ini Check your MySQL database to see if its not running any events/procedures. or
×
×
  • Create New...