Skip to content
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

Additional effect from the use of paints (camouflage) #490

Open
5 tasks done
aqpanaciy opened this issue Mar 26, 2024 · 5 comments · May be fixed by #491
Open
5 tasks done

Additional effect from the use of paints (camouflage) #490

aqpanaciy opened this issue Mar 26, 2024 · 5 comments · May be fixed by #491
Assignees
Labels
Difficulty: Moderate This issue is non-trivial but still well-defined but maybe broader scope enhancement New feature or request

Comments

@aqpanaciy
Copy link

aqpanaciy commented Mar 26, 2024

Image
Slight increase masking depending on the color of the robot and the color of the island. For example: green paint gives +2 to masking on the islands of the green faction.

  • сheck the possibility of changing the island effect for each agent individually;
  • come up with a formula for converting colors into camouflage values;
  • сreate a matrix (color of the island) X (color of the robot) => additional masking. , to check the formula;
  • when unloading the agent onto the surface, add a new effect or (better) add another line in the island effects, with a description of the bonus;
  • add a new color: Dark Maroon. To balance the different factions.
@aqpanaciy aqpanaciy self-assigned this Mar 26, 2024
@aqpanaciy aqpanaciy added enhancement New feature or request Difficulty: Moderate This issue is non-trivial but still well-defined but maybe broader scope labels Mar 26, 2024
@aqpanaciy
Copy link
Author

Formulas for calculating the stealth coefficient on a faction island depending on the color components of the robot:
Red Island: T = R - (R + G + B) / 3
Green Island: P = G - (R + G + B) / 3
Blue Island: N = B - (R + G + B) / 3

@aqpanaciy
Copy link
Author

Calculated coefficients for standard paints:

Image

@aqpanaciy
Copy link
Author

The final option for calculating bonuses:

Image

@aqpanaciy
Copy link
Author

Image

@aqpanaciy
Copy link
Author

Different formula so that: lighter tones correspond to worse characteristics; in the entire color range the maximum masking is +5.00 rF. Colorless paint does not provide a bonus.

Image

@aqpanaciy aqpanaciy linked a pull request Mar 29, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty: Moderate This issue is non-trivial but still well-defined but maybe broader scope enhancement New feature or request
Projects
Status: In progress
Development

Successfully merging a pull request may close this issue.

1 participant