1
0
mirror of https://github.com/veden/Rampant.git synced 2024-12-30 21:19:46 +02:00
Commit Graph

463 Commits

Author SHA1 Message Date
Aaron Veden
acc62fdf50
Increased nest activeness duration 2021-12-07 18:28:46 -08:00
Aaron Veden
f1204419eb
added check for activeness before adding to active nest queue and
fixed duration not be extended on the check
2021-12-07 18:28:11 -08:00
Aaron Veden
e11c71a37f
increasing surfaces processed per cycle to 15 2021-12-07 16:58:53 -08:00
Aaron Veden
c1b761d8dd
AI planning now processes upto 10 surfaces per cycle 2021-12-06 22:35:21 -08:00
Aaron Veden
09a9c51cec
victory scent is processed regardless of current map 2021-12-06 21:56:09 -08:00
Aaron Veden
b88e1abd91
code cleanup in onDeath event and chunkProcessor 2021-12-06 21:20:05 -08:00
Aaron Veden
27426a42ae
renamed method processSpawners to processAttackWaves 2021-12-05 22:11:59 -08:00
Aaron Veden
beaeaa6c2e
pending chunks are processed across all chunks 2021-12-05 22:04:07 -08:00
Aaron Veden
d1eeee025f
optimized processing spawners covered by pollution 2021-12-05 21:44:19 -08:00
Aaron Veden
2f87808593
active nests are now processed across all surfaces 2021-12-05 20:56:08 -08:00
Aaron Veden
b81c96c043
now upgrades are processed across all chunks 2021-12-05 20:43:41 -08:00
Aaron Veden
893bd393ff
added max move and auto settling 2021-12-05 20:27:03 -08:00
Aaron Veden
926ef9e383
uniform squad processing 2021-12-05 19:40:39 -08:00
Aaron Veden
15c140b728
adding max consecutive wanders to squads 2021-12-05 17:17:41 -08:00
Aaron Veden
47e20864e1
Fixed scanning around player 2021-12-05 17:17:28 -08:00
Aaron Veden
c3ee424656
50% reduced contribution to temperament 2021-12-05 16:02:50 -08:00
Aaron Veden
9c25648a15
added check for nextAttackChunk in settle being impassable 2021-12-05 15:52:47 -08:00
Aaron Veden
3afe84b83a
adding aggressive sent and max to console debug output 2021-12-05 15:33:51 -08:00
Aaron Veden
24d52de8a1
rng should now be deterministic 2021-12-05 15:33:24 -08:00
Aaron Veden
38e83283fc
added logic to reset pending upgrade table 2021-12-05 14:39:50 -08:00
Aaron Veden
82058d16d4
ignore surfaces that will never have enemies 2021-12-05 11:39:39 -08:00
Aaron Veden
e814a9c648
potential desync fix and warding pheromone on attack path 2021-12-05 10:19:04 -08:00
Aaron Veden
c7850c3649
refactoring scanEnemyMap to use setAreaInQuery 2021-12-04 16:46:29 -08:00
Aaron Veden
839ee4754f
code clean up in mapProcessor simplifing logic 2021-12-04 16:44:59 -08:00
Aaron Veden
88d5c1f65d
fixed kastorio creep spawn on failed upgrade 2021-12-04 16:23:42 -08:00
Aaron Veden
584a5bca7a
reduced chunk processing delay to 20 ticks 2021-12-04 14:57:49 -08:00
Aaron Veden
a61194150c
redistribute processing over more ticks 2021-12-04 14:57:45 -08:00
Aaron Veden
edb589816a
corrected base chunk count logic in upgrade and chunk properties 2021-12-04 13:37:22 -08:00
Aaron Veden
96094237f6
fixed no new enemies mod path in registering and unregistering enemy structures 2021-12-04 13:05:47 -08:00
Aaron Veden
2772010851
fixed chunk pass scan not returng impassable chunk when needed 2021-12-04 12:56:02 -08:00
Aaron Veden
68de29c6d2
compute a base for all mapScanEnemies on a chunk 2021-12-04 12:07:27 -08:00
Aaron Veden
9ea16e6a82
changed argument to entityUpgrade to base instead of alignment 2021-12-04 11:58:07 -08:00
Aaron Veden
31c50a15c8
cleaned up config.lua and distributed methods into code files 2021-12-04 11:42:41 -08:00
Aaron Veden
9dfb61e735
fixed regional bases processing, distribution, cleanup 2021-12-04 11:04:13 -08:00
Aaron Veden
f489fe2de9
fixed chunk processing not processing every chunk 2021-12-02 18:25:18 -08:00
Aaron Veden
eaaf116e54
changed direct chunkBase access to getter 2021-11-30 19:48:52 -08:00
Aaron Veden
e5007ab465
optimized energy thief faction 2021-11-28 22:07:24 -08:00
Aaron Veden
b7b1a783a6
moved processUpgrades into chunk processor 2021-11-28 17:59:51 -08:00
Aaron Veden
bbb99102cc
reduced pheromone map process to 105 2021-11-28 17:53:35 -08:00
Aaron Veden
e91fc26066
decreased chunk scanning on player, enemy, and resource to 960/minute 2021-11-28 17:37:26 -08:00
Aaron Veden
4c75a4cb26
corrected wander spelling 2021-11-28 16:35:31 -08:00
Aaron Veden
ed2b588a06
added unit group command timeout + wander to allow gathering 2021-11-28 16:26:48 -08:00
Aaron Veden
6c6c811a91
decreased evolution variability when picking base factions 2021-11-26 14:09:10 -08:00
Aaron Veden
386b33358c
increased acceptance rate on early stopping for evoToTier 2021-11-26 14:01:22 -08:00
Aaron Veden
3890024474
adding early stopping in evoToTier 2021-11-26 14:00:08 -08:00
Aaron Veden
77f5fd641b
removed dead or commented code 2021-11-26 12:55:50 -08:00
Aaron Veden
940de53470
removing comments 2021-11-26 12:46:51 -08:00
Aaron Veden
42bd0f13c8
set the trap building cost to the standard worm cost 2021-11-26 12:25:31 -08:00
Aaron Veden
c4fea8f598
added minimum cost building check to upgrades 2021-11-26 12:25:07 -08:00
Aaron Veden
9d16d058a8
increased base point accumulation by 30x 2021-11-26 11:56:19 -08:00
Aaron Veden
41fba2e653
increased chance that a enemy structure is upgraded 2021-11-26 11:55:50 -08:00
Aaron Veden
8000a0a713
adding primary faction when two are present in a base 2021-11-26 11:28:27 -08:00
Aaron Veden
85ee0052d8
Increased base point accumulation by 10x 2021-11-26 11:25:16 -08:00
Aaron Veden
48381454a7
added mod setting for debugging inplace enemy structure upgrades 2021-11-26 11:00:59 -08:00
Aaron Veden
76dde8d8b6
corrected typos in chunkProcessing and added one final table sort in upgrade 2021-11-26 10:31:15 -08:00
Aaron Veden
89f3580887
optimized adding chunks to processQueue 2021-11-26 09:52:30 -08:00
Aaron Veden
320615c3a4
spread base upgrades over many ticks 2021-11-25 22:49:28 -08:00
Aaron Veden
34c036b80a
updated code pattern for getTimeStringFromTick 2021-11-25 19:27:39 -08:00
Aaron Veden
07af250a20
added print gps coordinates debug function to constants.lua 2021-11-25 19:26:36 -08:00
Aaron Veden
6351dc3b50
increased base point increment by 50% 2021-11-25 11:17:39 -08:00
Aaron Veden
f80b773597
added scaling aggressive groups based on active nests 2021-11-25 11:11:46 -08:00
Aaron Veden
2a602d7431
fixed victory scent dispersal 2021-11-25 10:20:33 -08:00
Aaron Veden
c217a8f82d
fixed squad cleanup periodically skipping groups 2021-11-25 10:08:35 -08:00
Aaron Veden
3c1b39e3eb
added regional base dormancy state 2021-11-25 09:49:54 -08:00
Aaron Veden
bdace61d9b
fixed adaptation probability calculation 2021-11-25 09:14:53 -08:00
Aaron Veden
3a2d4fa29e
added base mutation limit 2021-11-25 09:04:52 -08:00
Aaron Veden
abe8f57dfb
greatly reduced chance of nests not being converted due to slow chunk generation 2021-11-24 23:28:27 -08:00
Aaron Veden
03bf8ee821
removed bounding box check for building bases 2021-11-24 21:22:11 -08:00
Aaron Veden
7895191e9e
added hive spawn chance outside resource patches 2021-11-24 20:52:44 -08:00
Aaron Veden
870f0f83db
fixed base recycling processing 2021-11-24 20:49:22 -08:00
Aaron Veden
154e9f6b80
removed extra comments from baseutils 2021-11-24 20:42:05 -08:00
Aaron Veden
92dee7476b
doubled base processing speed 2021-11-24 20:37:37 -08:00
Aaron Veden
468237d17e
fixed trying to build same structure with new enemies 2021-11-24 20:35:58 -08:00
Aaron Veden
879205d0d5
fixed active and raid nest processing 2021-11-24 19:56:10 -08:00
Aaron Veden
852a83df42
fixed nest processing 2021-11-24 18:43:24 -08:00
Aaron Veden
6e06765d9f
fixed vengence squad processing 2021-11-24 18:31:28 -08:00
Aaron Veden
59d990be0c
correcting repo permissions 2021-11-23 19:45:28 -08:00
Aaron Veden
c31ecbd5b6
see changelog 2021-07-25 17:25:14 -07:00
Aaron Veden
0663a55521
see changelog 2021-07-24 20:23:38 -07:00
Aaron Veden
16986e5f09
finished adaptive behavior 2021-07-24 18:20:13 -07:00
Aaron Veden
5450359cfe
need to finish faction selection on damage 2021-07-21 17:48:52 -07:00
Aaron Veden
e88c4ef1ec
need to fill in damage type base mutations 2021-07-19 21:22:38 -07:00
Aaron Veden
47fa4eb3cd
Merge branch 'findBaseInitialAlignment-Crash-Fix' of https://github.com/Dagothur/Rampant into prod 2021-05-14 20:57:55 -07:00
Dagothur
1605248a61 Fix AI_STATE_AGGRESSIVE squad generation 2021-05-13 07:50:27 -04:00
Dagothur
8fb5ce12e8 Fix findBaseInitialAlignment() crash
Fixes findBaseInitialAlignment() crash by passing map instead of universe
2021-05-13 07:46:55 -04:00
Aaron Veden
00534625b3
see changelog 2021-05-01 13:50:40 -07:00
Aaron Veden
0183b78fd1
see changelog 2021-05-01 10:26:05 -07:00
Dagothur
722868f6bb Merge remote-tracking branch 'upstream/master' 2021-05-01 07:52:57 -04:00
Aaron Veden
8843b973af
see changelog 2021-04-30 21:25:55 -07:00
Dagothur
a98ebe9de6 remove idle biter point bonus mechanic 2021-04-30 23:36:34 -04:00
Dagothur
1754af50d4 adds /rampantSetAIState command
adds /rampantSetAIState command

sets the player's current surface to the state index passed to the command
2021-04-30 12:04:59 -04:00
Dagothur
d874784f81 clean up 2021-04-30 11:03:26 -04:00
Dagothur
292d407e13 AI Points: Print spending to chat, print gains to chat, award idle biters bonus points
Configurable settings for:

1) Printing AI point spending to chat
2) Printing AI point gains to chat
3) Granting "Idle Biters" bonus points
2021-04-30 09:15:29 -04:00
Aaron Veden
f7c99d03ab
see changelog 2021-04-29 22:24:14 -07:00
Aaron Veden
8e46e96667
see changelog 2021-04-21 20:46:50 -07:00
Aaron Veden
0e7932b70e
see changelog 2021-04-16 13:47:43 -07:00
Dagothur
a6cce852b3 Prepend surface name to AI state change messages 2021-04-16 10:28:43 -04:00
Dagothur
485abfd19c Added Map Setting to disable the AI's Peaceful State
Added an AI: Enable Peaceful toggle. Defaults on. If it's disabled and the AI: Enable Migration setting is enabled, then when the AI state rolls Peaceful it is instead converted to Migrating.

Added a 2nd setting to display AI state changes in chat. Defaults off.
2021-04-16 09:54:58 -04:00
Aaron Veden
39593bcc4f
remove debug message 2021-04-11 20:48:41 -07:00
Aaron Veden
99b5d3f3c1
see changelog 2021-04-11 20:46:21 -07:00