Arma 3
Option Wheel
52 Comments
Silent 5 Nov, 2024 @ 6:23am 
documented in Arma 3 Functions Library and on github
can not open, is 404 now, do you still have a copy? Thank you
Diablo [=ΛLPHΛ=] 10 May, 2024 @ 7:43pm 
@Alkanet_smörgåstårta OK, thanks, I'll try... In any case, if I ever get anything out of it, I'll cite you as the original source and so on.
Have a nice day and thanks for your attention :steamthumbsup:
Alkanet_smörgåstårta  [author] 10 May, 2024 @ 1:30pm 
@Diablo []
Hello. Sorry but i have not been active in arma community for years. Feel free to use this as you want.
Diablo [=ΛLPHΛ=] 15 Apr, 2024 @ 3:06am 
Hi @Alkanet_smörgåstårta, irst of all, thank you for this great job!
I would like to make a request... I have been making a wheel addon using as base and required addon this one. It is a wheel that couples the ACE hand signals and the SOG Prairie Fire CDLC hand signals. It works perfectly, I'm very happy with the result, but I'm missing to be able to configure through the CBA Settings the key, button or macro I want (I've done it manually by modifying the code)... I've tried to do it myself, but I always end up breaking the code, I don't have that much knowledge. Do you see feasible to help with that or update it with that function?
THANK YOU!!!
Alkanet_smörgåstårta  [author] 18 Aug, 2020 @ 7:08am 
@Futt bucker
I don´t think so. You have to try.
Adeptus 17 Aug, 2020 @ 6:03pm 
Does this work with ACE?
Sander 16 Mar, 2020 @ 11:44am 
Hello again. I got a new PC which get me in a all day boner XD. I have been trying to find the precise location which you referred me the last time. I couldn't find the exact part. May you explain me like for dummies? :steamsad:
Sander 16 Dec, 2019 @ 7:41am 
Oh, thanks man, I will try it. I will tell you the result when I have configured it :steamhappy:
Alkanet_smörgåstårta  [author] 14 Dec, 2019 @ 8:46am 
@alessander8.villa
If you use "OptionWheel_fnc_setWheelKey" to change the key, replace "0x21" in the "OptionWheel_fnc_buttonDown" to the one you want to use.
Alkanet_smörgåstårta  [author] 14 Dec, 2019 @ 8:45am 
@alessander8.villa
Bellow is an example you can use.
You have to do your own research on keys but you can find all on the wiki.
Hope it helps.

animationListActivated = false;

(findDisplay 46) displayAddEventHandler ["KeyDown", {
params ["_displayorcontrol", "_key", "_shift", "_ctrl", "_alt"];
if!(animationListActivated)then{
//Key 1
if(_key isEqualTo 0x02)then{
[[["KEY 1","1"],[" 1","1"]],{hint str _this;},0.3,0.15] call OptionWheel_fnc_setWheel;

[_displayorcontrol, 0x21, _shift, _ctrl, _alt] call OptionWheel_fnc_buttonDown;

};

//Key 2
if(_key isEqualTo 0x03)then{
[[["KEY 2","2"],[" 2","2"]],{hint str _this;},0.3,0.15] call OptionWheel_fnc_setWheel;

[_displayorcontrol, 0x21, _shift, _ctrl, _alt] call OptionWheel_fnc_buttonDown;

};

};
}];
Alkanet_smörgåstårta  [author] 14 Dec, 2019 @ 8:45am 
(findDisplay 46) displayAddEventHandler ["KeyUp", {
params ["_displayorcontrol", "_key", "_shift", "_ctrl", "_alt"];

//Key 1
if(_key isEqualTo 0x02)then{

[_displayorcontrol, 0x21, _shift, _ctrl, _alt] call OptionWheel_fnc_buttonUp;
};

//Key 2
if(_key isEqualTo 0x03)then{
[_displayorcontrol, 0x21, _shift, _ctrl, _alt] call OptionWheel_fnc_buttonUp;
};

}];
Sander 14 Dec, 2019 @ 3:39am 
Hi. Can you make a tutorial to customize a good wheel menu?:steamhappy:

Can I separate categories access them directly by separate keys?

Example: Command in "º" key (with all kind of orders and stuff), weapons menu in "1" key, action menu in "2" key and so on.
Akaviri13 10 Oct, 2019 @ 10:58am 
Alright, a shame, otherwise this is a really cool script/mod. I guess Im just going to have to put up with it. Thanks though, both for making the mod and your answer.
Alkanet_smörgåstårta  [author] 10 Oct, 2019 @ 9:32am 
@[109th] Akaviri13
The problem is that everytime you stop moving the mouse the position will reset to 0,0 (top left corner) and start to go up there.
Alkanet_smörgåstårta  [author] 10 Oct, 2019 @ 9:28am 
@[109th] Akaviri13
Ah yes, this is the major bug in this mod. Unfortunately arma doesn´t give you good function to make an option wheel so i have made it by a weird method which is not perfect and i can´t really find a good solution. I have added so it should do it less but it can still happen.
Akaviri13 9 Oct, 2019 @ 6:36pm 
Is it normal for the selection cursor to move towards the top left if you move your mouse just a little bit in any, even the opposite direction? This makes it a little bit annoying to use this mod, if this isnt normal, do you have any idea what could cause this?
Malcain 23 Aug, 2019 @ 1:26pm 
@Alkanet(smörgåstårta)
Thank you!! Will do!
Alkanet_smörgåstårta  [author] 23 Aug, 2019 @ 1:19pm 
@Malcain
You can use it for your mod. Just add it to your credits list.
Good luck with your mod!
Malcain 23 Aug, 2019 @ 11:00am 
Hi. This is a really neat addition which can help to get rid of some arma control clunkiness.
I'm a dev working on: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1816307682
Would you consider allowing it to be built-in in the mod? Or maybe if you're interested in that kind of gamemod you would want to join and help with some UI elements? (in that case - add me so we can discuss).

Best regards!
J. Barker 5 Jul, 2019 @ 3:39pm 
AWSOME
Xray 3 Jul, 2019 @ 2:34pm 
sweet
Alkanet_smörgåstårta  [author] 3 Jul, 2019 @ 4:58am 
@Quingedu
Yes
Xray 3 Jul, 2019 @ 4:31am 
is this a Client Side mod??
Marco 2 Jul, 2019 @ 1:59pm 
and the simulation where you left it?:steamfacepalm:
Sebi 1 Jul, 2019 @ 1:07pm 
Alkanet: creates something amaizing and posts it on the workshop

Nobody:

Not a single soul:

Not even arma 3 player:

The entire arma 3 player base: hipppidy hoppidy you're now my property
smem 1 Jul, 2019 @ 10:19am 
What is this? GTA?
.Fabian 1 Jul, 2019 @ 10:00am 
"No more scrolling options!"
Meme.insert("Shut up and take my money");
Alkanet_smörgåstårta  [author] 1 Jul, 2019 @ 9:18am 
@LuizBarros99
Check out Weapon Wheel Beta in the workshop.
LuizBarros99 1 Jul, 2019 @ 9:12am 
All I know is that if you made something that replaced ArmA 3's vanilla default interaction menu, it would be a God sent.
Mong 1 Jul, 2019 @ 9:04am 
That's Wheely Good!
Alkanet_smörgåstårta  [author] 1 Jul, 2019 @ 9:01am 
@LuizBarros99
This still works.
LuizBarros99 1 Jul, 2019 @ 8:57am 
does this mean "no more interaction menu"? (i.e. opening/closing doors/hatches, enabling manual fire in vehicles, etc.)
Alkanet_smörgåstårta  [author] 1 Jul, 2019 @ 8:46am 
For all of you who came here for a weapon wheel.
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1788029136
Sebi 1 Jul, 2019 @ 8:12am 
Somebody buy this man a beer.
Soceris 1 Jul, 2019 @ 7:09am 
We don't need that many guns...
Phil 1 Jul, 2019 @ 6:55am 
Someone is in need of DLCs.
BarkK 1 Jul, 2019 @ 4:33am 
why do you even play arma? Honest question..
Адрик 30 Jun, 2019 @ 9:35pm 
very nice
FraggerNut 30 Jun, 2019 @ 7:41pm 
Can this work alongside ace?
Dunkersplay 30 Jun, 2019 @ 5:38pm 
This guy doesn't have APEX. What a nerd.
Alkanet_smörgåstårta  [author] 30 Jun, 2019 @ 3:30pm 
@Jlitton83
Lovely idea. I see what i can do.
Mickel83 30 Jun, 2019 @ 1:34pm 
Can you please do this to the annoying scroll wheel not just weapons
WT_GamerGirl 29 Jun, 2019 @ 7:49pm 
yes it does thank you, ::)
Sander 29 Jun, 2019 @ 5:10am 
Thank you for this mod :steamhappy:
diveyez 28 Jun, 2019 @ 4:18pm 
Nice 1!
Alkanet_smörgåstårta  [author] 28 Jun, 2019 @ 5:42am 
@sccphantom
This is a client function, so you need to run it once for a client. For example in a missions init.sqf file or init field of an object in the eden editor, it´s up to you.
If you create a singleplayer mission you can just add the example code above to the player objects init field and save. Everytime you run the mission it will start the option system.
I hope this answers your question.
WT_GamerGirl 27 Jun, 2019 @ 11:17pm 
do i have to type all of that for this to work every time I want to use it, or is this ready to go every time I load the game?
[Black_Hawk_BG]_->_<-_X-Ray 27 Jun, 2019 @ 6:42am 
That's very well then. I will definitely start with some experiments at home, when I have some free time, but I can assure you that I'm going to use your mod. Thank you for the example. It is a little nice add-on and extension, that can be very useful for the users. :)
Alkanet_smörgåstårta  [author] 27 Jun, 2019 @ 6:29am 
@[Black_Hawk_BG]_->_<-_X-Ray
I have documented the function at: https://github.com/AlkanetSmorgas/Option-Wheel/wiki
There is an example with images.
Yes, you can use any size as far as i know, but you specify the size of the icon in the setWheel function.
[Black_Hawk_BG]_->_<-_X-Ray 27 Jun, 2019 @ 5:17am 
Thank you very much for the detailed answer. I find this function absolutely amazing and innovative. It is a huge change to the HUD we all use now. I will definitely want this mod in my future projects. I am working on a huge and very scripted campaign now, so I eventually may use it ASAP while it's not completed. And how do I change the intern icons? :) Can I use any size of the picture (icon) in paa format?