107 Commits

Author SHA1 Message Date
ab3cb5dfc3 Force more stocks to spawn 2021-10-08 09:14:29 +01:00
acf4f2ca40 Better way of determining if weapon is primary or secondary 2021-09-21 14:10:52 +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
bdd505801a remove unused root class 2021-09-06 17:33:05 +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
611090ec07 Fix bug 2021-09-01 18:22:55 +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
a67c2ad807 Update item.json 2021-09-01 17:01:40 +01:00
eda431d331 move item helper to common project 2021-09-01 16:59:08 +01:00
Chomp
25e7acacac Merge pull request 'feature/mod-chance-calculation-adjustments' (#7) from feature/mod-chance-calculation-adjustments into master
Reviewed-on: Chomp/BotGenerator#7
2021-09-01 17:42:21 +02: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
d03b06fd1a blacklist ultra nosler 2021-08-27 13:47:09 +01:00
8b57a79fc7 Add code to add cartridge items to mod list for magazine items
each magazine needs a mod item with a key of its template id with a "cartridges" key + list of compatible cartridges to work correctly.
2021-08-25 20:12:44 +01:00
3067035494 Loop over all weapons, not just primary 2021-08-25 20:11:32 +01:00
5541be7c34 Add extension to help add a range of values to a list 2021-08-25 20:08:13 +01:00
8dbd052964 more bullets for blacklist 2021-08-25 20:07:59 +01:00
4fe279d9d7 refactoring of code for readability 2021-08-25 19:10:29 +01:00
ea2f5ce3a8 formatting 2021-08-25 19:06:24 +01:00
ac5a0e3f17 cleanup of class 2021-08-25 19:04:46 +01:00
617cbd196e Add functionality to add allowed chambered bullets to a guns mod list, prevetns adding certain terrible bullets through a blacklist 2021-08-25 19:04:36 +01:00
240f9d1e57 Add classes for mapping a bsg items library object 2021-08-25 18:59:54 +01:00
9aa4e25759 Add bullet blacklist helper 2021-08-25 18:58:53 +01:00
d0b6718c5c cleanup of file structure 2021-08-24 23:04:26 +01:00
a155b366d1 Properly manage multiple preset files 2021-08-24 17:11:19 +01:00
206acf42ec Add example preset file 2021-08-24 12:12:42 +01:00
31f6dd7e75 Add pmc project prototype for generating mod json data 2021-08-24 12:10:14 +01:00
d8c905719c use common project 2021-08-24 12:08:30 +01:00
554c86d7db Add common project and move some classes out of code into it 2021-08-24 12:07:09 +01:00
11ad866348 remove debug code 2021-08-20 20:03:20 +01:00
832158a85e Add missing mods to output 2021-08-20 20:00:13 +01:00
6327711945 Better logging messages 2021-08-20 09:12:26 +01:00