武装突袭3

武装突袭3

Option Wheel
52 条留言
Silent 2024 年 11 月 5 日 上午 6:23 
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Λ=] 2024 年 5 月 10 日 下午 7:43 
@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  [作者] 2024 年 5 月 10 日 下午 1:30 
@Diablo []
Hello. Sorry but i have not been active in arma community for years. Feel free to use this as you want.
Diablo [=ΛLPHΛ=] 2024 年 4 月 15 日 上午 3:06 
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  [作者] 2020 年 8 月 18 日 上午 7:08 
@Futt bucker
I don´t think so. You have to try.
Adeptus 2020 年 8 月 17 日 下午 6:03 
Does this work with ACE?
Sander 2020 年 3 月 16 日 上午 11:44 
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 2019 年 12 月 16 日 上午 7:41 
Oh, thanks man, I will try it. I will tell you the result when I have configured it :steamhappy:
Alkanet_smörgåstårta  [作者] 2019 年 12 月 14 日 上午 8:46 
@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  [作者] 2019 年 12 月 14 日 上午 8:45 
@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  [作者] 2019 年 12 月 14 日 上午 8:45 
(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 2019 年 12 月 14 日 上午 3:39 
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 2019 年 10 月 10 日 上午 10:58 
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  [作者] 2019 年 10 月 10 日 上午 9:32 
@[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  [作者] 2019 年 10 月 10 日 上午 9:28 
@[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 2019 年 10 月 9 日 下午 6:36 
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 2019 年 8 月 23 日 下午 1:26 
@Alkanet(smörgåstårta)
Thank you!! Will do!
Alkanet_smörgåstårta  [作者] 2019 年 8 月 23 日 下午 1:19 
@Malcain
You can use it for your mod. Just add it to your credits list.
Good luck with your mod!
Malcain 2019 年 8 月 23 日 上午 11:00 
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://psteamcommunity.yuanyoumao.com/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 2019 年 7 月 5 日 下午 3:39 
AWSOME
Xray 2019 年 7 月 3 日 下午 2:34 
sweet
Alkanet_smörgåstårta  [作者] 2019 年 7 月 3 日 上午 4:58 
@Quingedu
Yes
Xray 2019 年 7 月 3 日 上午 4:31 
is this a Client Side mod??
Marco 2019 年 7 月 2 日 下午 1:59 
and the simulation where you left it?:steamfacepalm:
Sebi 2019 年 7 月 1 日 下午 1:07 
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 2019 年 7 月 1 日 上午 10:19 
What is this? GTA?
.Fabian 2019 年 7 月 1 日 上午 10:00 
"No more scrolling options!"
Meme.insert("Shut up and take my money");
Alkanet_smörgåstårta  [作者] 2019 年 7 月 1 日 上午 9:18 
@LuizBarros99
Check out Weapon Wheel Beta in the workshop.
LuizBarros99 2019 年 7 月 1 日 上午 9:12 
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 2019 年 7 月 1 日 上午 9:04 
That's Wheely Good!
Alkanet_smörgåstårta  [作者] 2019 年 7 月 1 日 上午 9:01 
@LuizBarros99
This still works.
LuizBarros99 2019 年 7 月 1 日 上午 8:57 
does this mean "no more interaction menu"? (i.e. opening/closing doors/hatches, enabling manual fire in vehicles, etc.)
Alkanet_smörgåstårta  [作者] 2019 年 7 月 1 日 上午 8:46 
Sebi 2019 年 7 月 1 日 上午 8:12 
Somebody buy this man a beer.
Soceris 2019 年 7 月 1 日 上午 7:09 
We don't need that many guns...
Phil 2019 年 7 月 1 日 上午 6:55 
Someone is in need of DLCs.
BarkK 2019 年 7 月 1 日 上午 4:33 
why do you even play arma? Honest question..
Адрик 2019 年 6 月 30 日 下午 9:35 
very nice
FraggerNut 2019 年 6 月 30 日 下午 7:41 
Can this work alongside ace?
Dunkersplay 2019 年 6 月 30 日 下午 5:38 
This guy doesn't have APEX. What a nerd.
Alkanet_smörgåstårta  [作者] 2019 年 6 月 30 日 下午 3:30 
@Jlitton83
Lovely idea. I see what i can do.
Mickel83 2019 年 6 月 30 日 下午 1:34 
Can you please do this to the annoying scroll wheel not just weapons
WT_GamerGirl 2019 年 6 月 29 日 下午 7:49 
yes it does thank you, ::)
Sander 2019 年 6 月 29 日 上午 5:10 
Thank you for this mod :steamhappy:
diveyez 2019 年 6 月 28 日 下午 4:18 
Nice 1!
Alkanet_smörgåstårta  [作者] 2019 年 6 月 28 日 上午 5:42 
@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 2019 年 6 月 27 日 下午 11:17 
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 2019 年 6 月 27 日 上午 6:42 
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  [作者] 2019 年 6 月 27 日 上午 6:29 
@[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 2019 年 6 月 27 日 上午 5:17 
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?