Skip to content

Conversation

@sunzenshen
Copy link

@sunzenshen sunzenshen commented Jul 15, 2025

Description

Simple thermoptic use logic. Bots simply enable thermoptic cloak if they know of a threat and they have some thermoptic charge available. There is no early shutoff logic and bots have rudimentary checks against thermoptic state.

Toolchain

  • Windows MSVC VS2022

Linked Issues

This commit has some extra code that doesn't actually get called, so committing first before experimenting with pruning unused code.
me->GetLocomotionInterface()->Thermoptic();
}
#endif

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect this code is not actually getting called since I started with this approach first and the breakpoint never triggered during the test.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[removed inactive code]

@sunzenshen sunzenshen changed the title Simple timer-based thermoptic use logic Draft: Bot thermoptic behavior experiments Jul 17, 2025
@sunzenshen
Copy link
Author

With this tracer bullet implementation for thermoptic state querying, bots are now extremely helpless against it, so do not merge in this state.

Also added aggro for cloak triggering and unsuppressed weapon firing.
Needed to change the scheme for calculating probabilities, because even 1% detection rate multiplied by ~60 ticks a second results in a very high detection rate.
Also added distance as a contributing factor for detection.
Also:
- support target specific logic
- prioritize finishing reloads to avoid decision jitter from reload cancelling weapon change decisions
@sunzenshen
Copy link
Author

Review continued in:
NeotokyoRebuild#1224

@sunzenshen sunzenshen closed this Aug 1, 2025
@sunzenshen sunzenshen deleted the simple-timer-based-thermoptic-use-logic branch August 1, 2025 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant