Foxlider / FASTER

Full rebuild of Flax's tool for installing and updating Arma 3 server with built in features for managing Steam Workshop mods.
GNU General Public License v3.0
121 stars 34 forks source link

Added a custom string[] for TacticalPing in ProfileCfgArrays. #82

Closed Jasperdoit closed 9 months ago

Jasperdoit commented 2 years ago

Description

I've added a string[] that adds additional options to the TacticalPing profile option. These options include: [0] = Disabled [1] = Deprecated [2] = Exclude Map [3] = Enabled

Motivation and Context

The reason for this change is because of a hidden detail about the tactical ping parameter. When the option is assigned one or two, it will ONLY show up inside the 3D view of the game. You will not be able to view the tactical ping on the map unless you set TacticalPing to three. This change hopes to bring clarity to this hidden detail and provide comfort and insight for the user.

How Has This Been Tested?

I've compiled the code and opened the application. From there, I navigated to the difficulty tab of one of my server profiles. When there, I selected option 0 (disabled) after which I saved the change. Along side that, I opened up the profile file that corrosponds to that server. The value mirrored the expected result. This was tested for all options available in the difficulty drop-down, all of which gave an expected result.

Screenshots (if appropriate):

image

Types of changes

Checklist:

Foxlider commented 2 years ago

Are you sure that Arma supports multiple values in the Profile.cfg for TacticalPing ? https://community.bistudio.com/wiki/Arma_3:_Server_Profile https://community.bistudio.com/wiki/Arma_3:_Difficulty_Settings

Also if it is a valid setting, maybe "Deprecated" value should be removed because it seems confusing

jupster commented 9 months ago

From Arma Wiki today

0 is disabled
1 is in 3D scene only, but not on map
2 is on map, but not in 3D scene
3 is both
jupster commented 9 months ago

Merged in https://github.com/Foxlider/FASTER/pull/155