Archived
Compare commits
84
Commits
d15b7200aa
..
1.38.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
db58ebbefb | ||
|
|
37519a6093 | ||
|
|
306af72daf | ||
|
|
caf77d899b | ||
|
|
fa01a0fb3e | ||
|
|
6e51b30da0 | ||
|
|
06b52867de | ||
|
|
d212aba253 | ||
|
|
753c068fb2 | ||
|
|
6361dc03d1 | ||
|
|
7c93b1b84f | ||
|
|
a5ec6f3db1 | ||
|
|
24d268c53f | ||
|
|
cebddea8fc | ||
|
|
fd42f32c6a | ||
|
|
3567f74bcd | ||
|
|
9ca4e261ab | ||
|
|
23dc6d93c3 | ||
|
|
a84001c8bf | ||
|
|
4ccd8753d1 | ||
|
|
1d21d74bb9 | ||
|
|
3ebaed3777 | ||
|
|
5d24318a39 | ||
|
|
a161750966 | ||
|
|
c3fcfb84f8 | ||
|
|
35e1404f43 | ||
|
|
f004d53072 | ||
|
|
4a1cdbcd20 | ||
|
|
c6a4c23e0d | ||
|
|
9a9bde3445 | ||
|
|
7456838720 | ||
|
|
69f3954bcb | ||
|
|
77d156762e | ||
|
|
b026a328e4 | ||
|
|
dded8a81d6 | ||
|
|
fb99760b29 | ||
|
|
951d0201f9 | ||
|
|
b292d36c21 | ||
|
|
147c9bda00 | ||
|
|
a67f0d8248 | ||
|
|
93d8f94c6b | ||
|
|
437ad4203d | ||
|
|
7fee303436 | ||
|
|
b7a439a282 | ||
|
|
15ddd52ac6 | ||
|
|
6eecae59f6 | ||
|
|
c99136d826 | ||
|
|
8039e900f6 | ||
|
|
5381ede0e2 | ||
|
|
4347242d3a | ||
|
|
ccc7f1c7b6 | ||
|
|
810312b097 | ||
|
|
cbffa56551 | ||
|
|
75c67cbaa0 | ||
|
|
a60509ce4e | ||
|
|
f2b832fb77 | ||
|
|
e787ecccb5 | ||
|
|
fa192acb29 | ||
|
|
c02a35612e | ||
|
|
73e3f57758 | ||
|
|
9e834694f2 | ||
|
|
a7d2afe3b0 | ||
|
|
c2885757d3 | ||
|
|
b697b687a7 | ||
|
|
b9abacef3e | ||
|
|
d990cf381f | ||
|
|
b8efad481d | ||
|
|
4c35579b73 | ||
|
|
7ccfda6d3d | ||
|
|
f44663aa2a | ||
|
|
df12331013 | ||
|
|
66964b26ef | ||
|
|
887e7116b6 | ||
|
|
e1905a5613 | ||
|
|
4be51035f2 | ||
|
|
246e806005 | ||
|
|
2a85d05696 | ||
|
|
fa2ec9073c | ||
|
|
f907d8a2f6 | ||
|
|
564688df55 | ||
|
|
2313694a50 | ||
|
|
253835a6aa | ||
|
|
966c30c738 | ||
|
|
ea4e25ccb3 |
@@ -1,2 +1,5 @@
|
||||
*.bundle filter=lfs diff=lfs merge=lfs -text
|
||||
*.servph filter=lfs diff=lfs merge=lfs -text
|
||||
hfx[[:space:]]impacts filter=lfs diff=lfs merge=lfs -text
|
||||
hideoutcat filter=lfs diff=lfs merge=lfs -text
|
||||
*.exe filter=lfs diff=lfs merge=lfs -text
|
||||
|
||||
@@ -2,3 +2,5 @@ mods/Config Files/BepInEx/config/com.mpstark.DynamicMaps.cfg
|
||||
mods/Config Files/BepInEx/config/xyz.drakia.questtracker.cfg
|
||||
mods/Dynamic Goons/user/mods/inory-dynamicgoons/src/db/rotationData.json
|
||||
mods/Config Files/BepInEx/config/com.Amanda.Graphics.cfg
|
||||
mods/Config Files/BepInEx/config/com.mpstark.DynamicMaps.cfg
|
||||
mods/Config Files/BepInEx/config/com.mpstark.DynamicMaps.cfg
|
||||
|
||||
+64
-16
@@ -4,6 +4,12 @@
|
||||
set "mo2_install=%cd%"
|
||||
set "repository=%mo2_install%\Fika-Tarkov"
|
||||
|
||||
:: Specifying links to download for files
|
||||
set "git_repository=https://files.moddinglounge.com/Rage/Fika-Tarkov.git"
|
||||
set "git_file=https://github.com/git-for-windows/git/releases/download/v2.47.1.windows.1/PortableGit-2.47.1-64-bit.7z.exe"
|
||||
set "SevenZ_file=https://www.7-zip.org/a/7zr.exe"
|
||||
set "mo2_file=https://github.com/ModOrganizer2/modorganizer/releases/download/v2.5.2/Mod.Organizer-2.5.2.7z"
|
||||
|
||||
:: Set path to the portable Git executable
|
||||
set "portable_git=%mo2_install%\PortableGit\bin\git.exe"
|
||||
set "portable_7z=%mo2_install%\7zr.exe"
|
||||
@@ -22,7 +28,7 @@ if not exist "%mo2_install%\PortableGit\bin\git.exe" (
|
||||
echo ----
|
||||
echo Installing Portable Git...
|
||||
:: Download Git Portable
|
||||
curl -L -o PortableGit-2.47.1-64-bit.7z.exe https://github.com/git-for-windows/git/releases/download/v2.47.1.windows.1/PortableGit-2.47.1-64-bit.7z.exe
|
||||
curl -L -o PortableGit-2.47.1-64-bit.7z.exe %git_file%
|
||||
|
||||
if %errorlevel% neq 0 (
|
||||
echo ERROR: Failed to download Git Portable. Check your internet connection and try again.
|
||||
@@ -41,7 +47,7 @@ if not exist "%mo2_install%\7zr.exe" (
|
||||
echo ----
|
||||
echo Installing 7zip Portable...
|
||||
:: Download 7zip Portable
|
||||
curl -L -o 7zr.exe https://www.7-zip.org/a/7zr.exe
|
||||
curl -L -o 7zr.exe %SevenZ_file%
|
||||
)
|
||||
|
||||
:: Determining if an installation exists already
|
||||
@@ -64,10 +70,10 @@ IF EXIST "%mo2_install%\ModOrganizer.exe" (
|
||||
timeout 10
|
||||
|
||||
:: Clone or update the Git repository
|
||||
if not exist "Fika-Tarkov\.git" (
|
||||
if not exist "%repository%\.git" (
|
||||
echo ----
|
||||
echo Cloning repository...
|
||||
"%portable_git%" clone https://files.moddinglounge.com/Rage/Fika-Tarkov.git
|
||||
"%portable_git%" clone %git_repository%
|
||||
) else (
|
||||
echo ----
|
||||
echo Repository already exists. Pulling latest changes...
|
||||
@@ -84,18 +90,11 @@ IF EXIST "%mo2_install%\ModOrganizer.exe" (
|
||||
echo Synchronizing profiles folder...
|
||||
robocopy "%repository%/profiles" "%mo2_install%/profiles" /MIR
|
||||
|
||||
echo ----
|
||||
echo Synchronizing stylesheets folder...
|
||||
robocopy "%repository%/stylesheets" "%mo2_install%/stylesheets" /E
|
||||
|
||||
echo ----
|
||||
echo Synchronizing plugins folder...
|
||||
robocopy "%repository%/plugins" "%mo2_install%/plugins" /E
|
||||
|
||||
pause
|
||||
exit /B 0
|
||||
|
||||
:InstallModpack
|
||||
echo.
|
||||
echo !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
echo WARNING! The script will install the modpack in the folder this script is ran from!
|
||||
echo Be sure that your folder is empty before continuing with the installation!
|
||||
@@ -108,9 +107,19 @@ IF EXIST "%mo2_install%\ModOrganizer.exe" (
|
||||
timeout 30
|
||||
|
||||
:: Requiring user input for game path
|
||||
echo ----
|
||||
set /p "game_path=Please enter the path to your game installation: "
|
||||
|
||||
if "%game_path%"=="" (
|
||||
echo.
|
||||
echo No path entered. Exiting.
|
||||
echo.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
:: Download MO2
|
||||
curl -L -o MO2.7z https://github.com/ModOrganizer2/modorganizer/releases/download/v2.5.2/Mod.Organizer-2.5.2.7z
|
||||
curl -L -o MO2.7z %mo2_file%
|
||||
if %errorlevel% neq 0 (
|
||||
echo ERROR: Failed to download the archive. Check your internet connection and try again.
|
||||
pause
|
||||
@@ -138,7 +147,7 @@ IF EXIST "%mo2_install%\ModOrganizer.exe" (
|
||||
|
||||
echo ----
|
||||
echo Cloning repository...
|
||||
"%portable_git%" clone https://files.moddinglounge.com/Rage/Fika-Tarkov.git
|
||||
"%portable_git%" clone %git_repository%
|
||||
|
||||
echo ----
|
||||
echo Synchronizing mods folder...
|
||||
@@ -148,13 +157,52 @@ IF EXIST "%mo2_install%\ModOrganizer.exe" (
|
||||
echo Synchronizing profiles folder...
|
||||
robocopy "%repository%/profiles" "%mo2_install%/profiles" /MIR
|
||||
|
||||
echo ----
|
||||
echo Synchronizing plugins folder...
|
||||
robocopy "%repository%/plugins" "%mo2_install%/plugins" /E
|
||||
|
||||
echo ----
|
||||
echo Synchronizing stylesheets folder...
|
||||
robocopy "%repository%/stylesheets" "%mo2_install%/stylesheets" /E
|
||||
|
||||
:: Escape backslashes in the game path
|
||||
setlocal enabledelayedexpansion
|
||||
|
||||
set "game_path=!game_path:\=/!"
|
||||
set "escaped_path="
|
||||
|
||||
for /l %%i in (0,1,255) do (
|
||||
for /f "tokens=1,* delims=" %%a in ("!game_path:~%%i,1!") do (
|
||||
if "%%a"=="" goto path_done
|
||||
if %%a==/ (
|
||||
set "escaped_path=!escaped_path!//" :: Double the backslash
|
||||
) else (
|
||||
set "escaped_path=!escaped_path!%%a"
|
||||
)
|
||||
)
|
||||
)
|
||||
:path_done
|
||||
|
||||
echo Original Path: %game_path%
|
||||
echo Escaped Path: %escaped_path%
|
||||
|
||||
:: Replace placeholders in ModOrganizer.ini
|
||||
echo ----
|
||||
echo Synchronizing plugins folder...
|
||||
robocopy "%repository%/plugins" "%mo2_install%/plugins" /E
|
||||
echo Updating ModOrganizer.ini...
|
||||
set "ini_file=%repository%\ModOrganizer.ini"
|
||||
set "temp_ini=%ini_file%.tmp"
|
||||
|
||||
(for /f "usebackq delims=" %%A in ("%ini_file%") do (
|
||||
set "line=%%A"
|
||||
set "line=!line:game_path=%escaped_path%!"
|
||||
set "line=!line:replace_me=%game_path%!"
|
||||
echo(!line!
|
||||
)) > "%temp_ini%"
|
||||
|
||||
move /y "%temp_ini%" "%mo2_install%\ModOrganizer.ini"
|
||||
|
||||
echo ----
|
||||
echo ModOrganizer.ini updated successfully!
|
||||
|
||||
echo ----
|
||||
echo Installation complete. Launch ModOrganizer.exe and follow the remaining instructions.
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
Repository Name: Fika-Tarkov
|
||||
|
||||
Copyright © 2025 Rage
|
||||
|
||||
All Rights Reserved
|
||||
|
||||
License Grant: This repository and its contents, including but not limited to source code, documentation, images, and other materials, are protected by copyright law. Unless otherwise stated in a separate license agreement, all intellectual property rights are owned by the author(s) of this repository.
|
||||
|
||||
Restrictions: No part of this repository may be reproduced, distributed, or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without the prior written permission of the author(s).
|
||||
|
||||
Contact Information: Any inquiries are strictly forbidden unless directed to.
|
||||
|
||||
No Implied Licenses: Nothing in this license shall be deemed to grant any rights to any third parties or to imply any relationship between the author(s) and the recipients or users of this repository.
|
||||
|
||||
No Warranty: This repository is provided on an "as-is" basis, without any warranties or conditions, express or implied, including, but not limited to, warranties of merchantability, fitness for a particular purpose, or non-infringement.
|
||||
|
||||
Limitation of Liability: In no event shall the author(s) be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with this repository or the use or other dealings in this repository.
|
||||
|
||||
This license shall be governed by and construed in accordance with the laws of the United States, without regard to its conflicts of law provisions.
|
||||
+127
-13
@@ -1,22 +1,136 @@
|
||||
[General]
|
||||
gameName=SPT
|
||||
gamePath=@ByteArray(replace_me)
|
||||
gamePath=@ByteArray(game_path)
|
||||
selected_profile=@ByteArray(Multiplayer)
|
||||
version=2.5.2
|
||||
first_start=false
|
||||
previousSeparatorColor=@Variant(\0\0\0\x43\x1\xff\xff\x44\x44\x36\x36))\0\0)
|
||||
backup_install=true
|
||||
|
||||
[Settings]
|
||||
style=Dark Bronze.qss
|
||||
[PluginPersistance]
|
||||
Python%20Proxy\tryInit=false
|
||||
|
||||
[customExecutables]
|
||||
size=1
|
||||
1\arguments=
|
||||
1\binary=replace_me/SPT.Launcher.exe
|
||||
1\hide=false
|
||||
1\ownicon=false
|
||||
1\steamAppID=
|
||||
1\title=Multiplayer
|
||||
1\toolbar=false
|
||||
1\workingDirectory=replace_me
|
||||
[Settings]
|
||||
profile_local_inis=false
|
||||
profile_local_saves=false
|
||||
profile_archive_invalidation=true
|
||||
log_level=1
|
||||
language=en
|
||||
compact_downloads=true
|
||||
meta_downloads=false
|
||||
autohide_downloads=false
|
||||
check_for_updates=true
|
||||
use_prereleases=false
|
||||
center_dialogs=false
|
||||
show_change_game_confirmation=true
|
||||
show_menubar_on_alt=true
|
||||
double_click_previews=true
|
||||
style=Dark Bronze.qss
|
||||
overwrittenLooseFilesColor=@Variant(\0\0\0\x43\x1@@\0\0\xff\xff\0\0\0\0)
|
||||
overwritingLooseFilesColor=@Variant(\0\0\0\x43\x1@@\xff\xff\0\0\0\0\0\0)
|
||||
overwrittenArchiveFilesColor=@Variant(\0\0\0\x43\x1@@\0\0\xff\xff\xff\xff\0\0)
|
||||
overwritingArchiveFilesColor=@Variant(\0\0\0\x43\x1@@\xff\xff\0\0\xff\xff\0\0)
|
||||
containsPluginColor=@Variant(\0\0\0\x43\x1@@\0\0\0\0\xff\xff\0\0)
|
||||
containedColor=@Variant(\0\0\0\x43\x1@@\0\0\0\0\xff\xff\0\0)
|
||||
colorSeparatorScrollbars=true
|
||||
display_foreign=true
|
||||
collapsible_separators_asc=true
|
||||
collapsible_separators_dsc=true
|
||||
collapsible_separators_conflicts_from=true
|
||||
collapsible_separators_conflicts_to=true
|
||||
collapsible_separators_per_profile=false
|
||||
save_filters=false
|
||||
auto_collapse_on_hover=false
|
||||
autocheck_update_install=true
|
||||
collapsible_separators_icons_1=true
|
||||
collapsible_separators_icons_2=true
|
||||
collapsible_separators_icons_3=true
|
||||
collapsible_separators_icons_7=true
|
||||
crash_dumps_type=1
|
||||
crash_dumps_max=5
|
||||
loot_log_level=2
|
||||
endorsement_integration=true
|
||||
tracked_integration=true
|
||||
category_mappings=true
|
||||
hide_api_counter=false
|
||||
force_enable_core_files=true
|
||||
lock_gui=true
|
||||
archive_parsing_experimental=false
|
||||
offline_mode=false
|
||||
use_proxy=false
|
||||
use_custom_browser=false
|
||||
custom_browser=
|
||||
executable_blacklist="Chrome.exe;Firefox.exe;TSVNCache.exe;TGitCache.exe;Steam.exe;GameOverlayUI.exe;Discord.exe;GalaxyClient.exe;Spotify.exe;Brave.exe"
|
||||
skip_file_suffixes=.mohidden
|
||||
skip_directories=.git
|
||||
filter_regex=false
|
||||
regex_case_sensitive=false
|
||||
regex_extended=false
|
||||
filter_scroll_to_selection=false
|
||||
|
||||
[Widgets]
|
||||
SettingsDialog_tabWidget_index=0
|
||||
MainWindow_executablesListBox_index=1
|
||||
MainWindow_tabWidget_index=2
|
||||
MainWindow_dataTabShowOnlyConflicts_checked=false
|
||||
MainWindow_dataTabShowFromArchives_checked=false
|
||||
MainWindow_groupCombo_index=0
|
||||
MainWindow_modList_index=SWAG + DONUTS_backup, Fika, Essentials, Bug Fixes & Optimizations, Interface & HUD, SFX & Music, New Items & Keys, Gameplay Tweaks, New Traders & Tweaks, New Weapons & Gear, AI & Combat Tweaks, VFX & Atmosphere, Modlist Addons, Backburner, Version 1.32.0, Unsorted, Overwrite
|
||||
MainWindow_filters_index=0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
|
||||
MainWindow_filtersAnd_checked=true
|
||||
MainWindow_filtersOr_checked=false
|
||||
MainWindow_filtersSeparators_index=0
|
||||
ModInfoTabOrder=tabFiles tabText tabIni tabImages tabESPs tabConflicts tabCategories tabNexus tabNotes
|
||||
ModInfoDialog_tabWidget_index=0
|
||||
ModInfoDialog_imagesShowDDS_checked=false
|
||||
ModInfoDialog_tabConflictsTabs_index=0
|
||||
ModInfoDialog_conflictsAdvancedShowNoConflict_checked=true
|
||||
ModInfoDialog_conflictsAdvancedShowAll_checked=true
|
||||
ModInfoDialog_conflictsAdvancedShowNearest_checked=false
|
||||
|
||||
[Geometry]
|
||||
SettingsDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\xe3\0\0\x1\x30\0\0\x6\x16\0\0\x3\x9d\0\0\x2\xe3\0\0\x1N\0\0\x6\x16\0\0\x3\x9d\0\0\0\0\0\0\0\0\t\xe\0\0\x2\xe3\0\0\x1N\0\0\x6\x16\0\0\x3\x9d)
|
||||
MainWindow_state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\x1\0\0\0\x3\0\0\t\xe\0\0\0\xd7\xfc\x1\0\0\0\x1\xfb\0\0\0\xe\0l\0o\0g\0\x44\0o\0\x63\0k\0\0\0\0\0\0\0\t\xe\0\0\0R\0\xff\xff\xff\0\0\t\xe\0\0\x4T\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\xe\0t\0o\0o\0l\0\x42\0\x61\0r\x1\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)
|
||||
MainWindow_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\xff\xff\xff\xf9\0\0\t\r\0\0\x4\xe8\0\0\0\v\0\0\0\x1f\0\0\az\0\0\x4w\0\0\0\0\x2\0\0\0\t\xe\0\0\0\0\0\0\0\x17\0\0\t\r\0\0\x4\xe8)
|
||||
MainWindow_docks_logDock_size=215
|
||||
MainWindow_menuBar_visibility=true
|
||||
MainWindow_statusBar_visibility=true
|
||||
MainWindow_toolBar_visibility=true
|
||||
toolbar_size=@Size(42 36)
|
||||
toolbar_button_style=0
|
||||
MainWindow_splitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x3\xf9\0\0\x2\xb0\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
|
||||
MainWindow_categoriesSplitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1\b\0\0\x3\x16\0\xff\xff\xff\xff\x1\0\0\0\x1\0)
|
||||
MainWindow_monitor=0
|
||||
MainWindow_categoriesGroup_visibility=false
|
||||
MainWindow_espList_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x2\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2n\0\0\0\x4\x1\x1\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\xce\0\0\0\x1\0\0\0\0\0\0\0%\0\0\0\x1\0\0\0\0\0\0\0\x33\0\0\0\x1\0\0\0\0\0\0\0H\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x46\0\0\0\0)
|
||||
MainWindow_downloadView_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\x3\x1\0\0\0\0\0\0\0\0\0\0\0\b\xf0\0\0\0\x4\0\0\0\x4\0\0\0\x64\0\0\0\a\0\0\0\x64\0\0\0\x6\0\0\0\x64\0\0\0\x5\0\0\0\x64\0\0\x3\x80\0\0\0\b\x1\x1\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\b\0\0\x2\x62\0\0\0\x1\0\0\0\0\0\0\0V\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\x3\xe8\x1\0\0\0\0\0\0\0\0)
|
||||
MainWindow_savegameList_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2n\0\0\0\x2\x1\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x2\0\0\x1\xa1\0\0\0\x1\0\0\0\0\0\0\0\xcd\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
|
||||
MainWindow_dataTree_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x3\x80\0\0\0\x5\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x5\0\0\x1s\0\0\0\x1\0\0\0\0\0\0\0\x81\0\0\0\x1\0\0\0\0\0\0\0\xb2\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0v\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
|
||||
MainWindow_modList_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\t\x1\0\0\0\v\0\0\0\0\0\0\0\x2\0\0\0\x3\0\0\0\x6\0\0\0\x5\0\0\0\a\0\0\0\b\0\0\0\t\0\0\0\x4\0\0\0\n\0\0\0\x1\0\0\0\v\0\0\0\0\0\0\0\n\0\0\0\x1\0\0\0\x2\0\0\0\b\0\0\0\x4\0\0\0\x3\0\0\0\x5\0\0\0\x6\0\0\0\a\0\0\0\t\0\0\0\v\xc2\x3\0\0\0\x5\0\0\0\a\0\0\0Y\0\0\0\x3\0\0\0 \0\0\0\x6\0\0\0 \0\0\0\n\0\0\x1\xb3\0\0\0\x5\0\0\0 \0\0\x5\x42\0\0\0\v\x1\x1\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0'\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\v\0\0\x3\n\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0H\0\0\0\x1\0\0\0\0\0\0\0\xac\0\0\0\x1\0\0\0\0\0\0\0|\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\x1\0\0\0U\0\0\0\0)
|
||||
EditExecutablesDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\xa7\0\0\x1\x8d\0\0\a2\0\0\x3\xbb\0\0\x2\xa7\0\0\x1\xab\0\0\a2\0\0\x3\xbb\0\0\0\0\0\0\0\0\t\xe\0\0\x2\xa7\0\0\x1\xab\0\0\a2\0\0\x3\xbb)
|
||||
ModInfoDialog_tabTextSplitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1\xc8\0\0\x3\x62\0\xff\xff\xff\xff\x1\0\0\0\x1\0)
|
||||
ModInfoDialog_tabIniSplitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\xc8\0\0\0\xed\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
|
||||
ModInfoDialog_tabImagesSplitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0\x80\0\0\0\x83\0\xff\xff\xff\xff\x1\0\0\0\x1\0)
|
||||
ModInfoDialog_ESPsSplitter_state=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\0|\0\0\0\xab\x1\xff\xff\xff\xff\x1\0\0\0\x1\0)
|
||||
ModInfoDialog_overwriteExpander_state=@ByteArray(\x1)
|
||||
ModInfoDialog_overwrittenExpander_state=@ByteArray(\x1)
|
||||
ModInfoDialog_noConflictExpander_state=@ByteArray(\0)
|
||||
ModInfoDialog_overwriteTree_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x5(\0\0\0\x2\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x2\0\0\x2\x88\0\0\0\x1\0\0\0\0\0\0\x2\xa0\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
|
||||
ModInfoDialog_noConflictTree_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\0\0\0\x1\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x1\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
|
||||
ModInfoDialog_overwrittenTree_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2\xdd\0\0\0\x2\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x2\0\0\x2y\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
|
||||
ModInfoDialog_conflictsAdvancedList_state="@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\x1\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1,\0\0\0\x3\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x3\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)"
|
||||
ModInfoDialog_filetree_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x5\x30\0\0\0\x4\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\xbf\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x2\xa9\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
|
||||
ModInfoDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\xca\0\0\x1\x1b\0\0\a\x17\0\0\x4\x1e\0\0\x1\xca\0\0\x1\x39\0\0\a\x17\0\0\x4\x1e\0\0\0\0\0\0\0\0\t\xe\0\0\x1\xca\0\0\x1\x39\0\0\a\x17\0\0\x4\x1e)
|
||||
PreviewDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3\r\0\0\x1\x35\0\0\x5\xec\0\0\x3\x99\0\0\x3\r\0\0\x1S\0\0\x5\xec\0\0\x3\x99\0\0\0\0\0\0\0\0\t\xe\0\0\x3\r\0\0\x1S\0\0\x5\xec\0\0\x3\x99)
|
||||
ProfilesDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3\x8c\0\0\x1\xb2\0\0\x5m\0\0\x3\x1b\0\0\x3\x8c\0\0\x1\xd0\0\0\x5m\0\0\x3\x1b\0\0\0\0\0\0\0\0\t\xe\0\0\x3\x8c\0\0\x1\xd0\0\0\x5m\0\0\x3\x1b)
|
||||
__overwriteDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2\x82\0\0\x1\x8c\0\0\a\xa9\0\0\x4\xa8\0\0\x2\x82\0\0\x1\xaa\0\0\a\xa9\0\0\x4\xa8\0\0\0\0\0\0\0\0\t\xe\0\0\x2\x82\0\0\x1\xaa\0\0\a\xa9\0\0\x4\xa8)
|
||||
__overwriteDialog_filesView_state=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x4\xfe\0\0\0\x4\x1\x1\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\xd7\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\0\x64\0\0\0\x1\0\0\0\0\0\0\x2_\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\0\0\0\x64\0\0\0\0)
|
||||
ProblemsDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3^\0\0\x1\x9c\0\0\x5\x9b\0\0\x3\x31\0\0\x3^\0\0\x1\xba\0\0\x5\x9b\0\0\x3\x31\0\0\0\0\0\0\0\0\t\xe\0\0\x3^\0\0\x1\xba\0\0\x5\x9b\0\0\x3\x31)
|
||||
CategoriesDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\xd3\0\0\x1T\0\0\x4\x99\0\0\x3#\0\0\x1\xd3\0\0\x1r\0\0\x4\x99\0\0\x3#\0\0\0\0\0\0\0\0\t\xe\0\0\x1\xd3\0\0\x1r\0\0\x4\x99\0\0\x3#)
|
||||
ListDialog_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3\xfa\0\0\0\xfe\0\0\x4\xff\0\0\x3^\0\0\x3\xfa\0\0\x1\x1c\0\0\x4\xff\0\0\x3^\0\0\0\0\0\0\0\0\t\xe\0\0\x3\xfa\0\0\x1\x1c\0\0\x4\xff\0\0\x3^)
|
||||
|
||||
[Servers]
|
||||
size=0
|
||||
|
||||
[pluginBlacklist]
|
||||
size=0
|
||||
|
||||
@@ -1,2 +1,23 @@
|
||||
# Fika-Tarkov
|
||||
This is a personal modpack for a group of friends and I, not to be redistributed, shared or publicized. This is open to view purely for the ability to clone the repository from the automated batch script.
|
||||
|
||||
## License
|
||||
Repository Name: Fika-Tarkov
|
||||
|
||||
Copyright © 2025 Rage
|
||||
|
||||
All Rights Reserved
|
||||
|
||||
License Grant: This repository and its contents, including but not limited to source code, documentation, images, and other materials, are protected by copyright law. Unless otherwise stated in a separate license agreement, all intellectual property rights are owned by the author(s) of this repository.
|
||||
|
||||
Restrictions: No part of this repository may be reproduced, distributed, or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage and retrieval system, without the prior written permission of the author(s).
|
||||
|
||||
Contact Information: Any inquiries are strictly forbidden unless directed to.
|
||||
|
||||
No Implied Licenses: Nothing in this license shall be deemed to grant any rights to any third parties or to imply any relationship between the author(s) and the recipients or users of this repository.
|
||||
|
||||
No Warranty: This repository is provided on an "as-is" basis, without any warranties or conditions, express or implied, including, but not limited to, warranties of merchantability, fitness for a particular purpose, or non-infringement.
|
||||
|
||||
Limitation of Liability: In no event shall the author(s) be liable for any claim, damages, or other liability, whether in an action of contract, tort, or otherwise, arising from, out of, or in connection with this repository or the use or other dealings in this repository.
|
||||
|
||||
This license shall be governed by and construed in accordance with the laws of the United States, without regard to its conflicts of law provisions.
|
||||
@@ -19,7 +19,7 @@ nexusLastModified=2024-09-09T09:16:47Z
|
||||
nexusCategory=0
|
||||
converted=false
|
||||
validated=false
|
||||
color=@Variant(\0\0\0\x43\x1\xff\xff\x44\x44\x36\x36))\0\0)
|
||||
color=@Variant(\0\0\0\x43\x1\xff\xff\xc4\xc4\x9b\x9btt\0\0)
|
||||
tracked=0
|
||||
|
||||
[installedFiles]
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
[General]
|
||||
gameName=spt
|
||||
modid=0
|
||||
version=d2025.1.8.0
|
||||
version=d2025.1.14.0
|
||||
newestVersion=
|
||||
category="1,"
|
||||
nexusFileStatus=1
|
||||
installationFile=acidphantasm-progressivebotsystem.zip
|
||||
installationFile=AUG_AttachmentPack.zip
|
||||
repository=
|
||||
ignoredVersion=
|
||||
comments=
|
||||
@@ -15,7 +15,7 @@ url=
|
||||
hasCustomURL=false
|
||||
lastNexusQuery=
|
||||
lastNexusUpdate=
|
||||
nexusLastModified=2024-12-16T07:04:24Z
|
||||
nexusLastModified=2025-01-15T01:12:37Z
|
||||
nexusCategory=0
|
||||
converted=false
|
||||
validated=false
|
||||
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"manifest": [
|
||||
{
|
||||
"key": "assets/content/items/mods/handguards/handguard_fb20.bundle",
|
||||
"dependencyKeys": [
|
||||
"assets/commonassets/physics/physicsmaterials.bundle",
|
||||
"cubemaps",
|
||||
"shaders"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "assets/content/items/mods/handguards/handguard_guerilla.bundle",
|
||||
"dependencyKeys": [
|
||||
"assets/commonassets/physics/physicsmaterials.bundle",
|
||||
"cubemaps",
|
||||
"shaders"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "assets/content/items/mods/handguards/handguard_turaco.bundle",
|
||||
"dependencyKeys": [
|
||||
"assets/commonassets/physics/physicsmaterials.bundle",
|
||||
"cubemaps",
|
||||
"shaders"
|
||||
]
|
||||
},
|
||||
{
|
||||
"key": "assets/content/items/mods/magazines/mag_aug_60.bundle",
|
||||
"dependencyKeys": [
|
||||
"assets/commonassets/physics/physicsmaterials.bundle",
|
||||
"cubemaps",
|
||||
"shaders"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"templates": {
|
||||
"6786e03b67ad44fd9b0fabd0": {
|
||||
"Name": "AUG RAS Handguard",
|
||||
"ShortName": "AUG",
|
||||
"Description": "ARMY Metal AUG RAS Handguard For AUG A3 AEG Bullpup Rifle"
|
||||
},
|
||||
"6786e03b67ad44fd9b0fabd1": {
|
||||
"Name": "AUG Cantilever Handguard",
|
||||
"ShortName": "AUG",
|
||||
"Description": "The AUG Cantilever Forend combines a top rail, side rail, and M-LOK forend into a compact, light, and incredibly versatile package."
|
||||
},
|
||||
"6786e03b67ad44fd9b0fabd2": {
|
||||
"Name": "AUG Turaco handguard",
|
||||
"ShortName": "AUG",
|
||||
"Description": "A CNC made handguard with an M-LOK interface."
|
||||
},
|
||||
"6786e03b67ad44fd9b0fabd3": {
|
||||
"Name": "AUG A3 556x45 60-round drum magazine",
|
||||
"ShortName": "AUG",
|
||||
"Description": "A modified PMAG-D60 made to fit Steyr AUG A3"
|
||||
}
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"Items": [
|
||||
{
|
||||
"Id": "6786e03b67ad44fd9b0fabd0",
|
||||
"ParentId": "5b5f75e486f77447ec5d7712",
|
||||
"Price": 20000
|
||||
},
|
||||
{
|
||||
"Id": "6786e03b67ad44fd9b0fabd1",
|
||||
"ParentId": "5b5f75e486f77447ec5d7712",
|
||||
"Price": 18000
|
||||
},
|
||||
{
|
||||
"Id": "6786e03b67ad44fd9b0fabd2",
|
||||
"ParentId": "5b5f75e486f77447ec5d7712",
|
||||
"Price": 17000
|
||||
},
|
||||
{
|
||||
"Id": "6786e03b67ad44fd9b0fabd3",
|
||||
"ParentId": "5b5f754a86f774094242f19b",
|
||||
"Price": 15000
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,771 @@
|
||||
{
|
||||
"6786e03b67ad44fd9b0fabd0": {
|
||||
"_id": "6786e03b67ad44fd9b0fabd0",
|
||||
"_name": "handguard_fb20",
|
||||
"_parent": "55818a104bdc2db9688b4569",
|
||||
"_type": "Item",
|
||||
"_props": {
|
||||
"Name": "",
|
||||
"ShortName": "",
|
||||
"Description": "",
|
||||
"Weight": 0.209,
|
||||
"BackgroundColor": "blue",
|
||||
"Width": 2,
|
||||
"Height": 1,
|
||||
"StackMaxSize": 1,
|
||||
"ItemSound": "mod",
|
||||
"Prefab": {
|
||||
"path": "assets/content/items/mods/handguards/handguard_fb20.bundle",
|
||||
"rcid": ""
|
||||
},
|
||||
"UsePrefab": {
|
||||
"path": "",
|
||||
"rcid": ""
|
||||
},
|
||||
"StackObjectsCount": 1,
|
||||
"NotShownInSlot": false,
|
||||
"ExaminedByDefault": true,
|
||||
"ExamineTime": 1,
|
||||
"IsUndiscardable": false,
|
||||
"IsUnsaleable": false,
|
||||
"IsUnbuyable": false,
|
||||
"IsUngivable": false,
|
||||
"IsLockedafterEquip": false,
|
||||
"QuestItem": false,
|
||||
"LootExperience": 10,
|
||||
"ExamineExperience": 3,
|
||||
"HideEntrails": false,
|
||||
"RepairCost": 0,
|
||||
"RepairSpeed": 0,
|
||||
"ExtraSizeLeft": 1,
|
||||
"ExtraSizeRight": 0,
|
||||
"ExtraSizeUp": 0,
|
||||
"ExtraSizeDown": 0,
|
||||
"ExtraSizeForceAdd": false,
|
||||
"MergesWithChildren": true,
|
||||
"CanSellOnRagfair": true,
|
||||
"CanRequireOnRagfair": false,
|
||||
"ConflictingItems": [],
|
||||
"Unlootable": false,
|
||||
"UnlootableFromSlot": "FirstPrimaryWeapon",
|
||||
"UnlootableFromSide": [],
|
||||
"AnimationVariantsNumber": 0,
|
||||
"DiscardingBlock": false,
|
||||
"RagFairCommissionModifier": 1,
|
||||
"IsAlwaysAvailableForInsurance": false,
|
||||
"DiscardLimit": -1,
|
||||
"DropSoundType": "None",
|
||||
"InsuranceDisabled": false,
|
||||
"QuestStashMaxCount": 0,
|
||||
"IsSpecialSlotOnly": false,
|
||||
"IsUnremovable": false,
|
||||
"Grids": [],
|
||||
"Slots": [
|
||||
{
|
||||
"_name": "mod_mount_000",
|
||||
"_id": "5c6d5d8b2e221644fc630b3b",
|
||||
"_parent": "5c6d5d8b2e221644fc630b39",
|
||||
"_props": {
|
||||
"filters": [
|
||||
{
|
||||
"Shift": 0,
|
||||
"Filter": [
|
||||
"5a800961159bd4315e3a1657",
|
||||
"57fd23e32459772d0805bcf1",
|
||||
"544909bb4bdc2d6f028b4577",
|
||||
"5d10b49bd7ad1a1a560708b0",
|
||||
"5c06595c0db834001a66af6c",
|
||||
"5cc9c20cd7f00c001336c65d",
|
||||
"5d2369418abbc306c62e0c80",
|
||||
"5b07dd285acfc4001754240d",
|
||||
"56def37dd2720bec348b456a",
|
||||
"5a7b483fe899ef0016170d15",
|
||||
"61605d88ffa6e502ac5e7eeb",
|
||||
"5a5f1ce64f39f90b401987bc",
|
||||
"560d657b4bdc2da74d8b4572",
|
||||
"5b3a337e5acfc4704b4a19a0",
|
||||
"5c5952732e2216398b5abda2",
|
||||
"57d17e212459775a1179a0f5",
|
||||
"6267c6396b642f77f56f5c1c",
|
||||
"6272370ee4013c5d7e31f418",
|
||||
"6272379924e29f06af4d5ecb",
|
||||
"626becf9582c3e319310b837"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"_required": false,
|
||||
"_mergeSlotWithChildren": false,
|
||||
"_proto": "55d30c4c4bdc2db4468b457e"
|
||||
},
|
||||
{
|
||||
"_name": "mod_mount_001",
|
||||
"_id": "5c6d5d8b2e221644fc630b3c",
|
||||
"_parent": "5c6d5d8b2e221644fc630b39",
|
||||
"_props": {
|
||||
"filters": [
|
||||
{
|
||||
"Shift": 0,
|
||||
"Filter": [
|
||||
"5a800961159bd4315e3a1657",
|
||||
"57fd23e32459772d0805bcf1",
|
||||
"544909bb4bdc2d6f028b4577",
|
||||
"5d10b49bd7ad1a1a560708b0",
|
||||
"5c06595c0db834001a66af6c",
|
||||
"5cc9c20cd7f00c001336c65d",
|
||||
"5d2369418abbc306c62e0c80",
|
||||
"5b07dd285acfc4001754240d",
|
||||
"56def37dd2720bec348b456a",
|
||||
"5a7b483fe899ef0016170d15",
|
||||
"61605d88ffa6e502ac5e7eeb",
|
||||
"5a5f1ce64f39f90b401987bc",
|
||||
"560d657b4bdc2da74d8b4572",
|
||||
"5b3a337e5acfc4704b4a19a0",
|
||||
"5c5952732e2216398b5abda2",
|
||||
"57d17e212459775a1179a0f5",
|
||||
"6267c6396b642f77f56f5c1c",
|
||||
"6272370ee4013c5d7e31f418",
|
||||
"6272379924e29f06af4d5ecb",
|
||||
"626becf9582c3e319310b837"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"_required": false,
|
||||
"_mergeSlotWithChildren": false,
|
||||
"_proto": "55d30c4c4bdc2db4468b457e"
|
||||
},
|
||||
{
|
||||
"_name": "mod_tactical",
|
||||
"_id": "5c6d5d8b2e221644fc630b3e",
|
||||
"_parent": "5c6d5d8b2e221644fc630b39",
|
||||
"_props": {
|
||||
"filters": [
|
||||
{
|
||||
"Shift": 0,
|
||||
"Filter": [
|
||||
"57fd23e32459772d0805bcf1",
|
||||
"544909bb4bdc2d6f028b4577",
|
||||
"5d10b49bd7ad1a1a560708b0",
|
||||
"5c06595c0db834001a66af6c",
|
||||
"5a7b483fe899ef0016170d15",
|
||||
"61605d88ffa6e502ac5e7eeb",
|
||||
"5c5952732e2216398b5abda2"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"_required": false,
|
||||
"_mergeSlotWithChildren": false,
|
||||
"_proto": "55d30c4c4bdc2db4468b457e"
|
||||
},
|
||||
{
|
||||
"_name": "mod_foregrip",
|
||||
"_id": "5c6d5d8b2e221644fc630b40",
|
||||
"_parent": "5c6d5d8b2e221644fc630b39",
|
||||
"_props": {
|
||||
"filters": [
|
||||
{
|
||||
"Shift": 0,
|
||||
"Filter": [
|
||||
"5c7fc87d2e221644f31c0298",
|
||||
"5cda9bcfd7f00c0c0b53e900",
|
||||
"59f8a37386f7747af3328f06",
|
||||
"619386379fb0c665d5490dbe",
|
||||
"5c87ca002e221600114cb150",
|
||||
"588226d124597767ad33f787",
|
||||
"588226dd24597767ad33f789",
|
||||
"588226e62459776e3e094af7",
|
||||
"588226ef24597767af46e39c",
|
||||
"59fc48e086f77463b1118392",
|
||||
"5fce0cf655375d18a253eff0",
|
||||
"5cf4fb76d7f00c065703d3ac",
|
||||
"5b057b4f5acfc4771e1bd3e9",
|
||||
"5c791e872e2216001219c40a",
|
||||
"558032614bdc2de7118b4585",
|
||||
"58c157be86f77403c74b2bb6",
|
||||
"58c157c886f774032749fb06",
|
||||
"5f6340d3ca442212f4047eb2",
|
||||
"591af28e86f77414a27a9e1d",
|
||||
"5c1cd46f2e22164bef5cfedb",
|
||||
"5c1bc4812e22164bef5cfde7",
|
||||
"5c1bc5612e221602b5429350",
|
||||
"5c1bc5af2e221602b412949b",
|
||||
"5c1bc5fb2e221602b1779b32",
|
||||
"5c1bc7432e221602b412949d",
|
||||
"5c1bc7752e221602b1779b34"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"_required": false,
|
||||
"_mergeSlotWithChildren": false,
|
||||
"_proto": "55d30c4c4bdc2db4468b457e"
|
||||
}
|
||||
],
|
||||
"CanPutIntoDuringTheRaid": true,
|
||||
"CantRemoveFromSlotsDuringRaid": [],
|
||||
"Durability": 100,
|
||||
"Accuracy": 0,
|
||||
"Recoil": -1,
|
||||
"Loudness": 0,
|
||||
"EffectiveDistance": 0,
|
||||
"Ergonomics": 8,
|
||||
"Velocity": 0,
|
||||
"RaidModdable": false,
|
||||
"ToolModdable": true,
|
||||
"BlocksFolding": false,
|
||||
"BlocksCollapsible": false,
|
||||
"IsAnimated": false,
|
||||
"HasShoulderContact": false,
|
||||
"SightingRange": 0,
|
||||
"DoubleActionAccuracyPenaltyMult": 1,
|
||||
"HeatFactor": 0.985,
|
||||
"CoolFactor": 1.055
|
||||
},
|
||||
"_proto": "55d459824bdc2d892f8b4573"
|
||||
},
|
||||
"6786e03b67ad44fd9b0fabd1": {
|
||||
"_id": "6786e03b67ad44fd9b0fabd1",
|
||||
"_name": "handguard_guerilla",
|
||||
"_parent": "55818a104bdc2db9688b4569",
|
||||
"_type": "Item",
|
||||
"_props": {
|
||||
"Name": "",
|
||||
"ShortName": "",
|
||||
"Description": "",
|
||||
"Weight": 0.209,
|
||||
"BackgroundColor": "blue",
|
||||
"Width": 2,
|
||||
"Height": 1,
|
||||
"StackMaxSize": 1,
|
||||
"ItemSound": "mod",
|
||||
"Prefab": {
|
||||
"path": "assets/content/items/mods/handguards/handguard_guerilla.bundle",
|
||||
"rcid": ""
|
||||
},
|
||||
"UsePrefab": {
|
||||
"path": "",
|
||||
"rcid": ""
|
||||
},
|
||||
"StackObjectsCount": 1,
|
||||
"NotShownInSlot": false,
|
||||
"ExaminedByDefault": true,
|
||||
"ExamineTime": 1,
|
||||
"IsUndiscardable": false,
|
||||
"IsUnsaleable": false,
|
||||
"IsUnbuyable": false,
|
||||
"IsUngivable": false,
|
||||
"IsLockedafterEquip": false,
|
||||
"QuestItem": false,
|
||||
"LootExperience": 10,
|
||||
"ExamineExperience": 3,
|
||||
"HideEntrails": false,
|
||||
"RepairCost": 0,
|
||||
"RepairSpeed": 0,
|
||||
"ExtraSizeLeft": 1,
|
||||
"ExtraSizeRight": 0,
|
||||
"ExtraSizeUp": 0,
|
||||
"ExtraSizeDown": 0,
|
||||
"ExtraSizeForceAdd": false,
|
||||
"MergesWithChildren": true,
|
||||
"CanSellOnRagfair": true,
|
||||
"CanRequireOnRagfair": false,
|
||||
"ConflictingItems": [],
|
||||
"Unlootable": false,
|
||||
"UnlootableFromSlot": "FirstPrimaryWeapon",
|
||||
"UnlootableFromSide": [],
|
||||
"AnimationVariantsNumber": 0,
|
||||
"DiscardingBlock": false,
|
||||
"RagFairCommissionModifier": 1,
|
||||
"IsAlwaysAvailableForInsurance": false,
|
||||
"DiscardLimit": -1,
|
||||
"DropSoundType": "None",
|
||||
"InsuranceDisabled": false,
|
||||
"QuestStashMaxCount": 0,
|
||||
"IsSpecialSlotOnly": false,
|
||||
"IsUnremovable": false,
|
||||
"Grids": [],
|
||||
"Slots": [
|
||||
{
|
||||
"_name": "mod_mount_001",
|
||||
"_id": "5c6d5d8b2e221644fc630b3c",
|
||||
"_parent": "5c6d5d8b2e221644fc630b39",
|
||||
"_props": {
|
||||
"filters": [
|
||||
{
|
||||
"Shift": 0,
|
||||
"Filter": [
|
||||
"5a800961159bd4315e3a1657",
|
||||
"57fd23e32459772d0805bcf1",
|
||||
"544909bb4bdc2d6f028b4577",
|
||||
"5d10b49bd7ad1a1a560708b0",
|
||||
"5c06595c0db834001a66af6c",
|
||||
"5cc9c20cd7f00c001336c65d",
|
||||
"5d2369418abbc306c62e0c80",
|
||||
"5b07dd285acfc4001754240d",
|
||||
"56def37dd2720bec348b456a",
|
||||
"5a7b483fe899ef0016170d15",
|
||||
"61605d88ffa6e502ac5e7eeb",
|
||||
"5a5f1ce64f39f90b401987bc",
|
||||
"560d657b4bdc2da74d8b4572",
|
||||
"5b3a337e5acfc4704b4a19a0",
|
||||
"5c5952732e2216398b5abda2",
|
||||
"57d17e212459775a1179a0f5",
|
||||
"6267c6396b642f77f56f5c1c",
|
||||
"6272370ee4013c5d7e31f418",
|
||||
"6272379924e29f06af4d5ecb",
|
||||
"626becf9582c3e319310b837"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"_required": false,
|
||||
"_mergeSlotWithChildren": false,
|
||||
"_proto": "55d30c4c4bdc2db4468b457e"
|
||||
},
|
||||
{
|
||||
"_name": "mod_foregrip",
|
||||
"_id": "5c6d5d8b2e221644fc630b40",
|
||||
"_parent": "5c6d5d8b2e221644fc630b39",
|
||||
"_props": {
|
||||
"filters": [
|
||||
{
|
||||
"Shift": 0,
|
||||
"Filter": [
|
||||
"5c7fc87d2e221644f31c0298",
|
||||
"5cda9bcfd7f00c0c0b53e900",
|
||||
"59f8a37386f7747af3328f06",
|
||||
"619386379fb0c665d5490dbe",
|
||||
"5c87ca002e221600114cb150",
|
||||
"588226d124597767ad33f787",
|
||||
"588226dd24597767ad33f789",
|
||||
"588226e62459776e3e094af7",
|
||||
"588226ef24597767af46e39c",
|
||||
"59fc48e086f77463b1118392",
|
||||
"5fce0cf655375d18a253eff0",
|
||||
"5cf4fb76d7f00c065703d3ac",
|
||||
"5b057b4f5acfc4771e1bd3e9",
|
||||
"5c791e872e2216001219c40a",
|
||||
"558032614bdc2de7118b4585",
|
||||
"58c157be86f77403c74b2bb6",
|
||||
"58c157c886f774032749fb06",
|
||||
"5f6340d3ca442212f4047eb2",
|
||||
"591af28e86f77414a27a9e1d",
|
||||
"5c1cd46f2e22164bef5cfedb",
|
||||
"5c1bc4812e22164bef5cfde7",
|
||||
"5c1bc5612e221602b5429350",
|
||||
"5c1bc5af2e221602b412949b",
|
||||
"5c1bc5fb2e221602b1779b32",
|
||||
"5c1bc7432e221602b412949d",
|
||||
"5c1bc7752e221602b1779b34"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"_required": false,
|
||||
"_mergeSlotWithChildren": false,
|
||||
"_proto": "55d30c4c4bdc2db4468b457e"
|
||||
},
|
||||
{
|
||||
"_name": "mod_tactical",
|
||||
"_id": "5c6d5d8b2e221644fc630b3e",
|
||||
"_parent": "5c6d5d8b2e221644fc630b39",
|
||||
"_props": {
|
||||
"filters": [
|
||||
{
|
||||
"Shift": 0,
|
||||
"Filter": [
|
||||
"57fd23e32459772d0805bcf1",
|
||||
"544909bb4bdc2d6f028b4577",
|
||||
"5d10b49bd7ad1a1a560708b0",
|
||||
"5c06595c0db834001a66af6c",
|
||||
"5a7b483fe899ef0016170d15",
|
||||
"61605d88ffa6e502ac5e7eeb",
|
||||
"5c5952732e2216398b5abda2"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"_required": false,
|
||||
"_mergeSlotWithChildren": false,
|
||||
"_proto": "55d30c4c4bdc2db4468b457e"
|
||||
}
|
||||
],
|
||||
"CanPutIntoDuringTheRaid": true,
|
||||
"CantRemoveFromSlotsDuringRaid": [],
|
||||
"Durability": 100,
|
||||
"Accuracy": 0,
|
||||
"Recoil": -1,
|
||||
"Loudness": 0,
|
||||
"EffectiveDistance": 0,
|
||||
"Ergonomics": 8,
|
||||
"Velocity": 0,
|
||||
"RaidModdable": false,
|
||||
"ToolModdable": true,
|
||||
"BlocksFolding": false,
|
||||
"BlocksCollapsible": false,
|
||||
"IsAnimated": false,
|
||||
"HasShoulderContact": false,
|
||||
"SightingRange": 0,
|
||||
"DoubleActionAccuracyPenaltyMult": 1,
|
||||
"HeatFactor": 0.985,
|
||||
"CoolFactor": 1.055
|
||||
},
|
||||
"_proto": "55d459824bdc2d892f8b4573"
|
||||
},
|
||||
"6786e03b67ad44fd9b0fabd2": {
|
||||
"_id": "6786e03b67ad44fd9b0fabd2",
|
||||
"_name": "handguard_turaco",
|
||||
"_parent": "55818a104bdc2db9688b4569",
|
||||
"_type": "Item",
|
||||
"_props": {
|
||||
"Name": "",
|
||||
"ShortName": "",
|
||||
"Description": "",
|
||||
"Weight": 0.209,
|
||||
"BackgroundColor": "blue",
|
||||
"Width": 2,
|
||||
"Height": 1,
|
||||
"StackMaxSize": 1,
|
||||
"ItemSound": "mod",
|
||||
"Prefab": {
|
||||
"path": "assets/content/items/mods/handguards/handguard_turaco.bundle",
|
||||
"rcid": ""
|
||||
},
|
||||
"UsePrefab": {
|
||||
"path": "",
|
||||
"rcid": ""
|
||||
},
|
||||
"StackObjectsCount": 1,
|
||||
"NotShownInSlot": false,
|
||||
"ExaminedByDefault": true,
|
||||
"ExamineTime": 1,
|
||||
"IsUndiscardable": false,
|
||||
"IsUnsaleable": false,
|
||||
"IsUnbuyable": false,
|
||||
"IsUngivable": false,
|
||||
"IsLockedafterEquip": false,
|
||||
"QuestItem": false,
|
||||
"LootExperience": 10,
|
||||
"ExamineExperience": 3,
|
||||
"HideEntrails": false,
|
||||
"RepairCost": 0,
|
||||
"RepairSpeed": 0,
|
||||
"ExtraSizeLeft": 1,
|
||||
"ExtraSizeRight": 0,
|
||||
"ExtraSizeUp": 0,
|
||||
"ExtraSizeDown": 0,
|
||||
"ExtraSizeForceAdd": false,
|
||||
"MergesWithChildren": true,
|
||||
"CanSellOnRagfair": true,
|
||||
"CanRequireOnRagfair": false,
|
||||
"ConflictingItems": [],
|
||||
"Unlootable": false,
|
||||
"UnlootableFromSlot": "FirstPrimaryWeapon",
|
||||
"UnlootableFromSide": [],
|
||||
"AnimationVariantsNumber": 0,
|
||||
"DiscardingBlock": false,
|
||||
"RagFairCommissionModifier": 1,
|
||||
"IsAlwaysAvailableForInsurance": false,
|
||||
"DiscardLimit": -1,
|
||||
"DropSoundType": "None",
|
||||
"InsuranceDisabled": false,
|
||||
"QuestStashMaxCount": 0,
|
||||
"IsSpecialSlotOnly": false,
|
||||
"IsUnremovable": false,
|
||||
"Grids": [],
|
||||
"Slots": [
|
||||
{
|
||||
"_name": "mod_mount_000",
|
||||
"_id": "5c6d5d8b2e221644fc630b3b",
|
||||
"_parent": "5c6d5d8b2e221644fc630b39",
|
||||
"_props": {
|
||||
"filters": [
|
||||
{
|
||||
"Shift": 0,
|
||||
"Filter": [
|
||||
"5a800961159bd4315e3a1657",
|
||||
"57fd23e32459772d0805bcf1",
|
||||
"544909bb4bdc2d6f028b4577",
|
||||
"5d10b49bd7ad1a1a560708b0",
|
||||
"5c06595c0db834001a66af6c",
|
||||
"5cc9c20cd7f00c001336c65d",
|
||||
"5d2369418abbc306c62e0c80",
|
||||
"5b07dd285acfc4001754240d",
|
||||
"56def37dd2720bec348b456a",
|
||||
"5a7b483fe899ef0016170d15",
|
||||
"61605d88ffa6e502ac5e7eeb",
|
||||
"5a5f1ce64f39f90b401987bc",
|
||||
"560d657b4bdc2da74d8b4572",
|
||||
"5b3a337e5acfc4704b4a19a0",
|
||||
"5c5952732e2216398b5abda2",
|
||||
"57d17e212459775a1179a0f5",
|
||||
"6267c6396b642f77f56f5c1c",
|
||||
"6272370ee4013c5d7e31f418",
|
||||
"6272379924e29f06af4d5ecb",
|
||||
"626becf9582c3e319310b837"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"_required": false,
|
||||
"_mergeSlotWithChildren": false,
|
||||
"_proto": "55d30c4c4bdc2db4468b457e"
|
||||
},
|
||||
{
|
||||
"_name": "mod_mount_001",
|
||||
"_id": "5c6d5d8b2e221644fc630b3c",
|
||||
"_parent": "5c6d5d8b2e221644fc630b39",
|
||||
"_props": {
|
||||
"filters": [
|
||||
{
|
||||
"Shift": 0,
|
||||
"Filter": [
|
||||
"5a800961159bd4315e3a1657",
|
||||
"57fd23e32459772d0805bcf1",
|
||||
"544909bb4bdc2d6f028b4577",
|
||||
"5d10b49bd7ad1a1a560708b0",
|
||||
"5c06595c0db834001a66af6c",
|
||||
"5cc9c20cd7f00c001336c65d",
|
||||
"5d2369418abbc306c62e0c80",
|
||||
"5b07dd285acfc4001754240d",
|
||||
"56def37dd2720bec348b456a",
|
||||
"5a7b483fe899ef0016170d15",
|
||||
"61605d88ffa6e502ac5e7eeb",
|
||||
"5a5f1ce64f39f90b401987bc",
|
||||
"560d657b4bdc2da74d8b4572",
|
||||
"5b3a337e5acfc4704b4a19a0",
|
||||
"5c5952732e2216398b5abda2",
|
||||
"57d17e212459775a1179a0f5",
|
||||
"6267c6396b642f77f56f5c1c",
|
||||
"6272370ee4013c5d7e31f418",
|
||||
"6272379924e29f06af4d5ecb",
|
||||
"626becf9582c3e319310b837"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"_required": false,
|
||||
"_mergeSlotWithChildren": false,
|
||||
"_proto": "55d30c4c4bdc2db4468b457e"
|
||||
},
|
||||
{
|
||||
"_name": "mod_tactical",
|
||||
"_id": "5c6d5d8b2e221644fc630b3e",
|
||||
"_parent": "5c6d5d8b2e221644fc630b39",
|
||||
"_props": {
|
||||
"filters": [
|
||||
{
|
||||
"Shift": 0,
|
||||
"Filter": [
|
||||
"57fd23e32459772d0805bcf1",
|
||||
"544909bb4bdc2d6f028b4577",
|
||||
"5d10b49bd7ad1a1a560708b0",
|
||||
"5c06595c0db834001a66af6c",
|
||||
"5a7b483fe899ef0016170d15",
|
||||
"61605d88ffa6e502ac5e7eeb",
|
||||
"5c5952732e2216398b5abda2"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"_required": false,
|
||||
"_mergeSlotWithChildren": false,
|
||||
"_proto": "55d30c4c4bdc2db4468b457e"
|
||||
},
|
||||
{
|
||||
"_name": "mod_foregrip",
|
||||
"_id": "5c6d5d8b2e221644fc630b40",
|
||||
"_parent": "5c6d5d8b2e221644fc630b39",
|
||||
"_props": {
|
||||
"filters": [
|
||||
{
|
||||
"Shift": 0,
|
||||
"Filter": [
|
||||
"5c7fc87d2e221644f31c0298",
|
||||
"5cda9bcfd7f00c0c0b53e900",
|
||||
"59f8a37386f7747af3328f06",
|
||||
"619386379fb0c665d5490dbe",
|
||||
"5c87ca002e221600114cb150",
|
||||
"588226d124597767ad33f787",
|
||||
"588226dd24597767ad33f789",
|
||||
"588226e62459776e3e094af7",
|
||||
"588226ef24597767af46e39c",
|
||||
"59fc48e086f77463b1118392",
|
||||
"5fce0cf655375d18a253eff0",
|
||||
"5cf4fb76d7f00c065703d3ac",
|
||||
"5b057b4f5acfc4771e1bd3e9",
|
||||
"5c791e872e2216001219c40a",
|
||||
"558032614bdc2de7118b4585",
|
||||
"58c157be86f77403c74b2bb6",
|
||||
"58c157c886f774032749fb06",
|
||||
"5f6340d3ca442212f4047eb2",
|
||||
"591af28e86f77414a27a9e1d",
|
||||
"5c1cd46f2e22164bef5cfedb",
|
||||
"5c1bc4812e22164bef5cfde7",
|
||||
"5c1bc5612e221602b5429350",
|
||||
"5c1bc5af2e221602b412949b",
|
||||
"5c1bc5fb2e221602b1779b32",
|
||||
"5c1bc7432e221602b412949d",
|
||||
"5c1bc7752e221602b1779b34",
|
||||
"5a7dbfc1159bd40016548fde"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"_required": false,
|
||||
"_mergeSlotWithChildren": false,
|
||||
"_proto": "55d30c4c4bdc2db4468b457e"
|
||||
}
|
||||
],
|
||||
"CanPutIntoDuringTheRaid": true,
|
||||
"CantRemoveFromSlotsDuringRaid": [],
|
||||
"Durability": 100,
|
||||
"Accuracy": 0,
|
||||
"Recoil": -1,
|
||||
"Loudness": 0,
|
||||
"EffectiveDistance": 0,
|
||||
"Ergonomics": 8,
|
||||
"Velocity": 0,
|
||||
"RaidModdable": false,
|
||||
"ToolModdable": true,
|
||||
"BlocksFolding": false,
|
||||
"BlocksCollapsible": false,
|
||||
"IsAnimated": false,
|
||||
"HasShoulderContact": false,
|
||||
"SightingRange": 0,
|
||||
"DoubleActionAccuracyPenaltyMult": 1,
|
||||
"HeatFactor": 0.985,
|
||||
"CoolFactor": 1.055
|
||||
},
|
||||
"_proto": "55d459824bdc2d892f8b4573"
|
||||
},
|
||||
"6786e03b67ad44fd9b0fabd3": {
|
||||
"_id": "6786e03b67ad44fd9b0fabd3",
|
||||
"_name": "mag_aug_60",
|
||||
"_parent": "5448bc234bdc2d3c308b4569",
|
||||
"_type": "Item",
|
||||
"_props": {
|
||||
"Name": "",
|
||||
"ShortName": "",
|
||||
"Description": "",
|
||||
"Weight": 0.58,
|
||||
"BackgroundColor": "yellow",
|
||||
"Width": 1,
|
||||
"Height": 2,
|
||||
"StackMaxSize": 1,
|
||||
"ItemSound": "mag_plastic",
|
||||
"Prefab": {
|
||||
"path": "assets/content/items/mods/magazines/mag_aug_60.bundle",
|
||||
"rcid": ""
|
||||
},
|
||||
"UsePrefab": {
|
||||
"path": "",
|
||||
"rcid": ""
|
||||
},
|
||||
"StackObjectsCount": 1,
|
||||
"NotShownInSlot": false,
|
||||
"ExaminedByDefault": true,
|
||||
"ExamineTime": 1,
|
||||
"IsUndiscardable": false,
|
||||
"IsUnsaleable": false,
|
||||
"IsUnbuyable": false,
|
||||
"IsUngivable": false,
|
||||
"IsLockedafterEquip": false,
|
||||
"QuestItem": false,
|
||||
"LootExperience": 10,
|
||||
"ExamineExperience": 2,
|
||||
"HideEntrails": false,
|
||||
"RepairCost": 0,
|
||||
"RepairSpeed": 0,
|
||||
"ExtraSizeLeft": 0,
|
||||
"ExtraSizeRight": 0,
|
||||
"ExtraSizeUp": 0,
|
||||
"ExtraSizeDown": 1,
|
||||
"ExtraSizeForceAdd": false,
|
||||
"MergesWithChildren": true,
|
||||
"CanSellOnRagfair": false,
|
||||
"CanRequireOnRagfair": false,
|
||||
"ConflictingItems": [],
|
||||
"Unlootable": false,
|
||||
"UnlootableFromSlot": "FirstPrimaryWeapon",
|
||||
"UnlootableFromSide": [],
|
||||
"AnimationVariantsNumber": 0,
|
||||
"DiscardingBlock": false,
|
||||
"RagFairCommissionModifier": 1,
|
||||
"IsAlwaysAvailableForInsurance": false,
|
||||
"DiscardLimit": -1,
|
||||
"DropSoundType": "None",
|
||||
"InsuranceDisabled": false,
|
||||
"QuestStashMaxCount": 0,
|
||||
"IsSpecialSlotOnly": false,
|
||||
"IsUnremovable": false,
|
||||
"Grids": [],
|
||||
"Slots": [],
|
||||
"CanPutIntoDuringTheRaid": true,
|
||||
"CantRemoveFromSlotsDuringRaid": [],
|
||||
"Durability": 100,
|
||||
"Accuracy": 0,
|
||||
"Recoil": 0,
|
||||
"Loudness": 0,
|
||||
"EffectiveDistance": 0,
|
||||
"Ergonomics": -16,
|
||||
"Velocity": 0,
|
||||
"RaidModdable": true,
|
||||
"ToolModdable": false,
|
||||
"BlocksFolding": false,
|
||||
"BlocksCollapsible": false,
|
||||
"IsAnimated": false,
|
||||
"HasShoulderContact": false,
|
||||
"SightingRange": 0,
|
||||
"DoubleActionAccuracyPenaltyMult": 1,
|
||||
"magAnimationIndex": 5,
|
||||
"Cartridges": [
|
||||
{
|
||||
"_name": "cartridges",
|
||||
"_id": "59c1383d86f774290a37e0cb",
|
||||
"_parent": "59c1383d86f774290a37e0ca",
|
||||
"_max_count": 60,
|
||||
"_props": {
|
||||
"filters": [
|
||||
{
|
||||
"Filter": [
|
||||
"59e6920f86f77411d82aa167",
|
||||
"59e6927d86f77411da468256",
|
||||
"54527a984bdc2d4e668b4567",
|
||||
"54527ac44bdc2d36668b4567",
|
||||
"59e68f6f86f7746c9f75e846",
|
||||
"59e6906286f7746c9f75e847",
|
||||
"59e690b686f7746c9f75e848",
|
||||
"59e6918f86f7746c9f75e849",
|
||||
"60194943740c5d77f6705eea",
|
||||
"601949593ae8f707c4608daa",
|
||||
"5c0d5ae286f7741e46554302",
|
||||
"5fbe3ffdf8b6a877a729ea82",
|
||||
"5fd20ff893a8961fc660a954",
|
||||
"619636be6db0f2477964e710",
|
||||
"6196364158ef8c428c287d9f",
|
||||
"6196365d58ef8c428c287da1"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"_proto": "5748538b2459770af276a261"
|
||||
}
|
||||
],
|
||||
"CanFast": true,
|
||||
"CanHit": false,
|
||||
"CanAdmin": false,
|
||||
"LoadUnloadModifier": 60,
|
||||
"CheckTimeModifier": 20,
|
||||
"CheckOverride": 0,
|
||||
"ReloadMagType": "ExternalMagazine",
|
||||
"VisibleAmmoRangesString": "1-3",
|
||||
"MalfunctionChance": 0.3,
|
||||
"TagColor": 0,
|
||||
"TagName": ""
|
||||
},
|
||||
"_proto": "55802d5f4bdc2dac148b458e"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,87 @@
|
||||
{
|
||||
"traderId":"5935c25fb3acc3127c3d8cd9",
|
||||
"assorts":{
|
||||
"items":[
|
||||
{
|
||||
"_id":"6786e03b67ad44fd9b0fabd0",
|
||||
"_tpl":"6786e03b67ad44fd9b0fabd0",
|
||||
"parentId":"hideout",
|
||||
"slotId":"hideout",
|
||||
"upd":{
|
||||
"UnlimitedCount":true,
|
||||
"StackObjectsCount":999999
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id":"6786e03b67ad44fd9b0fabd1",
|
||||
"_tpl":"6786e03b67ad44fd9b0fabd1",
|
||||
"parentId":"hideout",
|
||||
"slotId":"hideout",
|
||||
"upd":{
|
||||
"UnlimitedCount":true,
|
||||
"StackObjectsCount":999999
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id":"6786e03b67ad44fd9b0fabd2",
|
||||
"_tpl":"6786e03b67ad44fd9b0fabd2",
|
||||
"parentId":"hideout",
|
||||
"slotId":"hideout",
|
||||
"upd":{
|
||||
"UnlimitedCount":true,
|
||||
"StackObjectsCount":999999
|
||||
}
|
||||
},
|
||||
{
|
||||
"_id":"6786e03b67ad44fd9b0fabd3",
|
||||
"_tpl":"6786e03b67ad44fd9b0fabd3",
|
||||
"parentId":"hideout",
|
||||
"slotId":"hideout",
|
||||
"upd":{
|
||||
"UnlimitedCount":true,
|
||||
"StackObjectsCount":999999
|
||||
}
|
||||
}
|
||||
],
|
||||
"barter_scheme":{
|
||||
"6786e03b67ad44fd9b0fabd0":[
|
||||
[
|
||||
{
|
||||
"count":21000,
|
||||
"_tpl":"5449016a4bdc2d6f028b456f"
|
||||
}
|
||||
]
|
||||
],
|
||||
"6786e03b67ad44fd9b0fabd1":[
|
||||
[
|
||||
{
|
||||
"count":21000,
|
||||
"_tpl":"5449016a4bdc2d6f028b456f"
|
||||
}
|
||||
]
|
||||
],
|
||||
"6786e03b67ad44fd9b0fabd2":[
|
||||
[
|
||||
{
|
||||
"count":21000,
|
||||
"_tpl":"5449016a4bdc2d6f028b456f"
|
||||
}
|
||||
]
|
||||
],
|
||||
"6786e03b67ad44fd9b0fabd3":[
|
||||
[
|
||||
{
|
||||
"count":21000,
|
||||
"_tpl":"5449016a4bdc2d6f028b456f"
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
"loyal_level_items":{
|
||||
"6786e03b67ad44fd9b0fabd0":3,
|
||||
"6786e03b67ad44fd9b0fabd1":3,
|
||||
"6786e03b67ad44fd9b0fabd2":3,
|
||||
"6786e03b67ad44fd9b0fabd3":3
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
"use strict";
|
||||
|
||||
let mydb;
|
||||
|
||||
class Mod {
|
||||
postDBLoad(container) {
|
||||
// Credit Banner
|
||||
console.log(`
|
||||
=======================================
|
||||
| AUG Attachment Pack |
|
||||
| Created by: KoKaZ93 |
|
||||
| 3.10 Port made by: GMAK3R |
|
||||
=======================================
|
||||
`);
|
||||
|
||||
const modLoader = container.resolve("PreSptModLoader");
|
||||
const importerUtil = container.resolve("ImporterUtil");
|
||||
const db = container.resolve("DatabaseServer").getTables();
|
||||
const locales = db.locales.global;
|
||||
const items = db.templates.items;
|
||||
const handbook = db.templates.handbook.Items;
|
||||
const peacekeeper = db.traders["5935c25fb3acc3127c3d8cd9"];
|
||||
|
||||
mydb = importerUtil.loadRecursive(`${modLoader.getModPath("AUG_AttachmentPack")}database/`);
|
||||
|
||||
for (const item in mydb.templates.items) {
|
||||
items[item] = mydb.templates.items[item];
|
||||
}
|
||||
|
||||
for (const item of mydb.templates.handbook.Items) {
|
||||
handbook.push(item);
|
||||
}
|
||||
|
||||
for (const item of mydb.traders.assort.assorts.items) {
|
||||
peacekeeper.assort.items.push(item);
|
||||
}
|
||||
|
||||
for (const bc in mydb.traders.assort.assorts.barter_scheme) {
|
||||
peacekeeper.assort.barter_scheme[bc] = mydb.traders.assort.assorts.barter_scheme[bc];
|
||||
}
|
||||
|
||||
for (const level in mydb.traders.assort.assorts.loyal_level_items) {
|
||||
peacekeeper.assort.loyal_level_items[level] = mydb.traders.assort.assorts.loyal_level_items[level];
|
||||
}
|
||||
|
||||
for (const localeID in locales) {
|
||||
if (localeID == "en") {
|
||||
for (const [itemId, template] of Object.entries(mydb.locales.en.templates)) {
|
||||
for (const [key, value] of Object.entries(template)) {
|
||||
locales[localeID][`${itemId} ${key}`] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Mod.addHandguardToFilters(db);
|
||||
Mod.addMagazineToFilters(db);
|
||||
}
|
||||
|
||||
static addHandguardToFilters(db) {
|
||||
const isItemSlotsExist = (item) =>
|
||||
item._props && item._props.Slots && item._props.Slots.length > 0;
|
||||
const attachmentToAdd = ["6786e03b67ad44fd9b0fabd0", "6786e03b67ad44fd9b0fabd1", "6786e03b67ad44fd9b0fabd2"];
|
||||
const attachmentItemId = "634e61b0767cb15c4601a877";
|
||||
|
||||
for (const item of Object.values(db.templates.items)) {
|
||||
if (isItemSlotsExist(item)) {
|
||||
for (const slot of item._props.Slots) {
|
||||
if (slot._props.filters.some((filter) => filter.Filter.includes(attachmentItemId))) {
|
||||
slot._props.filters.forEach((filter) => {
|
||||
if (filter.Filter.includes(attachmentItemId)) {
|
||||
filter.Filter.push(...attachmentToAdd);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static addMagazineToFilters(db) {
|
||||
const isItemSlotsExist = (item) =>
|
||||
item._props && item._props.Slots && item._props.Slots.length > 0;
|
||||
const attachmentToAdd = "6786e03b67ad44fd9b0fabd3";
|
||||
const attachmentItemId = "630e1adbbd357927e4007c09";
|
||||
|
||||
for (const item of Object.values(db.templates.items)) {
|
||||
if (isItemSlotsExist(item)) {
|
||||
for (const slot of item._props.Slots) {
|
||||
if (slot._props.filters.some((filter) => filter.Filter.includes(attachmentItemId))) {
|
||||
slot._props.filters.forEach((filter) => {
|
||||
if (filter.Filter.includes(attachmentItemId)) {
|
||||
filter.Filter.push(attachmentToAdd);
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { mod: new Mod() };
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "AUG Attachment Pack",
|
||||
"author": "KoKaZ93",
|
||||
"license": "CC BY-NC-SA 3.0",
|
||||
"version": "1.0.4",
|
||||
"sptVersion": "3.10.x",
|
||||
"main": "mod.js",
|
||||
"isBundleMod": true
|
||||
}
|
||||
+402
@@ -0,0 +1,402 @@
|
||||
Attribution-NonCommercial-NoDerivatives 4.0 International
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
||||
does not provide legal services or legal advice. Distribution of
|
||||
Creative Commons public licenses does not create a lawyer-client or
|
||||
other relationship. Creative Commons makes its licenses and related
|
||||
information available on an "as-is" basis. Creative Commons gives no
|
||||
warranties regarding its licenses, any material licensed under their
|
||||
terms and conditions, or any related information. Creative Commons
|
||||
disclaims all liability for damages resulting from their use to the
|
||||
fullest extent possible.
|
||||
|
||||
Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and
|
||||
conditions that creators and other rights holders may use to share
|
||||
original works of authorship and other material subject to copyright
|
||||
and certain other rights specified in the public license below. The
|
||||
following considerations are for informational purposes only, are not
|
||||
exhaustive, and do not form part of our licenses.
|
||||
|
||||
Considerations for licensors: Our public licenses are
|
||||
intended for use by those authorized to give the public
|
||||
permission to use material in ways otherwise restricted by
|
||||
copyright and certain other rights. Our licenses are
|
||||
irrevocable. Licensors should read and understand the terms
|
||||
and conditions of the license they choose before applying it.
|
||||
Licensors should also secure all rights necessary before
|
||||
applying our licenses so that the public can reuse the
|
||||
material as expected. Licensors should clearly mark any
|
||||
material not subject to the license. This includes other CC-
|
||||
licensed material, or material used under an exception or
|
||||
limitation to copyright. More considerations for licensors:
|
||||
wiki.creativecommons.org/Considerations_for_licensors
|
||||
|
||||
Considerations for the public: By using one of our public
|
||||
licenses, a licensor grants the public permission to use the
|
||||
licensed material under specified terms and conditions. If
|
||||
the licensor's permission is not necessary for any reason--for
|
||||
example, because of any applicable exception or limitation to
|
||||
copyright--then that use is not regulated by the license. Our
|
||||
licenses grant only permissions under copyright and certain
|
||||
other rights that a licensor has authority to grant. Use of
|
||||
the licensed material may still be restricted for other
|
||||
reasons, including because others have copyright or other
|
||||
rights in the material. A licensor may make special requests,
|
||||
such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to
|
||||
respect those requests where reasonable. More considerations
|
||||
for the public:
|
||||
wiki.creativecommons.org/Considerations_for_licensees
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0
|
||||
International Public License
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution-NonCommercial-NoDerivatives 4.0 International Public
|
||||
License ("Public License"). To the extent this Public License may be
|
||||
interpreted as a contract, You are granted the Licensed Rights in
|
||||
consideration of Your acceptance of these terms and conditions, and the
|
||||
Licensor grants You such rights in consideration of benefits the
|
||||
Licensor receives from making the Licensed Material available under
|
||||
these terms and conditions.
|
||||
|
||||
|
||||
Section 1 -- Definitions.
|
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material
|
||||
and in which the Licensed Material is translated, altered,
|
||||
arranged, transformed, or otherwise modified in a manner requiring
|
||||
permission under the Copyright and Similar Rights held by the
|
||||
Licensor. For purposes of this Public License, where the Licensed
|
||||
Material is a musical work, performance, or sound recording,
|
||||
Adapted Material is always produced where the Licensed Material is
|
||||
synched in timed relation with a moving image.
|
||||
|
||||
b. Copyright and Similar Rights means copyright and/or similar rights
|
||||
closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or
|
||||
categorized. For purposes of this Public License, the rights
|
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
||||
Rights.
|
||||
|
||||
c. Effective Technological Measures means those measures that, in the
|
||||
absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
|
||||
d. Exceptions and Limitations means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
|
||||
e. Licensed Material means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public
|
||||
License.
|
||||
|
||||
f. Licensed Rights means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to
|
||||
all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
g. Licensor means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
|
||||
h. NonCommercial means not primarily intended for or directed towards
|
||||
commercial advantage or monetary compensation. For purposes of
|
||||
this Public License, the exchange of the Licensed Material for
|
||||
other material subject to Copyright and Similar Rights by digital
|
||||
file-sharing or similar means is NonCommercial provided there is
|
||||
no payment of monetary compensation in connection with the
|
||||
exchange.
|
||||
|
||||
i. Share means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such
|
||||
as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the
|
||||
public may access the material from a place and at a time
|
||||
individually chosen by them.
|
||||
|
||||
j. Sui Generis Database Rights means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially
|
||||
equivalent rights anywhere in the world.
|
||||
|
||||
k. You means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
|
||||
|
||||
Section 2 -- Scope.
|
||||
|
||||
a. License grant.
|
||||
|
||||
1. Subject to the terms and conditions of this Public License,
|
||||
the Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to
|
||||
exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
a. reproduce and Share the Licensed Material, in whole or
|
||||
in part, for NonCommercial purposes only; and
|
||||
|
||||
b. produce and reproduce, but not Share, Adapted Material
|
||||
for NonCommercial purposes only.
|
||||
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public
|
||||
License does not apply, and You do not need to comply with
|
||||
its terms and conditions.
|
||||
|
||||
3. Term. The term of this Public License is specified in Section
|
||||
6(a).
|
||||
|
||||
4. Media and formats; technical modifications allowed. The
|
||||
Licensor authorizes You to exercise the Licensed Rights in
|
||||
all media and formats whether now known or hereafter created,
|
||||
and to make technical modifications necessary to do so. The
|
||||
Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications
|
||||
necessary to exercise the Licensed Rights, including
|
||||
technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License,
|
||||
simply making modifications authorized by this Section 2(a)
|
||||
(4) never produces Adapted Material.
|
||||
|
||||
5. Downstream recipients.
|
||||
|
||||
a. Offer from the Licensor -- Licensed Material. Every
|
||||
recipient of the Licensed Material automatically
|
||||
receives an offer from the Licensor to exercise the
|
||||
Licensed Rights under the terms and conditions of this
|
||||
Public License.
|
||||
|
||||
b. No downstream restrictions. You may not offer or impose
|
||||
any additional or different terms or conditions on, or
|
||||
apply any Effective Technological Measures to, the
|
||||
Licensed Material if doing so restricts exercise of the
|
||||
Licensed Rights by any recipient of the Licensed
|
||||
Material.
|
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You
|
||||
are, or that Your use of the Licensed Material is, connected
|
||||
with, or sponsored, endorsed, or granted official status by,
|
||||
the Licensor or others designated to receive attribution as
|
||||
provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. Other rights.
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not
|
||||
licensed under this Public License, nor are publicity,
|
||||
privacy, and/or other similar personality rights; however, to
|
||||
the extent possible, the Licensor waives and/or agrees not to
|
||||
assert any such rights held by the Licensor to the limited
|
||||
extent necessary to allow You to exercise the Licensed
|
||||
Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this
|
||||
Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to
|
||||
collect royalties from You for the exercise of the Licensed
|
||||
Rights, whether directly or through a collecting society
|
||||
under any voluntary or waivable statutory or compulsory
|
||||
licensing scheme. In all other cases the Licensor expressly
|
||||
reserves any right to collect such royalties, including when
|
||||
the Licensed Material is used other than for NonCommercial
|
||||
purposes.
|
||||
|
||||
|
||||
Section 3 -- License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
|
||||
a. Attribution.
|
||||
|
||||
1. If You Share the Licensed Material, You must:
|
||||
|
||||
a. retain the following if it is supplied by the Licensor
|
||||
with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed
|
||||
Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by
|
||||
the Licensor (including by pseudonym if
|
||||
designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of
|
||||
warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the
|
||||
extent reasonably practicable;
|
||||
|
||||
b. indicate if You modified the Licensed Material and
|
||||
retain an indication of any previous modifications; and
|
||||
|
||||
c. indicate the Licensed Material is licensed under this
|
||||
Public License, and include the text of, or the URI or
|
||||
hyperlink to, this Public License.
|
||||
|
||||
For the avoidance of doubt, You do not have permission under
|
||||
this Public License to Share Adapted Material.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any
|
||||
reasonable manner based on the medium, means, and context in
|
||||
which You Share the Licensed Material. For example, it may be
|
||||
reasonable to satisfy the conditions by providing a URI or
|
||||
hyperlink to a resource that includes the required
|
||||
information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the
|
||||
information required by Section 3(a)(1)(A) to the extent
|
||||
reasonably practicable.
|
||||
|
||||
|
||||
Section 4 -- Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that
|
||||
apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
||||
to extract, reuse, reproduce, and Share all or a substantial
|
||||
portion of the contents of the database for NonCommercial purposes
|
||||
only and provided You do not Share Adapted Material;
|
||||
|
||||
b. if You include all or a substantial portion of the database
|
||||
contents in a database in which You have Sui Generis Database
|
||||
Rights, then the database in which You have Sui Generis Database
|
||||
Rights (but not its individual contents) is Adapted Material; and
|
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share
|
||||
all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
|
||||
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
||||
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent
|
||||
possible, most closely approximates an absolute disclaimer and
|
||||
waiver of all liability.
|
||||
|
||||
|
||||
Section 6 -- Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and
|
||||
Similar Rights licensed here. However, if You fail to comply with
|
||||
this Public License, then Your rights under this Public License
|
||||
terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided
|
||||
it is cured within 30 days of Your discovery of the
|
||||
violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any
|
||||
right the Licensor may have to seek remedies for Your violations
|
||||
of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the
|
||||
Licensed Material under separate terms or conditions or stop
|
||||
distributing the Licensed Material at any time; however, doing so
|
||||
will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
|
||||
|
||||
Section 7 -- Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different
|
||||
terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and
|
||||
independent of the terms and conditions of this Public License.
|
||||
|
||||
|
||||
Section 8 -- Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and
|
||||
shall not be interpreted to, reduce, limit, restrict, or impose
|
||||
conditions on any use of the Licensed Material that could lawfully
|
||||
be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted
|
||||
as a limitation upon, or waiver of, any privileges and immunities
|
||||
that apply to the Licensor or You, including from the legal
|
||||
processes of any jurisdiction or authority.
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons is not a party to its public
|
||||
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
||||
its public licenses to material it publishes and in those instances
|
||||
will be considered the “Licensor.” The text of the Creative Commons
|
||||
public licenses is dedicated to the public domain under the CC0 Public
|
||||
Domain Dedication. Except for the limited purpose of indicating that
|
||||
material is shared under a Creative Commons public license or as
|
||||
otherwise permitted by the Creative Commons policies published at
|
||||
creativecommons.org/policies, Creative Commons does not authorize the
|
||||
use of the trademark "Creative Commons" or any other trademark or logo
|
||||
of Creative Commons without its prior written consent including,
|
||||
without limitation, in connection with any unauthorized modifications
|
||||
to any of its public licenses or any other arrangements,
|
||||
understandings, or agreements concerning use of licensed material. For
|
||||
the avoidance of doubt, this paragraph does not form part of the
|
||||
public licenses.
|
||||
|
||||
Creative Commons may be contacted at creativecommons.org.
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,28 @@
|
||||
[General]
|
||||
gameName=spt
|
||||
modid=0
|
||||
version=d2025.5.13.0
|
||||
newestVersion=
|
||||
category="-1,"
|
||||
nexusFileStatus=1
|
||||
installationFile=acidphantasm-botplacementsystem.zip
|
||||
repository=Nexus
|
||||
ignoredVersion=
|
||||
comments=
|
||||
notes=
|
||||
nexusDescription=
|
||||
url=
|
||||
hasCustomURL=false
|
||||
lastNexusQuery=
|
||||
lastNexusUpdate=
|
||||
nexusLastModified=2025-05-13T08:46:56Z
|
||||
nexusCategory=0
|
||||
converted=false
|
||||
validated=false
|
||||
color=@Variant(\0\0\0\x43\0\xff\xff\0\0\0\0\0\0\0\0)
|
||||
tracked=0
|
||||
|
||||
[installedFiles]
|
||||
1\modid=0
|
||||
1\fileid=0
|
||||
size=1
|
||||
BIN
Binary file not shown.
@@ -0,0 +1,402 @@
|
||||
Attribution-NonCommercial-NoDerivatives 4.0 International
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Corporation ("Creative Commons") is not a law firm and
|
||||
does not provide legal services or legal advice. Distribution of
|
||||
Creative Commons public licenses does not create a lawyer-client or
|
||||
other relationship. Creative Commons makes its licenses and related
|
||||
information available on an "as-is" basis. Creative Commons gives no
|
||||
warranties regarding its licenses, any material licensed under their
|
||||
terms and conditions, or any related information. Creative Commons
|
||||
disclaims all liability for damages resulting from their use to the
|
||||
fullest extent possible.
|
||||
|
||||
Using Creative Commons Public Licenses
|
||||
|
||||
Creative Commons public licenses provide a standard set of terms and
|
||||
conditions that creators and other rights holders may use to share
|
||||
original works of authorship and other material subject to copyright
|
||||
and certain other rights specified in the public license below. The
|
||||
following considerations are for informational purposes only, are not
|
||||
exhaustive, and do not form part of our licenses.
|
||||
|
||||
Considerations for licensors: Our public licenses are
|
||||
intended for use by those authorized to give the public
|
||||
permission to use material in ways otherwise restricted by
|
||||
copyright and certain other rights. Our licenses are
|
||||
irrevocable. Licensors should read and understand the terms
|
||||
and conditions of the license they choose before applying it.
|
||||
Licensors should also secure all rights necessary before
|
||||
applying our licenses so that the public can reuse the
|
||||
material as expected. Licensors should clearly mark any
|
||||
material not subject to the license. This includes other CC-
|
||||
licensed material, or material used under an exception or
|
||||
limitation to copyright. More considerations for licensors:
|
||||
wiki.creativecommons.org/Considerations_for_licensors
|
||||
|
||||
Considerations for the public: By using one of our public
|
||||
licenses, a licensor grants the public permission to use the
|
||||
licensed material under specified terms and conditions. If
|
||||
the licensor's permission is not necessary for any reason--for
|
||||
example, because of any applicable exception or limitation to
|
||||
copyright--then that use is not regulated by the license. Our
|
||||
licenses grant only permissions under copyright and certain
|
||||
other rights that a licensor has authority to grant. Use of
|
||||
the licensed material may still be restricted for other
|
||||
reasons, including because others have copyright or other
|
||||
rights in the material. A licensor may make special requests,
|
||||
such as asking that all changes be marked or described.
|
||||
Although not required by our licenses, you are encouraged to
|
||||
respect those requests where reasonable. More considerations
|
||||
for the public:
|
||||
wiki.creativecommons.org/Considerations_for_licensees
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0
|
||||
International Public License
|
||||
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution-NonCommercial-NoDerivatives 4.0 International Public
|
||||
License ("Public License"). To the extent this Public License may be
|
||||
interpreted as a contract, You are granted the Licensed Rights in
|
||||
consideration of Your acceptance of these terms and conditions, and the
|
||||
Licensor grants You such rights in consideration of benefits the
|
||||
Licensor receives from making the Licensed Material available under
|
||||
these terms and conditions.
|
||||
|
||||
|
||||
Section 1 -- Definitions.
|
||||
|
||||
a. Adapted Material means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material
|
||||
and in which the Licensed Material is translated, altered,
|
||||
arranged, transformed, or otherwise modified in a manner requiring
|
||||
permission under the Copyright and Similar Rights held by the
|
||||
Licensor. For purposes of this Public License, where the Licensed
|
||||
Material is a musical work, performance, or sound recording,
|
||||
Adapted Material is always produced where the Licensed Material is
|
||||
synched in timed relation with a moving image.
|
||||
|
||||
b. Copyright and Similar Rights means copyright and/or similar rights
|
||||
closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or
|
||||
categorized. For purposes of this Public License, the rights
|
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
||||
Rights.
|
||||
|
||||
c. Effective Technological Measures means those measures that, in the
|
||||
absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
|
||||
d. Exceptions and Limitations means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
|
||||
e. Licensed Material means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public
|
||||
License.
|
||||
|
||||
f. Licensed Rights means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to
|
||||
all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
|
||||
g. Licensor means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
|
||||
h. NonCommercial means not primarily intended for or directed towards
|
||||
commercial advantage or monetary compensation. For purposes of
|
||||
this Public License, the exchange of the Licensed Material for
|
||||
other material subject to Copyright and Similar Rights by digital
|
||||
file-sharing or similar means is NonCommercial provided there is
|
||||
no payment of monetary compensation in connection with the
|
||||
exchange.
|
||||
|
||||
i. Share means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such
|
||||
as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the
|
||||
public may access the material from a place and at a time
|
||||
individually chosen by them.
|
||||
|
||||
j. Sui Generis Database Rights means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially
|
||||
equivalent rights anywhere in the world.
|
||||
|
||||
k. You means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
|
||||
|
||||
Section 2 -- Scope.
|
||||
|
||||
a. License grant.
|
||||
|
||||
1. Subject to the terms and conditions of this Public License,
|
||||
the Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to
|
||||
exercise the Licensed Rights in the Licensed Material to:
|
||||
|
||||
a. reproduce and Share the Licensed Material, in whole or
|
||||
in part, for NonCommercial purposes only; and
|
||||
|
||||
b. produce and reproduce, but not Share, Adapted Material
|
||||
for NonCommercial purposes only.
|
||||
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public
|
||||
License does not apply, and You do not need to comply with
|
||||
its terms and conditions.
|
||||
|
||||
3. Term. The term of this Public License is specified in Section
|
||||
6(a).
|
||||
|
||||
4. Media and formats; technical modifications allowed. The
|
||||
Licensor authorizes You to exercise the Licensed Rights in
|
||||
all media and formats whether now known or hereafter created,
|
||||
and to make technical modifications necessary to do so. The
|
||||
Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications
|
||||
necessary to exercise the Licensed Rights, including
|
||||
technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License,
|
||||
simply making modifications authorized by this Section 2(a)
|
||||
(4) never produces Adapted Material.
|
||||
|
||||
5. Downstream recipients.
|
||||
|
||||
a. Offer from the Licensor -- Licensed Material. Every
|
||||
recipient of the Licensed Material automatically
|
||||
receives an offer from the Licensor to exercise the
|
||||
Licensed Rights under the terms and conditions of this
|
||||
Public License.
|
||||
|
||||
b. No downstream restrictions. You may not offer or impose
|
||||
any additional or different terms or conditions on, or
|
||||
apply any Effective Technological Measures to, the
|
||||
Licensed Material if doing so restricts exercise of the
|
||||
Licensed Rights by any recipient of the Licensed
|
||||
Material.
|
||||
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You
|
||||
are, or that Your use of the Licensed Material is, connected
|
||||
with, or sponsored, endorsed, or granted official status by,
|
||||
the Licensor or others designated to receive attribution as
|
||||
provided in Section 3(a)(1)(A)(i).
|
||||
|
||||
b. Other rights.
|
||||
|
||||
1. Moral rights, such as the right of integrity, are not
|
||||
licensed under this Public License, nor are publicity,
|
||||
privacy, and/or other similar personality rights; however, to
|
||||
the extent possible, the Licensor waives and/or agrees not to
|
||||
assert any such rights held by the Licensor to the limited
|
||||
extent necessary to allow You to exercise the Licensed
|
||||
Rights, but not otherwise.
|
||||
|
||||
2. Patent and trademark rights are not licensed under this
|
||||
Public License.
|
||||
|
||||
3. To the extent possible, the Licensor waives any right to
|
||||
collect royalties from You for the exercise of the Licensed
|
||||
Rights, whether directly or through a collecting society
|
||||
under any voluntary or waivable statutory or compulsory
|
||||
licensing scheme. In all other cases the Licensor expressly
|
||||
reserves any right to collect such royalties, including when
|
||||
the Licensed Material is used other than for NonCommercial
|
||||
purposes.
|
||||
|
||||
|
||||
Section 3 -- License Conditions.
|
||||
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
|
||||
a. Attribution.
|
||||
|
||||
1. If You Share the Licensed Material, You must:
|
||||
|
||||
a. retain the following if it is supplied by the Licensor
|
||||
with the Licensed Material:
|
||||
|
||||
i. identification of the creator(s) of the Licensed
|
||||
Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by
|
||||
the Licensor (including by pseudonym if
|
||||
designated);
|
||||
|
||||
ii. a copyright notice;
|
||||
|
||||
iii. a notice that refers to this Public License;
|
||||
|
||||
iv. a notice that refers to the disclaimer of
|
||||
warranties;
|
||||
|
||||
v. a URI or hyperlink to the Licensed Material to the
|
||||
extent reasonably practicable;
|
||||
|
||||
b. indicate if You modified the Licensed Material and
|
||||
retain an indication of any previous modifications; and
|
||||
|
||||
c. indicate the Licensed Material is licensed under this
|
||||
Public License, and include the text of, or the URI or
|
||||
hyperlink to, this Public License.
|
||||
|
||||
For the avoidance of doubt, You do not have permission under
|
||||
this Public License to Share Adapted Material.
|
||||
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any
|
||||
reasonable manner based on the medium, means, and context in
|
||||
which You Share the Licensed Material. For example, it may be
|
||||
reasonable to satisfy the conditions by providing a URI or
|
||||
hyperlink to a resource that includes the required
|
||||
information.
|
||||
|
||||
3. If requested by the Licensor, You must remove any of the
|
||||
information required by Section 3(a)(1)(A) to the extent
|
||||
reasonably practicable.
|
||||
|
||||
|
||||
Section 4 -- Sui Generis Database Rights.
|
||||
|
||||
Where the Licensed Rights include Sui Generis Database Rights that
|
||||
apply to Your use of the Licensed Material:
|
||||
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
||||
to extract, reuse, reproduce, and Share all or a substantial
|
||||
portion of the contents of the database for NonCommercial purposes
|
||||
only and provided You do not Share Adapted Material;
|
||||
|
||||
b. if You include all or a substantial portion of the database
|
||||
contents in a database in which You have Sui Generis Database
|
||||
Rights, then the database in which You have Sui Generis Database
|
||||
Rights (but not its individual contents) is Adapted Material; and
|
||||
|
||||
c. You must comply with the conditions in Section 3(a) if You Share
|
||||
all or a substantial portion of the contents of the database.
|
||||
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
|
||||
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
||||
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
||||
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
||||
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent
|
||||
possible, most closely approximates an absolute disclaimer and
|
||||
waiver of all liability.
|
||||
|
||||
|
||||
Section 6 -- Term and Termination.
|
||||
|
||||
a. This Public License applies for the term of the Copyright and
|
||||
Similar Rights licensed here. However, if You fail to comply with
|
||||
this Public License, then Your rights under this Public License
|
||||
terminate automatically.
|
||||
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
|
||||
1. automatically as of the date the violation is cured, provided
|
||||
it is cured within 30 days of Your discovery of the
|
||||
violation; or
|
||||
|
||||
2. upon express reinstatement by the Licensor.
|
||||
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any
|
||||
right the Licensor may have to seek remedies for Your violations
|
||||
of this Public License.
|
||||
|
||||
c. For the avoidance of doubt, the Licensor may also offer the
|
||||
Licensed Material under separate terms or conditions or stop
|
||||
distributing the Licensed Material at any time; however, doing so
|
||||
will not terminate this Public License.
|
||||
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
|
||||
|
||||
Section 7 -- Other Terms and Conditions.
|
||||
|
||||
a. The Licensor shall not be bound by any additional or different
|
||||
terms or conditions communicated by You unless expressly agreed.
|
||||
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and
|
||||
independent of the terms and conditions of this Public License.
|
||||
|
||||
|
||||
Section 8 -- Interpretation.
|
||||
|
||||
a. For the avoidance of doubt, this Public License does not, and
|
||||
shall not be interpreted to, reduce, limit, restrict, or impose
|
||||
conditions on any use of the Licensed Material that could lawfully
|
||||
be made without permission under this Public License.
|
||||
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
|
||||
d. Nothing in this Public License constitutes or may be interpreted
|
||||
as a limitation upon, or waiver of, any privileges and immunities
|
||||
that apply to the Licensor or You, including from the legal
|
||||
processes of any jurisdiction or authority.
|
||||
|
||||
=======================================================================
|
||||
|
||||
Creative Commons is not a party to its public
|
||||
licenses. Notwithstanding, Creative Commons may elect to apply one of
|
||||
its public licenses to material it publishes and in those instances
|
||||
will be considered the “Licensor.” The text of the Creative Commons
|
||||
public licenses is dedicated to the public domain under the CC0 Public
|
||||
Domain Dedication. Except for the limited purpose of indicating that
|
||||
material is shared under a Creative Commons public license or as
|
||||
otherwise permitted by the Creative Commons policies published at
|
||||
creativecommons.org/policies, Creative Commons does not authorize the
|
||||
use of the trademark "Creative Commons" or any other trademark or logo
|
||||
of Creative Commons without its prior written consent including,
|
||||
without limitation, in connection with any unauthorized modifications
|
||||
to any of its public licenses or any other arrangements,
|
||||
understandings, or agreements concerning use of licensed material. For
|
||||
the avoidance of doubt, this paragraph does not form part of the
|
||||
public licenses.
|
||||
|
||||
Creative Commons may be contacted at creativecommons.org.
|
||||
+640
@@ -0,0 +1,640 @@
|
||||
{
|
||||
"pmcDifficulty": {
|
||||
"easy": 10,
|
||||
"normal": 50,
|
||||
"hard": 30,
|
||||
"impossible": 10
|
||||
},
|
||||
"pmcConfig": {
|
||||
"startingPMCs": {
|
||||
"enable": true,
|
||||
"ignoreMaxBotCaps": true,
|
||||
"groupChance": 25,
|
||||
"maxGroupSize": 3,
|
||||
"maxGroupCount": 4,
|
||||
"mapLimits": {
|
||||
"bigmap": {
|
||||
"min": 8,
|
||||
"max": 10
|
||||
},
|
||||
"factory4_day": {
|
||||
"min": 5,
|
||||
"max": 7
|
||||
},
|
||||
"factory4_night": {
|
||||
"min": 5,
|
||||
"max": 7
|
||||
},
|
||||
"interchange": {
|
||||
"min": 9,
|
||||
"max": 13
|
||||
},
|
||||
"laboratory": {
|
||||
"min": 7,
|
||||
"max": 9
|
||||
},
|
||||
"lighthouse": {
|
||||
"min": 7,
|
||||
"max": 10
|
||||
},
|
||||
"rezervbase": {
|
||||
"min": 8,
|
||||
"max": 10
|
||||
},
|
||||
"sandbox": {
|
||||
"min": 8,
|
||||
"max": 11
|
||||
},
|
||||
"sandbox_high": {
|
||||
"min": 8,
|
||||
"max": 11
|
||||
},
|
||||
"shoreline": {
|
||||
"min": 9,
|
||||
"max": 13
|
||||
},
|
||||
"tarkovstreets": {
|
||||
"min": 7,
|
||||
"max": 10
|
||||
},
|
||||
"woods": {
|
||||
"min": 9,
|
||||
"max": 13
|
||||
}
|
||||
}
|
||||
},
|
||||
"waves": {
|
||||
"enable": false,
|
||||
"ignoreMaxBotCaps": false,
|
||||
"groupChance": 10,
|
||||
"maxGroupSize": 2,
|
||||
"maxGroupCount": 3,
|
||||
"maxBotsPerWave": 5,
|
||||
"delayBeforeFirstWave": 500,
|
||||
"secondsBetweenWaves": 360,
|
||||
"stopWavesBeforeEndOfRaidLimit": 300
|
||||
}
|
||||
},
|
||||
"scavConfig": {
|
||||
"startingScavs": {
|
||||
"enable": true,
|
||||
"maxBotSpawns": {
|
||||
"bigmap": 5,
|
||||
"factory4_day": 3,
|
||||
"factory4_night": 3,
|
||||
"interchange": 5,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 5,
|
||||
"rezervbase": 5,
|
||||
"sandbox": 5,
|
||||
"sandbox_high": 5,
|
||||
"shoreline": 5,
|
||||
"tarkovstreets": 5,
|
||||
"woods": 5
|
||||
},
|
||||
"maxBotsPerZone": 1,
|
||||
"startingMarksman": true
|
||||
},
|
||||
"waves": {
|
||||
"enable": true,
|
||||
"enableCustomFactory": true,
|
||||
"startSpawns": 60,
|
||||
"stopSpawns": 600,
|
||||
"activeTimeMin": 180,
|
||||
"activeTimeMax": 240,
|
||||
"quietTimeMin": 120,
|
||||
"quietTimeMax": 180,
|
||||
"checkToSpawnTimer": 15,
|
||||
"pendingBotsToTrigger": 3
|
||||
}
|
||||
},
|
||||
"bossDifficulty": {
|
||||
"easy": 0,
|
||||
"normal": 60,
|
||||
"hard": 30,
|
||||
"impossible": 10
|
||||
},
|
||||
"bossConfig": {
|
||||
"bossKnight": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 30,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 30,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 30,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 30
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "ZoneScavBase",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "Zone_TreatmentContainers,Zone_Chalet",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "ZoneMeteoStation",
|
||||
"tarkovstreets": "",
|
||||
"woods": "ZoneScavBase2"
|
||||
}
|
||||
},
|
||||
"bossBully": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 30,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 0,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 0
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "ZoneDormitory,ZoneGasStation,ZoneScavBase",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "",
|
||||
"woods": ""
|
||||
}
|
||||
},
|
||||
"bossTagilla": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 0,
|
||||
"factory4_day": 30,
|
||||
"factory4_night": 30,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 0,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 0
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "",
|
||||
"factory4_day": "BotZone",
|
||||
"factory4_night": "BotZone",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "",
|
||||
"woods": ""
|
||||
}
|
||||
},
|
||||
"bossKilla": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 0,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 30,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 0,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 0
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "ZoneCenterBot,ZoneCenter,ZoneOLI,ZoneIDEA,ZoneGoshan",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "",
|
||||
"woods": ""
|
||||
}
|
||||
},
|
||||
"bossZryachiy": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 0,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 100,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 0,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 0
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "Zone_Island",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "",
|
||||
"woods": ""
|
||||
}
|
||||
},
|
||||
"bossGluhar": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 0,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 30,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 0,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 0
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "ZoneRailStrorage,ZonePTOR2,ZoneBarrack,ZoneSubStorage",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "",
|
||||
"woods": ""
|
||||
}
|
||||
},
|
||||
"bossSanitar": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 0,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 30,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 0
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "ZoneGreenHouses,ZoneSanatorium1,ZoneSanatorium2,ZonePort",
|
||||
"tarkovstreets": "",
|
||||
"woods": ""
|
||||
}
|
||||
},
|
||||
"bossKolontay": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 0,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 30,
|
||||
"shoreline": 0,
|
||||
"tarkovstreets": 30,
|
||||
"woods": 0
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "ZoneSandbox",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "ZoneClimova,ZoneMvd",
|
||||
"woods": ""
|
||||
}
|
||||
},
|
||||
"bossBoar": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 0,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 0,
|
||||
"tarkovstreets": 30,
|
||||
"woods": 0
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "ZoneCarShowroom",
|
||||
"woods": ""
|
||||
}
|
||||
},
|
||||
"bossKojaniy": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 0,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 0,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 30
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "",
|
||||
"woods": "ZoneWoodCutter"
|
||||
}
|
||||
},
|
||||
"bossPartisan": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 30,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 30,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 30,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 30
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "",
|
||||
"woods": ""
|
||||
}
|
||||
},
|
||||
"sectantPriest": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 15,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 20,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 44,
|
||||
"shoreline": 15,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 15
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "ZoneScavBase",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "BotZone",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "ZoneSandbox",
|
||||
"shoreline": "ZoneSanatorium1,ZoneSanatorium2,ZoneForestSpawn",
|
||||
"tarkovstreets": "",
|
||||
"woods": "ZoneMiniHouse,ZoneBrokenVill"
|
||||
}
|
||||
},
|
||||
"arenaFighterEvent": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 5,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 0,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 5
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "ZoneFactoryCenter,ZoneScavBase",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "",
|
||||
"woods": "ZoneMiniHouse,ZoneClearVill,ZoneRoad,ZoneBrokenVill,ZoneScavBase2"
|
||||
}
|
||||
},
|
||||
"pmcBot": {
|
||||
"enable": true,
|
||||
"addExtraSpawns": true,
|
||||
"disableVanillaSpawns": false,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 0,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 75,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 0,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 0
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "BotZoneBasement,BotZoneFloor1,BotZoneFloor2",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "",
|
||||
"woods": ""
|
||||
}
|
||||
},
|
||||
"exUsec": {
|
||||
"enable": true,
|
||||
"addExtraSpawns": false,
|
||||
"disableVanillaSpawns": false,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 0,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 0,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 0
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "",
|
||||
"woods": ""
|
||||
}
|
||||
},
|
||||
"gifter": {
|
||||
"enable": true,
|
||||
"time": -1,
|
||||
"spawnChance": {
|
||||
"bigmap": 0,
|
||||
"factory4_day": 0,
|
||||
"factory4_night": 0,
|
||||
"interchange": 0,
|
||||
"laboratory": 0,
|
||||
"lighthouse": 0,
|
||||
"rezervbase": 0,
|
||||
"sandbox": 0,
|
||||
"sandbox_high": 0,
|
||||
"shoreline": 0,
|
||||
"tarkovstreets": 0,
|
||||
"woods": 0
|
||||
},
|
||||
"bossZone": {
|
||||
"bigmap": "",
|
||||
"factory4_day": "",
|
||||
"factory4_night": "",
|
||||
"interchange": "",
|
||||
"laboratory": "",
|
||||
"lighthouse": "",
|
||||
"rezervbase": "",
|
||||
"sandbox": "",
|
||||
"sandbox_high": "",
|
||||
"shoreline": "",
|
||||
"tarkovstreets": "",
|
||||
"woods": ""
|
||||
}
|
||||
}
|
||||
},
|
||||
"configAppSettings": {
|
||||
"showUndo": true,
|
||||
"showDefault": false,
|
||||
"disableAnimations": false
|
||||
}
|
||||
}
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
{
|
||||
"name": "Acids Bot Placement System",
|
||||
"version": "1.1.1",
|
||||
"sptVersion": "~3.11",
|
||||
"loadBefore": [
|
||||
"RaidOverhaul",
|
||||
"WTT-RogueJustice"
|
||||
],
|
||||
"loadAfter": [],
|
||||
"incompatibilities": [],
|
||||
"isBundleMod": false,
|
||||
"main": "src/mod.js",
|
||||
"scripts": {
|
||||
"setup": "npm i",
|
||||
"build": "node ./build.mjs",
|
||||
"buildinfo": "node ./build.mjs --verbose"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "20.11",
|
||||
"@typescript-eslint/eslint-plugin": "7.2",
|
||||
"@typescript-eslint/parser": "7.2",
|
||||
"archiver": "^6.0",
|
||||
"eslint": "8.57",
|
||||
"fs-extra": "11.2",
|
||||
"ignore": "^5.2",
|
||||
"tsyringe": "4.8.0",
|
||||
"typescript": "5.8",
|
||||
"winston": "3.12"
|
||||
},
|
||||
"author": "acidphantasm",
|
||||
"contributors": [],
|
||||
"license": "BY-NC-ND 4.0"
|
||||
}
|
||||
+187
@@ -0,0 +1,187 @@
|
||||
import { injectable, inject } from "tsyringe";
|
||||
import { IBossLocationSpawn } from "@spt/models/eft/common/ILocationBase";
|
||||
import type { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||
import type { ICloner } from "@spt/utils/cloners/ICloner";
|
||||
import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper";
|
||||
import { RandomUtil } from "@spt/utils/RandomUtil";
|
||||
import { ModConfig } from "../Globals/ModConfig";
|
||||
|
||||
// Default Boss Data
|
||||
import {
|
||||
arenaFighterEventData,
|
||||
bossBoarData,
|
||||
bossBullyData,
|
||||
bossGluharData,
|
||||
bossKillaData,
|
||||
bossKnightData,
|
||||
bossKojaniyData,
|
||||
bossKolontayData,
|
||||
bossPartisanData,
|
||||
bossSanitarData,
|
||||
bossTagillaData,
|
||||
bossZryachiyData,
|
||||
exUsecData,
|
||||
gifterData,
|
||||
pmcBotData,
|
||||
pmcBotReserveData,
|
||||
pmcBotLaboratoryData,
|
||||
sectantPriestData
|
||||
} from "../Defaults/Bosses"
|
||||
|
||||
@injectable()
|
||||
export class BossSpawnControl
|
||||
{
|
||||
constructor(
|
||||
@inject("WinstonLogger") protected logger: ILogger,
|
||||
@inject("RandomUtil") protected randomUtil: RandomUtil,
|
||||
@inject("PrimaryCloner") protected cloner: ICloner,
|
||||
@inject("WeightedRandomHelper") protected weightedRandomHelper: WeightedRandomHelper
|
||||
)
|
||||
{}
|
||||
|
||||
public getCustomMapData(location: string, escapeTimeLimit: number): IBossLocationSpawn[]
|
||||
{
|
||||
return this.getConfigValueForLocation(location, escapeTimeLimit)
|
||||
}
|
||||
|
||||
private getConfigValueForLocation(location: string, escapeTimeLimit: number): IBossLocationSpawn[]
|
||||
{
|
||||
const bossesForMap: IBossLocationSpawn[] = [];
|
||||
for (const boss in ModConfig.config.bossConfig)
|
||||
{
|
||||
const bossDefaultData = this.cloner.clone(this.getDefaultValuesForBoss(boss, location));
|
||||
const bossConfigData = ModConfig.config.bossConfig[boss];
|
||||
const difficultyWeights = ModConfig.config.bossDifficulty;
|
||||
|
||||
if (!bossConfigData.enable) continue;
|
||||
|
||||
if (boss == "exUsec" && !bossConfigData.disableVanillaSpawns && location == "lighthouse" || boss == "pmcBot" && !bossConfigData.disableVanillaSpawns && (location == "laboratory" || location == "rezervbase"))
|
||||
{
|
||||
for (const bossSpawn in bossDefaultData)
|
||||
{
|
||||
// Create the vanilla spawns
|
||||
//bossDefaultData[bossSpawn].BossChance = bossConfigData.spawnChance[location];
|
||||
bossDefaultData[0].BossDifficult = this.weightedRandomHelper.getWeightedValue(difficultyWeights);
|
||||
bossesForMap.push(bossDefaultData[bossSpawn]);
|
||||
}
|
||||
if (!bossConfigData.addExtraSpawns) continue;
|
||||
}
|
||||
|
||||
if (!bossConfigData.spawnChance[location]) continue;
|
||||
|
||||
if (location.includes("factory")) bossConfigData.bossZone[location] = "BotZone"
|
||||
if ((boss == "pmcBot") && bossConfigData.addExtraSpawns)
|
||||
{
|
||||
bossesForMap.push(...this.generateBossWaves(location, escapeTimeLimit));
|
||||
continue;
|
||||
}
|
||||
|
||||
bossDefaultData[0].BossChance = bossConfigData.spawnChance[location];
|
||||
bossDefaultData[0].BossZone = bossConfigData.bossZone[location];
|
||||
bossDefaultData[0].BossDifficult = this.weightedRandomHelper.getWeightedValue(difficultyWeights);
|
||||
bossDefaultData[0].BossEscortDifficult = this.weightedRandomHelper.getWeightedValue(difficultyWeights);
|
||||
bossDefaultData[0].Time = bossConfigData.time;
|
||||
bossesForMap.push(bossDefaultData[0]);
|
||||
}
|
||||
|
||||
return bossesForMap;
|
||||
}
|
||||
|
||||
private generateBossWaves(location: string, escapeTimeLimit: number): IBossLocationSpawn[]
|
||||
{
|
||||
const pmcWaveSpawnInfo: IBossLocationSpawn[] = [];
|
||||
|
||||
const difficultyWeights = ModConfig.config.bossDifficulty;
|
||||
const waveMaxPMCCount = location != "laboratory" ? 4 : 10;
|
||||
const waveGroupLimit = 4;
|
||||
const waveGroupSize = 2;
|
||||
const waveGroupChance = 100;
|
||||
const waveTimer = 450;
|
||||
const endWavesAtRemainingTime = 300;
|
||||
const waveCount = Math.floor((((escapeTimeLimit * 60) - endWavesAtRemainingTime)) / waveTimer);
|
||||
let currentWaveTime = waveTimer;
|
||||
const bossConfigData = ModConfig.config.bossConfig["pmcBot"];
|
||||
|
||||
//this.logger.warning(`[Boss Waves] Generating ${waveCount} waves for Raiders`)
|
||||
for (let i = 1; i <= waveCount; i++)
|
||||
{
|
||||
if (i == 1) currentWaveTime = -1;
|
||||
|
||||
let currentPMCCount = 0;
|
||||
let groupCount = 0;
|
||||
while (currentPMCCount < waveMaxPMCCount)
|
||||
{
|
||||
if (groupCount >= waveGroupLimit) break;
|
||||
let groupSize = 0;
|
||||
const remainingSpots = waveMaxPMCCount - currentPMCCount;
|
||||
const isAGroup = remainingSpots > 1 ? this.randomUtil.getChance100(waveGroupChance) : false;
|
||||
if (isAGroup)
|
||||
{
|
||||
groupSize = Math.min(remainingSpots - 1, this.randomUtil.getInt(1, waveGroupSize));
|
||||
}
|
||||
const bossDefaultData = this.cloner.clone(this.getDefaultValuesForBoss("pmcBot", ""));
|
||||
|
||||
bossDefaultData[0].BossChance = bossConfigData.spawnChance[location];
|
||||
bossDefaultData[0].BossZone = bossConfigData.bossZone[location];
|
||||
bossDefaultData[0].BossEscortAmount = groupSize.toString();
|
||||
bossDefaultData[0].BossDifficult = this.weightedRandomHelper.getWeightedValue(difficultyWeights);
|
||||
bossDefaultData[0].BossEscortDifficult = this.weightedRandomHelper.getWeightedValue(difficultyWeights);
|
||||
bossDefaultData[0].IgnoreMaxBots = false;
|
||||
bossDefaultData[0].Time = currentWaveTime;
|
||||
currentPMCCount += groupSize + 1;
|
||||
groupCount++
|
||||
pmcWaveSpawnInfo.push(bossDefaultData[0]);
|
||||
|
||||
//this.logger.warning(`[Boss Waves] Adding 1 spawn for Raiders to ${location} | GroupSize: ${groupSize + 1}`);
|
||||
}
|
||||
//this.logger.warning(`[Boss Waves] Wave: ${i} | Time: ${currentWaveTime} | Groups: ${groupCount} | TotalRaiderss: ${currentPMCCount}/${waveMaxPMCCount}`);
|
||||
currentWaveTime += waveTimer;
|
||||
}
|
||||
|
||||
return pmcWaveSpawnInfo;
|
||||
}
|
||||
|
||||
private getDefaultValuesForBoss(boss: string, location: string): IBossLocationSpawn[]
|
||||
{
|
||||
switch (boss)
|
||||
{
|
||||
case "bossKnight":
|
||||
return bossKnightData;
|
||||
case "bossBully":
|
||||
return bossBullyData;
|
||||
case "bossTagilla":
|
||||
return bossTagillaData;
|
||||
case "bossKilla":
|
||||
return bossKillaData;
|
||||
case "bossZryachiy":
|
||||
return bossZryachiyData;
|
||||
case "bossGluhar":
|
||||
return bossGluharData;
|
||||
case "bossSanitar":
|
||||
return bossSanitarData;
|
||||
case "bossKolontay":
|
||||
return bossKolontayData;
|
||||
case "bossBoar":
|
||||
return bossBoarData;
|
||||
case "bossKojaniy":
|
||||
return bossKojaniyData;
|
||||
case "bossPartisan":
|
||||
return bossPartisanData;
|
||||
case "sectantPriest":
|
||||
return sectantPriestData;
|
||||
case "arenaFighterEvent":
|
||||
return arenaFighterEventData;
|
||||
case "pmcBot": // Requires Triggers + Has Multiple Zones
|
||||
if (location == "rezervbase") return pmcBotReserveData;
|
||||
if (location == "laboratory") return pmcBotLaboratoryData;
|
||||
else return pmcBotData;
|
||||
case "exUsec": // Has Multiple Zones
|
||||
return exUsecData;
|
||||
case "gifter":
|
||||
return gifterData;
|
||||
default:
|
||||
this.logger.error(`[ABPS] Boss not found in config ${boss}`)
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
}
|
||||
+221
@@ -0,0 +1,221 @@
|
||||
import { injectable, inject } from "tsyringe";
|
||||
import { ILocationBase, IBossLocationSpawn, IWave } from "@spt/models/eft/common/ILocationBase";
|
||||
import type { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||
|
||||
import { BossSpawnControl } from "./BossSpawnControl";
|
||||
import { DatabaseService } from "@spt/services/DatabaseService";
|
||||
import { ILocations } from "@spt/models/spt/server/ILocations";
|
||||
import { VanillaAdjustmentControl } from "./VanillaAdjustmentControl";
|
||||
import { PMCSpawnControl } from "./PMCSpawnControl";
|
||||
import { ScavSpawnControl } from "./ScavSpawnControl";
|
||||
import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges";
|
||||
import type { ICloner } from "@spt/utils/cloners/ICloner";
|
||||
import { ModConfig } from "../Globals/ModConfig";
|
||||
|
||||
@injectable()
|
||||
export class MapSpawnControl
|
||||
{
|
||||
public validMaps: string[] = [
|
||||
"bigmap",
|
||||
"factory4_day",
|
||||
"factory4_night",
|
||||
"interchange",
|
||||
"laboratory",
|
||||
"lighthouse",
|
||||
"rezervbase",
|
||||
"sandbox",
|
||||
"sandbox_high",
|
||||
"shoreline",
|
||||
"tarkovstreets",
|
||||
"woods"
|
||||
];
|
||||
|
||||
public botMapCache: Record<string, IBossLocationSpawn[]> = {};
|
||||
public scavMapCache: Record<string, IWave[]> = {};
|
||||
public locationData: ILocations = {};
|
||||
|
||||
constructor(
|
||||
@inject("WinstonLogger") protected logger: ILogger,
|
||||
@inject("DatabaseService") protected databaseService: DatabaseService,
|
||||
@inject("BossSpawnControl") protected bossSpawnControl: BossSpawnControl,
|
||||
@inject("ScavSpawnControl") protected scavSpawnControl: ScavSpawnControl,
|
||||
@inject("PMCSpawnControl") protected pmcSpawnControl: PMCSpawnControl,
|
||||
@inject("PrimaryCloner") protected cloner: ICloner,
|
||||
@inject("VanillaAdjustmentControl") protected vanillaAdjustmentControl: VanillaAdjustmentControl
|
||||
)
|
||||
{}
|
||||
|
||||
public configureInitialData(): void
|
||||
{
|
||||
this.locationData = this.databaseService.getTables().locations;
|
||||
for (const map in this.validMaps)
|
||||
{
|
||||
const mapName = this.validMaps[map];
|
||||
this.locationData[mapName].base.BossLocationSpawn = [];
|
||||
this.botMapCache[mapName] = [];
|
||||
this.scavMapCache[mapName] = [];
|
||||
if (ModConfig.config.scavConfig.waves.enable) this.vanillaAdjustmentControl.enableAllSpawnSystem(this.locationData[mapName].base);
|
||||
this.vanillaAdjustmentControl.removeExistingWaves(this.locationData[mapName].base);
|
||||
this.vanillaAdjustmentControl.fixPMCHostility(this.locationData[mapName].base);
|
||||
this.vanillaAdjustmentControl.adjustNewWaveSettings(this.locationData[mapName].base);
|
||||
/*
|
||||
This is how you make a spawn point properly
|
||||
if (this.validMaps[map] == "bigmap") {
|
||||
const test = {
|
||||
"BotZoneName": "",
|
||||
"Categories": [
|
||||
"Player"
|
||||
],
|
||||
"ColliderParams": {
|
||||
"_parent": "SpawnSphereParams",
|
||||
"_props": {
|
||||
"Center": {
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
},
|
||||
"Radius": 75
|
||||
}
|
||||
},
|
||||
"CorePointId": 0,
|
||||
"DelayToCanSpawnSec": 4,
|
||||
"Id": crypto.randomUUID(),
|
||||
"Infiltration": "Boiler Tanks",
|
||||
"Position": {
|
||||
"x": 288.068,
|
||||
"y": 1.718,
|
||||
"z": -200.166
|
||||
},
|
||||
"Rotation": 17.73762,
|
||||
"Sides": [
|
||||
"Pmc"
|
||||
]
|
||||
}
|
||||
this.locationData[mapName].base.SpawnPointParams.push(test);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
this.vanillaAdjustmentControl.disableVanillaSettings();
|
||||
this.vanillaAdjustmentControl.removeCustomPMCWaves();
|
||||
this.buildInitialCache();
|
||||
}
|
||||
public buildInitialCache(): void
|
||||
{
|
||||
this.buildBossWaves();
|
||||
this.buildPMCWaves();
|
||||
this.buildStartingScavs();
|
||||
this.replaceOriginalLocations();
|
||||
}
|
||||
|
||||
private buildBossWaves(): void
|
||||
{
|
||||
for (const map in this.validMaps)
|
||||
{
|
||||
const mapName = this.validMaps[map];
|
||||
const mapData = this.bossSpawnControl.getCustomMapData(this.validMaps[map], this.locationData[mapName].base.EscapeTimeLimit);
|
||||
if (mapData.length) mapData.forEach((index) => (this.botMapCache[mapName].push(index)));
|
||||
}
|
||||
}
|
||||
|
||||
private buildPMCWaves(): void
|
||||
{
|
||||
for (const map in this.validMaps)
|
||||
{
|
||||
const mapName = this.validMaps[map];
|
||||
const mapData = this.pmcSpawnControl.getCustomMapData(this.validMaps[map], this.locationData[mapName].base.EscapeTimeLimit);
|
||||
if (mapData.length) mapData.forEach((index) => (this.botMapCache[mapName].push(index)));
|
||||
}
|
||||
}
|
||||
|
||||
private buildStartingScavs(): void
|
||||
{
|
||||
for (const map in this.validMaps)
|
||||
{
|
||||
const mapName = this.validMaps[map];
|
||||
if (mapName == "laboratory") continue;
|
||||
const mapData = this.scavSpawnControl.getCustomMapData(this.validMaps[map]);
|
||||
if (mapData.length) mapData.forEach((index) => (this.scavMapCache[mapName].push(index)));
|
||||
}
|
||||
}
|
||||
|
||||
private replaceOriginalLocations(): void
|
||||
{
|
||||
for (const map in this.validMaps)
|
||||
{
|
||||
const mapName = this.validMaps[map];
|
||||
this.locationData[mapName].base.BossLocationSpawn = this.cloner.clone(this.botMapCache[mapName]);
|
||||
this.locationData[mapName].base.waves = this.cloner.clone(this.scavMapCache[mapName]);
|
||||
}
|
||||
}
|
||||
|
||||
public rebuildCache(location: string): void
|
||||
{
|
||||
location = location.toLowerCase();
|
||||
this.locationData = this.databaseService.getTables().locations;
|
||||
this.botMapCache[location] = [];
|
||||
this.scavMapCache[location] = [];
|
||||
this.rebuildBossWave(location);
|
||||
this.rebuildPMCWave(location);
|
||||
this.rebuildStartingScavs(location)
|
||||
this.rebuildLocation(location);
|
||||
}
|
||||
|
||||
private rebuildBossWave(location: string): void
|
||||
{
|
||||
const mapName = location.toLowerCase();
|
||||
this.logger.warning(`[ABPS] Recreating bosses for ${mapName}`);
|
||||
|
||||
const mapData = this.bossSpawnControl.getCustomMapData(mapName, this.locationData[mapName].base.EscapeTimeLimit);
|
||||
if (mapData.length) mapData.forEach((index) => (this.botMapCache[mapName].push(index)));
|
||||
}
|
||||
|
||||
private rebuildPMCWave(location: string): void
|
||||
{
|
||||
const mapName = location.toLowerCase();
|
||||
this.logger.warning(`[ABPS] Recreating PMCs for ${mapName}`);
|
||||
|
||||
const mapData = this.pmcSpawnControl.getCustomMapData(mapName, this.locationData[mapName].base.EscapeTimeLimit);
|
||||
if (mapData.length) mapData.forEach((index) => (this.botMapCache[mapName].push(index)));
|
||||
}
|
||||
|
||||
private rebuildStartingScavs(location: string): void
|
||||
{
|
||||
const mapName = location.toLowerCase();
|
||||
if (mapName == "laboratory") return;
|
||||
this.logger.warning(`[ABPS] Recreating scavs for ${mapName}`);
|
||||
|
||||
const mapData = this.scavSpawnControl.getCustomMapData(mapName);
|
||||
if (mapData.length) mapData.forEach((index) => (this.scavMapCache[mapName].push(index)));
|
||||
}
|
||||
|
||||
private rebuildLocation(location: string): void
|
||||
{
|
||||
const mapName = location.toLowerCase();
|
||||
this.locationData[mapName].base.BossLocationSpawn = this.cloner.clone(this.botMapCache[mapName]);
|
||||
this.locationData[mapName].base.waves = this.cloner.clone(this.scavMapCache[mapName]);
|
||||
}
|
||||
|
||||
public adjustWaves(mapBase: ILocationBase, raidAdjustments: IRaidChanges): void
|
||||
{
|
||||
const locationName = mapBase.Id.toLowerCase();
|
||||
if (raidAdjustments.simulatedRaidStartSeconds > 60)
|
||||
{
|
||||
const mapBosses = mapBase.BossLocationSpawn.filter((x) => x.Time == -1 && x.BossName != "pmcUSEC" && x.BossName != "pmcBEAR");
|
||||
mapBase.BossLocationSpawn = mapBase.BossLocationSpawn.filter((x) => x.Time > raidAdjustments.simulatedRaidStartSeconds && (x.BossName == "pmcUSEC" || x.BossName == "pmcBEAR"));
|
||||
|
||||
for (const bossWave of mapBase.BossLocationSpawn)
|
||||
{
|
||||
bossWave.Time -= Math.max(raidAdjustments.simulatedRaidStartSeconds, 0);
|
||||
}
|
||||
|
||||
const totalRemainingTime = raidAdjustments.raidTimeMinutes * 60;
|
||||
const newStartingPMCs = this.pmcSpawnControl.generateScavRaidRemainingPMCs(locationName, totalRemainingTime);
|
||||
newStartingPMCs.forEach((index) => (mapBase.BossLocationSpawn.push(index)));
|
||||
mapBosses.forEach((index) => (mapBase.BossLocationSpawn.push(index)));
|
||||
|
||||
const newStartingScavs = this.scavSpawnControl.generateStartingScavs(locationName, "assault", true);
|
||||
newStartingScavs.forEach((index) => (mapBase.waves.push(index)));
|
||||
}
|
||||
}
|
||||
}
|
||||
+212
@@ -0,0 +1,212 @@
|
||||
import { injectable, inject } from "tsyringe";
|
||||
import { IBossLocationSpawn } from "@spt/models/eft/common/ILocationBase";
|
||||
import type { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||
import type { ICloner } from "@spt/utils/cloners/ICloner";
|
||||
import { RandomUtil } from "@spt/utils/RandomUtil";
|
||||
import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper";
|
||||
|
||||
|
||||
// Default PMC Data
|
||||
import {
|
||||
pmcBEARData,
|
||||
pmcUSECData
|
||||
} from "../Defaults/PMCs";
|
||||
|
||||
import { ModConfig } from "../Globals/ModConfig";
|
||||
import { Labs_NonGateSpawnZones } from "../Defaults/MapSpawnZones";
|
||||
|
||||
@injectable()
|
||||
export class PMCSpawnControl
|
||||
{
|
||||
constructor(
|
||||
@inject("WinstonLogger") protected logger: ILogger,
|
||||
@inject("RandomUtil") protected randomUtil: RandomUtil,
|
||||
@inject("PrimaryCloner") protected cloner: ICloner,
|
||||
@inject("WeightedRandomHelper") protected weightedRandomHelper: WeightedRandomHelper
|
||||
)
|
||||
{}
|
||||
|
||||
public getCustomMapData(location: string, escapeTimeLimit: number): IBossLocationSpawn[]
|
||||
{
|
||||
return this.getConfigValueForLocation(location, escapeTimeLimit)
|
||||
}
|
||||
|
||||
private getConfigValueForLocation(location: string, escapeTimeLimit: number): IBossLocationSpawn[]
|
||||
{
|
||||
let pmcSpawnInfo: IBossLocationSpawn[] = [];
|
||||
if (ModConfig.config.pmcConfig.startingPMCs.enable)
|
||||
{
|
||||
pmcSpawnInfo = pmcSpawnInfo.concat(this.generateStartingPMCWaves(location));
|
||||
}
|
||||
if (ModConfig.config.pmcConfig.waves.enable)
|
||||
{
|
||||
pmcSpawnInfo = pmcSpawnInfo.concat(this.generatePMCWaves(location, escapeTimeLimit));
|
||||
}
|
||||
return pmcSpawnInfo;
|
||||
}
|
||||
|
||||
private generateStartingPMCWaves(location: string): IBossLocationSpawn[]
|
||||
{
|
||||
const startingPMCWaveInfo: IBossLocationSpawn[] = [];
|
||||
const ignoreMaxBotCaps = ModConfig.config.pmcConfig.startingPMCs.ignoreMaxBotCaps;
|
||||
const minPMCCount = ModConfig.config.pmcConfig.startingPMCs.mapLimits[location].min;
|
||||
const maxPMCCount = ModConfig.config.pmcConfig.startingPMCs.mapLimits[location].max;
|
||||
const generatedPMCCount = this.randomUtil.getInt(minPMCCount, maxPMCCount);
|
||||
const groupChance = ModConfig.config.pmcConfig.startingPMCs.groupChance;
|
||||
const groupLimit = ModConfig.config.pmcConfig.startingPMCs.maxGroupCount;
|
||||
const groupMaxSize = ModConfig.config.pmcConfig.startingPMCs.maxGroupSize;
|
||||
const difficultyWeights = ModConfig.config.pmcDifficulty;
|
||||
|
||||
let currentPMCCount = 0;
|
||||
let groupCount = 0;
|
||||
|
||||
while (currentPMCCount < generatedPMCCount)
|
||||
{
|
||||
const canBeAGroup = groupCount >= groupLimit ? false : true;
|
||||
let groupSize = 0;
|
||||
const remainingSpots = generatedPMCCount - currentPMCCount;
|
||||
|
||||
const isAGroup = remainingSpots > 1 ? this.randomUtil.getChance100(groupChance) : false;
|
||||
if (isAGroup && canBeAGroup)
|
||||
{
|
||||
groupSize = Math.min(remainingSpots - 1, this.randomUtil.getInt(1, groupMaxSize));
|
||||
groupCount++
|
||||
}
|
||||
|
||||
const pmcType = this.randomUtil.getChance100(50) ? "pmcUSEC" : "pmcBEAR";
|
||||
const bossDefaultData = this.cloner.clone(this.getDefaultValuesForBoss(pmcType));
|
||||
|
||||
bossDefaultData[0].BossEscortAmount = groupSize.toString();
|
||||
bossDefaultData[0].BossDifficult = this.weightedRandomHelper.getWeightedValue(difficultyWeights);
|
||||
bossDefaultData[0].BossEscortDifficult = this.weightedRandomHelper.getWeightedValue(difficultyWeights);
|
||||
bossDefaultData[0].BossZone = "";
|
||||
bossDefaultData[0].IgnoreMaxBots = ignoreMaxBotCaps;
|
||||
currentPMCCount += groupSize + 1;
|
||||
startingPMCWaveInfo.push(bossDefaultData[0]);
|
||||
|
||||
//this.logger.warning(`[Starting PMC] Adding 1 spawn for ${pmcType} to ${location} | GroupSize: ${groupSize + 1}`);
|
||||
}
|
||||
|
||||
//this.logger.warning(`[Starting PMCs] Map: ${location} (Time Limit: ${escapeTimeLimit}m) | Limits: ${minPMCCount}-${maxPMCCount} | Groups: ${groupCount} | TotalPMCs: ${currentPMCCount}/${generatedPMCCount}`);
|
||||
return startingPMCWaveInfo;
|
||||
}
|
||||
|
||||
private generatePMCWaves(location: string, escapeTimeLimit: number): IBossLocationSpawn[]
|
||||
{
|
||||
const pmcWaveSpawnInfo: IBossLocationSpawn[] = [];
|
||||
|
||||
const ignoreMaxBotCaps = ModConfig.config.pmcConfig.waves.ignoreMaxBotCaps;
|
||||
const difficultyWeights = ModConfig.config.pmcDifficulty;
|
||||
const waveMaxPMCCount = location.includes("factory") ? Math.min(2, ModConfig.config.pmcConfig.waves.maxBotsPerWave - 2) : ModConfig.config.pmcConfig.waves.maxBotsPerWave;
|
||||
const waveGroupLimit = ModConfig.config.pmcConfig.waves.maxGroupCount;
|
||||
const waveGroupSize = ModConfig.config.pmcConfig.waves.maxGroupSize;
|
||||
const waveGroupChance = ModConfig.config.pmcConfig.waves.groupChance;
|
||||
const firstWaveTimer = ModConfig.config.pmcConfig.waves.delayBeforeFirstWave;
|
||||
const waveTimer = ModConfig.config.pmcConfig.waves.secondsBetweenWaves;
|
||||
const endWavesAtRemainingTime = ModConfig.config.pmcConfig.waves.stopWavesBeforeEndOfRaidLimit;
|
||||
const waveCount = Math.floor((((escapeTimeLimit * 60) - endWavesAtRemainingTime) - firstWaveTimer) / waveTimer);
|
||||
let currentWaveTime = firstWaveTimer;
|
||||
|
||||
//this.logger.warning(`[PMC Waves] Generating ${waveCount} waves for PMCs`)
|
||||
for (let i = 1; i <= waveCount; i++)
|
||||
{
|
||||
let currentPMCCount = 0;
|
||||
let groupCount = 0;
|
||||
while (currentPMCCount < waveMaxPMCCount)
|
||||
{
|
||||
const canBeAGroup = groupCount >= waveGroupLimit ? false : true;
|
||||
let groupSize = 0;
|
||||
const remainingSpots = waveMaxPMCCount - currentPMCCount;
|
||||
const isAGroup = remainingSpots > 1 ? this.randomUtil.getChance100(waveGroupChance) : false;
|
||||
if (isAGroup && canBeAGroup)
|
||||
{
|
||||
groupSize = Math.min(remainingSpots - 1, this.randomUtil.getInt(1, waveGroupSize));
|
||||
groupCount++
|
||||
}
|
||||
|
||||
const pmcType = this.randomUtil.getChance100(50) ? "pmcUSEC" : "pmcBEAR";
|
||||
const bossDefaultData = this.cloner.clone(this.getDefaultValuesForBoss(pmcType));
|
||||
|
||||
bossDefaultData[0].BossEscortAmount = groupSize.toString();
|
||||
bossDefaultData[0].Time = currentWaveTime;
|
||||
bossDefaultData[0].BossDifficult = this.weightedRandomHelper.getWeightedValue(difficultyWeights);
|
||||
bossDefaultData[0].BossEscortDifficult = this.weightedRandomHelper.getWeightedValue(difficultyWeights);
|
||||
bossDefaultData[0].BossZone = "";
|
||||
bossDefaultData[0].IgnoreMaxBots = ignoreMaxBotCaps;
|
||||
currentPMCCount += groupSize + 1;
|
||||
pmcWaveSpawnInfo.push(bossDefaultData[0]);
|
||||
|
||||
//this.logger.warning(`[PMC Waves] Adding 1 spawn for ${pmcType} to ${location} | GroupSize: ${groupSize + 1}`);
|
||||
}
|
||||
//this.logger.warning(`[PMC Waves] Wave: ${i} | Time: ${currentWaveTime} | Groups: ${groupCount} | TotalPMCs: ${currentPMCCount}/${waveMaxPMCCount}`);
|
||||
currentWaveTime += waveTimer;
|
||||
}
|
||||
|
||||
return pmcWaveSpawnInfo;
|
||||
}
|
||||
|
||||
private getDefaultValuesForBoss(boss: string): IBossLocationSpawn[]
|
||||
{
|
||||
switch (boss)
|
||||
{
|
||||
case "pmcUSEC":
|
||||
return pmcUSECData;
|
||||
case "pmcBEAR":
|
||||
return pmcBEARData;
|
||||
default:
|
||||
this.logger.error(`[ABPS] PMC not found in config ${boss}`)
|
||||
return undefined;
|
||||
}
|
||||
}
|
||||
|
||||
public generateScavRaidRemainingPMCs(location: string, remainingRaidTime: number): IBossLocationSpawn[]
|
||||
{
|
||||
const startingPMCWaveInfo: IBossLocationSpawn[] = [];
|
||||
const ignoreMaxBotCaps = ModConfig.config.pmcConfig.startingPMCs.ignoreMaxBotCaps;
|
||||
const minPMCCount = ModConfig.config.pmcConfig.startingPMCs.mapLimits[location].min;
|
||||
const maxPMCCount = ModConfig.config.pmcConfig.startingPMCs.mapLimits[location].max;
|
||||
let generatedPMCCount = this.randomUtil.getInt(minPMCCount, maxPMCCount);
|
||||
const groupChance = ModConfig.config.pmcConfig.startingPMCs.groupChance;
|
||||
const groupLimit = ModConfig.config.pmcConfig.startingPMCs.maxGroupCount;
|
||||
const groupMaxSize = ModConfig.config.pmcConfig.startingPMCs.maxGroupSize;
|
||||
const difficultyWeights = ModConfig.config.pmcDifficulty;
|
||||
|
||||
let currentPMCCount = 0;
|
||||
let groupCount = 0;
|
||||
|
||||
if (remainingRaidTime < 600) generatedPMCCount = this.randomUtil.getInt(1, 3);
|
||||
if (remainingRaidTime < 1200) generatedPMCCount = this.randomUtil.getInt(1, 6);
|
||||
if (remainingRaidTime < 1800) generatedPMCCount = this.randomUtil.getInt(4, 9);
|
||||
|
||||
if (location.includes("factory") && generatedPMCCount > 5) generatedPMCCount -= 2;
|
||||
|
||||
while (currentPMCCount < generatedPMCCount)
|
||||
{
|
||||
const canBeAGroup = groupCount >= groupLimit ? false : true;
|
||||
let groupSize = 0;
|
||||
const remainingSpots = generatedPMCCount - currentPMCCount;
|
||||
const isAGroup = remainingSpots > 1 ? this.randomUtil.getChance100(groupChance) : false;
|
||||
if (isAGroup && canBeAGroup)
|
||||
{
|
||||
groupSize = Math.min(remainingSpots - 1, this.randomUtil.getInt(1, groupMaxSize));
|
||||
groupCount++
|
||||
}
|
||||
|
||||
const pmcType = this.randomUtil.getChance100(50) ? "pmcUSEC" : "pmcBEAR";
|
||||
const bossDefaultData = this.cloner.clone(this.getDefaultValuesForBoss(pmcType));
|
||||
|
||||
bossDefaultData[0].BossEscortAmount = groupSize.toString();
|
||||
bossDefaultData[0].BossDifficult = this.weightedRandomHelper.getWeightedValue(difficultyWeights);
|
||||
bossDefaultData[0].BossEscortDifficult = this.weightedRandomHelper.getWeightedValue(difficultyWeights);
|
||||
bossDefaultData[0].BossZone = "";
|
||||
bossDefaultData[0].IgnoreMaxBots = ignoreMaxBotCaps;
|
||||
currentPMCCount += groupSize + 1;
|
||||
startingPMCWaveInfo.push(bossDefaultData[0]);
|
||||
|
||||
//this.logger.warning(`[Starting PMC] Adding 1 spawn for ${pmcType} to ${location} | GroupSize: ${groupSize + 1}`);
|
||||
}
|
||||
|
||||
//this.logger.warning(`[Starting PMCs] Map: ${location} (Time Limit: ${escapeTimeLimit}m) | Limits: ${minPMCCount}-${maxPMCCount} | Groups: ${groupCount} | TotalPMCs: ${currentPMCCount}/${generatedPMCCount}`);
|
||||
return startingPMCWaveInfo;
|
||||
}
|
||||
}
|
||||
+214
@@ -0,0 +1,214 @@
|
||||
import { injectable, inject } from "tsyringe";
|
||||
import { IWave, WildSpawnType } from "@spt/models/eft/common/ILocationBase";
|
||||
import type { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||
import type { ICloner } from "@spt/utils/cloners/ICloner";
|
||||
import { RandomUtil } from "@spt/utils/RandomUtil";
|
||||
import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper";
|
||||
|
||||
|
||||
// Default Scav Data
|
||||
|
||||
|
||||
import { ModConfig } from "../Globals/ModConfig";
|
||||
import { scavData } from "../Defaults/Scavs";
|
||||
import { DatabaseService } from "@spt/services/DatabaseService";
|
||||
import {
|
||||
Customs_SpawnZones,
|
||||
Customs_SnipeSpawnZones,
|
||||
Factory_SpawnZones,
|
||||
GroundZero_SpawnZones,
|
||||
Interchange_SpawnZones,
|
||||
Labs_NonGateSpawnZones,
|
||||
Lighthouse_NonWaterTreatmentSpawnZones,
|
||||
Lighthouse_SnipeSpawnZones,
|
||||
Reserve_SpawnZones,
|
||||
Shoreline_SpawnZones,
|
||||
Shoreline_SnipeSpawnZones,
|
||||
Streets_SpawnZones,
|
||||
Streets_SnipeSpawnZones,
|
||||
Woods_SpawnZones,
|
||||
Woods_SnipeSpawnZones,
|
||||
GroundZero_SnipeSpawnZones
|
||||
} from "../Defaults/MapSpawnZones";
|
||||
import { createExhaustableArray } from "../Utils/GlobalUtils";
|
||||
|
||||
@injectable()
|
||||
export class ScavSpawnControl
|
||||
{
|
||||
constructor(
|
||||
@inject("WinstonLogger") protected logger: ILogger,
|
||||
@inject("DatabaseService") protected databaseService: DatabaseService,
|
||||
@inject("RandomUtil") protected randomUtil: RandomUtil,
|
||||
@inject("PrimaryCloner") protected cloner: ICloner,
|
||||
@inject("WeightedRandomHelper") protected weightedRandomHelper: WeightedRandomHelper
|
||||
)
|
||||
{}
|
||||
|
||||
public getCustomMapData(location: string): IWave[]
|
||||
{
|
||||
return this.getConfigValueForLocation(location)
|
||||
}
|
||||
|
||||
private getConfigValueForLocation(location: string): IWave[]
|
||||
{
|
||||
const scavSpawnInfo: IWave[] = [];
|
||||
if (ModConfig.config.scavConfig.startingScavs.enable) scavSpawnInfo.push(...this.generateStartingScavs(location));
|
||||
if (ModConfig.config.scavConfig.startingScavs.startingMarksman)
|
||||
{
|
||||
const marksmanSpawn = this.generateStartingScavs(location, "marksman");
|
||||
if (marksmanSpawn.length)
|
||||
{
|
||||
scavSpawnInfo.push(...marksmanSpawn);
|
||||
}
|
||||
}
|
||||
return scavSpawnInfo;
|
||||
}
|
||||
|
||||
public generateStartingScavs(location: string, botRole = "assault", lateStart = false): IWave[]
|
||||
{
|
||||
const scavWaveSpawnInfo: IWave[] = [];
|
||||
|
||||
const waveLength = this.databaseService.getTables().locations[location].base.waves.length;
|
||||
|
||||
const maxStartingSpawns: number = ModConfig.config.scavConfig.startingScavs.maxBotSpawns[location];
|
||||
const scavCap = lateStart ? maxStartingSpawns * 0.75 : maxStartingSpawns;
|
||||
const playerScavChance = lateStart ? 60 : 10;
|
||||
|
||||
const maxBotsPerZone = location.includes("factory") || location.includes("sandbox") ? maxStartingSpawns : ModConfig.config.scavConfig.startingScavs.maxBotsPerZone;
|
||||
const availableSpawnZones = botRole == "assault" ? createExhaustableArray(this.getNonMarksmanSpawnZones(location), this.randomUtil, this.cloner) : createExhaustableArray(this.getMarksmanSpawnZones(location), this.randomUtil, this.cloner);
|
||||
let spawnsAdded = botRole == "assault" ? 0 : waveLength;
|
||||
let marksmanCount = 0;
|
||||
|
||||
while (spawnsAdded < scavCap)
|
||||
{
|
||||
if (spawnsAdded >= maxStartingSpawns) break;
|
||||
const scavDefaultData = this.cloner.clone(this.getDefaultValues());
|
||||
let selectedSpawnZone = location.includes("factory") || location.includes("sandbox") || !availableSpawnZones.hasValues() ? "" : availableSpawnZones.getRandomValue();
|
||||
if (botRole != "assault")
|
||||
{
|
||||
if (!availableSpawnZones.hasValues()) break;
|
||||
if (selectedSpawnZone == undefined) break;
|
||||
if (marksmanCount >= 2) break;
|
||||
selectedSpawnZone = availableSpawnZones.getRandomValue();
|
||||
marksmanCount++;
|
||||
}
|
||||
const remainingSpots = maxStartingSpawns - spawnsAdded;
|
||||
const groupSize = botRole == "assault" ? Math.min(remainingSpots - 1, this.randomUtil.getInt(1, maxBotsPerZone)) : 1;
|
||||
|
||||
scavDefaultData.slots_min = groupSize > 1 ? 1 : 0;
|
||||
scavDefaultData.slots_max = groupSize > 1 ? groupSize : 1;
|
||||
scavDefaultData.time_min = 1;
|
||||
scavDefaultData.time_max = 3;
|
||||
scavDefaultData.number = spawnsAdded;
|
||||
scavDefaultData.WildSpawnType = botRole == "assault" ? WildSpawnType.ASSAULT : WildSpawnType.MARKSMAN;
|
||||
scavDefaultData.isPlayers = botRole == "assault" ? this.randomUtil.getChance100(playerScavChance) ? true : false : false;
|
||||
scavDefaultData.SpawnPoints = selectedSpawnZone;
|
||||
|
||||
spawnsAdded++;
|
||||
scavWaveSpawnInfo.push(scavDefaultData);
|
||||
//this.logger.warning(`[Scav Waves] ${scavDefaultData.number} - Adding 1 spawn for ${botRole} to ${location} | Zone: ${selectedSpawnZone} Min: ${scavDefaultData.slots_min} | Max: ${scavDefaultData.slots_max}`);
|
||||
}
|
||||
|
||||
return scavWaveSpawnInfo;
|
||||
}
|
||||
|
||||
private getDefaultValues(): IWave
|
||||
{
|
||||
return scavData;
|
||||
}
|
||||
|
||||
private getNonMarksmanSpawnZones(location: string): string[]
|
||||
{
|
||||
switch (location)
|
||||
{
|
||||
case "bigmap":
|
||||
return Customs_SpawnZones;
|
||||
case "factory4_day":
|
||||
case "factory4_night":
|
||||
return Factory_SpawnZones;
|
||||
case "interchange":
|
||||
return Interchange_SpawnZones;
|
||||
case "laboratory":
|
||||
return Labs_NonGateSpawnZones;
|
||||
case "lighthouse":
|
||||
return Lighthouse_NonWaterTreatmentSpawnZones;
|
||||
case "rezervbase":
|
||||
return Reserve_SpawnZones;
|
||||
case "sandbox":
|
||||
case "sandbox_high":
|
||||
return GroundZero_SpawnZones;
|
||||
case "shoreline":
|
||||
return Shoreline_SpawnZones;
|
||||
case "tarkovstreets":
|
||||
return Streets_SpawnZones;
|
||||
case "woods":
|
||||
return Woods_SpawnZones;
|
||||
}
|
||||
}
|
||||
|
||||
private getMarksmanSpawnZones(location: string): string[]
|
||||
{
|
||||
switch (location)
|
||||
{
|
||||
case "bigmap":
|
||||
return Customs_SnipeSpawnZones;
|
||||
case "factory4_day":
|
||||
case "factory4_night":
|
||||
return undefined;
|
||||
case "interchange":
|
||||
return undefined;
|
||||
case "laboratory":
|
||||
return undefined;
|
||||
case "lighthouse":
|
||||
return Lighthouse_SnipeSpawnZones;
|
||||
case "rezervbase":
|
||||
return undefined;
|
||||
case "sandbox":
|
||||
case "sandbox_high":
|
||||
return GroundZero_SnipeSpawnZones;
|
||||
case "shoreline":
|
||||
return Shoreline_SnipeSpawnZones;
|
||||
case "tarkovstreets":
|
||||
return Streets_SnipeSpawnZones;
|
||||
case "woods":
|
||||
return Woods_SnipeSpawnZones;
|
||||
}
|
||||
}
|
||||
|
||||
public generateInitialScavsForRemainingRaidTime(location: string, botRole: string): IWave[]
|
||||
{
|
||||
const scavWaveSpawnInfo: IWave[] = [];
|
||||
|
||||
const waveLength = this.databaseService.getTables().locations[location].base.waves.length;
|
||||
|
||||
const maxStartingSpawns: number = ModConfig.config.scavConfig.startingScavs.maxBotSpawns[location] * 0.75;
|
||||
const maxBotsPerZone = location.includes("factory") || location.includes("sandbox") ? maxStartingSpawns : ModConfig.config.scavConfig.startingScavs.maxBotsPerZone;
|
||||
const checkMarksman = ModConfig.config.scavConfig.startingScavs.startingMarksman;
|
||||
|
||||
const availableSpawnZones = botRole == "assault" ? createExhaustableArray(this.getNonMarksmanSpawnZones(location), this.randomUtil, this.cloner) : createExhaustableArray(this.getMarksmanSpawnZones(location), this.randomUtil, this.cloner);
|
||||
let spawnsAdded = botRole == "assault" ? 0 : waveLength;
|
||||
|
||||
while (spawnsAdded < maxStartingSpawns)
|
||||
{
|
||||
if (spawnsAdded >= maxStartingSpawns) break;
|
||||
const scavDefaultData = this.cloner.clone(this.getDefaultValues());
|
||||
const selectedSpawnZone = location.includes("factory") || location.includes("sandbox") || !availableSpawnZones.hasValues() ? "" : availableSpawnZones.getRandomValue();
|
||||
const remainingSpots = maxStartingSpawns - spawnsAdded;
|
||||
const groupSize = Math.min(remainingSpots - 1, this.randomUtil.getInt(1, maxBotsPerZone));
|
||||
|
||||
scavDefaultData.slots_min = groupSize > 1 ? 1 : 1;
|
||||
scavDefaultData.slots_max = groupSize > 1 ? groupSize : 1;
|
||||
scavDefaultData.time_min = 1;
|
||||
scavDefaultData.time_max = 3;
|
||||
scavDefaultData.number = spawnsAdded;
|
||||
scavDefaultData.isPlayers = botRole == "assault" ? this.randomUtil.getChance100(60) ? true : false : false;
|
||||
scavDefaultData.SpawnPoints = selectedSpawnZone;
|
||||
|
||||
spawnsAdded++;
|
||||
scavWaveSpawnInfo.push(scavDefaultData);
|
||||
//this.logger.warning(`[Scav Waves] ${scavDefaultData.number} - Adding 1 spawn for assault to ${location} | Zone: ${selectedSpawnZone} Min: ${scavDefaultData.slots_min} | Max: ${scavDefaultData.slots_max}`);
|
||||
}
|
||||
|
||||
return scavWaveSpawnInfo;
|
||||
}
|
||||
}
|
||||
+141
@@ -0,0 +1,141 @@
|
||||
import { injectable, inject } from "tsyringe";
|
||||
import type { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||
import { ConfigServer } from "@spt/servers/ConfigServer";
|
||||
import { DatabaseService } from "@spt/services/DatabaseService";
|
||||
import { ConfigTypes } from "@spt/models/enums/ConfigTypes";
|
||||
import { ILocationConfig } from "@spt/models/spt/config/ILocationConfig";
|
||||
import { ILocationBase } from "@spt/models/eft/common/ILocationBase";
|
||||
import { newPMCHostilitySettings } from "../Defaults/Hostility";
|
||||
import type { ICloner } from "@spt/utils/cloners/ICloner";
|
||||
import { IPmcConfig } from "@spt/models/spt/config/IPmcConfig";
|
||||
import { IBotConfig } from "@spt/models/spt/config/IBotConfig";
|
||||
import { ModConfig } from "../Globals/ModConfig";
|
||||
|
||||
@injectable()
|
||||
export class VanillaAdjustmentControl
|
||||
{
|
||||
public locationConfig: ILocationConfig;
|
||||
public pmcConfig: IPmcConfig;
|
||||
public botConfig: IBotConfig;
|
||||
|
||||
constructor(
|
||||
@inject("WinstonLogger") protected logger: ILogger,
|
||||
@inject("DatabaseService") protected databaseService: DatabaseService,
|
||||
@inject("ConfigServer") protected configServer: ConfigServer,
|
||||
@inject("PrimaryCloner") protected cloner: ICloner
|
||||
)
|
||||
{
|
||||
this.locationConfig = this.configServer.getConfig<ILocationConfig>(ConfigTypes.LOCATION);
|
||||
this.pmcConfig = this.configServer.getConfig<IPmcConfig>(ConfigTypes.PMC);
|
||||
this.botConfig = this.configServer.getConfig<IBotConfig>(ConfigTypes.BOT);
|
||||
}
|
||||
|
||||
public disableVanillaSettings(): void
|
||||
{
|
||||
this.locationConfig.splitWaveIntoSingleSpawnsSettings.enabled = false;
|
||||
this.locationConfig.rogueLighthouseSpawnTimeSettings.enabled = false;
|
||||
this.locationConfig.addOpenZonesToAllMaps = false;
|
||||
this.locationConfig.addCustomBotWavesToMaps = false;
|
||||
this.locationConfig.enableBotTypeLimits = false;
|
||||
}
|
||||
|
||||
public disableNewSpawnSystem(base: any): void
|
||||
{
|
||||
if (base.Id == "laboratory") return;
|
||||
|
||||
base.NewSpawn = false;
|
||||
base.OfflineNewSpawn = false;
|
||||
base.OldSpawn = true;
|
||||
base.OfflineOldSpawn = true;
|
||||
}
|
||||
|
||||
public enableAllSpawnSystem(base: any): void
|
||||
{
|
||||
if (base.Id == "laboratory") return;
|
||||
|
||||
base.NewSpawn = true;
|
||||
base.OfflineNewSpawn = true;
|
||||
base.OldSpawn = true;
|
||||
base.OfflineOldSpawn = true;
|
||||
}
|
||||
|
||||
public adjustNewWaveSettings(base: any): void
|
||||
{
|
||||
if (base.Id == "laboratory") return;
|
||||
|
||||
if (ModConfig.config.scavConfig.waves.enableCustomFactory && base.Id.includes("factory"))
|
||||
{
|
||||
// Start-Stop Time for spawns
|
||||
base.BotStart = ModConfig.config.scavConfig.waves.startSpawns;
|
||||
base.BotStop = (base.EscapeTimeLimit * 60) - ModConfig.config.scavConfig.waves.stopSpawns;
|
||||
|
||||
// Start-Stop wave times for active spawning
|
||||
base.BotSpawnTimeOnMin = 10;
|
||||
base.BotSpawnTimeOnMax = 30;
|
||||
|
||||
// Start-Stop wave wait times between active spawning
|
||||
base.BotSpawnTimeOffMin = 240;
|
||||
base.BotSpawnTimeOffMax = 300;
|
||||
|
||||
// Probably how often it checks to spawn while active spawning
|
||||
base.BotSpawnPeriodCheck = 15;
|
||||
|
||||
// Bot count required to trigger a spawn
|
||||
base.BotSpawnCountStep = 3;
|
||||
|
||||
base.BotLocationModifier.NonWaveSpawnBotsLimitPerPlayer = 20;
|
||||
base.BotLocationModifier.NonWaveSpawnBotsLimitPerPlayerPvE = 20;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Start-Stop Time for spawns
|
||||
base.BotStart = ModConfig.config.scavConfig.waves.startSpawns;
|
||||
base.BotStop = (base.EscapeTimeLimit * 60) - ModConfig.config.scavConfig.waves.stopSpawns;
|
||||
|
||||
// Start-Stop wave times for active spawning
|
||||
base.BotSpawnTimeOnMin = ModConfig.config.scavConfig.waves.activeTimeMin;
|
||||
base.BotSpawnTimeOnMax = ModConfig.config.scavConfig.waves.activeTimeMax;
|
||||
|
||||
// Start-Stop wave wait times between active spawning
|
||||
base.BotSpawnTimeOffMin = ModConfig.config.scavConfig.waves.quietTimeMin;
|
||||
base.BotSpawnTimeOffMax = ModConfig.config.scavConfig.waves.quietTimeMax;
|
||||
|
||||
// Probably how often it checks to spawn while active spawning
|
||||
base.BotSpawnPeriodCheck = ModConfig.config.scavConfig.waves.checkToSpawnTimer;
|
||||
|
||||
// Bot count required to trigger a spawn
|
||||
base.BotSpawnCountStep = ModConfig.config.scavConfig.waves.pendingBotsToTrigger;
|
||||
|
||||
base.BotLocationModifier.NonWaveSpawnBotsLimitPerPlayer = 20;
|
||||
base.BotLocationModifier.NonWaveSpawnBotsLimitPerPlayerPvE = 20;
|
||||
}
|
||||
}
|
||||
|
||||
public removeExistingWaves(base: any): void
|
||||
{
|
||||
base.waves = [];
|
||||
}
|
||||
|
||||
public fixPMCHostility(base: ILocationBase): void
|
||||
{
|
||||
const hostility = base.BotLocationModifier?.AdditionalHostilitySettings;
|
||||
if (hostility)
|
||||
{
|
||||
for (const bot in hostility)
|
||||
{
|
||||
if (hostility[bot].BotRole == "pmcUSEC" || hostility[bot].BotRole == "pmcBEAR")
|
||||
{
|
||||
const newHostilitySettings = this.cloner.clone(newPMCHostilitySettings);
|
||||
newHostilitySettings.BotRole = hostility[bot].BotRole;
|
||||
hostility[bot] = newHostilitySettings;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public removeCustomPMCWaves(): void
|
||||
{
|
||||
this.pmcConfig.removeExistingPmcWaves = false;
|
||||
this.pmcConfig.customPmcWaves = {};
|
||||
}
|
||||
}
|
||||
+1113
File diff suppressed because it is too large
Load Diff
+64
@@ -0,0 +1,64 @@
|
||||
export const newPMCHostilitySettings =
|
||||
{
|
||||
AlwaysEnemies: [
|
||||
"arenaFighter",
|
||||
"arenaFighterEvent",
|
||||
"assault",
|
||||
"assaultGroup",
|
||||
"bossBoar",
|
||||
"bossBoarSniper",
|
||||
"bossBully",
|
||||
"bossGluhar",
|
||||
"bossKilla",
|
||||
"bossKnight",
|
||||
"bossKojaniy",
|
||||
"bossKolontay",
|
||||
"bossPartisan",
|
||||
"bossSanitar",
|
||||
"bossTagilla",
|
||||
"crazyAssaultEvent",
|
||||
"cursedAssault",
|
||||
"exUsec",
|
||||
"followerBigPipe",
|
||||
"followerBirdEye",
|
||||
"followerBoar",
|
||||
"followerBoarClose1",
|
||||
"followerBoarClose2",
|
||||
"followerGluharAssault",
|
||||
"followerGluharScout",
|
||||
"followerGluharSecurity",
|
||||
"followerGluharSnipe",
|
||||
"followerKojaniy",
|
||||
"followerKolontayAssault",
|
||||
"followerKolontaySecurity",
|
||||
"followerSanitar",
|
||||
"followerTagilla",
|
||||
"marksman",
|
||||
"peacemaker",
|
||||
"pmcBEAR",
|
||||
"pmcBot",
|
||||
"pmcUSEC",
|
||||
"sectactPriestEvent",
|
||||
"sectantPriest",
|
||||
"sectantWarrior",
|
||||
"skier",
|
||||
"spiritSpring",
|
||||
"spiritWinter"
|
||||
],
|
||||
AlwaysFriends: [
|
||||
"bossZryachiy",
|
||||
"followerZryachiy",
|
||||
"gifter",
|
||||
"peacefullZryachiyEvent",
|
||||
"ravangeZryachiyEvent"
|
||||
],
|
||||
BearEnemyChance: 100,
|
||||
BearPlayerBehaviour: "AlwaysEnemies",
|
||||
BotRole: "",
|
||||
ChancedEnemies: [],
|
||||
Neutral: [],
|
||||
SavagePlayerBehaviour: "AlwaysEnemies",
|
||||
UsecEnemyChance: 100,
|
||||
UsecPlayerBehaviour: "AlwaysEnemies",
|
||||
Warn: []
|
||||
};
|
||||
+189
@@ -0,0 +1,189 @@
|
||||
export const Customs_SpawnZones =
|
||||
[
|
||||
"ZoneBrige",
|
||||
"ZoneCrossRoad",
|
||||
"ZoneDormitory",
|
||||
"ZoneGasStation",
|
||||
"ZoneFactoryCenter",
|
||||
"ZoneFactorySide",
|
||||
"ZoneOldAZS",
|
||||
"ZoneBlockPost",
|
||||
"ZoneTankSquare",
|
||||
"ZoneWade",
|
||||
"ZoneCustoms",
|
||||
"ZoneScavBase"
|
||||
]
|
||||
|
||||
export const Customs_SnipeSpawnZones =
|
||||
[
|
||||
"ZoneSnipeBrige",
|
||||
"ZoneSnipeTower",
|
||||
"ZoneSnipeFactory",
|
||||
"ZoneBlockPostSniper"
|
||||
]
|
||||
export const Factory_SpawnZones =
|
||||
[
|
||||
"BotZone"
|
||||
]
|
||||
export const Interchange_SpawnZones =
|
||||
[
|
||||
"ZoneCenterBot",
|
||||
"ZoneIDEA",
|
||||
"ZoneCenter",
|
||||
"ZoneIDEAPark",
|
||||
"ZoneTrucks",
|
||||
"ZoneRoad",
|
||||
"ZoneOLI",
|
||||
"ZoneGoshan",
|
||||
"ZoneOLIPark",
|
||||
"ZonePowerStation"
|
||||
]
|
||||
export const Labs_GateSpawnZones =
|
||||
[
|
||||
"BotZoneGate1",
|
||||
"BotZoneGate2"
|
||||
]
|
||||
export const Labs_NonGateSpawnZones =
|
||||
[
|
||||
"BotZoneBasement",
|
||||
"BotZoneFloor1",
|
||||
"BotZoneFloor2"
|
||||
]
|
||||
export const Lighthouse_NonWaterTreatmentSpawnZones =
|
||||
[
|
||||
"Zone_Containers",
|
||||
"Zone_Rocks",
|
||||
"Zone_Chalet",
|
||||
"Zone_Village",
|
||||
"Zone_Bridge",
|
||||
"Zone_OldHouse",
|
||||
"Zone_LongRoad",
|
||||
"Zone_RoofBeach",
|
||||
"Zone_DestroyedHouse",
|
||||
"Zone_RoofContainers",
|
||||
"Zone_Blockpost",
|
||||
"Zone_RoofRocks",
|
||||
"Zone_TreatmentRocks",
|
||||
"Zone_TreatmentContainers",
|
||||
"Zone_TreatmentBeach",
|
||||
"Zone_Hellicopter",
|
||||
"Zone_SniperPeak",
|
||||
"Zone_Island"
|
||||
]
|
||||
export const Lighthouse_WaterTreatmentSpawnZones =
|
||||
[
|
||||
"Zone_Containers",
|
||||
"Zone_Rocks",
|
||||
"Zone_Chalet",
|
||||
"Zone_Village",
|
||||
"Zone_Bridge",
|
||||
"Zone_OldHouse",
|
||||
"Zone_LongRoad",
|
||||
"Zone_RoofBeach",
|
||||
"Zone_DestroyedHouse",
|
||||
"Zone_RoofContainers",
|
||||
"Zone_Blockpost",
|
||||
"Zone_RoofRocks",
|
||||
"Zone_TreatmentRocks",
|
||||
"Zone_TreatmentContainers",
|
||||
"Zone_TreatmentBeach",
|
||||
"Zone_Hellicopter",
|
||||
"Zone_Island"
|
||||
]
|
||||
export const Lighthouse_SnipeSpawnZones =
|
||||
[
|
||||
"Zone_SniperPeak"
|
||||
]
|
||||
|
||||
export const Reserve_SpawnZones =
|
||||
[
|
||||
"ZoneRailStrorage",
|
||||
"ZonePTOR1",
|
||||
"ZonePTOR2",
|
||||
"ZoneBarrack",
|
||||
"ZoneBunkerStorage",
|
||||
"ZoneSubStorage",
|
||||
"ZoneSubCommand"
|
||||
]
|
||||
export const GroundZero_SpawnZones =
|
||||
[
|
||||
"ZoneSandbox"
|
||||
]
|
||||
export const GroundZero_SnipeSpawnZones =
|
||||
[
|
||||
"ZoneSandSnipeCenter",
|
||||
"ZoneSandSnipeCenter2"
|
||||
]
|
||||
export const Shoreline_SpawnZones =
|
||||
[
|
||||
"ZoneGreenHouses",
|
||||
"ZoneIsland",
|
||||
"ZoneForestGasStation",
|
||||
"ZoneGasStation",
|
||||
"ZonePowerStation",
|
||||
"ZoneBunker",
|
||||
"ZoneBusStation",
|
||||
"ZonePort",
|
||||
"ZoneForestTruck",
|
||||
"ZoneForestSpawn",
|
||||
"ZoneSanatorium1",
|
||||
"ZoneSanatorium2",
|
||||
"ZoneStartVillage",
|
||||
"ZoneMeteoStation",
|
||||
"ZoneRailWays",
|
||||
"ZoneSmuglers",
|
||||
"ZonePassClose",
|
||||
"ZoneTunnel"
|
||||
]
|
||||
export const Shoreline_SnipeSpawnZones =
|
||||
[
|
||||
"ZoneBunkeSniper",
|
||||
"ZonePowerStationSniper"
|
||||
]
|
||||
export const Streets_SpawnZones =
|
||||
[
|
||||
"ZoneSW01",
|
||||
"ZoneConstruction",
|
||||
"ZoneCarShowroom",
|
||||
"ZoneCinema",
|
||||
"ZoneFactory",
|
||||
"ZoneHotel_1",
|
||||
"ZoneHotel_2",
|
||||
"ZoneConcordia_1",
|
||||
"ZoneConcordiaParking",
|
||||
"ZoneColumn",
|
||||
"ZoneSW00",
|
||||
"ZoneStilo",
|
||||
"ZoneCard1",
|
||||
"ZoneMvd",
|
||||
"ZoneClimova"
|
||||
]
|
||||
export const Streets_SnipeSpawnZones =
|
||||
[
|
||||
"ZoneSnipeCinema",
|
||||
"ZoneSnipeBuilding",
|
||||
"ZoneSnipeSW01",
|
||||
"ZoneSnipeStilo",
|
||||
"ZoneSnipeCard",
|
||||
"ZoneSnipeCarShowroom"
|
||||
]
|
||||
export const Woods_SpawnZones =
|
||||
[
|
||||
"ZoneWoodCutter",
|
||||
"ZoneHouse",
|
||||
"ZoneBigRocks",
|
||||
"ZoneRoad",
|
||||
"ZoneHighRocks",
|
||||
"ZoneMiniHouse",
|
||||
"ZoneRedHouse",
|
||||
"ZoneScavBase2",
|
||||
"ZoneClearVill",
|
||||
"ZoneBrokenVill",
|
||||
"ZoneUsecBase",
|
||||
"ZoneStoneBunker",
|
||||
"ZoneDepo"
|
||||
]
|
||||
export const Woods_SnipeSpawnZones =
|
||||
[
|
||||
"ZoneHighRocks"
|
||||
]
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
export const pmcUSECData =
|
||||
[
|
||||
{
|
||||
"BossChance": 100,
|
||||
"BossDifficult": "normal",
|
||||
"BossEscortAmount": "0",
|
||||
"BossEscortDifficult": "normal",
|
||||
"BossEscortType": "pmcUSEC",
|
||||
"BossName": "pmcUSEC",
|
||||
"BossPlayer": false,
|
||||
"BossZone": "",
|
||||
"Delay": 0,
|
||||
"DependKarma": false,
|
||||
"DependKarmaPVE": false,
|
||||
"ForceSpawn": false,
|
||||
"IgnoreMaxBots": true,
|
||||
"RandomTimeSpawn": false,
|
||||
"SpawnMode": [
|
||||
"pve"
|
||||
],
|
||||
"Supports": null,
|
||||
"Time": -1,
|
||||
"TriggerId": "",
|
||||
"TriggerName": ""
|
||||
}
|
||||
]
|
||||
|
||||
export const pmcBEARData =
|
||||
[
|
||||
{
|
||||
"BossChance": 100,
|
||||
"BossDifficult": "normal",
|
||||
"BossEscortAmount": "0",
|
||||
"BossEscortDifficult": "normal",
|
||||
"BossEscortType": "pmcBEAR",
|
||||
"BossName": "pmcBEAR",
|
||||
"BossPlayer": false,
|
||||
"BossZone": "",
|
||||
"Delay": 0,
|
||||
"DependKarma": false,
|
||||
"DependKarmaPVE": false,
|
||||
"ForceSpawn": false,
|
||||
"IgnoreMaxBots": true,
|
||||
"RandomTimeSpawn": false,
|
||||
"SpawnMode": [
|
||||
"pve"
|
||||
],
|
||||
"Supports": null,
|
||||
"Time": -1,
|
||||
"TriggerId": "",
|
||||
"TriggerName": ""
|
||||
}
|
||||
]
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
import { WildSpawnType } from "@spt/models/eft/common/ILocationBase";
|
||||
|
||||
export const scavData =
|
||||
{
|
||||
"BotPreset": "easy",
|
||||
"BotSide": "Savage",
|
||||
"SpawnMode": [
|
||||
"pve"
|
||||
],
|
||||
"SpawnPoints": "ZoneBrige",
|
||||
"WildSpawnType": WildSpawnType.ASSAULT,
|
||||
"isPlayers": false,
|
||||
"number": 0,
|
||||
"slots_max": 0,
|
||||
"slots_min": 0,
|
||||
"time_max": -1,
|
||||
"time_min": -1
|
||||
}
|
||||
+153
@@ -0,0 +1,153 @@
|
||||
import { inject, injectable } from "tsyringe";
|
||||
import type { FileSystemSync } from "@spt/utils/FileSystemSync";
|
||||
import type { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||
import path from "node:path";
|
||||
import { MinMax } from "@spt/models/common/MinMax";
|
||||
|
||||
@injectable()
|
||||
export class ModConfig
|
||||
{
|
||||
public static config: Config;
|
||||
private lol: string;
|
||||
|
||||
constructor(
|
||||
@inject("PrimaryLogger") private logger: ILogger,
|
||||
@inject("FileSystemSync") private fileSystemSync: FileSystemSync
|
||||
)
|
||||
{
|
||||
ModConfig.config = this.fileSystemSync.readJson(path.resolve(__dirname, "../../config/config.json"));
|
||||
}
|
||||
}
|
||||
export interface Config
|
||||
{
|
||||
pmcDifficulty: Record<DifficultyConfig, number>,
|
||||
pmcConfig: PMCConfig,
|
||||
scavConfig: ScavConfig,
|
||||
bossDifficulty: Record<DifficultyConfig, number>,
|
||||
bossConfig: BossConfig,
|
||||
configAppSettings: ConfigAppSettings,
|
||||
}
|
||||
export interface PMCConfig
|
||||
{
|
||||
startingPMCs: PMCStartingConfig,
|
||||
waves: WaveConfig,
|
||||
}
|
||||
export interface ScavConfig
|
||||
{
|
||||
startingScavs: ScavStartingConfig,
|
||||
waves: ScavWaveConfig,
|
||||
}
|
||||
export interface ScavStartingConfig
|
||||
{
|
||||
enable: boolean,
|
||||
maxBotSpawns: ValidLocations,
|
||||
maxBotsPerZone: number,
|
||||
startingMarksman: boolean,
|
||||
}
|
||||
export interface ScavWaveConfig
|
||||
{
|
||||
enable: boolean,
|
||||
enableCustomFactory: boolean,
|
||||
startSpawns: number,
|
||||
stopSpawns: number,
|
||||
activeTimeMin: number,
|
||||
activeTimeMax: number,
|
||||
quietTimeMin: number,
|
||||
quietTimeMax: number,
|
||||
checkToSpawnTimer: number,
|
||||
pendingBotsToTrigger: number,
|
||||
}
|
||||
export type DifficultyConfig = "easy" | "normal" | "hard" | "impossible";
|
||||
export interface PMCStartingConfig
|
||||
{
|
||||
enable: boolean,
|
||||
ignoreMaxBotCaps: boolean,
|
||||
groupChance: number,
|
||||
maxGroupSize: number,
|
||||
maxGroupCount: number,
|
||||
mapLimits: MinMaxLocations
|
||||
}
|
||||
export interface WaveConfig
|
||||
{
|
||||
enable: boolean,
|
||||
ignoreMaxBotCaps: boolean,
|
||||
groupChance: number,
|
||||
maxGroupSize: number,
|
||||
maxGroupCount: number,
|
||||
maxBotsPerWave: number,
|
||||
delayBeforeFirstWave: number,
|
||||
secondsBetweenWaves: number,
|
||||
stopWavesBeforeEndOfRaidLimit: number
|
||||
}
|
||||
export interface BossConfig
|
||||
{
|
||||
bossKnight: BossLocationInfo,
|
||||
bossBully: BossLocationInfo,
|
||||
bossTagilla: BossLocationInfo,
|
||||
bossKilla: BossLocationInfo,
|
||||
bossZryachiy: BossLocationInfo,
|
||||
bossGluhar: BossLocationInfo,
|
||||
bossSanitar: BossLocationInfo,
|
||||
bossKolontay: BossLocationInfo,
|
||||
bossBoar: BossLocationInfo,
|
||||
bossKojaniy: BossLocationInfo,
|
||||
bossPartisan: BossLocationInfo,
|
||||
sectantPriest: BossLocationInfo,
|
||||
arenaFighterEvent: BossLocationInfo,
|
||||
pmcBot: SpecialLocationInfo,
|
||||
exUsec: SpecialLocationInfo,
|
||||
gifter: BossLocationInfo,
|
||||
}
|
||||
export interface BossLocationInfo
|
||||
{
|
||||
enable: boolean,
|
||||
time: number,
|
||||
spawnChance: ValidLocations,
|
||||
bossZone: ValidLocations;
|
||||
}
|
||||
export interface SpecialLocationInfo
|
||||
{
|
||||
enable: boolean,
|
||||
addExtraSpawns: boolean,
|
||||
disableVanillaSpawns: boolean,
|
||||
time: number,
|
||||
spawnChance: ValidLocations,
|
||||
bossZone: ValidLocations;
|
||||
}
|
||||
export interface ValidLocations
|
||||
{
|
||||
bigmap: number | string,
|
||||
factory4_day: number | string,
|
||||
factory4_night: number | string,
|
||||
interchange: number | string,
|
||||
laboratory: number | string,
|
||||
lighthouse: number | string,
|
||||
rezervbase: number | string,
|
||||
sandbox: number | string,
|
||||
sandbox_high: number | string,
|
||||
shoreline: number | string,
|
||||
tarkovstreets: number | string,
|
||||
woods: number | string,
|
||||
}
|
||||
export interface MinMaxLocations
|
||||
{
|
||||
bigmap: MinMax,
|
||||
factory4_day: MinMax,
|
||||
factory4_night: MinMax,
|
||||
interchange: MinMax,
|
||||
laboratory: MinMax,
|
||||
lighthouse: MinMax,
|
||||
rezervbase: MinMax,
|
||||
sandbox: MinMax,
|
||||
sandbox_high: MinMax,
|
||||
shoreline: MinMax,
|
||||
tarkovstreets: MinMax,
|
||||
woods: MinMax,
|
||||
}
|
||||
|
||||
export interface ConfigAppSettings
|
||||
{
|
||||
showUndo: boolean,
|
||||
showDefault: boolean,
|
||||
disableAnimations: boolean
|
||||
}
|
||||
+96
@@ -0,0 +1,96 @@
|
||||
// SPT
|
||||
import { DependencyContainer, Lifecycle } from "tsyringe";
|
||||
import { PreSptModLoader } from "@spt/loaders/PreSptModLoader";
|
||||
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||
import { StaticRouterModService } from "@spt/services/mod/staticRouter/StaticRouterModService";
|
||||
import { DatabaseService } from "@spt/services/DatabaseService";
|
||||
import { FileSystemSync } from "@spt/utils/FileSystemSync";
|
||||
|
||||
// Custom
|
||||
import { ModConfig } from "./Globals/ModConfig";
|
||||
import { MapSpawnControl } from "./Controls/MapSpawnControl";
|
||||
import { BossSpawnControl } from "./Controls/BossSpawnControl";
|
||||
import { ICloner } from "@spt/utils/cloners/ICloner";
|
||||
import { VanillaAdjustmentControl } from "./Controls/VanillaAdjustmentControl";
|
||||
import { PMCSpawnControl } from "./Controls/PMCSpawnControl";
|
||||
import { StaticRouterHooks } from "./Routers/StaticRouterHooks";
|
||||
import { WeightedRandomHelper } from "@spt/helpers/WeightedRandomHelper";
|
||||
import { ScavSpawnControl } from "./Controls/ScavSpawnControl";
|
||||
|
||||
export class InstanceManager
|
||||
{
|
||||
//#region accessible in or after preSptLoad
|
||||
public modName: string;
|
||||
public container: DependencyContainer;
|
||||
public preSptModLoader: PreSptModLoader;
|
||||
public logger: ILogger;
|
||||
public fileSystemSync: FileSystemSync;
|
||||
public cloner: ICloner;
|
||||
public staticRouterModService: StaticRouterModService;
|
||||
|
||||
public staticRouterHooks: StaticRouterHooks;
|
||||
public modConfig: ModConfig;
|
||||
//#endregion
|
||||
|
||||
//#region accessible in or after postDBLoad
|
||||
public databaseService: DatabaseService;
|
||||
public weightedRandomHelper: WeightedRandomHelper;
|
||||
public vanillaAdjustmentControl: VanillaAdjustmentControl;
|
||||
public bossSpawnControl: BossSpawnControl;
|
||||
public pmcSpawnControl: PMCSpawnControl;
|
||||
public scavSpawnControl: ScavSpawnControl;
|
||||
public mapSpawnControl: MapSpawnControl;
|
||||
//#endregion
|
||||
|
||||
//#region accessible in or after PostSptLoad
|
||||
|
||||
//#endregion
|
||||
|
||||
// Call at the start of the mods postDBLoad method
|
||||
public preSptLoad(container: DependencyContainer, mod: string): void
|
||||
{
|
||||
this.modName = mod;
|
||||
this.container = container;
|
||||
|
||||
// SPT Classes
|
||||
this.preSptModLoader = container.resolve<PreSptModLoader>("PreSptModLoader");
|
||||
this.logger = container.resolve<ILogger>("WinstonLogger");
|
||||
this.fileSystemSync = container.resolve<FileSystemSync>("FileSystemSync");
|
||||
this.cloner = container.resolve<ICloner>("PrimaryCloner");
|
||||
this.staticRouterModService = container.resolve<StaticRouterModService>("StaticRouterModService");
|
||||
|
||||
// Custom Classes
|
||||
this.container.register<VanillaAdjustmentControl>("VanillaAdjustmentControl", VanillaAdjustmentControl, { lifecycle: Lifecycle.Singleton })
|
||||
this.container.register<BossSpawnControl>("BossSpawnControl", BossSpawnControl, { lifecycle: Lifecycle.Singleton })
|
||||
this.container.register<ScavSpawnControl>("ScavSpawnControl", ScavSpawnControl, { lifecycle: Lifecycle.Singleton })
|
||||
this.container.register<PMCSpawnControl>("PMCSpawnControl", PMCSpawnControl, { lifecycle: Lifecycle.Singleton })
|
||||
this.container.register<MapSpawnControl>("MapSpawnControl", MapSpawnControl, { lifecycle: Lifecycle.Singleton })
|
||||
|
||||
this.container.register<StaticRouterHooks>("StaticRouterHooks", StaticRouterHooks, { lifecycle: Lifecycle.Singleton })
|
||||
this.staticRouterHooks = container.resolve<StaticRouterHooks>("StaticRouterHooks");
|
||||
|
||||
// Custom Special
|
||||
|
||||
// Resolve this last to set mod configs
|
||||
this.container.register<ModConfig>("ModConfig", ModConfig, { lifecycle: Lifecycle.Singleton })
|
||||
this.modConfig = container.resolve<ModConfig>("ModConfig");
|
||||
}
|
||||
|
||||
public postDBLoad(container: DependencyContainer): void
|
||||
{
|
||||
// SPT Classes
|
||||
this.databaseService = container.resolve<DatabaseService>("DatabaseService");
|
||||
this.weightedRandomHelper = container.resolve<WeightedRandomHelper>("WeightedRandomHelper");
|
||||
this.vanillaAdjustmentControl = container.resolve<VanillaAdjustmentControl>("VanillaAdjustmentControl");
|
||||
this.bossSpawnControl = container.resolve<BossSpawnControl>("BossSpawnControl");
|
||||
this.scavSpawnControl = container.resolve<ScavSpawnControl>("ScavSpawnControl");
|
||||
this.pmcSpawnControl = container.resolve<PMCSpawnControl>("PMCSpawnControl");
|
||||
this.mapSpawnControl = container.resolve<MapSpawnControl>("MapSpawnControl");
|
||||
}
|
||||
|
||||
public postSptLoad(container: DependencyContainer): void
|
||||
{
|
||||
// SPT Classes
|
||||
this.databaseService = container.resolve<DatabaseService>("DatabaseService");
|
||||
}
|
||||
}
|
||||
+129
@@ -0,0 +1,129 @@
|
||||
import { inject, injectable } from "tsyringe";
|
||||
import { StaticRouterModService } from "@spt/services/mod/staticRouter/StaticRouterModService";
|
||||
import { MapSpawnControl } from "../Controls/MapSpawnControl";
|
||||
import path from "node:path";
|
||||
import { FileSystemSync } from "@spt/utils/FileSystemSync";
|
||||
|
||||
@injectable()
|
||||
export class StaticRouterHooks
|
||||
{
|
||||
public cacheRebuilt: boolean = false;
|
||||
public mapToRebuild: string = "";
|
||||
public bossTrackingData: BossTrackingData = null;
|
||||
|
||||
constructor(
|
||||
@inject("StaticRouterModService") protected staticRouterService: StaticRouterModService,
|
||||
@inject("MapSpawnControl") protected mapSpawnControl: MapSpawnControl,
|
||||
@inject("FileSystemSync") protected fileSystem: FileSystemSync
|
||||
)
|
||||
{}
|
||||
|
||||
public registerRouterHooks(): void
|
||||
{
|
||||
|
||||
this.staticRouterService.registerStaticRouter(
|
||||
"ABPS-StartMatchRouter",
|
||||
[
|
||||
{
|
||||
url: "/client/match/local/start",
|
||||
action: async (url, info, sessionId, output) =>
|
||||
{
|
||||
this.mapToRebuild = info.location;
|
||||
if (this.cacheRebuilt)
|
||||
{
|
||||
this.cacheRebuilt = false;
|
||||
}
|
||||
return output;
|
||||
}
|
||||
}
|
||||
],
|
||||
"ABPS"
|
||||
);
|
||||
|
||||
this.staticRouterService.registerStaticRouter(
|
||||
"ABPS-EndMatchRouter",
|
||||
[
|
||||
{
|
||||
url: "/client/match/local/end",
|
||||
action: async (url, info, sessionId, output) =>
|
||||
{
|
||||
if (!this.cacheRebuilt)
|
||||
{
|
||||
this.mapSpawnControl.rebuildCache(this.mapToRebuild);
|
||||
this.cacheRebuilt = true;
|
||||
}
|
||||
return output;
|
||||
}
|
||||
}
|
||||
],
|
||||
"ABPS"
|
||||
);
|
||||
|
||||
this.staticRouterService.registerStaticRouter(
|
||||
"ABPS-BossTrackingRoutes",
|
||||
[
|
||||
{
|
||||
url: "/abps/save",
|
||||
action: async (url, info: BossTrackingData, sessionId, output) => this.saveBossTrackingData(info)
|
||||
},
|
||||
{
|
||||
url: "/abps/load",
|
||||
action: async (url, info, sessionId, output) => JSON.stringify(this.bossTrackingData)
|
||||
}
|
||||
],
|
||||
"ABPS"
|
||||
);
|
||||
|
||||
this.load();
|
||||
}
|
||||
|
||||
private async saveBossTrackingData(payload: BossTrackingData): Promise<string>
|
||||
{
|
||||
if (!payload)
|
||||
{
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.bossTrackingData = payload;
|
||||
}
|
||||
|
||||
await this.save();
|
||||
return JSON.stringify({ success: true });
|
||||
}
|
||||
|
||||
private async save(): Promise<void>
|
||||
{
|
||||
try
|
||||
{
|
||||
const filename = path.join(__dirname, "../../bossTrackingData.json");
|
||||
await this.fileSystem.writeJson(filename, this.bossTrackingData, 2);
|
||||
}
|
||||
catch (error)
|
||||
{
|
||||
console.error("[ABPS] Failed to save boss tracking data! " + error);
|
||||
}
|
||||
}
|
||||
|
||||
public async load(): Promise<void>
|
||||
{
|
||||
const filename = path.join(__dirname, "../../bossTrackingData.json");
|
||||
if (this.fileSystem.exists(filename))
|
||||
{
|
||||
const jsonData = this.fileSystem.readJson(filename);
|
||||
this.bossTrackingData = jsonData;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.bossTrackingData = {};
|
||||
await this.save();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
type BossTrackingInfo = {
|
||||
spawnedLastRaid: boolean,
|
||||
chance: number,
|
||||
};
|
||||
|
||||
type BossTrackingData = Record<string, Record<string, BossTrackingInfo>>;
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
import { ExhaustableArray } from "@spt/models/spt/server/ExhaustableArray";
|
||||
import { ICloner } from "@spt/utils/cloners/ICloner";
|
||||
import { RandomUtil } from "@spt/utils/RandomUtil";
|
||||
|
||||
export function createExhaustableArray<T>(itemsToAddToArray: T[], randomUtil: RandomUtil, cloner: ICloner): ExhaustableArray<T>
|
||||
{
|
||||
return new ExhaustableArray<T>(itemsToAddToArray, randomUtil, cloner);
|
||||
}
|
||||
@@ -0,0 +1,76 @@
|
||||
import { DependencyContainer } from "tsyringe";
|
||||
import { IPreSptLoadMod } from "@spt/models/external/IPreSptLoadMod";
|
||||
import { IPostDBLoadMod } from "@spt/models/external/IPostDBLoadMod";
|
||||
import { InstanceManager } from "./InstanceManager";
|
||||
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||
import { ConfigTypes } from "@spt/models/enums/ConfigTypes";
|
||||
import { ICoreConfig } from "@spt/models/spt/config/ICoreConfig";
|
||||
import { ConfigServer } from "@spt/servers/ConfigServer";
|
||||
import { FileSystemSync } from "@spt/utils/FileSystemSync";
|
||||
|
||||
import { minVersion, satisfies, SemVer } from "semver";
|
||||
import path from "node:path";
|
||||
|
||||
import { ILocationBase } from "@spt/models/eft/common/ILocationBase";
|
||||
import { IRaidChanges } from "@spt/models/spt/location/IRaidChanges";
|
||||
|
||||
|
||||
class ABPS implements IPreSptLoadMod, IPostDBLoadMod
|
||||
{
|
||||
// Create InstanceManager - Thank you Cj as per usual
|
||||
private instance: InstanceManager = new InstanceManager();
|
||||
|
||||
// PreSPTLoad
|
||||
public preSptLoad(container: DependencyContainer): void
|
||||
{
|
||||
const logger = container.resolve<ILogger>("WinstonLogger");
|
||||
if (!this.validSptVersion(container))
|
||||
{
|
||||
logger.error(`[ABPS] This version of ABPS was not made for your version of SPT. Disabling. Requires ${this.validMinimumSptVersion(container)} or higher.`);
|
||||
return;
|
||||
}
|
||||
|
||||
this.instance.preSptLoad(container, "ABPS");
|
||||
this.instance.staticRouterHooks.registerRouterHooks();
|
||||
|
||||
container.afterResolution("RaidTimeAdjustmentService", (_t, result: any) =>
|
||||
{
|
||||
result.adjustWaves = (mapBase: ILocationBase, raidAdjustments: IRaidChanges) =>
|
||||
{
|
||||
this.instance.mapSpawnControl.adjustWaves(mapBase, raidAdjustments);
|
||||
}
|
||||
}, {frequency: "Always"});
|
||||
}
|
||||
|
||||
// PostDBLoad
|
||||
public postDBLoad(container: DependencyContainer): void
|
||||
{
|
||||
this.instance.postDBLoad(container);
|
||||
this.instance.mapSpawnControl.configureInitialData();
|
||||
}
|
||||
|
||||
// Version Validation
|
||||
public validSptVersion(container: DependencyContainer): boolean
|
||||
{
|
||||
const fileSysem = container.resolve<FileSystemSync>("FileSystemSync");
|
||||
const configServer = container.resolve<ConfigServer>("ConfigServer");
|
||||
const sptConfig = configServer.getConfig<ICoreConfig>(ConfigTypes.CORE);
|
||||
|
||||
const sptVersion = globalThis.G_SPTVERSION || sptConfig.sptVersion;
|
||||
const packageJsonPath: string = path.join(__dirname, "../package.json");
|
||||
const modSptVersion = fileSysem.readJson(packageJsonPath).sptVersion;
|
||||
|
||||
return satisfies(sptVersion, modSptVersion);
|
||||
}
|
||||
|
||||
public validMinimumSptVersion(container: DependencyContainer): SemVer
|
||||
{
|
||||
const fileSysem = container.resolve<FileSystemSync>("FileSystemSync");
|
||||
const packageJsonPath: string = path.join(__dirname, "../package.json");
|
||||
const modSptVersion = fileSysem.readJson(packageJsonPath).sptVersion;
|
||||
|
||||
return minVersion(modSptVersion)
|
||||
}
|
||||
}
|
||||
|
||||
export const mod = new ABPS();
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
[General]
|
||||
gameName=spt
|
||||
modid=0
|
||||
version=d2025.1.7.0
|
||||
version=d2025.1.14.0
|
||||
newestVersion=
|
||||
category="1,"
|
||||
nexusFileStatus=1
|
||||
+18
-18
@@ -15,9 +15,9 @@
|
||||
// enableSafeGuard - Enables preventing weapon importing from bastardizing vanilla weapons. If you disable this, you will get cursed vanilla weapons.
|
||||
// Higher weights = more often. Lower weights = less often. If you add a LOT of mod weapons, I suggest using a lower value.
|
||||
// REVIEW THE APBS LOGS TO TUNE YOUR CONFIG. (\user\mods\acidphantasm-progressivebotsystem\logs)
|
||||
"enableModdedWeapons": false,
|
||||
"enableModdedEquipment": false,
|
||||
"enableModdedClothing": false,
|
||||
"enableModdedWeapons": true,
|
||||
"enableModdedEquipment": true,
|
||||
"enableModdedClothing": true,
|
||||
"initalTierAppearance": 3,
|
||||
"pmcWeaponWeights": 10,
|
||||
"scavWeaponWeights": 1,
|
||||
@@ -235,14 +235,14 @@
|
||||
// "enableCustomLevelDeltas" if true will use the values you set below, otherwise they will use APBS values
|
||||
// THE BELOW VALUES BY DEFAULT ARE APBS DEFAULTS
|
||||
// IF YOU WANT EVERY TIER AT EVERY LEVEL, SET ALL OF THESE TO: [ 79, 79 ]
|
||||
"enableCustomLevelDeltas": false,
|
||||
"tier1LevelDelta": [ 10, 5 ],
|
||||
"tier2LevelDelta": [ 10, 5 ],
|
||||
"tier3LevelDelta": [ 15, 7 ],
|
||||
"tier4LevelDelta": [ 20, 10 ],
|
||||
"tier5LevelDelta": [ 30, 15 ],
|
||||
"tier6LevelDelta": [ 40, 20 ],
|
||||
"tier7LevelDelta": [ 50, 20 ],
|
||||
"enableCustomLevelDeltas": true,
|
||||
"tier1LevelDelta": [ 10, 5 ], // 1-10
|
||||
"tier2LevelDelta": [ 20, 5 ], // 11-20
|
||||
"tier3LevelDelta": [ 25, 7 ], // 21-30
|
||||
"tier4LevelDelta": [ 35, 10 ], // 31-40
|
||||
"tier5LevelDelta": [ 40, 15 ], // 41-50
|
||||
"tier6LevelDelta": [ 50, 20 ], // 51-60
|
||||
"tier7LevelDelta": [ 55, 20 ], // 61-79
|
||||
|
||||
// LevelDelta's are the lowest and highest levels that AI can spawn relative to the player's level.
|
||||
// Examples:
|
||||
@@ -251,13 +251,13 @@
|
||||
// "enableScavCustomLevelDeltas" if true will use the values you set below, otherwise they will use APBS values
|
||||
// Default values below will always spawn scavs that are at least 1 tier below you unless you are Tier1.
|
||||
"enableScavCustomLevelDeltas": false,
|
||||
"tier1ScavLevelDelta": [ 10, 0 ],
|
||||
"tier2ScavLevelDelta": [ 10, -10 ],
|
||||
"tier3ScavLevelDelta": [ 15, -10 ],
|
||||
"tier4ScavLevelDelta": [ 20, -10 ],
|
||||
"tier5ScavLevelDelta": [ 30, -10 ],
|
||||
"tier6ScavLevelDelta": [ 40, -10 ],
|
||||
"tier7ScavLevelDelta": [ 50, -10 ],
|
||||
"tier1ScavLevelDelta": [ 10, 0 ], // 1-10
|
||||
"tier2ScavLevelDelta": [ 10, -10 ], // 11-20
|
||||
"tier3ScavLevelDelta": [ 15, -10 ], // 21-30
|
||||
"tier4ScavLevelDelta": [ 20, -10 ], // 31-40
|
||||
"tier5ScavLevelDelta": [ 30, -10 ], // 41-50
|
||||
"tier6ScavLevelDelta": [ 40, -10 ], // 51-60
|
||||
"tier7ScavLevelDelta": [ 50, -10 ], // 61-79
|
||||
|
||||
// Enable/disable debug logging
|
||||
"enableDebugLog": true
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "Acids Progressive Bot System",
|
||||
"version": "1.4.0",
|
||||
"version": "1.4.2",
|
||||
"sptVersion": "~3.10",
|
||||
"loadBefore": [],
|
||||
"loadAfter": [
|
||||
+1
-1
@@ -11980,7 +11980,7 @@
|
||||
"mod_pistol_grip": 100,
|
||||
"mod_pistol_grip_akms": 0,
|
||||
"mod_pistolgrip": 0,
|
||||
"mod_pistolgrip_000": 0,
|
||||
"mod_pistolgrip_000": 100,
|
||||
"mod_reciever": 100,
|
||||
"mod_scope": 13,
|
||||
"mod_scope_000": 0,
|
||||
+8
-4
@@ -3,8 +3,10 @@
|
||||
"equipment": {
|
||||
"FirstPrimaryWeapon": {
|
||||
"LongRange": {
|
||||
"5c07c60e0db834002330051f": 30,
|
||||
"5bfea6e90db834001b7347f3": 20
|
||||
"5c07c60e0db834002330051f": 25,
|
||||
"5bfea6e90db834001b7347f3": 15,
|
||||
"623063e994fc3f7b302a9696": 8,
|
||||
"5447a9cd4bdc2dbd208b4567": 8
|
||||
},
|
||||
"ShortRange": {
|
||||
"5a7828548dc32e5a9c28b516": 20,
|
||||
@@ -50,8 +52,10 @@
|
||||
},
|
||||
"SecondPrimaryWeapon": {
|
||||
"LongRange": {
|
||||
"5c07c60e0db834002330051f": 30,
|
||||
"5bfea6e90db834001b7347f3": 20
|
||||
"5c07c60e0db834002330051f": 25,
|
||||
"5bfea6e90db834001b7347f3": 15,
|
||||
"623063e994fc3f7b302a9696": 8,
|
||||
"5447a9cd4bdc2dbd208b4567": 8
|
||||
},
|
||||
"ShortRange": {
|
||||
"5a7828548dc32e5a9c28b516": 20,
|
||||
+1
-5
@@ -6378,11 +6378,7 @@
|
||||
"5a789261c5856700186c65d3"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {
|
||||
"mod_scope": [
|
||||
"609b9e31506cf869cf3eaf41"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {},
|
||||
"5a788031c585673f2b5c1c79": {
|
||||
"mod_foregrip": [
|
||||
"5c7fc87d2e221644f31c0298",
|
||||
+1
-1
@@ -11990,7 +11990,7 @@
|
||||
"mod_pistol_grip": 100,
|
||||
"mod_pistol_grip_akms": 0,
|
||||
"mod_pistolgrip": 0,
|
||||
"mod_pistolgrip_000": 0,
|
||||
"mod_pistolgrip_000": 100,
|
||||
"mod_reciever": 100,
|
||||
"mod_scope": 13,
|
||||
"mod_scope_000": 0,
|
||||
+6
-2
@@ -6,7 +6,9 @@
|
||||
"5c07c60e0db834002330051f": 25,
|
||||
"5d43021ca4b9362eab4b5e25": 3,
|
||||
"5b0bbe4e5acfc40dc528a72d": 1,
|
||||
"5bfea6e90db834001b7347f3": 20
|
||||
"5bfea6e90db834001b7347f3": 15,
|
||||
"623063e994fc3f7b302a9696": 8,
|
||||
"5447a9cd4bdc2dbd208b4567": 8
|
||||
},
|
||||
"ShortRange": {
|
||||
"5a7828548dc32e5a9c28b516": 15,
|
||||
@@ -59,7 +61,9 @@
|
||||
"5c07c60e0db834002330051f": 25,
|
||||
"5d43021ca4b9362eab4b5e25": 3,
|
||||
"5b0bbe4e5acfc40dc528a72d": 1,
|
||||
"5bfea6e90db834001b7347f3": 20
|
||||
"5bfea6e90db834001b7347f3": 15,
|
||||
"623063e994fc3f7b302a9696": 8,
|
||||
"5447a9cd4bdc2dbd208b4567": 8
|
||||
},
|
||||
"ShortRange": {
|
||||
"5a7828548dc32e5a9c28b516": 15,
|
||||
+1
-5
@@ -6607,11 +6607,7 @@
|
||||
"5a789261c5856700186c65d3"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {
|
||||
"mod_scope": [
|
||||
"609b9e31506cf869cf3eaf41"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {},
|
||||
"5a788031c585673f2b5c1c79": {
|
||||
"mod_foregrip": [
|
||||
"5c7fc87d2e221644f31c0298",
|
||||
+1
-1
@@ -12002,7 +12002,7 @@
|
||||
"mod_pistol_grip": 100,
|
||||
"mod_pistol_grip_akms": 0,
|
||||
"mod_pistolgrip": 0,
|
||||
"mod_pistolgrip_000": 0,
|
||||
"mod_pistolgrip_000": 100,
|
||||
"mod_reciever": 100,
|
||||
"mod_scope": 13,
|
||||
"mod_scope_000": 0,
|
||||
+11
-6
@@ -4,10 +4,12 @@
|
||||
"FirstPrimaryWeapon": {
|
||||
"LongRange": {
|
||||
"5c07c60e0db834002330051f": 25,
|
||||
"5d43021ca4b9362eab4b5e25": 25,
|
||||
"5d43021ca4b9362eab4b5e25": 20,
|
||||
"5b0bbe4e5acfc40dc528a72d": 15,
|
||||
"5bfea6e90db834001b7347f3": 25,
|
||||
"5df8ce05b11454561e39243b": 10
|
||||
"5bfea6e90db834001b7347f3": 20,
|
||||
"5df8ce05b11454561e39243b": 15,
|
||||
"623063e994fc3f7b302a9696": 8,
|
||||
"5447a9cd4bdc2dbd208b4567": 8
|
||||
},
|
||||
"ShortRange": {
|
||||
"5a7828548dc32e5a9c28b516": 5,
|
||||
@@ -75,10 +77,12 @@
|
||||
"SecondPrimaryWeapon": {
|
||||
"LongRange": {
|
||||
"5c07c60e0db834002330051f": 25,
|
||||
"5d43021ca4b9362eab4b5e25": 25,
|
||||
"5d43021ca4b9362eab4b5e25": 20,
|
||||
"5b0bbe4e5acfc40dc528a72d": 15,
|
||||
"5bfea6e90db834001b7347f3": 25,
|
||||
"5df8ce05b11454561e39243b": 10
|
||||
"5bfea6e90db834001b7347f3": 20,
|
||||
"5df8ce05b11454561e39243b": 15,
|
||||
"623063e994fc3f7b302a9696": 8,
|
||||
"5447a9cd4bdc2dbd208b4567": 8
|
||||
},
|
||||
"ShortRange": {
|
||||
"5a7828548dc32e5a9c28b516": 5,
|
||||
@@ -753,6 +757,7 @@
|
||||
"56e335e4d2720b6c058b456d": 20,
|
||||
"5ca20d5986f774331e7c9602": 10,
|
||||
"5e9dcf5986f7746c417435b3": 10,
|
||||
"59e763f286f7742ee57895da": 15,
|
||||
"6038d614d10cbf667352dd44": 1,
|
||||
"6034d103ca006d2dca39b3f0": 1,
|
||||
"656ddcf0f02d7bcea90bf395": 1,
|
||||
+1
-5
@@ -6708,11 +6708,7 @@
|
||||
"5a789261c5856700186c65d3"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {
|
||||
"mod_scope": [
|
||||
"609b9e31506cf869cf3eaf41"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {},
|
||||
"5a788031c585673f2b5c1c79": {
|
||||
"mod_foregrip": [
|
||||
"5c7fc87d2e221644f31c0298",
|
||||
+1
-1
@@ -11994,7 +11994,7 @@
|
||||
"mod_pistol_grip": 100,
|
||||
"mod_pistol_grip_akms": 0,
|
||||
"mod_pistolgrip": 0,
|
||||
"mod_pistolgrip_000": 0,
|
||||
"mod_pistolgrip_000": 100,
|
||||
"mod_reciever": 100,
|
||||
"mod_scope": 13,
|
||||
"mod_scope_000": 0,
|
||||
+1
-5
@@ -7529,11 +7529,7 @@
|
||||
"5a789261c5856700186c65d3"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {
|
||||
"mod_scope": [
|
||||
"609b9e31506cf869cf3eaf41"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {},
|
||||
"5a788031c585673f2b5c1c79": {
|
||||
"mod_foregrip": [
|
||||
"5cda9bcfd7f00c0c0b53e900",
|
||||
+1
-1
@@ -11982,7 +11982,7 @@
|
||||
"mod_pistol_grip": 100,
|
||||
"mod_pistol_grip_akms": 0,
|
||||
"mod_pistolgrip": 0,
|
||||
"mod_pistolgrip_000": 0,
|
||||
"mod_pistolgrip_000": 100,
|
||||
"mod_reciever": 100,
|
||||
"mod_scope": 13,
|
||||
"mod_scope_000": 0,
|
||||
+1
-5
@@ -7319,11 +7319,7 @@
|
||||
"5a789261c5856700186c65d3"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {
|
||||
"mod_scope": [
|
||||
"609b9e31506cf869cf3eaf41"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {},
|
||||
"5a788031c585673f2b5c1c79": {
|
||||
"mod_foregrip": [
|
||||
"5cda9bcfd7f00c0c0b53e900",
|
||||
+1
-1
@@ -11982,7 +11982,7 @@
|
||||
"mod_pistol_grip": 100,
|
||||
"mod_pistol_grip_akms": 0,
|
||||
"mod_pistolgrip": 0,
|
||||
"mod_pistolgrip_000": 0,
|
||||
"mod_pistolgrip_000": 100,
|
||||
"mod_reciever": 100,
|
||||
"mod_scope": 13,
|
||||
"mod_scope_000": 0,
|
||||
+1
-5
@@ -7023,11 +7023,7 @@
|
||||
"5a789261c5856700186c65d3"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {
|
||||
"mod_scope": [
|
||||
"609b9e31506cf869cf3eaf41"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {},
|
||||
"5a788031c585673f2b5c1c79": {
|
||||
"mod_foregrip": [
|
||||
"5cda9bcfd7f00c0c0b53e900",
|
||||
+1
-1
@@ -12038,7 +12038,7 @@
|
||||
"mod_pistol_grip": 100,
|
||||
"mod_pistol_grip_akms": 0,
|
||||
"mod_pistolgrip": 0,
|
||||
"mod_pistolgrip_000": 0,
|
||||
"mod_pistolgrip_000": 100,
|
||||
"mod_reciever": 100,
|
||||
"mod_scope": 13,
|
||||
"mod_scope_000": 0,
|
||||
+1
-5
@@ -7006,11 +7006,7 @@
|
||||
"5a789261c5856700186c65d3"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {
|
||||
"mod_scope": [
|
||||
"609b9e31506cf869cf3eaf41"
|
||||
]
|
||||
},
|
||||
"5a787fdfc5856700142fdd9a": {},
|
||||
"5a788031c585673f2b5c1c79": {
|
||||
"mod_foregrip": [
|
||||
"5cda9bcfd7f00c0c0b53e900",
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
import { inject, injectable } from "tsyringe";
|
||||
|
||||
import { ILogger } from "@spt/models/spt/utils/ILogger";
|
||||
import { ConfigServer } from "@spt/servers/ConfigServer";
|
||||
import { DatabaseService } from "@spt/services/DatabaseService";
|
||||
import { RandomUtil } from "@spt/utils/RandomUtil";
|
||||
|
||||
import { BotGeneratorHelper } from "@spt/helpers/BotGeneratorHelper";
|
||||
import { ApplicationContext } from "@spt/context/ApplicationContext";
|
||||
import { ContextVariableType } from "@spt/context/ContextVariableType";
|
||||
import { ContainerHelper } from "@spt/helpers/ContainerHelper";
|
||||
import { DurabilityLimitsHelper } from "@spt/helpers/DurabilityLimitsHelper";
|
||||
import { InventoryHelper } from "@spt/helpers/InventoryHelper";
|
||||
import { ItemHelper } from "@spt/helpers/ItemHelper";
|
||||
import { IUpd } from "@spt/models/eft/common/tables/IItem";
|
||||
import { ITemplateItem } from "@spt/models/eft/common/tables/ITemplateItem";
|
||||
import { IGetRaidConfigurationRequestData } from "@spt/models/eft/match/IGetRaidConfigurationRequestData";
|
||||
import { BaseClasses } from "@spt/models/enums/BaseClasses";
|
||||
import { LocalisationService } from "@spt/services/LocalisationService";
|
||||
import { IRandomisedResourceValues } from "@spt/models/spt/config/IBotConfig";
|
||||
|
||||
/** Handle profile related client events */
|
||||
@injectable()
|
||||
export class APBSBotGeneratorHelper extends BotGeneratorHelper
|
||||
{
|
||||
|
||||
constructor(
|
||||
@inject("PrimaryLogger") protected logger: ILogger,
|
||||
@inject("RandomUtil") protected randomUtil: RandomUtil,
|
||||
@inject("DatabaseService") protected databaseService: DatabaseService,
|
||||
@inject("DurabilityLimitsHelper") protected durabilityLimitsHelper: DurabilityLimitsHelper,
|
||||
@inject("ItemHelper") protected itemHelper: ItemHelper,
|
||||
@inject("InventoryHelper") protected inventoryHelper: InventoryHelper,
|
||||
@inject("ContainerHelper") protected containerHelper: ContainerHelper,
|
||||
@inject("ApplicationContext") protected applicationContext: ApplicationContext,
|
||||
@inject("LocalisationService") protected localisationService: LocalisationService,
|
||||
@inject("ConfigServer") protected configServer: ConfigServer
|
||||
)
|
||||
{
|
||||
super(logger,
|
||||
randomUtil,
|
||||
databaseService,
|
||||
durabilityLimitsHelper,
|
||||
itemHelper,
|
||||
inventoryHelper,
|
||||
containerHelper,
|
||||
applicationContext,
|
||||
localisationService,
|
||||
configServer)
|
||||
}
|
||||
|
||||
protected override getRandomizedResourceValue(maxResource: number, randomizationValues: IRandomisedResourceValues): number
|
||||
{
|
||||
if (!randomizationValues)
|
||||
{
|
||||
return maxResource;
|
||||
}
|
||||
|
||||
if (this.randomUtil.getChance100(randomizationValues.chanceMaxResourcePercent))
|
||||
{
|
||||
return maxResource;
|
||||
}
|
||||
|
||||
return this.randomUtil.getInt(this.randomUtil.getPercentOfValue(randomizationValues.resourcePercent, maxResource, 2),
|
||||
maxResource
|
||||
)
|
||||
}
|
||||
}
|
||||
-18
@@ -75,24 +75,6 @@ export class APBSBotLevelGenerator
|
||||
return result;
|
||||
}
|
||||
|
||||
if (!botGenerationDetails.isPmc && !botGenerationDetails.isPlayerScav && ModConfig.config.enableScavCustomLevelDeltas)
|
||||
{
|
||||
const expTable = this.databaseService.getGlobals().config.exp.level.exp_table;
|
||||
const botLevelRange = this.apbsGetRelativeBotLevelRange(botGenerationDetails, levelDetails, expTable.length);
|
||||
const min = botLevelRange.min <= 0 ? 1 : botLevelRange.min;
|
||||
const max = botLevelRange.max >= 79 ? 79 : botLevelRange.max;
|
||||
const level = this.randomUtil.getInt(min, max);
|
||||
const exp = this.profileHelper.getExperience(level);
|
||||
const tier = this.apbsTierGetter.getTierByLevel(level);
|
||||
bot.Info.Tier = this.chadOrChill(tier.toString());
|
||||
|
||||
const result: IRandomisedBotLevelResult = {
|
||||
level,
|
||||
exp
|
||||
};
|
||||
return result;
|
||||
}
|
||||
|
||||
const expTable = this.databaseService.getGlobals().config.exp.level.exp_table;
|
||||
const botLevelRange = this.apbsGetRelativeBotLevelRange(botGenerationDetails, levelDetails, expTable.length);
|
||||
const min = botLevelRange.min <= 0 ? 1 : botLevelRange.min;
|
||||
+6
-6
@@ -33,18 +33,18 @@ export class RaidInformation
|
||||
},
|
||||
"laboratory":
|
||||
{
|
||||
"LongRange": 5,
|
||||
"ShortRange": 95
|
||||
"LongRange": 10,
|
||||
"ShortRange": 90
|
||||
},
|
||||
"factory4_night":
|
||||
{
|
||||
"LongRange": 1,
|
||||
"ShortRange": 99
|
||||
"LongRange": 5,
|
||||
"ShortRange": 95
|
||||
},
|
||||
"factory4_day":
|
||||
{
|
||||
"LongRange": 1,
|
||||
"ShortRange": 99
|
||||
"LongRange": 5,
|
||||
"ShortRange": 95
|
||||
},
|
||||
"Interchange":
|
||||
{
|
||||
+43
-4
@@ -16,6 +16,11 @@ export class BlacklistHelper
|
||||
)
|
||||
{}
|
||||
|
||||
private invalidAmmoIDs: string[] = [];
|
||||
private invalidEquipmentIDs: string[] = [];
|
||||
private invalidWeaponIDs: string[] = [];
|
||||
private invalidAttachmentIDs: string[] = [];
|
||||
|
||||
public initialize(): void
|
||||
{
|
||||
if (ModConfig.config.tier1AmmoBlacklist.length > 0) this.removeBlacklistedAmmo(ModConfig.config.tier1AmmoBlacklist, 1);
|
||||
@@ -46,6 +51,8 @@ export class BlacklistHelper
|
||||
if (ModConfig.config.tier5AttachmentBlacklist.length > 0) this.removeBlacklistedAttachments(ModConfig.config.tier5AttachmentBlacklist, 5);
|
||||
if (ModConfig.config.tier6AttachmentBlacklist.length > 0) this.removeBlacklistedAttachments(ModConfig.config.tier6AttachmentBlacklist, 6);
|
||||
if (ModConfig.config.tier7AttachmentBlacklist.length > 0) this.removeBlacklistedAttachments(ModConfig.config.tier7AttachmentBlacklist, 7);
|
||||
|
||||
this.validateBlacklist();
|
||||
}
|
||||
|
||||
private removeBlacklistedAmmo(ammoBlacklist: string[], tier: number): void
|
||||
@@ -76,7 +83,7 @@ export class BlacklistHelper
|
||||
}
|
||||
if (itemDetails == undefined || itemDetails._parent != "5485a8684bdc2da71d8b4567")
|
||||
{
|
||||
this.apbsLogger.log(Logging.WARN, `"${ammoBlacklist[item]}" in Ammo Blacklist is either an invalid ammunition or item ID.`)
|
||||
if (!this.invalidAmmoIDs.includes(ammoBlacklist[item])) this.invalidAmmoIDs.push(ammoBlacklist[item])
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -109,7 +116,7 @@ export class BlacklistHelper
|
||||
}
|
||||
if (itemDetails == undefined)
|
||||
{
|
||||
this.apbsLogger.log(Logging.WARN, `"${equipmentBlacklist[item]}" in Equipment Blacklist is an invalid item ID.`)
|
||||
if (!this.invalidEquipmentIDs.includes(equipmentBlacklist[item])) this.invalidEquipmentIDs.push(equipmentBlacklist[item])
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -178,7 +185,7 @@ export class BlacklistHelper
|
||||
}
|
||||
if (itemDetails == undefined)
|
||||
{
|
||||
this.apbsLogger.log(Logging.WARN, `"${weaponBlacklist[item]}" in Weapon Blacklist is an invalid item ID.`)
|
||||
if (!this.invalidWeaponIDs.includes(weaponBlacklist[item])) this.invalidWeaponIDs.push(weaponBlacklist[item])
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -219,7 +226,7 @@ export class BlacklistHelper
|
||||
}
|
||||
if (itemDetails == undefined)
|
||||
{
|
||||
this.apbsLogger.log(Logging.WARN, `"${attachmentBlacklist[item]}" in Attachment Blacklist is either an invalid attachment or item ID.`)
|
||||
if (!this.invalidAttachmentIDs.includes(attachmentBlacklist[item])) this.invalidAttachmentIDs.push(attachmentBlacklist[item])
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -233,4 +240,36 @@ export class BlacklistHelper
|
||||
|
||||
return undefined;
|
||||
}
|
||||
|
||||
private validateBlacklist(): void
|
||||
{
|
||||
if (this.invalidAmmoIDs.length > 0)
|
||||
{
|
||||
for (const item in this.invalidAmmoIDs)
|
||||
{
|
||||
this.apbsLogger.log(Logging.WARN, `"${this.invalidAmmoIDs[item]}" in Ammo Blacklist is an invalid item ID.`)
|
||||
}
|
||||
}
|
||||
if (this.invalidEquipmentIDs.length > 0)
|
||||
{
|
||||
for (const item in this.invalidEquipmentIDs)
|
||||
{
|
||||
this.apbsLogger.log(Logging.WARN, `"${this.invalidEquipmentIDs[item]}" in Equipment Blacklist is an invalid item ID.`)
|
||||
}
|
||||
}
|
||||
if (this.invalidWeaponIDs.length > 0)
|
||||
{
|
||||
for (const item in this.invalidWeaponIDs)
|
||||
{
|
||||
this.apbsLogger.log(Logging.WARN, `"${this.invalidWeaponIDs[item]}" in Weapon Blacklist is an invalid item ID.`)
|
||||
}
|
||||
}
|
||||
if (this.invalidAttachmentIDs.length > 0)
|
||||
{
|
||||
for (const item in this.invalidAttachmentIDs)
|
||||
{
|
||||
this.apbsLogger.log(Logging.WARN, `"${this.invalidAttachmentIDs[item]}" in Attachment Blacklist is an invalid item ID.`)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+14
-33
@@ -100,27 +100,8 @@ export class ModdedImportHelper
|
||||
"671d8b8c0959c721a50ca838"
|
||||
]
|
||||
|
||||
this.clothingBlacklist = [
|
||||
"668bc5cd834c88e06b08b645", // All of this is Artem hands, because they are being configured as Body instead...Crackboooonnneee!!
|
||||
"668bc5cd834c88e06b08b64a",
|
||||
"668bc5cd834c88e06b08b64d",
|
||||
"668bc5cd834c88e06b08b650",
|
||||
"668bc5cd834c88e06b08b652",
|
||||
"668bc5cd834c88e06b08b655",
|
||||
"668bc5cd834c88e06b08b658",
|
||||
"668bc5cd834c88e06b08b65b",
|
||||
"668bc5cd834c88e06b08b65e",
|
||||
"668bc5cd834c88e06b08b662",
|
||||
"668bc5cd834c88e06b08b665",
|
||||
"668bc5cd834c88e06b08b668",
|
||||
"668bc5cd834c88e06b08b66b",
|
||||
"668bc5cd834c88e06b08b66e",
|
||||
"668bc5cd834c88e06b08b671",
|
||||
"668bc5cd834c88e06b08b674",
|
||||
"668bc5cd834c88e06b08b677",
|
||||
"668bc5cd834c88e06b08b67a",
|
||||
"668bc5cd834c88e06b08b67d"
|
||||
]
|
||||
// This is empty now because Crackbone fixed Artem - but I'm leaving this here for future use
|
||||
this.clothingBlacklist = []
|
||||
}
|
||||
|
||||
public tiersTable = [];
|
||||
@@ -142,14 +123,14 @@ export class ModdedImportHelper
|
||||
this.apbsLogger.log(Logging.WARN, "Checking & importing Modded Weapons...Support not granted for this feature...")
|
||||
|
||||
// Build the joined list for every weapon used in APBS
|
||||
const weapons: ITemplateItem = {};
|
||||
const weapons = {};
|
||||
vanillaItemList.equipment.LongRange.forEach(element => weapons[element] = this.getItem(element))
|
||||
vanillaItemList.equipment.ShortRange.forEach(element => weapons[element] = this.getItem(element))
|
||||
vanillaItemList.equipment.Holster.forEach(element => weapons[element] = this.getItem(element))
|
||||
vanillaItemList.equipment.Scabbard.forEach(element => weapons[element] = this.getItem(element))
|
||||
|
||||
// Push this list to the function to filter and import
|
||||
this.getModdedItems(weapons, BaseClasses.WEAPON, "Weapons");
|
||||
this.getModdedItems(weapons as ITemplateItem, BaseClasses.WEAPON, "Weapons");
|
||||
}
|
||||
|
||||
private buildVanillaEquipmentList(): void
|
||||
@@ -157,19 +138,19 @@ export class ModdedImportHelper
|
||||
this.apbsLogger.log(Logging.WARN, "Checking & importing Modded Equipment...Support not granted for this feature...")
|
||||
|
||||
// Build the joined list for every armour type used in APBS
|
||||
const armours: ITemplateItem = {};
|
||||
const armours = {};
|
||||
vanillaItemList.equipment.ArmorVest.forEach(element => armours[element] = this.getItem(element))
|
||||
|
||||
const headwear: ITemplateItem = {};
|
||||
const headwear = {};
|
||||
vanillaItemList.equipment.Headwear.forEach(element => headwear[element] = this.getItem(element))
|
||||
|
||||
const tacticalVests: ITemplateItem = {};
|
||||
const tacticalVests = {};
|
||||
vanillaItemList.equipment.TacticalVest.forEach(element => tacticalVests[element] = this.getItem(element))
|
||||
|
||||
// Push these lists to the function to filter and import
|
||||
this.getModdedItems(armours, BaseClasses.ARMOR, "Armours");
|
||||
this.getModdedItems(headwear, BaseClasses.HEADWEAR, "Helmets");
|
||||
this.getModdedItems(tacticalVests, BaseClasses.VEST, "Vests");
|
||||
this.getModdedItems(armours as ITemplateItem, BaseClasses.ARMOR, "Armours");
|
||||
this.getModdedItems(headwear as ITemplateItem, BaseClasses.HEADWEAR, "Helmets");
|
||||
this.getModdedItems(tacticalVests as ITemplateItem, BaseClasses.VEST, "Vests");
|
||||
}
|
||||
|
||||
private buildVanillaClothingList(): void
|
||||
@@ -177,15 +158,15 @@ export class ModdedImportHelper
|
||||
this.apbsLogger.log(Logging.WARN, "Checking & importing Modded Clothing...Support not granted for this feature...")
|
||||
|
||||
// Build the joined list for every body & feet type used in APBS
|
||||
const body: ICustomizationItem = {};
|
||||
const body = {};
|
||||
vanillaClothingList.appearance.body.forEach(element => body[element] = this.getCustomization(element))
|
||||
|
||||
const feet: ICustomizationItem = {};
|
||||
const feet = {};
|
||||
vanillaClothingList.appearance.feet.forEach(element => feet[element] = this.getCustomization(element))
|
||||
|
||||
// Push these lists to the function to filter and import
|
||||
this.getModdedClothing(body, "Body");
|
||||
this.getModdedClothing(feet, "Feet");
|
||||
this.getModdedClothing(body as ICustomizationItem, "Body");
|
||||
this.getModdedClothing(feet as ICustomizationItem, "Feet");
|
||||
}
|
||||
|
||||
private getModdedClothing(clothingList: ICustomizationItem, className: string): void
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user