Update README.md
This commit is contained in:
parent
f6fc7fde19
commit
04cce2bae7
60
README.md
60
README.md
@ -17,7 +17,7 @@
|
|||||||
Make sure that the location of folders and files in your project is as follows (Correct it if it's not):
|
Make sure that the location of folders and files in your project is as follows (Correct it if it's not):
|
||||||
`/<PackageName>/Classes/*.uc`
|
`/<PackageName>/Classes/*.uc`
|
||||||
|
|
||||||
**There are two ways to add KF2-BuildTools to your project:
|
**There are two ways to add KF2-BuildTools to your project:**
|
||||||
## 1. As [git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules)
|
## 1. As [git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules)
|
||||||
Open git-bash and go to your project: `cd <your_project_path>`
|
Open git-bash and go to your project: `cd <your_project_path>`
|
||||||
Add submodule: `git submodule add https://github.com/GenZmeY/KF2-BuildTools tools`
|
Add submodule: `git submodule add https://github.com/GenZmeY/KF2-BuildTools tools`
|
||||||
@ -35,23 +35,61 @@ Available commands can be found here: [USAGE.md](USAGE.md)
|
|||||||
|
|
||||||
If you have a simple mutator or game mode, then the usage is also simple: just use [the commands](USAGE.md) to compile, test and upload to the steam workshop.
|
If you have a simple mutator or game mode, then the usage is also simple: just use [the commands](USAGE.md) to compile, test and upload to the steam workshop.
|
||||||
|
|
||||||
|
![demo](example.gif)
|
||||||
|
|
||||||
|
## The result can be found here:
|
||||||
|
**Compiled packages:**
|
||||||
|
`C:\Users\<username>\Documents\My Games\KillingFloor2\KFGame\Unpublished\`
|
||||||
|
|
||||||
|
**Brewed packages:**
|
||||||
|
`C:\Users\<username>\Documents\My Games\KillingFloor2\KFGame\Published\`
|
||||||
|
|
||||||
|
**Uploaded packages:**
|
||||||
|
your steam workshop 🙃
|
||||||
|
|
||||||
# Usage (Advanced)
|
# Usage (Advanced)
|
||||||
If your project contains several mutators, *.upk files, external dependencies, or you want to customize the whole process in more detail, then this section is for you.
|
If your project contains several mutators, *.upk files, external dependencies, or you want to customize the whole process in more detail, then this section is for you.
|
||||||
|
|
||||||
## Prepare
|
## Setup
|
||||||
**UNDER CONSTRUCTION**
|
When you run compilation for the first time or do `./tools/builder --init` `builder.cfg` appears in your project folder.
|
||||||
|
Edit it to set build/test/upload options. The config contains the necessary comments inside.
|
||||||
|
|
||||||
## Compilation
|
Edit the files in the PublicationContent folder - they are responsible for the description in the Steam Workshop.
|
||||||
**UNDER CONSTRUCTION**
|
|
||||||
|
|
||||||
## Brewing
|
## Project filesystem
|
||||||
**UNDER CONSTRUCTION**
|
If you have *.upk or localization files, they must be in a specific location.
|
||||||
|
|
||||||
## Testing
|
Change the filesystem of the project to such a form that everything works correctly:
|
||||||
**UNDER CONSTRUCTION**
|
```
|
||||||
|
/Localization
|
||||||
|
/INT
|
||||||
|
*.int
|
||||||
|
/PublicationContent
|
||||||
|
preview.png
|
||||||
|
description.txt
|
||||||
|
tags.txt
|
||||||
|
title.txt
|
||||||
|
/SomePackageName1
|
||||||
|
*.upk
|
||||||
|
/Classes
|
||||||
|
*.uc
|
||||||
|
*.upkg
|
||||||
|
/SomePackageName2
|
||||||
|
*.upk
|
||||||
|
/Classes
|
||||||
|
*.uc
|
||||||
|
*.upkg
|
||||||
|
/Config
|
||||||
|
*.ini
|
||||||
|
/tools
|
||||||
|
builder
|
||||||
|
builder.cfg
|
||||||
|
```
|
||||||
|
|
||||||
## Uploading to steam workshop
|
## Examples
|
||||||
**UNDER CONSTRUCTION**
|
[LightTIM](https://github.com/GenZmeY/KF2-LightTIM) - simplest case (one mutator)
|
||||||
|
[ServerExt](https://github.com/GenZmeY/KF2-Server-Extension) - Two mutators are compiled, there are *.upk files and localization
|
||||||
|
[UnofficialMod](https://github.com/GenZmeY/UnofficialMod) - Three mutators are compiled (one of them is a dependency), two mutators are uploaded to the steam workshop
|
||||||
|
|
||||||
# Other
|
# Other
|
||||||
[TODO List](TODO.md)
|
[TODO List](TODO.md)
|
||||||
|
BIN
example.gif
Normal file
BIN
example.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.9 MiB |
Loading…
x
Reference in New Issue
Block a user