Jump to content

Grahame

Member
  • Content count

    622
  • Joined

  • Last visited

  • Days Won

    42

Grahame last won the day on June 11

Grahame had the most liked content!

About Grahame

  • Rank
    Hardened
  • Birthday 11/03/1965

Profile Information

  • Gender
    Male
  • Location
    New York, NY

Recent Profile Visitors

3614 profile views
  1. Grahame

    WAI nuke mission help

    Do you not need to set the variable through the missionNamespace? missionNamespace setVariable [_key, _result]; That's what Epoch does...
  2. Got to work out whether it's an ARMA change - the place you set the keys has changed now - or EM, where the code looks as it did before...
  3. Damn! Can confirm that the fix is broken. Will work on a new fix. Would not recommend running EM until it is fixed. Pretty big exploit - worse now because by default the Enhanced Movement and Enhanced Interaction keys are the same...
  4. Workaround is definitely still needed. Need to reverify that it works. Have had the chance to look at the latest EM code, has not changed. Will try to test this afternoon...
  5. Nothings changed in Epoch that would affect this. PM me the exploit so I can confirm it is the same one I had. Don't want to put details in a public forum
  6. Grahame

    The smoking light is off ladies and gentlemen...

    I'll find the script I modded from A2 to A3 for visual and animation effects specifically for weed smoking if you'd like. Basically it was the old A2 one with just the player animations changed (since the A2 ones don't exist in A3). Worked pretty well, rolling around on the ground with psychedelic visual effects
  7. Grahame

    The smoking light is off ladies and gentlemen...

    Nice @TarabasThe advantage of the mod is the cigarette models and lighter and matches (which are fully working magazines).
  8. Okay... it's post-Apocalypse... you really need a cigarette... And they can be rare loot ... worth a lot in a trade, but how do you add them to an A3E server? Easy, follow these easy steps. (1) Add the Immersion (I always preferred it when it was Murshun... but... meh) Cigarettes mod to your server https://steamcommunity.com/sharedfiles/filedetails/?id=753946944 (2) You need to permission some functions so others can see the smoke from your cigarettes. Add class murshun_cigs_fnc_start_cig { allowedTargets=0; }; class murshun_cigs_fnc_start_cig_your { allowedTargets=0; }; class murshun_cigs_fnc_start_cig_his { allowedTargets=0; }; class murshun_cigs_lighter_01 { allowedTargets=0; }; class murshun_cigs_matches_01 { allowedTargets=0; }; class murshun_cigs_matches_02 { allowedTargets=0; }; class murshun_cigs_fnc_anim { allowedTargets=0; }; class murshun_cigs_fnc_smoke { allowedTargets=0; }; to epoch_config/Configs/CfgRemoteExec.hpp in your mission file. (3) Optional: if you enforce the use of a lighter to light fires then change lines 30-38 in epoch_code/compile/interface_event_handlers/EPOCH_handleUIActions.sqf from case (_actionName isEqualTo 'FireInflame'): { if!('lighter_epoch' in magazines player) then { _msg = 'You need a lighter'; _blocked = true; }else{ [player,'lighter_epoch',-1] call EPOCH_usedItemRepack; //[_actionObj] remoteExec ['EPOCH_server_addToFireSystem',2]; }; }; to: case 'FireInflame': { if (["CfgEpochClient", "ActionFireOnLighter", true] call EPOCH_fnc_returnConfigEntryV2) then { // New code to handle Murshun fire sources - lighters and matches if ('murshun_cigs_lighter' in magazines player) then { [player,'murshun_cigs_lighter',-1] call EPOCH_usedItemRepack; //[_actionObj] remoteExec ['EPOCH_server_addToFireSystem',2]; } else { if ('murshun_cigs_matches' in magazines player) then { [player,'murshun_cigs_matches',-1] call EPOCH_usedItemRepack; //[_actionObj] remoteExec ['EPOCH_server_addToFireSystem',2]; } else { _msg = 'You need matches or a lighter'; _blocked = true; }; }; }; }; (4) Now you need to add the addactions every time the player logs in so that they can take a cigarette out and light it, or light someone else's. Create a file called initPlayerLocal.sqf in the root of your mission file that contains the following (if you already have one then just add the four addactions to it): if (!isDedicated and hasInterface) then { waitUntil {alive vehicle player}; waitUntil {typeOF player != "VirtualMan_EPOCH"}; uisleep 15; // Add Murshun Actions to the scrollwheel player addAction [localize "STR_murshun_cigs_start_cig", {params ["_target", "_caller"];[_caller] spawn murshun_cigs_fnc_start_cig_your}, nil, 0, false, true, "", "if (_target != player) exitWith {false}; ((goggles _this) in murshun_cigs_cigsArray) and (!(_this getVariable ['murshun_cigs_cigLitUp', false]))", 5, false]; player addAction [localize "STR_murshun_cigs_stop_cig", {params ["_target", "_caller"];[_caller] spawn murshun_cigs_fnc_stop_cig}, nil, 0, false, true, "", "if (_target != player) exitWith {false}; ((goggles _this) in murshun_cigs_cigsArray) and ((_this getVariable ['murshun_cigs_cigLitUp', false]))", 5, false]; player addAction [localize "STR_murshun_cigs_take_cig_from_pack", {params ["_target", "_caller"];[_caller] spawn murshun_cigs_fnc_take_cig_from_pack}, nil, 0, false, true, "", "if (_target != player) exitWith {false}; 'murshun_cigs_cigpack' in (magazineCargo uniformContainer player)", 5, false]; player addAction [localize "STR_murshun_cigs_start_someones_cig", {params ["_target", "_caller"];[cursorObject, _caller] spawn murshun_cigs_fnc_start_cig_his}, nil, 0, false, true, "", "if !(cursorObject isKindOf 'Man') exitWith {false}; ((goggles cursorObject) in murshun_cigs_cigsArray) && (!(cursorObject getVariable ['murshun_cigs_cigLitUp', false])) && (alive cursorObject)", 5, false]; }; Finally just add the following classes into your trader price lists (and spawn them as rare Epoch and mission loot as you'd like): class murshun_cigs_cigpack { price = 100; }; // Beautiful, wonderful Murshun cigarettes, pack of 20 class murshun_cigs_matches { price = 5; }; // Pack of matches class murshun_cigs_lighter { price = 20; }; // Zippo class immersion_pops_poppack { price = 5; }; // Lollipops And remove the Epoch lighter (which won't work with Murshun without a client side preinit function... That's it. RePBO your mission file and upload to your server...
  9. Grahame

    adding items to epoch loot

    BTW, if you mean actually adding items to Epoch then either in your own custom mod or submit them via a push request from a fork of the experimental branch of the EpochCore github repository for approval: https://github.com/EpochModTeam/EpochCore/tree/experimental
  10. Grahame

    adding items to epoch loot

    In epoch_server_settings.pbo. The CfgLootTable.hpp file. Loot spawning items must also be defined in CfgPricing.hpp in your mission file btw.
  11. Grahame

    A3E DZMS

    Can you post the exact message please @Sneer
  12. Grahame

    WAI: 1.0.0 - Alpha / Arma 3

    First error has nothing to do with WAI... that's a problem with your Epoch install. Second problem is nothing to do with WAI... it's an error in Simple Epoch Missions (SEM) due to a change in ARMA3 1.72 (iirc) when they added verification of ENUM values. Replace the "NO_COLLIDE" in line 21 of sem\scripts\ai\fn_spawnAI.sqf with "NONE" and that one will be fixed. In addition also see: The third problem is a WAI issue... The MV-22 water mission in A3 WAI never worked afaik. Just remove it...
  13. Grahame

    WAI: 1.0.0 - Alpha / Arma 3

    @GigglesAs I said, I never had that issue, still don't. Anything in your RPT file? Would assume an error in the config file though
  14. Grahame

    The Epoch Mod Hoverboard is here.

    Where's @mgmfor this?
  15. Grahame

    epoch+infistar nitrado

    Probably an issue to take up with Nitrado. Could be an old version of infiSTAR? epoch_code\compile\functions\EPOCH_pushCustomVar.sqf was removed in Epoch 1.0 iirc Many of us use infiSTAR without issues (well, this one anyway) with Epoch
×