RoosterDragon
727084c5fc
Run spell check over solution
2021-12-05 19:23:43 +01:00
Matthias Mailänder
5eaba4f893
Unhardcode AI defensive priorities.
2021-12-05 13:17:32 +01:00
Matthias Mailänder
e82aa9977e
Unhardcode AI air units and exclude scripted aircraft.
2021-12-05 13:17:32 +01:00
penev92
8ba6d13b2f
Removed unused using directives
2021-10-15 13:12:33 +02:00
Paul Chote
52b597d5d2
Remove order latency checks from BaseBuilderQueueManager.
2021-08-26 22:00:59 +02:00
Andre Mohren
6810469634
Updated copyright years.
2021-06-29 18:33:21 -05:00
teinarss
10676be377
Replace F extension with string interpolation
2021-05-08 22:20:59 +02:00
reaperrr
1a9dfc0893
Refactor GameSpeed setting
...
*Remove internal GameSpeed defaults
Enforce setting values explicitly all the time
Require definition of a DefaultSpeed
*Remove Global.Timestep default
*Remove the hacky Timestep/OrderLatency setting via LobbyInfo
*Fix shellmaps ignoring mod-defined gamespeeds
*Make DateTimeGlobal use the MapOptions gamespeed
2021-04-09 22:58:14 +01:00
teinarss
d60c05eff3
Change to use pattern matching
2021-03-27 17:29:20 +01:00
Paul Chote
dcd8eccee4
Replace ResourceLayer references with IResourceLayer in traits/warheads.
2021-03-20 16:45:41 +01:00
Paul Chote
3dbc6400a6
Use IResourceLayer in BaseBuilderBotModule.
2021-03-20 16:45:41 +01:00
Paul Chote
d52ba83f96
Replace terniary null checks with coalescing.
2021-03-08 18:11:25 +01:00
teinarss
ed43071792
Compile engine and mod dlls as NET5 when not using mono
2021-03-07 16:04:57 +00:00
teinarss
4a1e4f3e16
Use expression body syntax
2021-03-07 13:00:52 +00:00
reaperrr
1a7a47fa08
Randomize AI idle harvester scan intervals
2021-02-28 18:58:03 +01:00
teinarss
53b781960c
Change FieldLoader.LoadUsing to use nameof
2021-02-28 18:43:51 +01:00
Paul Chote
fb0031d34a
Rename remaining Stance references to PlayerRelationship.
2021-02-04 23:14:09 +01:00
Paul Chote
87790069e9
Add ITerrainInfo interface.
2021-01-11 21:57:55 +01:00
Paul Chote
aeab9a8116
Group bot AttackMove orders.
2021-01-09 23:55:50 +01:00
abcdefg30
aac3174efc
Rename Stances to Relationships in the yaml api
2020-12-11 17:13:02 +01:00
Paul Chote
7c852d90fb
Ignore aircraft when searching for enemy targets.
2020-12-07 23:39:22 +01:00
Paul Chote
53d98ec255
Abort squad states that are not able to move.
2020-12-07 23:39:22 +01:00
abcdefg30
718cf37146
Misc code improvements
2020-11-14 11:04:41 +00:00
abcdefg30
10f645bf77
Replace usage of the Stances dict by a method call
2020-11-14 11:04:41 +00:00
abcdefg30
eda9966d27
Rename Stance to PlayerRelationship
2020-11-14 11:04:41 +00:00
darkademic
8f9c212921
Make AI randomly select from map squares with above average attractiveness when using support powers.
2020-11-01 21:20:00 +00:00
dnqbob
48f4a98c6a
Fix AI air squad misbehaving in TS maps
...
Change Cpos to Mpos by Pchote
2020-10-30 09:20:01 +01:00
Paul Chote
5a7dc385a3
Remove obsolete LocomotorInfo caching.
2020-10-18 18:19:56 +02:00
dnqbob
ca8341d432
Avoid WaterCheck crash in base builder
2020-10-10 11:44:43 +02:00
reaperrr
8d1f72c104
Fix for SquadManagerBotModule
...
Aircraft and ships are immediately assigned a squad,
so adding them to `unitsHangingAroundTheBase` is bogus.
2020-10-04 00:31:35 +01:00
teinarss
9c4fd0e3d3
Use Null-Propagation Operator
2020-08-19 18:11:07 +01:00
teinarss
8d27d22100
Use discard syntax
2020-08-19 18:11:07 +01:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
Mustafa Alperen Seki
43388cb7fc
Don't check HasAdequateRefineryCount if no RefineryTypes defined.
2020-08-05 11:29:22 +02:00
Mustafa Alperen Seki
4cc5104fde
Unhardcode AI's MinimumRefineryCount numbers.
2020-08-05 11:29:22 +02:00
Matthias Mailänder
ea9992247d
Reorder string placeholders.
2020-08-02 12:00:53 +02:00
Matthias Mailänder
b90fecff76
Remove the prefixed method name.
2020-08-02 12:00:53 +02:00
Matthias Mailänder
a4fc9fea3b
Unify AIUtils.BotDebug prefixes.
2020-08-02 12:00:53 +02:00
Andre Mohren
006a87692a
Removed unused imports.
2020-07-28 18:22:51 +02:00
darkademic
ae882b85a9
Make AI randomly scan map for targets for its air squads.
2020-07-02 23:05:49 +02:00
Alfred Lang
1c8c49dc8e
Fix do allow AI do place plugbuildings like RBG Tower on GDI Component Tower
2020-06-27 10:35:06 +02:00
abcdefg30
27d0465891
Remove workarounds for querying the PlayerActor in Created
2020-05-30 19:47:29 +02:00
Paul Chote
86f61298e6
Replace ITraitInfo interface with TraitInfo class.
2020-05-21 13:01:04 +02:00
atlimit8
2dac16ee02
add SquadManagerBotModuleInfo.IgnoredEnemyTargetTypes
2020-05-17 22:02:32 +01:00
abcdefg30
10dc248f07
Remove unused usings from BaseBuilderBotModule
2020-05-02 14:05:44 -05:00
dnqbob
86394eb56c
"FindEnemy" functions ignore hidden actors
...
(helped by reaperrr and abcdefg30)
2020-04-28 15:35:02 +02:00
dnqbob
2d7790f5e4
StateBase.cs modified:
...
1. Optimize & move "ammo" related function from "AirStates.cs" to StateBase.cs
2. Optimize & move "IsRearm" function from "AirStates.cs" to StateBase.cs, name changed to "IsRearming"
(optimized by reaperrr)
2020-04-28 15:35:02 +02:00
Paul Chote
b2f0ac15e8
Generalize RallyPointInfo.Offset to support arbitrary length paths.
2020-02-09 16:52:22 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
tovl
203fff0ab7
Allow queued structure rallypoints.
2019-12-13 23:51:03 +01:00