Jump to content

YuriLowell

Member
  • Posts

    62
  • Joined

  • Last visited

Reputation Activity

  1. Like
    YuriLowell reacted to mcgough in [Release] Single Currency Base Maintenance   
    Single Currency Base Maintenance
     
    using Souls
     
    I have made some quick changes to the default Epoch maintain_area file to enable the maintaining of bases with gold coins instead of gold bars.  I haven't had much time to give it a thorough test, but it seems to be working fine for me with the limited testing I have done with it.
     
    It works in the same way as before but now players will need to have enough gold coins in their wallet in order to perform the maintain action instead of gold in their inventory. The cost of maintaining can be changed inside the file to whatever you would like to set. Also, this was made for a server using Soul's variant 1 HiveExt.dll, since that is what I believe Zupa intends to use for his 2.0 SC update.
     
    If anybody would like to use it:
     
    1. Download the file from the link below, and extract the maintain_area.sqf to your mission PBO in a location of your choice (i used a folder called custom)
     
    2. Then search inside your custom fn_selfActions for:



     
    and change to:



     
    you will obviously need to alter the folder name if you save it to a location other than 'custom'.
     
    Full credit to AxeCop for the original script, all i've made are some changes for SC
     
    Cheers!
    McGough
    maintain_area.zip
  2. Like
    YuriLowell reacted to Soul in Bug Reporting   
    i really hate it when people just copy paste without reading what the code actually says or try to process the code in their heads and evaluate the code itself.
    if you had done that you would have known that what you are looking for is in your variables.sqf file...
  3. Like
    YuriLowell reacted to f3cuk in [Release] - A Plot for life v2.5. Keep your buildables on death. Take plot ownership   
    Found it.

    In fn_damageActions.sqf

    Find
     

    _playerUID = getPlayerUID _player;Replace with 

    _targetUID = getPlayerUID _unit;Find

    if ((isPlayer _unit) && !(_playerUID in _friendlies)) then {Replace with

    if ((isPlayer _unit) && !(_targetUID in _friendlies)) then {
  4. Like
    YuriLowell got a reaction from RamAthorn in Police Sirens   
    Is there any way to disable the Radio on the CVPI Police Cars from Overpoch?
  5. Like
    YuriLowell reacted to Gr8 in [TUTORIAL] Remove/Change Trading Animations (for faster trading)   
    I am currently working on making it compatible with Zupa's Coin system. Shouldnt be hard
  6. Like
    YuriLowell reacted to Storm in [PROJECT] Gold Coin based Single Currency & Banking System   
    To get Give Coins working
    Open up fn_selfActions.sqf
    Find
    //Player Deaths if(_typeOfCursorTarget == "Info_Board_EP1") then { if (s_player_information < 0) then { s_player_information = player addAction [localize "STR_EPOCH_ACTIONS_MURDERS", "\z\addons\dayz_code\actions\list_playerDeaths.sqf",[], 7, false, true, "",""]; }; } else { player removeAction s_player_information; s_player_information = -1; }; Below that code add
    // Zupa- SC - Give Money if (_isMan and _isAlive and !_isZombie and !_isAnimal and !(_traderType in serverTraders)) then { if (s_givemoney_dialog < 0) then { s_givemoney_dialog = player addAction [format["Give Money to %1", (name _cursorTarget)], "gold\give_player_dialog.sqf",_cursorTarget, 3, true, true, "", ""]; }; } else { player removeAction s_givemoney_dialog; s_givemoney_dialog = -1; };
  7. Like
    YuriLowell reacted to Zupa in [PROJECT] Gold Coin based Single Currency & Banking System   
    TO get give money working , put this above the following inyour selfactions:
     
    //Fuel Pump
    if (_isMan and _isAlive and !_isZombie and !_isAnimal and !(_traderType in serverTraders)) then { if (s_givemoney_dialog < 0) then { s_givemoney_dialog = player addAction [format["Give Money to %1", (name _cursorTarget)], "gold\give_player_dialog.sqf",_cursorTarget, 3, true, true, "", ""]; }; } else { player removeAction s_givemoney_dialog; s_givemoney_dialog = -1; };
×
×
  • Create New...