aimgame Posted April 16, 2016 Report Share Posted April 16, 2016 Please help! Does anyone know how to disable the "CTRL+T - trade request" function in Epoch mod??? Im sure it should be simple, but i still cant find it...( Link to comment Share on other sites More sharing options...
0 vbawol Posted April 16, 2016 Report Share Posted April 16, 2016 Should be able to remove or comment out this code https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_code/compile/interface_event_handlers/EPOCH_KeyDown.sqf#L184-L202 to and repack your mission pbo to disable the Ctrl + t function. He-Man 1 Link to comment Share on other sites More sharing options...
0 aimgame Posted April 16, 2016 Author Report Share Posted April 16, 2016 I dont really get it - this file EPOCH_KeyDown.sqf is in @Epoch folder, so every player already have it... This file is NOT in mission.pbo, so why repack it?) It seems that to disable it i should remove or comment code you said, but than give this edited @Epoch folder to every player? Link to comment Share on other sites More sharing options...
0 aimgame Posted April 16, 2016 Author Report Share Posted April 16, 2016 What if i replace all the code of this file - @epochhive\addons\a3_epoch_server\compile\epoch_trading\EPOCH_server_tradeRequest.sqf by this - exitWith{}; ? Will it solve my problem? Link to comment Share on other sites More sharing options...
0 vbawol Posted April 16, 2016 Report Share Posted April 16, 2016 The file 'EPOCH_keyDown.sqf' and all gamemode code is inside the mission file since 0.3.8. epoch_code/compile/interface_event_handlers/EPOCH_KeyDown.sqf Link to comment Share on other sites More sharing options...
0 aimgame Posted April 16, 2016 Author Report Share Posted April 16, 2016 Oh, sorry, i forgot to mension that im using 0.3.7 version... Link to comment Share on other sites More sharing options...
0 aimgame Posted April 16, 2016 Author Report Share Posted April 16, 2016 Can u tell what's the number of this dialog window for ctrl+T ? Ill just add it to infistar's _badIDDsToClose variable so it wont show at all:) Link to comment Share on other sites More sharing options...
0 vbawol Posted April 17, 2016 Report Share Posted April 17, 2016 You should really consider moving over to 0.3.8 you can customize everything. https://github.com/EpochModTeam/Epoch/blob/e9847e1f51247f7e97deab06a9b0381e4b14736a/Sources/epoch_code/gui/Epoch_GUI_Config.hpp#L2189 Link to comment Share on other sites More sharing options...
Question
aimgame
Please help! Does anyone know how to disable the "CTRL+T - trade request" function in Epoch mod??? Im sure it should be simple, but i still cant find it...(
Link to comment
Share on other sites
7 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now