Jump to content

Search the Community

Showing results for tags 'Heal'.



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 5 results

  1. Created by: infistar Credits to infistar for the actual script Edited by FragZ Re-Edited By TheDuke™ for different effects Ok so here is my version of Smoke Hemp for Epoch 1.0.6.1 - When you right click on a kilo of hemp, you can smoke it. It will fully heal you, and give you the munchies a bit. You will get a 60 second blur effect, but the effect is medium. And you can still move around, partially see and shoot. The idea was to be able to heal while doing a mission, but kinda have a bit of effects to make it somewhat like real life LOL - You can also smoke at hookas on the map, or the ones used in the gem crafting. While looking at the hooka you get the option to "smoke pipe". This one does the normal effect of rolling on the ground with the massive screen blur. Meant to be done at base ;) Download from the github https://github.com/theduke77/Smoke-weed-Epoch-1.0.6.1 Place the smokeweed folder in your customs folder. If you dont have one create one. 1. Open your custom fn_selfactions.sqf Place this at the bottom //Smoke Bong _isbong = typeOf cursorTarget in ["Land_Water_pipe_EP1"]; if((_isbong) && _canDo) then { if (s_player_pipe < 0) then { s_player_pipe = player addAction["Smoke Pipe", "custom\smokeweed\pipesmoke.sqf","", 1, true, true, "", ""]; }; } else { player removeAction s_player_pipe; s_player_pipe = -1; }; Still in the fn_selfactions look for player removeAction s_player_manageDoor; s_player_manageDoor = -1; add this bellow player removeAction s_player_pipe; s_player_pipe = -1; save and close 2. Open your extra_rc.hpp and add this class ItemKiloHemp { class smokeweed { text = "Smoke the shit"; script = "execVM 'custom\smokeweed\smokeweed.sqf'"; }; }; 2b. Alternatively for the right click, you can do this to your config.sqf if you use the Deploy anything script ["ItemKiloHemp","Smoke that shit","execVM 'custom\smokeweed\smokeweed.sqf';","true"] // only comma at the end if its not the last line save and close 3. Open your description.ext Add this in your CfgSounds class cough { name="cough"; sound[]={custom\smokeweed\cough.ogg,0.9,1}; titles[] = {}; }; class bong { name="bong"; sound[]={custom\smokeweed\bong.ogg,0.9,1}; titles[] = {}; }; Save and close 4. Open your variables.sqf Look for dayz_resetSelfActions = { add this before the closing bracket }; s_player_pipe = -1; Repack your mission and you're good to go! Enjoy...not too much ;) EDIT: 22/03/2017 Updated for client RPT error
  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.
  3. Pay for healing -Default Currency- Updateded! I forgot to add the fix broken legs bit. As well as some others For those who have already installed this. Just replace the playerHeal.sqf with the new one in the link. I have updated the link a couple of times now lol. This will now heal/reset and save blood amount, wounds, broken limbs, pain level, and sickness. Future: Food and hydration also set to full. Credits to GaspArt for the original idea! For his coin currency version go Credits & thanks to Krixes @ http://opendayz.net for his self bloodbag script and letting me use his healing method. What it does: Places an AI at a specific location that will heal you for one gold if not in combat. This script does give change although if you use silver it has to be a full brief. To many combos of silver to write. You will need playerHeal.sqf get it HERE A tool for unpacking pbos. (I recommend pbo manager from armaholic) A custom fn_selfActions.sqf A custom variables.sqf NOTE!: Im not 100% sure which addon this Ai skin is from, due to my trader addons it just happens to be the last available medic. To change which AI is used just change the classname from "GER_Soldier_Medic_EP1" to any available AI skin you have. Note that if you intend to add this to a pre existing AI you'll skip the mission.sqf step and just find the classname of the ai you intend to use and replace it in the fn_selfActions part. Let's do this shall we? 1st off, Place the playerHeal.sqf you downloaded in a folder a called "custom" -no quotes- in the root of your mission pbo/folder. (I you have one already then use the pre-existing) Open up your custom variables.sqf look for //Player self-action handles dayz_resetSelfActions = { s_player_fire = -1; s_player_cook = -1; s_player_boil = -1; s_player_fireout = -1; s_player_butcher = -1; s_player_packtent = -1; ................ .......... }; and at the bottom of that array you need to put: s_playerHeal = -1; We're done with variables. Now we need to open up fn_selfActions.sqf and find this block of variables: _isVehicle = _cursorTarget isKindOf "AllVehicles"; _isVehicletype = _typeOfCursorTarget in ["ATV_US_EP1","ATV_CZ_EP1"]; _isnewstorage = _typeOfCursorTarget in DZE_isNewStorage; A space below them place: // AI heal start if (_canDo && (speed player <= 1) && (_cursorTarget isKindOf "GER_Soldier_Medic_EP1")) then { if (s_playerHeal < 0) then { s_playerHeal = player addaction["Heal for 1 gold","custom\getHealed.sqf","",15,false,true,"", ""]; waitUntil { speed player > 0 }; player removeAction s_playerHeal; // Stops player from being able to target AI healer and heal elsewhere later on s_playerHeal = -1; }; } else { player removeAction s_playerHeal; s_playerHeal = -1; }; // AI heal end You should have something like this: That's all for fn_selfActions Now for the last part. Unpack your dayz_server.pbo and in missions\YourMission\ open up mission.sqf & place: _unit_1525 = objNull; if (true) then { _this = createAgent ["GER_Soldier_Medic_EP1", [15529.1,8508.58,0.018], [], 0, "CAN_COLLIDE"]; _unit_1525 = _this; _this setDir 1.60; _this setVehicleInit "this allowDammage false; this disableAI 'FSM'; this disableAI 'MOVE'; this disableAI 'AUTOTARGET'; this disableAI 'TARGET'; this setBehaviour 'CARELESS'; this forceSpeed 0;"; _this setUnitAbility 0.60000002; _this allowDammage false; _this disableAI 'FSM'; _this disableAI 'MOVE'; _this disableAI 'AUTOTARGET'; _this disableAI 'TARGET'; _this setBehaviour 'CARELESS'; _this forceSpeed 0;_this enableSimulation false;}; at the bottom a space above processInitCommands; and at least a space below the last }; If you already have trader additions then just place it with your other additions making sure the unit # is unique. Note that these coords are in a random tent in Taviana (origins version). Change them to suit your needs. You can add as many as you like just make sure they dont have the same unit number. I just did one for reference. That should be it!! Repack, upload, get gold, get hurt, & get HEALED! #2 from oSoDirty, Hope y'all enjoy!
  4. Hey, i found a issue with the player trade. If you have a Multigun with full battery and a full heal player and you want trade this gun as completly gun not in 3 parts the heal player and battery will be empty after this trade. Thanks for your great Job
  5. Hello Guys i could need a Quick info about how much health is Restored on using following Items in Epoch: I did google but only found Dayz Vanilla related Topics not Epoch. Cooked/Uncooked both infos would be nice :P Bacon Beef Chicken Mutton Rabbit Trout SeaBass Tuna Canned BakedBeans / Frankbeans Pasta Sardines Other MRE Nutmix Pistachio Thanks Paddy
×
×
  • Create New...