-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aligning mapTools with current compass heading does only work for vanilla compass #8851
Comments
Can check for presence of any item in specfic |
I already tried that. The problem here is that the lack of a compass is not indicated by an I've discussed this with @diwako. He said his DUI uses a caching mechanism upfront to find all possible compasses. So I still think it is best to just skip any check for a compass because the likelihood of one having maptools but no compass is smaller than all the other cases were the current behaviour can be considered a bug. |
Just take a compass with you. That's the only way to physically align it irl too. |
I don't see an issue with a common function |
I tried to explain this in the issue description @commy2 . It does only work for the vanilla compass ( |
private _hasCompass = getUnitLoadout _unit param [9, []] param [3, ""] != ""; |
I will give it a try and provide feedback. Thanks @commy2 :-) |
Thumbled upon to this thread and I have another fix suggestion for the map tools. Currently, you can not use map tools without the default map. I noticed this issue when playing Prairie Fire dlc and the problem is basicly the same as with the compass. The item names for Prairie Fire maps are The problematic condition can be found from Ps. the compass item names for Prairie Fire are |
The mapTools feature of aligning the tool with the current compass heading does only work if the player is equipped with a vanilla compass (
'ItemCompass'
).So the AND condition in below mentiond LOC does more harm than good. I recommend to remove it. The only damage being done in doing so is that infanterists and low tech vehicle gunners with map tools but without a compass (who does that anyways) will be able to align the map tools with their own heading.
ACE3/addons/maptools/CfgVehicles.hpp
Line 55 in d135371
Let me know what you think. I can remove it since I am currently already working on mapTools, but I want to hear your feedback first.
The text was updated successfully, but these errors were encountered: