107 Commits

Author SHA1 Message Date
Dev
5eb4f1b175 Add weight system to generation object 2023-08-21 16:32:20 +01:00
Dev
de11386c5a Code cleanup and attempt at reducing ram usage
Added extra bosses to pmc enemy forcing code
2023-08-15 12:05:31 +01:00
c9c472882e merge into main (#1)
Co-authored-by: Chomp <chomp@noreply.dev.sp-tarkov.com>
Co-authored-by: Dev <dev@noreply.dev.sp-tarkov.com>
Co-authored-by: Dev <dev@dev.sp-tarkov.com>
Reviewed-on: chomp/BotGenerator#1
2023-08-15 09:29:16 +00:00
33dcfc042e Add medical item override 2022-01-15 12:10:58 +00:00
f9e6be6e90 Consistency 2022-01-07 10:34:10 +00:00
1c9db23970 Add code to add in custom difficulty settings to bots
Rework addSettings() method
2022-01-07 10:32:59 +00:00
e386a924f3 Dont add lastnames to raiders 2022-01-07 09:17:41 +00:00
c92b2ff0e6 Add gifter bot asset 2021-12-25 14:59:08 +00:00
b3f3131f02 update assets 2021-12-22 18:16:48 +00:00
1d2fd4a5f6 update difficulty assets 2021-12-20 11:34:42 +00:00
0e0c41d33f Reads through bot files and finds unique bodypart health configurations, saves them to output object 2021-12-20 10:48:27 +00:00
9df03f3286 Add more chance overrides 2021-12-20 10:45:19 +00:00
1c9d8b7700 Add code to choose loose loot min/max based on bot type
exUsec have higher values than others
2021-12-15 09:04:11 +00:00
a6a3365175 Return a max percentage of 100 for mod/gear chances 2021-12-15 09:01:45 +00:00
4576f9dcdc include exusec difficulty setting file 2021-12-13 10:45:38 +00:00
c77051821f add exusec to bot type list 2021-12-12 14:39:22 +00:00
9554648775 new global settings for 16029 2021-12-12 14:37:49 +00:00
fa59624172 Update bot parsing code to use Parallel.ForEachAsync + make parser static + make parser async 2021-11-26 14:50:07 +00:00
4489785cd3 use global usings 2021-11-23 13:02:13 +00:00
5f9c13232b Upgrade to .net 6 2021-11-23 13:00:52 +00:00
d827518a3f Add new bot asset values from live 2021-11-23 12:59:49 +00:00
9bda5e5605 Force stock on bossbully 2021-10-09 13:59:30 +01:00
dbbb3a1da8 facecover, not head 2021-10-08 09:58:55 +01:00
b961e8e19d Force marksman scope 2021-10-08 09:48:26 +01:00
349c342578 Add code to handle equipment chance overrides
add tagilla headwear override
2021-10-08 09:44:38 +01:00
ab3cb5dfc3 Force more stocks to spawn 2021-10-08 09:14:29 +01:00
8237fdbe67 Refactor to use common.models project
Add project for finding unique bot templates from live data
2021-09-18 22:36:59 +01:00
4e399b5518 force shturmans stock/scope spawn chance to be 10)% 2021-09-08 08:30:42 +01:00
7d74cb7c8f Force tagilla to have 100% chance to spawn with stock + tactical item (fixes mp 155 ultima camera issue) 2021-09-08 08:00:39 +01:00
3fa8fe40e4 use param tags 2021-09-06 21:24:32 +01:00
e9fe68a1d9 Update bot gen code to choose mag count by bot type 2021-09-06 17:34:10 +01:00
7547f3379f Naming consistency improvements 2021-09-05 12:27:17 +01:00
dd72a6e5e2 Naming consistency improvements 2021-09-05 12:20:40 +01:00
a5dc5dc09c save file name as lowercase 2021-09-01 17:40:03 +01:00
e407393392 Neatified the code 2021-09-01 19:19:44 +03:00
eda431d331 move item helper to common project 2021-09-01 16:59:08 +01:00
095fc983be Fixed issue with required slot detection 2021-09-01 18:39:09 +03:00
63a5cecfc2 Merge branch 'master' into feature/mod-chance-calculation-adjustments 2021-09-01 17:39:56 +03:00
8761e26880 WIP: initial set of adjustments to mod chance calculation 2021-09-01 17:39:50 +03:00
a7b2ce998b typo 2021-09-01 15:29:38 +01:00
ab29509ed4 Rework difficulties to not use strongly typed values and just read directly from asset files
Reuces maintenance of keeping objects updated.

Use <string, object> as the value can be bool/int/double, output is always in JSON so use object to preserve value
2021-09-01 15:25:26 +01:00
cbe62a7c64 Add missing difficulty settings 2021-09-01 15:04:34 +01:00
55ca5ebbbe Add missing tagilla difficultiy settings 2021-09-01 14:41:21 +01:00
d38cc9c3ea Parallelise some troublesome loops 2021-08-31 18:52:28 +01:00
f0d48619bf set min to size of special loot array 2021-08-31 18:52:00 +01:00
4baaeb47bc Update boss keygen code to better match requirements 2021-08-31 18:39:30 +01:00
f695450f70 Move special loot to correct place in output object 2021-08-30 22:32:54 +01:00
5ffd837124 Add keys to boss special loot code
TODO: figure out a better way to do this as right now somewhre between 1 and 50 keys will spawn on bosses
2021-08-29 20:46:57 +01:00
ec25fdd058 refactor code to perform metric calculations last 2021-08-27 21:34:12 +01:00
f3975badac Add special loot aray to output and add helper class for storing special items that must spawn with specific bot types 2021-08-27 21:01:59 +01:00