2.8 KiB
2.8 KiB
Custom Trader Inventory
Description
Add/Remove Items in the Trader's Inventory
Features
- remove and/or add items;
- unlock DLC weapons;
- correct items sorting (by price);
- can preload weapon models (no lags during trader time);
- don't have to worry about adding new guns after each Tripware update.
Usage & Setup
Build
Note: If you want to build/test/brew/publish a mutator without git-bash and/or scripts, follow these instructions instead of what is described here.
- Install Killing Floor 2, Killing Floor 2 - SDK and git for windows;
- open git-bash and go to any folder where you want to store sources:
cd <ANY_FOLDER_YOU_WANT>
- Clone this repository and go to the source folder:
git clone https://github.com/GenZmeY/KF2-CustomTraderInventory && cd KF2-CustomTraderInventory
- Download dependencies:
git submodule init && git submodule update
- Compile:
./tools/builder -c
- The compiled files will be here:
C:\Users\<USERNAME>\Documents\My Games\KillingFloor2\KFGame\Unpublished\BrewedPC\Script\
Testing
Open git-bash in the source folder and run command:
./tools/builder -t
(or ./tools/builder -ct
if you haven't compiled the mutator yet)
A local single-user test will be launched with parameters from builder.cfg
(edit this file if you want to test mutator with different parameters).
Bug reports
If you find a bug, go to the issue page and check if there is a description of your bug. If not, create a new issue.
Describe what the bug looks like and how reproduce it.