Jump to content

webbie

Member
  • Content Count

    34
  • Joined

  • Last visited

  • Days Won

    1

webbie last won the day on June 12

webbie had the most liked content!

About webbie

  • Rank
    Survivor

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. webbie

    Player Proximity Scan Script

    Actually I think the distance check is wrong i have it as 250 shouldnt that mean 250m??? eg. scanRadius, 250? EDIT: nevermind I had it set to 15m in the dyna cfg> class Playerscan { condition = "player isEqualTo vehicle player && !(player getVariable ['GOM_fnc_scanActive',false])"; action = "[player,250,5] spawn GOM_fnc_scan"; icon = "x\addons\a3_epoch_code\Data\UI\buttons\geiger_alarmon.paa"; tooltip = "Player Scan"; };
  2. webbie

    Player Proximity Scan Script

    This worked perfectly @He-Man. Feel free to add to your Git :) I can do another post as an official working script if you like.
  3. webbie

    Player Proximity Scan Script

    For the action does the referenced script just go into the root folder? Im unsure how the calls are located?
  4. webbie

    Player Proximity Scan Script

    Thx for the reply @He-Man. Ill give this a shot. Do I add this to cfgactionmenu_sef.hpp and then make the action the script? what do I set the condition as if nothings reqd? EDIT: class Playerscan { condition = "true"; action = "custom\playerscan.sqf"; icon = "x\addons\a3_epoch_code\Data\UI\buttons\geiger_alarmon.paa"; tooltip = "Player Scan"; };
  5. webbie

    [CONTINUED] blckeagls' AI Mission Version 6.88 BUILD 167

    I tried this a few different ways however each time it loaded it could not be completed. All AI were dead. The trigger on the captive isn't firing , I haven't had a big look into it but that's the basics of my experience.
  6. webbie

    Player Proximity Scan Script

    Hi all, I have created a player scan script however when I load into the server it does not work. Wondering if I am missing something or I need to add something to epoch to make it run. Ive tried it in the editor with epoch, SP and MP and it works. I feel like it might have something to do with using player/playableUnits as the variable. Tried both. I use infi as well. I dont think its an issue. Ive checked idd's etc init.sqf and initplayerlocal.sqf [] execVM "PlayerScan5sinitplayerlocal.sqf"; PlayerScan5sinitplayerlocal.sqf GOM_fnc_scan = { params [["_scanObject",objNull],["_scanRadius",250],["_duration",5],["_debug",false]]; _scanObject setVariable ["GOM_fnc_scanActive",true,true]; if (_debug) then {systemChat "Scanning for Players!"}; hint "Scanning for Players!"; sleep 1; _stopTime = time + _duration; waitUntil { _nearPlayers = (_scanObject nearEntities _scanRadius) - [player] select {isPlayer _x}; hintsilent format ["Scanning: %1\nPlayers detected: %2",[-(time - _stopTime),"HH:MM"] call BIS_fnc_timeToString,count _nearPlayers]; time > _stopTime }; if (_debug) then {systemChat "Scanning Complete!"}; _scanObject setVariable ["GOM_fnc_scanActive",false,true]; hint "Scanning Complete!"; }; //add scan action to object player addAction ["Scan for Players",{ params ["_object","_caller","_ID"]; _scan = [_object,15,5] spawn GOM_fnc_scan; },[],0,true,true,"","_this isEqualTo vehicle _this AND !(_this getVariable ['GOM_fnc_scanActive',false])",5]; Thx in Advance.
  7. webbie

    Health Regen for Epoch

    Hi all, All credits due to @He-Man for his usual brilliant scripting and community support. Here is a bit of code you can add to epoch to allow for Health Regen when your Thirst and Hunger at at a certain level. Add this to epoch_code/compile/setup/masterLoop/Event3.sqf at the bottom and dont remove the code above. But setdamage will need a BE-Filter for sure! My values are set to 80% and this is how it looks in mine. Ive tested this and it works very well. Also see below for a table reflecting values I calculated to work out the hunger and thirst values.
  8. Yes I've noticed this too. I was meant to bring it up with @He-Man. I think it's just the line of code needs to be seperated in cursor target. Don't quote me on it though.
  9. webbie

    Sarge AI

    Maybe re-download and redo the 3 steps from the beginning just in case you've gone wrong somewhere, usually the best way. @Dango thank you I did eventually work it out. I had to remove it unfortunately due to issues in the sides however I've resolved this now so will likely have another go at it.
  10. webbie

    Sarge AI

    Scripts folder? It needs to go in the mission file. As your error is referencing that it can not find the scripts folder, double check the path it is in if you have indeed inserted it.
  11. webbie

    Sarge AI

    and have you moved the scripts folder into the mission file and added it in the init?
  12. webbie

    Sarge AI

    where are you putting the pbo?
  13. webbie

    Multigun Vehicle Repair

    Lol thx @Grahame ah yes initially I didn't like the idea but they are such a unique asset to epoch seems a shame to not use it. One of my players has a safe purely just for multigun attachments lol , not easy to though so it balances
  14. webbie

    Multigun Vehicle Repair

    Hey all, trying to track down the code that determines what the multigun Vehicle attachment will fix. Here is why. A player of mine noticed that the vtols can not be repaired. After some testing on both the epoch and vanilla variant I couldn't get either to work and actually found I couldn't do much with repair on them at all, I'm wondering if this is the same as the Hitpoint issue??? As always thx in advance for any help or suggestions, always appreciated :)
  15. Solved: Apologies I didnt see the cursor target update. For anyone else that may see this these are the files that need to be updated: https://raw.githubusercontent.com/EpochModTeam/Epoch/3966ad70105efc020a1203d68191f2022bbe5e33/Sources/epoch_code/compile/vehicles/EPOCH_client_VehicleMaintananceCheck.sqf https://raw.githubusercontent.com/EpochModTeam/Epoch/3966ad70105efc020a1203d68191f2022bbe5e33/Sources/epoch_code/compile/vehicles/EPOCH_client_VehicleMaintananceDo.sqf https://raw.githubusercontent.com/EpochModTeam/Epoch/3966ad70105efc020a1203d68191f2022bbe5e33/Sources/epoch_config/Configs/CfgActionMenu/CfgActionMenu_target.hpp Hitpoints also need to be added: https://github.com/EpochModTeam/Epoch/blob/release/Sources/epoch_config/Configs/CfgEpochClient.hpp#L214-L232 On a positive note I learnt more about github today then I have in my entire time developing on arma :)
×