Jump to content

Search the Community

Showing results for tags 'treatment'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements
  • DayZ
    • Discussion
    • Public Servers
    • DayZ SA Resources
    • Q&A Section
  • ArmA 3
    • Epoch Survival
    • Community Projects
    • Q&A Section
    • Terrain Discussion
    • Resources
  • Arma 3 Resources
  • ArmA 2
    • General Discussion.
    • Q&A Section
    • Resources
    • Legacy Resources
    • A2: Community Projects
    • A2 Community Servers
  • Space Engineers
    • General Discussion.
    • Public Servers
  • Other Games
    • Discussion
  • Off Topic
    • Off Topic

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 2 results

  1. Howdy, ladies and gentlemen! After a long break with Arma 2, I finally decided to bring script to mind. Nothing amazing, just made enjoyable dialogs and opportunity for admins to choose how script will work: If 1 case will be fixed price for healing of whole body. In 2 case price creates relatively amount of disesases. I thought to create another topic for more comfortable discussions. Special thanks to Axeman for correcting mistakes in script. Let's go! To install this script you need: 1. Zupa's Coin System of 2 or 3 version. 2. Custom fnSelfactions.sqf ( you can take from dayz_code.pbo of Epoch, paste in mission file and change path to it in compiles.sqf ) 3. Custom variables.sqf ( you can take from dayz_code.pbo of Epoch, paste in mission file and change path to it in init.sqf ) Install guide: 1. Open fnSelfactions.sqf and paste this code above " //Allow owner to pack vault ". So it must be like that: if(_typeOfCursorTarget in Fast_Med and (player distance _cursorTarget < 3)) then { if (s_fast_med_dialog1 < 0) then { s_fast_med_dialog1 = player addAction ["<t color='#06FF15'>Pay for healing</t>", " WRITE HERE PATH TO SQF!!! ",_cursorTarget, 3, true, true, "", ""]; }; } else { player removeAction s_fast_med_dialog1; s_fast_med_dialog1 = -1; }; //Allow owner to pack vault Then find player removeAction s_player_fuelauto2; s_player_fuelauto2 = -1; and place under them that code: player removeAction s_fast_med_dialog1; s_fast_med_dialog1 = -1; 2.Open variables.sqf and add this code after "disableSerialization;": Fast_Med = ["NPC1","NPC1","NPC1"]; For instance 11 Chernarus: Fast_Med = ["Dr_Annie_Baker_EP1","Doctor","Dr_Hladik_EP1"]; Then find: dayz_resetSelfActions = { and paste under this code: s_fast_med_dialog1 = -1; 3. Create .sqf file and paste code from http://pastebin.com/QMukAuXP 4. Change configs in script 5. Enjoy! :)
  2. Not so usefull script, but anyway I wrote it and thought, that should post it here :B Gold (standart) currency version here: Thx for oSoDirty! This script add an action for NPC's, that heals player for money. http://www.youtube.com/watch?v=6VKHj4MfMi8&feature=youtu.be Need: 1. Custom fnSelfaction.sqf 2. Custom variables.sqf 3. Souls Single Currency 2.0 Lets start install it: 1. Open fnSelfaction and paste this code above " //Allow owner to pack vault ". So it must be like that: if(_typeOfCursorTarget in Fast_Med and (player distance _cursorTarget < 3)) then { if (s_fast_med_dialog1 < 0) then { s_fast_med_dialog1 = player addAction ["<t color='#0059FF'>Pay for treatment</t>", "Scripts\Medical\FastMed.sqf",_cursorTarget, 3, true, true, "", ""]; }; } else { player removeAction s_fast_med_dialog1; s_fast_med_dialog1 = -1; }; //Allow owner to pack vault 2. Find player removeAction s_bank_dialog; s_bank_dialog = -1; player removeAction s_bank_dialog2; s_bank_dialog2 = -1; and place under them that code: player removeAction s_fast_med_dialog1; s_fast_med_dialog1 = -1; 3.Open variables.sqf and add this code after "disableSerialization;": Fast_Med = ["NPC1","NPC1","NPC1"]; For instance 11 Cherna: Fast_Med = ["Dr_Annie_Baker_EP1","Doctor","Dr_Hladik_EP1"]; 4. Find: dayz_resetSelfActions = { and paste under this code: s_fast_med_dialog1 = -1; 5.Extract RAR archive and place scripts folder in your mission folder. 6. Change cost for treatment in FastMed.sqf 7. Change NPCs in variables.sqf Download:Link 8. Congratulations! Well done! Pew pew pew! In future gonna make checking of player needs. For example, player has only bleeding. So cost of healing will be = bandageCost * Tax. So u dont need to pay all cost for feeding or antibiotics.
×
×
  • Create New...