Compare commits
No commits in common. "master" and "v1.1.0" have entirely different histories.
@ -1,33 +0,0 @@
|
|||||||
root = true
|
|
||||||
|
|
||||||
# Global
|
|
||||||
[*]
|
|
||||||
indent_style = unset
|
|
||||||
indent_size = 4
|
|
||||||
tab_width = 4
|
|
||||||
end_of_line = lf
|
|
||||||
charset = utf-8
|
|
||||||
trim_trailing_whitespace = true
|
|
||||||
insert_final_newline = unset
|
|
||||||
|
|
||||||
# Unreal Engine 3 / Source
|
|
||||||
[*.uc]
|
|
||||||
indent_style = tab
|
|
||||||
|
|
||||||
[*.{uci,upkg}]
|
|
||||||
|
|
||||||
# Unreal Engine 3 / i18n
|
|
||||||
[*.{chn,cht,cze,dan,deu,dut,esl,esn,fra,frc,hun,int,ita,jpn,kor,pol,por,ptb,rus,tur,ukr}]
|
|
||||||
charset = utf-16le
|
|
||||||
|
|
||||||
# Other
|
|
||||||
[*.md]
|
|
||||||
indent_style = space
|
|
||||||
trim_trailing_whitespace = false
|
|
||||||
|
|
||||||
[*.yml]
|
|
||||||
indent_style = space
|
|
||||||
indent_size = 2
|
|
||||||
|
|
||||||
[*.{txt,cfg,conf}]
|
|
||||||
indent_style = tab
|
|
114
.github/workflows/mega-linter.yml
vendored
114
.github/workflows/mega-linter.yml
vendored
@ -1,114 +0,0 @@
|
|||||||
---
|
|
||||||
name: MegaLinter
|
|
||||||
|
|
||||||
permissions: read-all
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
branches:
|
|
||||||
- master
|
|
||||||
|
|
||||||
env:
|
|
||||||
APPLY_FIXES: none
|
|
||||||
APPLY_FIXES_EVENT: pull_request
|
|
||||||
APPLY_FIXES_MODE: commit
|
|
||||||
FILTER_REGEX_EXCLUDE: (mega-linter.yml)
|
|
||||||
DISABLE: SPELL
|
|
||||||
|
|
||||||
concurrency:
|
|
||||||
group: ${{ github.ref }}-${{ github.workflow }}
|
|
||||||
cancel-in-progress: true
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
megalinter:
|
|
||||||
name: MegaLinter
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
issues: write
|
|
||||||
pull-requests: write
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout Code
|
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
|
|
||||||
fetch-depth: 0
|
|
||||||
|
|
||||||
- name: MegaLinter
|
|
||||||
uses: oxsecurity/megalinter@7e042c726c68415475b05a65a686c612120a1232
|
|
||||||
id: ml
|
|
||||||
env:
|
|
||||||
VALIDATE_ALL_CODEBASE: true
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|
||||||
- name: Archive production artifacts
|
|
||||||
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392
|
|
||||||
if: success() || failure()
|
|
||||||
with:
|
|
||||||
name: MegaLinter reports
|
|
||||||
path: |
|
|
||||||
megalinter-reports
|
|
||||||
mega-linter.log
|
|
||||||
|
|
||||||
- name: Set APPLY_FIXES_IF var
|
|
||||||
run: |
|
|
||||||
printf 'APPLY_FIXES_IF=%s\n' "${{
|
|
||||||
steps.ml.outputs.has_updated_sources == 1 &&
|
|
||||||
(
|
|
||||||
env.APPLY_FIXES_EVENT == 'all' ||
|
|
||||||
env.APPLY_FIXES_EVENT == github.event_name
|
|
||||||
) &&
|
|
||||||
(
|
|
||||||
github.event_name == 'push' ||
|
|
||||||
github.event.pull_request.head.repo.full_name == github.repository
|
|
||||||
)
|
|
||||||
}}" >> "${GITHUB_ENV}"
|
|
||||||
|
|
||||||
- name: Set APPLY_FIXES_IF_* vars
|
|
||||||
run: |
|
|
||||||
printf 'APPLY_FIXES_IF_PR=%s\n' "${{
|
|
||||||
env.APPLY_FIXES_IF == 'true' &&
|
|
||||||
env.APPLY_FIXES_MODE == 'pull_request'
|
|
||||||
}}" >> "${GITHUB_ENV}"
|
|
||||||
printf 'APPLY_FIXES_IF_COMMIT=%s\n' "${{
|
|
||||||
env.APPLY_FIXES_IF == 'true' &&
|
|
||||||
env.APPLY_FIXES_MODE == 'commit' &&
|
|
||||||
(!contains(fromJSON('["refs/heads/main", "refs/heads/master"]'), github.ref))
|
|
||||||
}}" >> "${GITHUB_ENV}"
|
|
||||||
|
|
||||||
- name: Create Pull Request with applied fixes
|
|
||||||
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38
|
|
||||||
id: cpr
|
|
||||||
if: env.APPLY_FIXES_IF_PR == 'true'
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
|
|
||||||
commit-message: "[MegaLinter] Apply linters automatic fixes"
|
|
||||||
title: "[MegaLinter] Apply linters automatic fixes"
|
|
||||||
labels: bot
|
|
||||||
|
|
||||||
- name: Create PR output
|
|
||||||
if: env.APPLY_FIXES_IF_PR == 'true'
|
|
||||||
run: |
|
|
||||||
echo "PR Number - ${{ steps.cpr.outputs.pull-request-number }}"
|
|
||||||
echo "PR URL - ${{ steps.cpr.outputs.pull-request-url }}"
|
|
||||||
|
|
||||||
- name: Prepare commit
|
|
||||||
if: env.APPLY_FIXES_IF_COMMIT == 'true'
|
|
||||||
run: sudo chown -Rc $UID .git/
|
|
||||||
|
|
||||||
- name: Commit and push applied linter fixes
|
|
||||||
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d
|
|
||||||
if: env.APPLY_FIXES_IF_COMMIT == 'true'
|
|
||||||
with:
|
|
||||||
branch: >-
|
|
||||||
${{
|
|
||||||
github.event.pull_request.head.ref ||
|
|
||||||
github.head_ref ||
|
|
||||||
github.ref
|
|
||||||
}}
|
|
||||||
commit_message: "[MegaLinter] Apply linters fixes"
|
|
||||||
commit_user_name: "github-actions"
|
|
||||||
commit_user_email: "github-actions[bot]@users.noreply.github.com"
|
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
|||||||
*.psd
|
|
||||||
/ignore
|
|
@ -1,5 +1,3 @@
|
|||||||
[img]https://img.shields.io/static/v1?logo=GitHub&labelColor=gray&color=blue&logoColor=white&label=&message=Open Source[/img] [img]https://img.shields.io/github/license/GenZmeY/KF2-ZedSpawner[/img] [img]https://img.shields.io/steam/favorites/2811290931[/img] [img]https://img.shields.io/steam/update-date/2811290931[/img] [url=https://steamcommunity.com/sharedfiles/filedetails/changelog/2811290931][img]https://img.shields.io/github/v/tag/GenZmeY/KF2-ZedSpawner[/img][/url]
|
|
||||||
|
|
||||||
[h1]Description[/h1]
|
[h1]Description[/h1]
|
||||||
Spawner for zeds. Started as a modification of [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2488241348]this version[/url], but now there is almost nothing left of the previous mutator, lol xD
|
Spawner for zeds. Started as a modification of [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2488241348]this version[/url], but now there is almost nothing left of the previous mutator, lol xD
|
||||||
|
|
||||||
@ -11,47 +9,27 @@ Spawner for zeds. Started as a modification of [url=https://steamcommunity.com/s
|
|||||||
- spawn after a certain percentage of killed zeds.
|
- spawn after a certain percentage of killed zeds.
|
||||||
|
|
||||||
[h1]Whitelisted?[/h1]
|
[h1]Whitelisted?[/h1]
|
||||||
No. This mod is not whitelisted and will de-rank your server. Any XP gained will not be saved.
|
No. This mod is not whitelisted and will unrank your server. Any XP gained will not be saved.
|
||||||
|
|
||||||
[h1]Usage (single player)[/h1]
|
[h1]Usage (single player)[/h1]
|
||||||
[olist]
|
1. Subscribe to this mutator;
|
||||||
[*]Subscribe to this mutator;
|
2. Start KF2;
|
||||||
[*]Start KF2;
|
3. Open console (`) and input:
|
||||||
[*]Open console (~) and input:
|
[b]open KF-BioticsLab?Mutator=ZedSpawner.ZedSpawnerMut[/b]
|
||||||
[b]open KF-BioticsLab?Mutator=ZedSpawner.Mut[/b]
|
|
||||||
(replace the map and add the parameters you need)
|
(replace the map and add the parameters you need)
|
||||||
[*]<Enter>.
|
4. <Enter>.
|
||||||
[/olist]
|
|
||||||
|
|
||||||
[h1]Usage (server)[/h1]
|
[h1]Usage (server)[/h1]
|
||||||
[b]Note:[/b] [i]If you don't understand what is written here, read the article [url=https://wiki.killingfloor2.com/index.php?title=Dedicated_Server_(Killing_Floor_2)][u]Dedicated Server (KF2 wiki)[/u][/url] before following these instructions.[/i]
|
[b]Note:[/b] [i]If you don't understand what is written here, read the article [url=https://wiki.killingfloor2.com/index.php?title=Dedicated_Server_(Killing_Floor_2)][u]Dedicated Server (KF2 wiki)[/u][/url] before following these instructions.[/i]
|
||||||
[olist]
|
|
||||||
[*]Open your [b]PCServer-KFEngine.ini[/b] / [b]LinuxServer-KFEngine.ini[/b];
|
1. Open your [b]PCServer-KFEngine.ini[/b] / [b]LinuxServer-KFEngine.ini[/b];
|
||||||
[*]Find the [b][IpDrv.TcpNetDriver][/b] section and make sure that there is a line (add if not):
|
2. Add the following string to the [b][OnlineSubsystemSteamworks.KFWorkshopSteamworks][/b] section (create one if it doesn't exist):
|
||||||
[b]DownloadManagers=OnlineSubsystemSteamworks.SteamWorkshopDownload[/b]
|
|
||||||
❗️ If there are several [b]DownloadManagers=[/b] then the line above should be the first ❗️
|
|
||||||
[*]Add the following string to the [b][OnlineSubsystemSteamworks.KFWorkshopSteamworks][/b] section (create one if it doesn't exist):
|
|
||||||
[b]ServerSubscribedWorkshopItems=2811290931[/b]
|
[b]ServerSubscribedWorkshopItems=2811290931[/b]
|
||||||
[*]Start the server and wait while the mutator is downloading;
|
3. Start the server and wait while the mutator is downloading;
|
||||||
[*]Add mutator to server start parameters: [b]?Mutator=ZedSpawner.Mut[/b] and restart the server.
|
4. Add mutator to server start parameters: [b]?Mutator=ZedSpawner.ZedSpawnerMut[/b] and restart the server.
|
||||||
[/olist]
|
|
||||||
|
|
||||||
[h1]Important setup information[/h1]
|
[h1]Setup[/h1]
|
||||||
The config should be created on first start, but now the game contains a bug that initializes the config values randomly if they are not explicitly set. Thus, the config may have incorrect values or not be created at all.
|
At the first start, the [b]KFZedSpawner.ini[/b] config will be created. There are already default settings and spawn lists, but you still need to change them because this is just an example.
|
||||||
So if you are using this mutator for the first time, I highly recommend doing the following:
|
|
||||||
[olist]
|
|
||||||
[*]Create (modify) [b]KFZedSpawner.ini[/b] manually. Put the following content there:
|
|
||||||
[b][ZedSpawner.ZedSpawner]
|
|
||||||
Version=0[/b]
|
|
||||||
[*]Start the game/server with ZedSpawner to generate the contents of the config.
|
|
||||||
[*]Close the game/server.
|
|
||||||
[/olist]
|
|
||||||
[b]Right now this is the only way to correctly create the default config.[/b]
|
|
||||||
Unfortunately I can't do anything about it because it's a game problem (not mutator). I hope TWI fixes this someday.
|
|
||||||
|
|
||||||
[h1]Setup (KFZedSpawner.ini)[/h1]
|
|
||||||
[b]bPreloadContentServer[/b] - enable/disable server-side preload content;
|
|
||||||
[b]bPreloadContentClient[/b] - enable/disable client-side preload content;
|
|
||||||
|
|
||||||
[b]Cyclic spawn[/b]
|
[b]Cyclic spawn[/b]
|
||||||
If you don't want to write an endless spawn list for the endless mode (lol) use a cyclic spawn. Set parameter [b]bCyclicalSpawn=True[/b]
|
If you don't want to write an endless spawn list for the endless mode (lol) use a cyclic spawn. Set parameter [b]bCyclicalSpawn=True[/b]
|
||||||
@ -62,9 +40,6 @@ Using the [b]SpawnTotalCycleMultiplier[/b] and [b]SingleSpawnLimitCycleMultiplie
|
|||||||
With [b]bShadowSpawn=True[/b], the zeds from the list will replace the original zeds that haven't spawned yet, so the counter of the remaining zeds won't grow. Spawning will stop when there are no unspawned zeds left.
|
With [b]bShadowSpawn=True[/b], the zeds from the list will replace the original zeds that haven't spawned yet, so the counter of the remaining zeds won't grow. Spawning will stop when there are no unspawned zeds left.
|
||||||
With [b]bShadowSpawn=False[/b] zeds from the spawn list will not replace the original ones. The counter of remaining zeds will increase when spawning. Spawn will continue until the end of the wave.
|
With [b]bShadowSpawn=False[/b] zeds from the spawn list will not replace the original ones. The counter of remaining zeds will increase when spawning. Spawn will continue until the end of the wave.
|
||||||
|
|
||||||
[b]Smooth spawn[/b]
|
|
||||||
With [b]bSmoothSpawn=True[/b] a group of zeds will spawn gradually (1 zed per second);
|
|
||||||
|
|
||||||
[b]AliveSpawnLimit[/b]
|
[b]AliveSpawnLimit[/b]
|
||||||
If you have a server crash with a large number of zeds, set [b]AliveSpawnLimit[/b]. If the number of live zeds reaches the specified limit, spawning will be stopped until there are fewer zeds. At zero there is no limit.
|
If you have a server crash with a large number of zeds, set [b]AliveSpawnLimit[/b]. If the number of live zeds reaches the specified limit, spawning will be stopped until there are fewer zeds. At zero there is no limit.
|
||||||
|
|
||||||
@ -81,21 +56,16 @@ Use the [b][ZedSpawner.SpawnListBossWaves][/b] and [b][ZedSpawner.SpawnListSpeci
|
|||||||
[*][b]Probability[/b] - the chance (%) of each spawn (1-100).
|
[*][b]Probability[/b] - the chance (%) of each spawn (1-100).
|
||||||
[*][b]SpawnCountBase[/b] - The base number of zeds to spawn, aka the number of zeds that will be spawned on the first cycle with one player. Can be adjusted by modifiers, number of players and cycle number.
|
[*][b]SpawnCountBase[/b] - The base number of zeds to spawn, aka the number of zeds that will be spawned on the first cycle with one player. Can be adjusted by modifiers, number of players and cycle number.
|
||||||
[*][b]SingleSpawnLimit[/b] - maximum number of zeds for one spawn. Can be adjusted by modifiers, number of players and cycle number.
|
[*][b]SingleSpawnLimit[/b] - maximum number of zeds for one spawn. Can be adjusted by modifiers, number of players and cycle number.
|
||||||
|
[*][b]bSpawnAtPlayerStart[/b] - exactly what is written.
|
||||||
[/list]
|
[/list]
|
||||||
|
|
||||||
[h1]Spawn logic[/h1]
|
[h1]Spawn logic[/h1]
|
||||||
I really tried to describe in text how it works, but every time I got some kind of crap. Therefore, I decided to explain it a little differently and made a small calculator for this. It is interactive, you can change the parameters and see what happens. It has all the necessary explanations, so I think you will quickly figure out how the spawner works.
|
I really tried to describe in text how it works, but every time I got some kind of crap. Therefore, I decided to explain it a little differently and made a small calculator for this. It is interactive, you can change the parameters and see what happens. It has all the necessary explanations, so I think you will quickly figure out how the spawner works.
|
||||||
|
|
||||||
[b]Link (remove spaces):[/b]
|
[h1]📌[url=https://redirect.genzmey.su/kf2-zedspawner-calc]Spawn calculator[/url][/h1]
|
||||||
[code]
|
|
||||||
htt ps://docs .google .com/spreadsheets/d/1q67WJ36jhj6Y0lPNO5tS2bU79Wphu4Xmi62me6DAwtM/edit?usp=drive_link
|
|
||||||
[/code]
|
|
||||||
[i]Just please try not to interfere with each other if you see that someone is already using a calculator.[/i]
|
[i]Just please try not to interfere with each other if you see that someone is already using a calculator.[/i]
|
||||||
|
|
||||||
[h1]Notes[/h1]
|
By the way, ZedSpawner logs everything it does, so reading the logs can also help you figure out how it works.
|
||||||
📌 Mutator does not contain custom zeds. You must have the required zeds in your subscriptions to be able to spawn them.
|
|
||||||
📌 If you are using this mutator to add zeds, you should [b]not[/b] use mutators from zed packs (just having them in subscriptions is enough).
|
|
||||||
📌 If the spawner's behavior differs from what you expect, check the server logs first. ZedSpawner writes in the logs everything it does (and describes why), most likely you will find an explanation of what is happening there. If not, feel free to report bugs :)
|
|
||||||
|
|
||||||
[h1]Sources[/h1]
|
[h1]Sources[/h1]
|
||||||
[url=https://github.com/GenZmeY/KF2-ZedSpawner]https://github.com/GenZmeY/KF2-ZedSpawner[/url] (GNU GPLv3)
|
[url=https://github.com/GenZmeY/KF2-ZedSpawner]https://github.com/GenZmeY/KF2-ZedSpawner[/url] (GNU GPLv3)
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.3 MiB |
@ -1 +1 @@
|
|||||||
Zed Spawner
|
ZedSpawner
|
||||||
|
27
README.md
27
README.md
@ -1,29 +1,29 @@
|
|||||||
# ZedSpawner
|
# ZedSpawner
|
||||||
|
|
||||||
[](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931)
|
[](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931)
|
||||||
[](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931)
|
[](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931)
|
||||||
[](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931)
|
[](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931)
|
||||||
[](https://github.com/GenZmeY/KF2-ZedSpawner/actions/workflows/mega-linter.yml)
|
[](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931)
|
||||||
[](https://github.com/GenZmeY/KF2-ZedSpawner/tags)
|
[](https://github.com/GenZmeY/KF2-ZedSpawner/tags)
|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
|
|
||||||
## Description
|
# Description
|
||||||
Spawner for zeds. Started as a modification of the [this version](https://steamcommunity.com/sharedfiles/filedetails/?id=2488241348), but now there is almost nothing left of the previous mutator, lol
|
Spawner for zeds. Started as a modification of the [this version](https://steamcommunity.com/sharedfiles/filedetails/?id=2488241348), but now there is almost nothing left of the previous mutator, lol
|
||||||
|
|
||||||
## Features
|
# Features
|
||||||
- spawn without increasing zed counter;
|
- spawn without increasing zed counter;
|
||||||
- spawn depends on the number of players;
|
- spawn depends on the number of players;
|
||||||
- cyclic spawn (useful for endless mode);
|
- cyclic spawn (useful for endless mode);
|
||||||
- separate spawn for special waves and boss waves;
|
- separate spawn for special waves and boss waves;
|
||||||
- spawn after a certain percentage of killed zeds.
|
- spawn after a certain percentage of killed zeds.
|
||||||
|
|
||||||
## Usage & Setup
|
# Usage & Setup
|
||||||
[See steam workshop page](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931)
|
[See steam workshop page](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931)
|
||||||
|
|
||||||
## Spawn calculator
|
# Spawn calculator
|
||||||
[Spawn Calculator](https://docs.google.com/spreadsheets/d/1q67WJ36jhj6Y0lPNO5tS2bU79Wphu4Xmi62me6DAwtM/edit?usp=sharing)
|
[Spawn Calculator](https://docs.google.com/spreadsheets/d/1q67WJ36jhj6Y0lPNO5tS2bU79Wphu4Xmi62me6DAwtM/edit?usp=sharing)
|
||||||
|
|
||||||
## Build
|
# Build
|
||||||
**Note:** If you want to build/test/brew/publish a mutator without git-bash and/or scripts, follow [these instructions](https://tripwireinteractive.atlassian.net/wiki/spaces/KF2SW/pages/26247172/KF2+Code+Modding+How-to) instead of what is described here.
|
**Note:** If you want to build/test/brew/publish a mutator without git-bash and/or scripts, follow [these instructions](https://tripwireinteractive.atlassian.net/wiki/spaces/KF2SW/pages/26247172/KF2+Code+Modding+How-to) instead of what is described here.
|
||||||
1. Install [Killing Floor 2](https://store.steampowered.com/app/232090/Killing_Floor_2/), Killing Floor 2 - SDK and [git for windows](https://git-scm.com/download/win);
|
1. Install [Killing Floor 2](https://store.steampowered.com/app/232090/Killing_Floor_2/), Killing Floor 2 - SDK and [git for windows](https://git-scm.com/download/win);
|
||||||
2. open git-bash and go to any folder where you want to store sources:
|
2. open git-bash and go to any folder where you want to store sources:
|
||||||
@ -37,10 +37,17 @@ Spawner for zeds. Started as a modification of the [this version](https://steamc
|
|||||||
5. The compiled files will be here:
|
5. The compiled files will be here:
|
||||||
`C:\Users\<USERNAME>\Documents\My Games\KillingFloor2\KFGame\Unpublished\BrewedPC\Script\`
|
`C:\Users\<USERNAME>\Documents\My Games\KillingFloor2\KFGame\Unpublished\BrewedPC\Script\`
|
||||||
|
|
||||||
## Bug reports
|
# 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](https://github.com/GenZmeY/KF2-ZedSpawner/issues) and check if there is a description of your bug. If not, create a new issue.
|
If you find a bug, go to the [issue page](https://github.com/GenZmeY/KF2-ZedSpawner/issues) 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.
|
Describe what the bug looks like and how reproduce it.
|
||||||
Attaching your KFZedSpawner.ini and Launch.log can also be helpful.
|
Attaching your KFZedSpawner.ini and Launch.log can also be helpful.
|
||||||
|
|
||||||
## License
|
# License
|
||||||
[](LICENSE)
|
[GNU GPLv3](LICENSE)
|
||||||
|
@ -1,46 +1,40 @@
|
|||||||
class KFGI_Access extends Object
|
class KFGI_Access extends Object
|
||||||
within KFGameInfo;
|
within KFGameInfo;
|
||||||
|
|
||||||
public function Array<class<KFPawn_Monster> > GetAIClassList(E_LogLevel LogLevel)
|
public function Array<class<KFPawn_Monster> > GetAIClassList()
|
||||||
{
|
{
|
||||||
local Array<class<KFPawn_Monster> > RV;
|
local Array<class<KFPawn_Monster> > RV;
|
||||||
local class<KFPawn_Monster> KFPMC;
|
local class<KFPawn_Monster> KFPMC;
|
||||||
|
|
||||||
`Log_Trace();
|
|
||||||
|
|
||||||
foreach AIClassList(KFPMC)
|
foreach AIClassList(KFPMC)
|
||||||
RV.AddItem(KFPMC);
|
RV.AddItem(KFPMC);
|
||||||
|
|
||||||
return RV;
|
return RV;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function Array<class<KFPawn_Monster> > GetNonSpawnAIClassList(E_LogLevel LogLevel)
|
public function Array<class<KFPawn_Monster> > GetNonSpawnAIClassList()
|
||||||
{
|
{
|
||||||
local Array<class<KFPawn_Monster> > RV;
|
local Array<class<KFPawn_Monster> > RV;
|
||||||
local class<KFPawn_Monster> KFPMC;
|
local class<KFPawn_Monster> KFPMC;
|
||||||
|
|
||||||
`Log_Trace();
|
|
||||||
|
|
||||||
foreach NonSpawnAIClassList(KFPMC)
|
foreach NonSpawnAIClassList(KFPMC)
|
||||||
RV.AddItem(KFPMC);
|
RV.AddItem(KFPMC);
|
||||||
|
|
||||||
return RV;
|
return RV;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function Array<class<KFPawn_Monster> > GetAIBossClassList(E_LogLevel LogLevel)
|
public function Array<class<KFPawn_Monster> > GetAIBossClassList()
|
||||||
{
|
{
|
||||||
local Array<class<KFPawn_Monster> > RV;
|
local Array<class<KFPawn_Monster> > RV;
|
||||||
local class<KFPawn_Monster> KFPMC;
|
local class<KFPawn_Monster> KFPMC;
|
||||||
|
|
||||||
`Log_Trace();
|
|
||||||
|
|
||||||
foreach AIBossClassList(KFPMC)
|
foreach AIBossClassList(KFPMC)
|
||||||
RV.AddItem(KFPMC);
|
RV.AddItem(KFPMC);
|
||||||
|
|
||||||
return RV;
|
return RV;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function bool IsCustomZed(class<KFPawn_Monster> KFPM, E_LogLevel LogLevel)
|
public function bool IsCustomZed(class<KFPawn_Monster> KFPM)
|
||||||
{
|
{
|
||||||
if (AIClassList.Find(KFPM) != INDEX_NONE) return false;
|
if (AIClassList.Find(KFPM) != INDEX_NONE) return false;
|
||||||
if (NonSpawnAIClassList.Find(KFPM) != INDEX_NONE) return false;
|
if (NonSpawnAIClassList.Find(KFPM) != INDEX_NONE) return false;
|
||||||
@ -48,52 +42,44 @@ public function bool IsCustomZed(class<KFPawn_Monster> KFPM, E_LogLevel LogLevel
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function bool IsOriginalAI(class<KFPawn_Monster> KFPM, optional out EAIType AIType, optional E_LogLevel LogLevel = LL_None)
|
public function bool IsOriginalAI(class<KFPawn_Monster> KFPM, optional out EAIType AIType)
|
||||||
{
|
{
|
||||||
local int Type;
|
local int Type;
|
||||||
|
|
||||||
`Log_Trace();
|
|
||||||
|
|
||||||
Type = AIClassList.Find(KFPM);
|
Type = AIClassList.Find(KFPM);
|
||||||
if (Type != INDEX_NONE)
|
if (Type != INDEX_NONE)
|
||||||
{
|
{
|
||||||
AIType = EAIType(Type);
|
AIType = EAIType(Type);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function bool IsOriginalAIBoss(class<KFPawn_Monster> KFPM, optional out EBossAIType AIType, optional E_LogLevel LogLevel = LL_None)
|
public function bool IsOriginalAIBoss(class<KFPawn_Monster> KFPM, optional out EBossAIType AIType)
|
||||||
{
|
{
|
||||||
local int Type;
|
local int Type;
|
||||||
|
|
||||||
`Log_Trace();
|
|
||||||
|
|
||||||
Type = AIBossClassList.Find(KFPM);
|
Type = AIBossClassList.Find(KFPM);
|
||||||
if (Type != INDEX_NONE)
|
if (Type != INDEX_NONE)
|
||||||
{
|
{
|
||||||
AIType = EBossAIType(Type);
|
AIType = EBossAIType(Type);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function class<KFPawn_Monster> AITypePawn(EAIType AIType, E_LogLevel LogLevel)
|
public function class<KFPawn_Monster> AITypePawn(EAIType AIType)
|
||||||
{
|
{
|
||||||
`Log_Trace();
|
|
||||||
|
|
||||||
if (AIType < AIClassList.Length)
|
if (AIType < AIClassList.Length)
|
||||||
return AIClassList[AIType];
|
return AIClassList[AIType];
|
||||||
else
|
else
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function class<KFPawn_Monster> BossAITypePawn(EBossAIType AIType, E_LogLevel LogLevel)
|
public function class<KFPawn_Monster> BossAITypePawn(EBossAIType AIType)
|
||||||
{
|
{
|
||||||
`Log_Trace();
|
|
||||||
|
|
||||||
if (AIType < AIBossClassList.Length)
|
if (AIType < AIBossClassList.Length)
|
||||||
return AIBossClassList[AIType];
|
return AIBossClassList[AIType];
|
||||||
else
|
else
|
||||||
@ -102,5 +88,5 @@ public function class<KFPawn_Monster> BossAITypePawn(EBossAIType AIType, E_LogLe
|
|||||||
|
|
||||||
defaultproperties
|
defaultproperties
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,61 +0,0 @@
|
|||||||
class Mut extends KFMutator
|
|
||||||
dependson(ZedSpawner);
|
|
||||||
|
|
||||||
var private ZedSpawner ZS;
|
|
||||||
|
|
||||||
public simulated function bool SafeDestroy()
|
|
||||||
{
|
|
||||||
return (bPendingDelete || bDeleteMe || Destroy());
|
|
||||||
}
|
|
||||||
|
|
||||||
public event PreBeginPlay()
|
|
||||||
{
|
|
||||||
Super.PreBeginPlay();
|
|
||||||
|
|
||||||
if (WorldInfo.NetMode == NM_Client) return;
|
|
||||||
|
|
||||||
foreach WorldInfo.DynamicActors(class'ZedSpawner', ZS)
|
|
||||||
{
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ZS == None)
|
|
||||||
{
|
|
||||||
ZS = WorldInfo.Spawn(class'ZedSpawner');
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ZS == None)
|
|
||||||
{
|
|
||||||
`Log_Base("FATAL: Can't Spawn 'ZedSpawner'");
|
|
||||||
SafeDestroy();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public function AddMutator(Mutator M)
|
|
||||||
{
|
|
||||||
if (M == Self) return;
|
|
||||||
|
|
||||||
if (M.Class == Class)
|
|
||||||
Mut(M).SafeDestroy();
|
|
||||||
else
|
|
||||||
Super.AddMutator(M);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function NotifyLogin(Controller C)
|
|
||||||
{
|
|
||||||
ZS.NotifyLogin(C);
|
|
||||||
|
|
||||||
Super.NotifyLogin(C);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function NotifyLogout(Controller C)
|
|
||||||
{
|
|
||||||
ZS.NotifyLogout(C);
|
|
||||||
|
|
||||||
Super.NotifyLogout(C);
|
|
||||||
}
|
|
||||||
|
|
||||||
defaultproperties
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
@ -1,107 +1,96 @@
|
|||||||
class Spawn extends Object
|
class Spawn extends Object
|
||||||
dependson(ZedSpawner)
|
dependson(ZedSpawner)
|
||||||
config(ZedSpawner);
|
config(ZedSpawner);
|
||||||
|
|
||||||
var public config bool bCyclicalSpawn;
|
var public config bool bCyclicalSpawn;
|
||||||
var public config bool bShadowSpawn;
|
var public config bool bShadowSpawn;
|
||||||
var public config float ZedTotalMultiplier;
|
var public config float ZedTotalMultiplier;
|
||||||
var public config float SpawnTotalPlayerMultiplier;
|
var public config float SpawnTotalPlayerMultiplier;
|
||||||
var public config float SpawnTotalCycleMultiplier;
|
var public config float SpawnTotalCycleMultiplier;
|
||||||
var public config float SingleSpawnLimitMultiplier;
|
var public config float SingleSpawnLimitMultiplier;
|
||||||
var public config float SingleSpawnLimitPlayerMultiplier;
|
var public config float SingleSpawnLimitPlayerMultiplier;
|
||||||
var public config float SingleSpawnLimitCycleMultiplier;
|
var public config float SingleSpawnLimitCycleMultiplier;
|
||||||
var public config int AliveSpawnLimit;
|
var public config int AliveSpawnLimit;
|
||||||
var public config bool bSmoothSpawn;
|
|
||||||
|
public static function InitConfig(int Version, int LatestVersion)
|
||||||
public static function InitConfig(int Version, int LatestVersion, E_LogLevel LogLevel)
|
{
|
||||||
{
|
switch (Version)
|
||||||
`Log_TraceStatic();
|
{
|
||||||
|
case `NO_CONFIG:
|
||||||
switch (Version)
|
ApplyDefault();
|
||||||
{
|
|
||||||
case `NO_CONFIG:
|
default: break;
|
||||||
ApplyDefault(LogLevel);
|
}
|
||||||
|
|
||||||
case 3:
|
if (LatestVersion != Version)
|
||||||
default.bSmoothSpawn = false;
|
{
|
||||||
|
StaticSaveConfig();
|
||||||
default: break;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (LatestVersion != Version)
|
private static function ApplyDefault()
|
||||||
{
|
{
|
||||||
StaticSaveConfig();
|
default.bCyclicalSpawn = true;
|
||||||
}
|
default.bShadowSpawn = true;
|
||||||
}
|
default.ZedTotalMultiplier = 1.0;
|
||||||
|
default.SpawnTotalPlayerMultiplier = 0.75;
|
||||||
private static function ApplyDefault(E_LogLevel LogLevel)
|
default.SpawnTotalCycleMultiplier = 0.75;
|
||||||
{
|
default.SingleSpawnLimitMultiplier = 1.0;
|
||||||
`Log_TraceStatic();
|
default.SingleSpawnLimitPlayerMultiplier = 0.75;
|
||||||
|
default.SingleSpawnLimitCycleMultiplier = 0.75;
|
||||||
default.bCyclicalSpawn = true;
|
default.AliveSpawnLimit = 0;
|
||||||
default.bShadowSpawn = true;
|
}
|
||||||
default.bSmoothSpawn = true;
|
|
||||||
default.ZedTotalMultiplier = 1.0;
|
public static function bool Load(E_LogLevel LogLevel)
|
||||||
default.SpawnTotalPlayerMultiplier = 0.75;
|
{
|
||||||
default.SpawnTotalCycleMultiplier = 0.75;
|
local bool Errors;
|
||||||
default.SingleSpawnLimitMultiplier = 1.0;
|
|
||||||
default.SingleSpawnLimitPlayerMultiplier = 0.75;
|
if (default.ZedTotalMultiplier <= 0.f)
|
||||||
default.SingleSpawnLimitCycleMultiplier = 0.75;
|
{
|
||||||
default.AliveSpawnLimit = 0;
|
`ZS_Error("ZedTotalMultiplier" @ "(" $ default.ZedTotalMultiplier $ ")" @ "must be greater than 0.0");
|
||||||
}
|
Errors = true;
|
||||||
|
}
|
||||||
public static function bool Load(E_LogLevel LogLevel)
|
|
||||||
{
|
if (default.SpawnTotalPlayerMultiplier < 0.f)
|
||||||
local bool Errors;
|
{
|
||||||
|
`ZS_Error("SpawnTotalPlayerMultiplier" @ "(" $ default.SpawnTotalPlayerMultiplier $ ")" @ "must be greater than or equal 0.0");
|
||||||
`Log_TraceStatic();
|
Errors = true;
|
||||||
|
}
|
||||||
if (default.ZedTotalMultiplier <= 0.f)
|
|
||||||
{
|
if (default.SpawnTotalCycleMultiplier < 0.f)
|
||||||
`Log_Error("ZedTotalMultiplier" @ "(" $ default.ZedTotalMultiplier $ ")" @ "must be greater than 0.0");
|
{
|
||||||
Errors = true;
|
`ZS_Error("SpawnTotalCycleMultiplier" @ "(" $ default.SpawnTotalCycleMultiplier $ ")" @ "must be greater than or equal 0.0");
|
||||||
}
|
Errors = true;
|
||||||
|
}
|
||||||
if (default.SpawnTotalPlayerMultiplier < 0.f)
|
|
||||||
{
|
if (default.SingleSpawnLimitMultiplier <= 0.f)
|
||||||
`Log_Error("SpawnTotalPlayerMultiplier" @ "(" $ default.SpawnTotalPlayerMultiplier $ ")" @ "must be greater than or equal 0.0");
|
{
|
||||||
Errors = true;
|
`ZS_Error("SingleSpawnLimitMultiplier" @ "(" $ default.SingleSpawnLimitMultiplier $ ")" @ "must be greater than 0.0");
|
||||||
}
|
Errors = true;
|
||||||
|
}
|
||||||
if (default.SpawnTotalCycleMultiplier < 0.f)
|
|
||||||
{
|
if (default.SingleSpawnLimitPlayerMultiplier < 0.f)
|
||||||
`Log_Error("SpawnTotalCycleMultiplier" @ "(" $ default.SpawnTotalCycleMultiplier $ ")" @ "must be greater than or equal 0.0");
|
{
|
||||||
Errors = true;
|
`ZS_Error("SingleSpawnLimitPlayerMultiplier" @ "(" $ default.SingleSpawnLimitPlayerMultiplier $ ")" @ "must be greater than or equal 0.0");
|
||||||
}
|
Errors = true;
|
||||||
|
}
|
||||||
if (default.SingleSpawnLimitMultiplier <= 0.f)
|
|
||||||
{
|
if (default.SingleSpawnLimitCycleMultiplier < 0.f)
|
||||||
`Log_Error("SingleSpawnLimitMultiplier" @ "(" $ default.SingleSpawnLimitMultiplier $ ")" @ "must be greater than 0.0");
|
{
|
||||||
Errors = true;
|
`ZS_Error("SingleSpawnLimitCycleMultiplier" @ "(" $ default.SingleSpawnLimitCycleMultiplier $ ")" @ "must be greater than or equal 0.0");
|
||||||
}
|
Errors = true;
|
||||||
|
}
|
||||||
if (default.SingleSpawnLimitPlayerMultiplier < 0.f)
|
|
||||||
{
|
if (default.AliveSpawnLimit < 0)
|
||||||
`Log_Error("SingleSpawnLimitPlayerMultiplier" @ "(" $ default.SingleSpawnLimitPlayerMultiplier $ ")" @ "must be greater than or equal 0.0");
|
{
|
||||||
Errors = true;
|
`ZS_Error("AliveSpawnLimit" @ "(" $ default.AliveSpawnLimit $ ")" @ "must be greater than or equal 0");
|
||||||
}
|
Errors = true;
|
||||||
|
}
|
||||||
if (default.SingleSpawnLimitCycleMultiplier < 0.f)
|
|
||||||
{
|
return !Errors;
|
||||||
`Log_Error("SingleSpawnLimitCycleMultiplier" @ "(" $ default.SingleSpawnLimitCycleMultiplier $ ")" @ "must be greater than or equal 0.0");
|
}
|
||||||
Errors = true;
|
|
||||||
}
|
defaultproperties
|
||||||
|
{
|
||||||
if (default.AliveSpawnLimit < 0)
|
|
||||||
{
|
}
|
||||||
`Log_Error("AliveSpawnLimit" @ "(" $ default.AliveSpawnLimit $ ")" @ "must be greater than or equal 0");
|
|
||||||
Errors = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
return !Errors;
|
|
||||||
}
|
|
||||||
|
|
||||||
defaultproperties
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
@ -1,80 +0,0 @@
|
|||||||
class SpawnAtPlayerStart extends Object
|
|
||||||
dependson(ZedSpawner)
|
|
||||||
config(ZedSpawner);
|
|
||||||
|
|
||||||
var private config Array<String> ZedClass;
|
|
||||||
var public config Array<String> Map;
|
|
||||||
|
|
||||||
public static function InitConfig(int Version, int LatestVersion, E_LogLevel LogLevel)
|
|
||||||
{
|
|
||||||
`Log_TraceStatic();
|
|
||||||
|
|
||||||
switch (Version)
|
|
||||||
{
|
|
||||||
case `NO_CONFIG:
|
|
||||||
case 2:
|
|
||||||
ApplyDefault(LogLevel);
|
|
||||||
|
|
||||||
default: break;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (LatestVersion != Version)
|
|
||||||
{
|
|
||||||
StaticSaveConfig();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private static function ApplyDefault(E_LogLevel LogLevel)
|
|
||||||
{
|
|
||||||
`Log_TraceStatic();
|
|
||||||
|
|
||||||
default.ZedClass.Length = 0;
|
|
||||||
default.ZedClass.AddItem("HL2Monsters.Combine_Strider");
|
|
||||||
default.ZedClass.AddItem("HL2Monsters.Combine_Gunship");
|
|
||||||
default.ZedClass.AddItem("HL2Monsters.Hunter_Chopper");
|
|
||||||
default.ZedClass.AddItem("SomePackage.SomeZedClassYouWantToSpawnAtPlayerStart");
|
|
||||||
|
|
||||||
default.Map.Length = 0;
|
|
||||||
default.Map.AddItem("KF-SomeMapNameWhereYouWantSpawnZedsAtPlayerStart");
|
|
||||||
}
|
|
||||||
|
|
||||||
public static function Array<class<KFPawn_Monster> > Load(E_LogLevel LogLevel)
|
|
||||||
{
|
|
||||||
local Array<class<KFPawn_Monster> > ZedList;
|
|
||||||
local class<KFPawn_Monster> KFPMC;
|
|
||||||
local String ZedClassTmp;
|
|
||||||
local int Line;
|
|
||||||
|
|
||||||
`Log_TraceStatic();
|
|
||||||
|
|
||||||
`Log_Info("Load zeds to spawn at player start:");
|
|
||||||
foreach default.ZedClass(ZedClassTmp, Line)
|
|
||||||
{
|
|
||||||
KFPMC = class<KFPawn_Monster>(DynamicLoadObject(ZedClassTmp, class'Class'));
|
|
||||||
if (KFPMC == None)
|
|
||||||
{
|
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Can't load zed class:" @ ZedClassTmp);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
ZedList.AddItem(KFPMC);
|
|
||||||
`Log_Debug("[" $ Line + 1 $ "]" @ "Loaded successfully:" @ ZedClassTmp);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ZedList.Length == default.ZedClass.Length)
|
|
||||||
{
|
|
||||||
`Log_Info("Spawn at player start list (Zeds) loaded successfully (" $ default.ZedClass.Length @ "entries)");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
`Log_Info("Spawn at player start list (Zeds): loaded" @ ZedList.Length @ "of" @ default.ZedClass.Length @ "entries");
|
|
||||||
}
|
|
||||||
|
|
||||||
return ZedList;
|
|
||||||
}
|
|
||||||
|
|
||||||
defaultproperties
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
@ -1,142 +1,142 @@
|
|||||||
class SpawnListBossWaves extends Object
|
class SpawnListBossWaves extends Object
|
||||||
dependson(ZedSpawner)
|
dependson(ZedSpawner)
|
||||||
config(ZedSpawner);
|
config(ZedSpawner);
|
||||||
|
|
||||||
struct S_SpawnEntryCfg
|
struct S_SpawnEntryCfg
|
||||||
{
|
{
|
||||||
var String BossClass;
|
var String BossClass;
|
||||||
var String ZedClass;
|
var String ZedClass;
|
||||||
var int Delay;
|
var int Delay;
|
||||||
var int Probability;
|
var int Probability;
|
||||||
var int SpawnCountBase;
|
var int SpawnCountBase;
|
||||||
var int SingleSpawnLimit;
|
var int SingleSpawnLimit;
|
||||||
};
|
var bool bSpawnAtPlayerStart;
|
||||||
|
};
|
||||||
var public config bool bStopRegularSpawn;
|
|
||||||
var private config Array<S_SpawnEntryCfg> Spawn;
|
var public config bool bStopRegularSpawn;
|
||||||
|
var private config Array<S_SpawnEntryCfg> Spawn;
|
||||||
public static function InitConfig(int Version, int LatestVersion, KFGI_Access KFGIA, E_LogLevel LogLevel)
|
|
||||||
{
|
public static function InitConfig(int Version, int LatestVersion, KFGI_Access KFGIA)
|
||||||
`Log_TraceStatic();
|
{
|
||||||
|
switch (Version)
|
||||||
switch (Version)
|
{
|
||||||
{
|
case `NO_CONFIG:
|
||||||
case `NO_CONFIG:
|
ApplyDefault(KFGIA);
|
||||||
ApplyDefault(KFGIA, LogLevel);
|
|
||||||
|
default: break;
|
||||||
default: break;
|
}
|
||||||
}
|
|
||||||
|
if (LatestVersion != Version)
|
||||||
if (LatestVersion != Version)
|
{
|
||||||
{
|
StaticSaveConfig();
|
||||||
StaticSaveConfig();
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
private static function ApplyDefault(KFGI_Access KFGIA)
|
||||||
private static function ApplyDefault(KFGI_Access KFGIA, E_LogLevel LogLevel)
|
{
|
||||||
{
|
local S_SpawnEntryCfg SpawnEntry;
|
||||||
local S_SpawnEntryCfg SpawnEntry;
|
local Array<class<KFPawn_Monster> > KFPM_Bosses;
|
||||||
local Array<class<KFPawn_Monster> > KFPM_Bosses;
|
local class<KFPawn_Monster> KFPMC;
|
||||||
local class<KFPawn_Monster> KFPMC;
|
|
||||||
|
default.Spawn.Length = 0;
|
||||||
`Log_TraceStatic();
|
|
||||||
|
default.bStopRegularSpawn = true;
|
||||||
default.Spawn.Length = 0;
|
default.Spawn.Length = 0;
|
||||||
|
SpawnEntry.ZedClass = "SomePackage.SomeClass";
|
||||||
default.bStopRegularSpawn = true;
|
SpawnEntry.SpawnCountBase = 2;
|
||||||
default.Spawn.Length = 0;
|
SpawnEntry.SingleSpawnLimit = 1;
|
||||||
SpawnEntry.ZedClass = "SomePackage.SomeClass";
|
SpawnEntry.Delay = 30;
|
||||||
SpawnEntry.SpawnCountBase = 2;
|
SpawnEntry.Probability = 100;
|
||||||
SpawnEntry.SingleSpawnLimit = 1;
|
SpawnEntry.bSpawnAtPlayerStart = false;
|
||||||
SpawnEntry.Delay = 30;
|
KFPM_Bosses = KFGIA.GetAIBossClassList();
|
||||||
SpawnEntry.Probability = 100;
|
foreach KFPM_Bosses(KFPMC)
|
||||||
KFPM_Bosses = KFGIA.GetAIBossClassList(LogLevel);
|
{
|
||||||
foreach KFPM_Bosses(KFPMC)
|
SpawnEntry.BossClass = "KFGameContent." $ String(KFPMC);
|
||||||
{
|
default.Spawn.AddItem(SpawnEntry);
|
||||||
SpawnEntry.BossClass = "KFGameContent." $ String(KFPMC);
|
}
|
||||||
default.Spawn.AddItem(SpawnEntry);
|
}
|
||||||
}
|
|
||||||
}
|
public static function Array<S_SpawnEntry> Load(E_LogLevel LogLevel)
|
||||||
|
{
|
||||||
public static function Array<S_SpawnEntry> Load(E_LogLevel LogLevel)
|
local Array<S_SpawnEntry> SpawnList;
|
||||||
{
|
local S_SpawnEntryCfg SpawnEntryCfg;
|
||||||
local Array<S_SpawnEntry> SpawnList;
|
local S_SpawnEntry SpawnEntry;
|
||||||
local S_SpawnEntryCfg SpawnEntryCfg;
|
local int Line;
|
||||||
local S_SpawnEntry SpawnEntry;
|
local bool Errors;
|
||||||
local int Line;
|
local int Loaded;
|
||||||
local bool Errors;
|
|
||||||
|
`ZS_Info("Load boss waves spawn list...");
|
||||||
`Log_TraceStatic();
|
foreach default.Spawn(SpawnEntryCfg, Line)
|
||||||
|
{
|
||||||
`Log_Info("Load boss waves spawn list:");
|
Errors = false;
|
||||||
foreach default.Spawn(SpawnEntryCfg, Line)
|
|
||||||
{
|
SpawnEntry.BossClass = class<KFPawn_Monster>(DynamicLoadObject(SpawnEntryCfg.BossClass, class'Class'));
|
||||||
Errors = false;
|
if (SpawnEntry.BossClass == None)
|
||||||
|
{
|
||||||
SpawnEntry.BossClass = class<KFPawn_Monster>(DynamicLoadObject(SpawnEntryCfg.BossClass, class'Class'));
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "Can't load boss class:" @ SpawnEntryCfg.BossClass);
|
||||||
if (SpawnEntry.BossClass == None)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Can't load boss class:" @ SpawnEntryCfg.BossClass);
|
|
||||||
Errors = true;
|
SpawnEntry.ZedClass = class<KFPawn_Monster>(DynamicLoadObject(SpawnEntryCfg.ZedClass, class'Class'));
|
||||||
}
|
if (SpawnEntry.ZedClass == None)
|
||||||
|
{
|
||||||
SpawnEntry.ZedClass = class<KFPawn_Monster>(DynamicLoadObject(SpawnEntryCfg.ZedClass, class'Class'));
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "Can't load zed class:" @ SpawnEntryCfg.ZedClass);
|
||||||
if (SpawnEntry.ZedClass == None)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Can't load zed class:" @ SpawnEntryCfg.ZedClass);
|
|
||||||
Errors = true;
|
SpawnEntry.RelativeStartDefault = 0.f;
|
||||||
}
|
|
||||||
|
SpawnEntry.DelayDefault = SpawnEntryCfg.Delay;
|
||||||
SpawnEntry.RelativeStartDefault = 0.f;
|
if (SpawnEntryCfg.Delay <= 0)
|
||||||
|
{
|
||||||
SpawnEntry.DelayDefault = SpawnEntryCfg.Delay;
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "Delay" @ "(" $ SpawnEntryCfg.Delay $ ")" @ "must be greater than 0");
|
||||||
if (SpawnEntryCfg.Delay <= 0)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Delay" @ "(" $ SpawnEntryCfg.Delay $ ")" @ "must be greater than 0");
|
|
||||||
Errors = true;
|
SpawnEntry.Probability = SpawnEntryCfg.Probability / 100.f;
|
||||||
}
|
if (SpawnEntryCfg.Probability <= 0 || SpawnEntryCfg.Probability > 100)
|
||||||
|
{
|
||||||
SpawnEntry.Probability = SpawnEntryCfg.Probability / 100.f;
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "Probability" @ "(" $ SpawnEntryCfg.Probability $ ")" @ "must be greater than 0 and less than or equal 100");
|
||||||
if (SpawnEntryCfg.Probability <= 0 || SpawnEntryCfg.Probability > 100)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Probability" @ "(" $ SpawnEntryCfg.Probability $ ")" @ "must be greater than 0 and less than or equal 100");
|
|
||||||
Errors = true;
|
SpawnEntry.SpawnCountBase = SpawnEntryCfg.SpawnCountBase;
|
||||||
}
|
if (SpawnEntry.SpawnCountBase <= 0)
|
||||||
|
{
|
||||||
SpawnEntry.SpawnCountBase = SpawnEntryCfg.SpawnCountBase;
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "SpawnCountBase" @ "(" $ SpawnEntryCfg.SpawnCountBase $ ")" @ "must be greater than 0");
|
||||||
if (SpawnEntry.SpawnCountBase <= 0)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "SpawnCountBase" @ "(" $ SpawnEntryCfg.SpawnCountBase $ ")" @ "must be greater than 0");
|
|
||||||
Errors = true;
|
SpawnEntry.SingleSpawnLimitDefault = SpawnEntryCfg.SingleSpawnLimit;
|
||||||
}
|
if (SpawnEntry.SingleSpawnLimit < 0)
|
||||||
|
{
|
||||||
SpawnEntry.SingleSpawnLimitDefault = SpawnEntryCfg.SingleSpawnLimit;
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "SingleSpawnLimit" @ "(" $ SpawnEntryCfg.SingleSpawnLimit $ ")" @ "must be equal or greater than 0");
|
||||||
if (SpawnEntry.SingleSpawnLimit < 0)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "SingleSpawnLimit" @ "(" $ SpawnEntryCfg.SingleSpawnLimit $ ")" @ "must be equal or greater than 0");
|
|
||||||
Errors = true;
|
SpawnEntry.SpawnAtPlayerStart = SpawnEntryCfg.bSpawnAtPlayerStart;
|
||||||
}
|
|
||||||
|
if (!Errors)
|
||||||
if (!Errors)
|
{
|
||||||
{
|
Loaded++;
|
||||||
SpawnList.AddItem(SpawnEntry);
|
SpawnList.AddItem(SpawnEntry);
|
||||||
`Log_Debug("[" $ Line + 1 $ "]" @ "Loaded successfully: (" $ SpawnEntryCfg.BossClass $ ")" @ SpawnEntryCfg.ZedClass);
|
`ZS_Debug("[" $ Line + 1 $ "]" @ "Loaded successfully: (" $ SpawnEntryCfg.BossClass $ ")" @ SpawnEntryCfg.ZedClass);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SpawnList.Length == default.Spawn.Length)
|
if (Loaded == default.Spawn.Length)
|
||||||
{
|
{
|
||||||
`Log_Info("Boss spawn list loaded successfully (" $ default.Spawn.Length @ "entries)");
|
`ZS_Info("Boss spawn list loaded successfully");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
`Log_Info("Boss spawn list: loaded" @ SpawnList.Length @ "of" @ default.Spawn.Length @ "entries");
|
`ZS_Info("Boss spawn list: loaded" @ Loaded @ "of" @ default.Spawn.Length @ "entries");
|
||||||
}
|
}
|
||||||
|
|
||||||
return SpawnList;
|
return SpawnList;
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultproperties
|
defaultproperties
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -1,155 +1,148 @@
|
|||||||
class SpawnListRegular extends Object
|
class SpawnListRegular extends Object
|
||||||
dependson(ZedSpawner)
|
dependson(ZedSpawner)
|
||||||
config(ZedSpawner);
|
config(ZedSpawner);
|
||||||
|
|
||||||
struct S_SpawnEntryCfg
|
struct S_SpawnEntryCfg
|
||||||
{
|
{
|
||||||
var int Wave;
|
var int Wave;
|
||||||
var String ZedClass;
|
var String ZedClass;
|
||||||
var int RelativeStart;
|
var int RelativeStart;
|
||||||
var int Delay;
|
var int Delay;
|
||||||
var int Probability;
|
var int Probability;
|
||||||
var int SpawnCountBase;
|
var int SpawnCountBase;
|
||||||
var int SingleSpawnLimit;
|
var int SingleSpawnLimit;
|
||||||
};
|
var bool bSpawnAtPlayerStart;
|
||||||
|
};
|
||||||
var public config Array<S_SpawnEntryCfg> Spawn;
|
|
||||||
|
var public config Array<S_SpawnEntryCfg> Spawn;
|
||||||
delegate int SpawnListSort(S_SpawnEntryCfg A, S_SpawnEntryCfg B)
|
|
||||||
{
|
public static function InitConfig(int Version, int LatestVersion, KFGI_Access KFGIA)
|
||||||
return A.Wave > B.Wave ? -1 : 0;
|
{
|
||||||
}
|
switch (Version)
|
||||||
|
{
|
||||||
public static function InitConfig(int Version, int LatestVersion, KFGI_Access KFGIA, E_LogLevel LogLevel)
|
case `NO_CONFIG:
|
||||||
{
|
ApplyDefault(KFGIA);
|
||||||
`Log_TraceStatic();
|
|
||||||
|
default: break;
|
||||||
switch (Version)
|
}
|
||||||
{
|
|
||||||
case `NO_CONFIG:
|
if (LatestVersion != Version)
|
||||||
ApplyDefault(KFGIA, LogLevel);
|
{
|
||||||
|
StaticSaveConfig();
|
||||||
default: break;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (LatestVersion != Version)
|
private static function ApplyDefault(KFGI_Access KFGIA)
|
||||||
{
|
{
|
||||||
StaticSaveConfig();
|
local S_SpawnEntryCfg SpawnEntry;
|
||||||
}
|
local Array<class<KFPawn_Monster> > KFPM_Zeds;
|
||||||
}
|
local class<KFPawn_Monster> KFPMC;
|
||||||
|
|
||||||
private static function ApplyDefault(KFGI_Access KFGIA, E_LogLevel LogLevel)
|
default.Spawn.Length = 0;
|
||||||
{
|
|
||||||
local S_SpawnEntryCfg SpawnEntry;
|
SpawnEntry.Wave = 0;
|
||||||
local Array<class<KFPawn_Monster> > KFPM_Zeds;
|
SpawnEntry.SpawnCountBase = 2;
|
||||||
local class<KFPawn_Monster> KFPMC;
|
SpawnEntry.SingleSpawnLimit = 1;
|
||||||
|
SpawnEntry.RelativeStart = 25;
|
||||||
`Log_TraceStatic();
|
SpawnEntry.Delay = 60;
|
||||||
|
SpawnEntry.Probability = 100;
|
||||||
default.Spawn.Length = 0;
|
SpawnEntry.bSpawnAtPlayerStart = false;
|
||||||
|
|
||||||
SpawnEntry.Wave = 0;
|
KFPM_Zeds = KFGIA.GetAIClassList();
|
||||||
SpawnEntry.SpawnCountBase = 2;
|
foreach KFPM_Zeds(KFPMC)
|
||||||
SpawnEntry.SingleSpawnLimit = 1;
|
{
|
||||||
SpawnEntry.RelativeStart = 25;
|
++SpawnEntry.Wave;
|
||||||
SpawnEntry.Delay = 60;
|
SpawnEntry.ZedClass = "KFGameContent." $ String(KFPMC);
|
||||||
SpawnEntry.Probability = 100;
|
default.Spawn.AddItem(SpawnEntry);
|
||||||
|
}
|
||||||
KFPM_Zeds = KFGIA.GetAIClassList(LogLevel);
|
}
|
||||||
foreach KFPM_Zeds(KFPMC)
|
|
||||||
{
|
public static function Array<S_SpawnEntry> Load(E_LogLevel LogLevel)
|
||||||
++SpawnEntry.Wave;
|
{
|
||||||
SpawnEntry.ZedClass = "KFGameContent." $ String(KFPMC);
|
local Array<S_SpawnEntry> SpawnList;
|
||||||
default.Spawn.AddItem(SpawnEntry);
|
local S_SpawnEntryCfg SpawnEntryCfg;
|
||||||
}
|
local S_SpawnEntry SpawnEntry;
|
||||||
}
|
local int Line;
|
||||||
|
local bool Errors;
|
||||||
public static function Array<S_SpawnEntry> Load(E_LogLevel LogLevel)
|
local int Loaded;
|
||||||
{
|
|
||||||
local Array<S_SpawnEntry> SpawnList;
|
`ZS_Info("Load spawn list:");
|
||||||
local S_SpawnEntryCfg SpawnEntryCfg;
|
foreach default.Spawn(SpawnEntryCfg, Line)
|
||||||
local S_SpawnEntry SpawnEntry;
|
{
|
||||||
local int Line;
|
Errors = false;
|
||||||
local bool Errors;
|
|
||||||
|
SpawnEntry.Wave = SpawnEntryCfg.Wave;
|
||||||
`Log_TraceStatic();
|
if (SpawnEntryCfg.Wave <= 0 || SpawnEntryCfg.Wave > 255)
|
||||||
|
{
|
||||||
`Log_Info("Load spawn list:");
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "Wave" @ "(" $ SpawnEntryCfg.ZedClass $ ")" @ "must be greater than 0 and less than 256");
|
||||||
foreach default.Spawn(SpawnEntryCfg, Line)
|
Errors = true;
|
||||||
{
|
}
|
||||||
Errors = false;
|
|
||||||
|
SpawnEntry.ZedClass = class<KFPawn_Monster>(DynamicLoadObject(SpawnEntryCfg.ZedClass, class'Class'));
|
||||||
SpawnEntry.Wave = SpawnEntryCfg.Wave;
|
if (SpawnEntry.ZedClass == None)
|
||||||
if (SpawnEntryCfg.Wave <= 0 || SpawnEntryCfg.Wave > 255)
|
{
|
||||||
{
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "Can't load zed class:" @ SpawnEntryCfg.ZedClass);
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Wave" @ "(" $ SpawnEntryCfg.ZedClass $ ")" @ "must be greater than 0 and less than 256");
|
Errors = true;
|
||||||
Errors = true;
|
}
|
||||||
}
|
|
||||||
|
SpawnEntry.RelativeStartDefault = SpawnEntryCfg.RelativeStart / 100.f;
|
||||||
SpawnEntry.ZedClass = class<KFPawn_Monster>(DynamicLoadObject(SpawnEntryCfg.ZedClass, class'Class'));
|
if (SpawnEntryCfg.RelativeStart < 0 || SpawnEntryCfg.RelativeStart > 100)
|
||||||
if (SpawnEntry.ZedClass == None)
|
{
|
||||||
{
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "RelativeStart" @ "(" $ SpawnEntryCfg.RelativeStart $ ")" @ "must be greater than or equal 0 and less than or equal 100");
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Can't load zed class:" @ SpawnEntryCfg.ZedClass);
|
Errors = true;
|
||||||
Errors = true;
|
}
|
||||||
}
|
|
||||||
|
SpawnEntry.DelayDefault = SpawnEntryCfg.Delay;
|
||||||
SpawnEntry.RelativeStartDefault = SpawnEntryCfg.RelativeStart / 100.f;
|
if (SpawnEntryCfg.Delay <= 0)
|
||||||
if (SpawnEntryCfg.RelativeStart < 0 || SpawnEntryCfg.RelativeStart > 100)
|
{
|
||||||
{
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "Delay" @ "(" $ SpawnEntryCfg.Delay $ ")" @ "must be greater than 0");
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "RelativeStart" @ "(" $ SpawnEntryCfg.RelativeStart $ ")" @ "must be greater than or equal 0 and less than or equal 100");
|
Errors = true;
|
||||||
Errors = true;
|
}
|
||||||
}
|
|
||||||
|
SpawnEntry.Probability = SpawnEntryCfg.Probability / 100.f;
|
||||||
SpawnEntry.DelayDefault = SpawnEntryCfg.Delay;
|
if (SpawnEntryCfg.Probability <= 0 || SpawnEntryCfg.Probability > 100)
|
||||||
if (SpawnEntryCfg.Delay <= 0)
|
{
|
||||||
{
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "Probability" @ "(" $ SpawnEntryCfg.Probability $ ")" @ "must be greater than 0 and less than or equal 100");
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Delay" @ "(" $ SpawnEntryCfg.Delay $ ")" @ "must be greater than 0");
|
Errors = true;
|
||||||
Errors = true;
|
}
|
||||||
}
|
|
||||||
|
SpawnEntry.SpawnCountBase = SpawnEntryCfg.SpawnCountBase;
|
||||||
SpawnEntry.Probability = SpawnEntryCfg.Probability / 100.f;
|
if (SpawnEntry.SpawnCountBase <= 0)
|
||||||
if (SpawnEntryCfg.Probability <= 0 || SpawnEntryCfg.Probability > 100)
|
{
|
||||||
{
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "SpawnCountBase" @ "(" $ SpawnEntryCfg.SpawnCountBase $ ")" @ "must be greater than 0");
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Probability" @ "(" $ SpawnEntryCfg.Probability $ ")" @ "must be greater than 0 and less than or equal 100");
|
Errors = true;
|
||||||
Errors = true;
|
}
|
||||||
}
|
|
||||||
|
SpawnEntry.SingleSpawnLimitDefault = SpawnEntryCfg.SingleSpawnLimit;
|
||||||
SpawnEntry.SpawnCountBase = SpawnEntryCfg.SpawnCountBase;
|
if (SpawnEntry.SingleSpawnLimit < 0)
|
||||||
if (SpawnEntry.SpawnCountBase <= 0)
|
{
|
||||||
{
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "SingleSpawnLimit" @ "(" $ SpawnEntryCfg.SingleSpawnLimit $ ")" @ "must be equal or greater than 0");
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "SpawnCountBase" @ "(" $ SpawnEntryCfg.SpawnCountBase $ ")" @ "must be greater than 0");
|
Errors = true;
|
||||||
Errors = true;
|
}
|
||||||
}
|
|
||||||
|
SpawnEntry.SpawnAtPlayerStart = SpawnEntryCfg.bSpawnAtPlayerStart;
|
||||||
SpawnEntry.SingleSpawnLimitDefault = SpawnEntryCfg.SingleSpawnLimit;
|
|
||||||
if (SpawnEntry.SingleSpawnLimit < 0)
|
if (!Errors)
|
||||||
{
|
{
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "SingleSpawnLimit" @ "(" $ SpawnEntryCfg.SingleSpawnLimit $ ")" @ "must be equal or greater than 0");
|
Loaded++;
|
||||||
Errors = true;
|
SpawnList.AddItem(SpawnEntry);
|
||||||
}
|
`ZS_Debug("[" $ Line + 1 $ "]" @ "Loaded successfully: (w" $ SpawnEntryCfg.Wave $ ")" @ SpawnEntryCfg.ZedClass);
|
||||||
|
}
|
||||||
if (!Errors)
|
}
|
||||||
{
|
|
||||||
SpawnList.AddItem(SpawnEntry);
|
if (Loaded == default.Spawn.Length)
|
||||||
`Log_Debug("[" $ Line + 1 $ "]" @ "Loaded successfully: (w" $ SpawnEntryCfg.Wave $ ")" @ SpawnEntryCfg.ZedClass);
|
{
|
||||||
}
|
`ZS_Info("Regular spawn list loaded successfully");
|
||||||
}
|
}
|
||||||
|
else
|
||||||
default.Spawn.Sort(SpawnListSort);
|
{
|
||||||
|
`ZS_Info("Regular spawn list: loaded" @ Loaded @ "of" @ default.Spawn.Length @ "entries");
|
||||||
if (SpawnList.Length == default.Spawn.Length)
|
}
|
||||||
{
|
|
||||||
`Log_Info("Regular spawn list loaded successfully (" $ default.Spawn.Length @ "entries)");
|
return SpawnList;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
defaultproperties
|
||||||
`Log_Info("Regular spawn list: loaded" @ SpawnList.Length @ "of" @ default.Spawn.Length @ "entries");
|
{
|
||||||
}
|
|
||||||
|
}
|
||||||
return SpawnList;
|
|
||||||
}
|
|
||||||
|
|
||||||
defaultproperties
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
@ -1,151 +1,151 @@
|
|||||||
class SpawnListSpecialWaves extends Object
|
class SpawnListSpecialWaves extends Object
|
||||||
dependson(ZedSpawner)
|
dependson(ZedSpawner)
|
||||||
config(ZedSpawner);
|
config(ZedSpawner);
|
||||||
|
|
||||||
struct S_SpawnEntryCfg
|
struct S_SpawnEntryCfg
|
||||||
{
|
{
|
||||||
var EAIType Wave;
|
var EAIType Wave;
|
||||||
var String ZedClass;
|
var String ZedClass;
|
||||||
var int RelativeStart;
|
var int RelativeStart;
|
||||||
var int Delay;
|
var int Delay;
|
||||||
var int Probability;
|
var int Probability;
|
||||||
var int SpawnCountBase;
|
var int SpawnCountBase;
|
||||||
var int SingleSpawnLimit;
|
var int SingleSpawnLimit;
|
||||||
};
|
var bool bSpawnAtPlayerStart;
|
||||||
|
};
|
||||||
var public config bool bStopRegularSpawn;
|
|
||||||
var private config Array<S_SpawnEntryCfg> Spawn;
|
var public config bool bStopRegularSpawn;
|
||||||
|
var private config Array<S_SpawnEntryCfg> Spawn;
|
||||||
public static function InitConfig(int Version, int LatestVersion, E_LogLevel LogLevel)
|
|
||||||
{
|
public static function InitConfig(int Version, int LatestVersion)
|
||||||
`Log_TraceStatic();
|
{
|
||||||
|
switch (Version)
|
||||||
switch (Version)
|
{
|
||||||
{
|
case `NO_CONFIG:
|
||||||
case `NO_CONFIG:
|
ApplyDefault();
|
||||||
ApplyDefault(LogLevel);
|
|
||||||
|
default: break;
|
||||||
default: break;
|
}
|
||||||
}
|
|
||||||
|
if (LatestVersion != Version)
|
||||||
if (LatestVersion != Version)
|
{
|
||||||
{
|
StaticSaveConfig();
|
||||||
StaticSaveConfig();
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
private static function ApplyDefault()
|
||||||
private static function ApplyDefault(E_LogLevel LogLevel)
|
{
|
||||||
{
|
local S_SpawnEntryCfg SpawnEntry;
|
||||||
local S_SpawnEntryCfg SpawnEntry;
|
local EAIType AIType;
|
||||||
local EAIType AIType;
|
|
||||||
|
default.bStopRegularSpawn = true;
|
||||||
`Log_TraceStatic();
|
default.Spawn.Length = 0;
|
||||||
|
SpawnEntry.ZedClass = "SomePackage.SomeClass";
|
||||||
default.bStopRegularSpawn = true;
|
SpawnEntry.SpawnCountBase = 2;
|
||||||
default.Spawn.Length = 0;
|
SpawnEntry.SingleSpawnLimit = 1;
|
||||||
SpawnEntry.ZedClass = "SomePackage.SomeClass";
|
SpawnEntry.RelativeStart = 0;
|
||||||
SpawnEntry.SpawnCountBase = 2;
|
SpawnEntry.Delay = 60;
|
||||||
SpawnEntry.SingleSpawnLimit = 1;
|
SpawnEntry.Probability = 100;
|
||||||
SpawnEntry.RelativeStart = 0;
|
SpawnEntry.bSpawnAtPlayerStart = false;
|
||||||
SpawnEntry.Delay = 60;
|
foreach class'KFGameInfo_Endless'.default.SpecialWaveTypes(AIType)
|
||||||
SpawnEntry.Probability = 100;
|
{
|
||||||
foreach class'KFGameInfo_Endless'.default.SpecialWaveTypes(AIType)
|
SpawnEntry.Wave = AIType;
|
||||||
{
|
default.Spawn.AddItem(SpawnEntry);
|
||||||
SpawnEntry.Wave = AIType;
|
}
|
||||||
default.Spawn.AddItem(SpawnEntry);
|
}
|
||||||
}
|
|
||||||
}
|
public static function Array<S_SpawnEntry> Load(KFGameInfo_Endless KFGIE, E_LogLevel LogLevel)
|
||||||
|
{
|
||||||
public static function Array<S_SpawnEntry> Load(KFGameInfo_Endless KFGIE, E_LogLevel LogLevel)
|
local Array<S_SpawnEntry> SpawnList;
|
||||||
{
|
local S_SpawnEntryCfg SpawnEntryCfg;
|
||||||
local Array<S_SpawnEntry> SpawnList;
|
local S_SpawnEntry SpawnEntry;
|
||||||
local S_SpawnEntryCfg SpawnEntryCfg;
|
local int Line;
|
||||||
local S_SpawnEntry SpawnEntry;
|
local bool Errors;
|
||||||
local int Line;
|
local int Loaded;
|
||||||
local bool Errors;
|
|
||||||
|
if (KFGIE == None)
|
||||||
`Log_TraceStatic();
|
{
|
||||||
|
`ZS_Info("Not Endless mode, skip loading special waves");
|
||||||
if (KFGIE == None)
|
return SpawnList;
|
||||||
{
|
}
|
||||||
`Log_Info("Not Endless mode, skip loading special waves");
|
|
||||||
return SpawnList;
|
`ZS_Info("Load special waves spawn list:");
|
||||||
}
|
foreach default.Spawn(SpawnEntryCfg, Line)
|
||||||
|
{
|
||||||
`Log_Info("Load special waves spawn list:");
|
Errors = false;
|
||||||
foreach default.Spawn(SpawnEntryCfg, Line)
|
|
||||||
{
|
SpawnEntry.Wave = SpawnEntryCfg.Wave;
|
||||||
Errors = false;
|
if (KFGIE.SpecialWaveTypes.Find(EAIType(SpawnEntryCfg.Wave)) == INDEX_NONE)
|
||||||
|
{
|
||||||
SpawnEntry.Wave = SpawnEntryCfg.Wave;
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "Unknown special wave:" @ SpawnEntryCfg.Wave);
|
||||||
if (KFGIE.SpecialWaveTypes.Find(EAIType(SpawnEntryCfg.Wave)) == INDEX_NONE)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Unknown special wave:" @ SpawnEntryCfg.Wave);
|
|
||||||
Errors = true;
|
SpawnEntry.ZedClass = class<KFPawn_Monster>(DynamicLoadObject(SpawnEntryCfg.ZedClass, class'Class'));
|
||||||
}
|
if (SpawnEntry.ZedClass == None)
|
||||||
|
{
|
||||||
SpawnEntry.ZedClass = class<KFPawn_Monster>(DynamicLoadObject(SpawnEntryCfg.ZedClass, class'Class'));
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "Can't load zed class:" @ SpawnEntryCfg.ZedClass);
|
||||||
if (SpawnEntry.ZedClass == None)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Can't load zed class:" @ SpawnEntryCfg.ZedClass);
|
|
||||||
Errors = true;
|
SpawnEntry.RelativeStartDefault = SpawnEntryCfg.RelativeStart / 100.f;
|
||||||
}
|
if (SpawnEntryCfg.RelativeStart < 0 || SpawnEntryCfg.RelativeStart > 100)
|
||||||
|
{
|
||||||
SpawnEntry.RelativeStartDefault = SpawnEntryCfg.RelativeStart / 100.f;
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "RelativeStart" @ "(" $ SpawnEntryCfg.RelativeStart $ ")" @ "must be greater than or equal 0 and less than or equal 100");
|
||||||
if (SpawnEntryCfg.RelativeStart < 0 || SpawnEntryCfg.RelativeStart > 100)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "RelativeStart" @ "(" $ SpawnEntryCfg.RelativeStart $ ")" @ "must be greater than or equal 0 and less than or equal 100");
|
|
||||||
Errors = true;
|
SpawnEntry.DelayDefault = SpawnEntryCfg.Delay;
|
||||||
}
|
if (SpawnEntryCfg.Delay <= 0)
|
||||||
|
{
|
||||||
SpawnEntry.DelayDefault = SpawnEntryCfg.Delay;
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "Delay" @ "(" $ SpawnEntryCfg.Delay $ ")" @ "must be greater than 0");
|
||||||
if (SpawnEntryCfg.Delay <= 0)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Delay" @ "(" $ SpawnEntryCfg.Delay $ ")" @ "must be greater than 0");
|
|
||||||
Errors = true;
|
SpawnEntry.Probability = SpawnEntryCfg.Probability / 100.f;
|
||||||
}
|
if (SpawnEntryCfg.Probability <= 0 || SpawnEntryCfg.Probability > 100)
|
||||||
|
{
|
||||||
SpawnEntry.Probability = SpawnEntryCfg.Probability / 100.f;
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "Probability" @ "(" $ SpawnEntryCfg.Probability $ ")" @ "must be greater than 0 and less than or equal 100");
|
||||||
if (SpawnEntryCfg.Probability <= 0 || SpawnEntryCfg.Probability > 100)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "Probability" @ "(" $ SpawnEntryCfg.Probability $ ")" @ "must be greater than 0 and less than or equal 100");
|
|
||||||
Errors = true;
|
SpawnEntry.SpawnCountBase = SpawnEntryCfg.SpawnCountBase;
|
||||||
}
|
if (SpawnEntry.SpawnCountBase <= 0)
|
||||||
|
{
|
||||||
SpawnEntry.SpawnCountBase = SpawnEntryCfg.SpawnCountBase;
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "SpawnCountBase" @ "(" $ SpawnEntryCfg.SpawnCountBase $ ")" @ "must be greater than 0");
|
||||||
if (SpawnEntry.SpawnCountBase <= 0)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "SpawnCountBase" @ "(" $ SpawnEntryCfg.SpawnCountBase $ ")" @ "must be greater than 0");
|
|
||||||
Errors = true;
|
SpawnEntry.SingleSpawnLimitDefault = SpawnEntryCfg.SingleSpawnLimit;
|
||||||
}
|
if (SpawnEntry.SingleSpawnLimit < 0)
|
||||||
|
{
|
||||||
SpawnEntry.SingleSpawnLimitDefault = SpawnEntryCfg.SingleSpawnLimit;
|
`ZS_Warn("[" $ Line + 1 $ "]" @ "SingleSpawnLimit" @ "(" $ SpawnEntryCfg.SingleSpawnLimit $ ")" @ "must be equal or greater than 0");
|
||||||
if (SpawnEntry.SingleSpawnLimit < 0)
|
Errors = true;
|
||||||
{
|
}
|
||||||
`Log_Warn("[" $ Line + 1 $ "]" @ "SingleSpawnLimit" @ "(" $ SpawnEntryCfg.SingleSpawnLimit $ ")" @ "must be equal or greater than 0");
|
|
||||||
Errors = true;
|
SpawnEntry.SpawnAtPlayerStart = SpawnEntryCfg.bSpawnAtPlayerStart;
|
||||||
}
|
|
||||||
|
if (!Errors)
|
||||||
if (!Errors)
|
{
|
||||||
{
|
Loaded++;
|
||||||
SpawnList.AddItem(SpawnEntry);
|
SpawnList.AddItem(SpawnEntry);
|
||||||
`Log_Debug("[" $ Line + 1 $ "]" @ "Loaded successfully: (" $ SpawnEntryCfg.Wave $ ")" @ SpawnEntryCfg.ZedClass);
|
`ZS_Debug("[" $ Line + 1 $ "]" @ "Loaded successfully: (" $ SpawnEntryCfg.Wave $ ")" @ SpawnEntryCfg.ZedClass);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (SpawnList.Length == default.Spawn.Length)
|
if (Loaded == default.Spawn.Length)
|
||||||
{
|
{
|
||||||
`Log_Info("Special spawn list loaded successfully (" $ default.Spawn.Length @ "entries)");
|
`ZS_Info("Special spawn list loaded successfully");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
`Log_Info("Special spawn list: loaded" @ SpawnList.Length @ "of" @ default.Spawn.Length @ "entries");
|
`ZS_Info("Special spawn list: loaded" @ Loaded @ "of" @ default.Spawn.Length @ "entries");
|
||||||
}
|
}
|
||||||
|
|
||||||
return SpawnList;
|
return SpawnList;
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultproperties
|
defaultproperties
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
|||||||
[Flags]
|
[Flags]
|
||||||
AllowDownload=True
|
AllowDownload=True
|
||||||
ClientOptional=False
|
ClientOptional=False
|
||||||
ServerSideOnly=False
|
ServerSideOnly=False
|
||||||
|
@ -1 +1,58 @@
|
|||||||
class ZedSpawnerMut extends Mut; // backward compatibility
|
class ZedSpawnerMut extends KFMutator
|
||||||
|
dependson(ZedSpawner);
|
||||||
|
|
||||||
|
var private ZedSpawner ZS;
|
||||||
|
|
||||||
|
event PreBeginPlay()
|
||||||
|
{
|
||||||
|
Super.PreBeginPlay();
|
||||||
|
|
||||||
|
if (WorldInfo.NetMode == NM_Client) return;
|
||||||
|
|
||||||
|
foreach WorldInfo.DynamicActors(class'ZedSpawner', ZS)
|
||||||
|
{
|
||||||
|
`ZS_Log("Found 'ZedSpawner'");
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ZS == None)
|
||||||
|
{
|
||||||
|
`ZS_Log("Spawn 'ZedSpawner'");
|
||||||
|
ZS = WorldInfo.Spawn(class'ZedSpawner');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (ZS == None)
|
||||||
|
{
|
||||||
|
`ZS_Log("Can't Spawn 'ZedSpawner', Destroy...");
|
||||||
|
Destroy();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public function AddMutator(Mutator Mut)
|
||||||
|
{
|
||||||
|
if (Mut == Self) return;
|
||||||
|
|
||||||
|
if (Mut.Class == Class)
|
||||||
|
Mut.Destroy();
|
||||||
|
else
|
||||||
|
Super.AddMutator(Mut);
|
||||||
|
}
|
||||||
|
|
||||||
|
function NotifyLogin(Controller C)
|
||||||
|
{
|
||||||
|
Super.NotifyLogin(C);
|
||||||
|
|
||||||
|
ZS.NotifyLogin(C);
|
||||||
|
}
|
||||||
|
|
||||||
|
function NotifyLogout(Controller C)
|
||||||
|
{
|
||||||
|
Super.NotifyLogout(C);
|
||||||
|
|
||||||
|
ZS.NotifyLogout(C);
|
||||||
|
}
|
||||||
|
|
||||||
|
DefaultProperties
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
@ -1,8 +1,7 @@
|
|||||||
class ZedSpawnerRepInfo extends ReplicationInfo;
|
class ZedSpawnerRepLink extends ReplicationInfo;
|
||||||
|
|
||||||
var public ZedSpawner ZS;
|
var public E_LogLevel LogLevel;
|
||||||
var public E_LogLevel LogLevel;
|
var public Array<class<KFPawn_Monster> > CustomZeds;
|
||||||
var public Array<class<KFPawn_Monster> > CustomZeds;
|
|
||||||
var private int Recieved;
|
var private int Recieved;
|
||||||
|
|
||||||
replication
|
replication
|
||||||
@ -11,16 +10,13 @@ replication
|
|||||||
LogLevel;
|
LogLevel;
|
||||||
}
|
}
|
||||||
|
|
||||||
public simulated function bool SafeDestroy()
|
public simulated function bool SafeDestroy() { if (!bPendingDelete) return Destroy(); else return true; }
|
||||||
{
|
|
||||||
return (bPendingDelete || bDeleteMe || Destroy());
|
|
||||||
}
|
|
||||||
|
|
||||||
public reliable client function ClientSync(class<KFPawn_Monster> CustomZed)
|
public reliable client function ClientSync(class<KFPawn_Monster> CustomZed)
|
||||||
{
|
{
|
||||||
`Log_Trace();
|
`ZS_Trace(`Location);
|
||||||
|
|
||||||
`Log_Debug("Received:" @ CustomZed);
|
`ZS_Debug("Received:" @ CustomZed);
|
||||||
CustomZeds.AddItem(CustomZed);
|
CustomZeds.AddItem(CustomZed);
|
||||||
ServerSync();
|
ServerSync();
|
||||||
}
|
}
|
||||||
@ -28,36 +24,31 @@ public reliable client function ClientSync(class<KFPawn_Monster> CustomZed)
|
|||||||
public reliable client function SyncFinished()
|
public reliable client function SyncFinished()
|
||||||
{
|
{
|
||||||
local class<KFPawn_Monster> CustomZed;
|
local class<KFPawn_Monster> CustomZed;
|
||||||
|
|
||||||
`Log_Trace();
|
`ZS_Trace(`Location);
|
||||||
|
|
||||||
foreach CustomZeds(CustomZed)
|
foreach CustomZeds(CustomZed)
|
||||||
{
|
{
|
||||||
`Log_Debug("Preload Content for" @ CustomZed);
|
`ZS_Debug("Preload Content for" @ CustomZed);
|
||||||
CustomZed.static.PreloadContent();
|
CustomZed.static.PreloadContent();
|
||||||
}
|
}
|
||||||
|
|
||||||
SafeDestroy();
|
SafeDestroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
public reliable server function ServerSync()
|
public reliable server function ServerSync()
|
||||||
{
|
{
|
||||||
`Log_Trace();
|
`ZS_Trace(`Location);
|
||||||
|
|
||||||
if (bPendingDelete || bDeleteMe) return;
|
|
||||||
|
|
||||||
if (CustomZeds.Length == Recieved || WorldInfo.NetMode == NM_StandAlone)
|
if (CustomZeds.Length == Recieved || WorldInfo.NetMode == NM_StandAlone)
|
||||||
{
|
{
|
||||||
`Log_Debug("Sync finished");
|
`ZS_Debug("Sync finished");
|
||||||
SyncFinished();
|
SyncFinished();
|
||||||
if (!ZS.DestroyRepInfo(Controller(Owner)))
|
SafeDestroy();
|
||||||
{
|
|
||||||
SafeDestroy();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
`Log_Debug("Sync:" @ CustomZeds[Recieved]);
|
`ZS_Debug("Sync:" @ CustomZeds[Recieved]);
|
||||||
ClientSync(CustomZeds[Recieved++]);
|
ClientSync(CustomZeds[Recieved++]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -67,6 +58,6 @@ defaultproperties
|
|||||||
bAlwaysRelevant = false;
|
bAlwaysRelevant = false;
|
||||||
bOnlyRelevantToOwner = true;
|
bOnlyRelevantToOwner = true;
|
||||||
bSkipActorPropertyReplication = false;
|
bSkipActorPropertyReplication = false;
|
||||||
|
|
||||||
Recieved = 0
|
Recieved = 0
|
||||||
}
|
}
|
@ -1,20 +0,0 @@
|
|||||||
class _Logger extends Object
|
|
||||||
abstract;
|
|
||||||
|
|
||||||
enum E_LogLevel
|
|
||||||
{
|
|
||||||
LL_WrongLevel,
|
|
||||||
LL_None,
|
|
||||||
LL_Fatal,
|
|
||||||
LL_Error,
|
|
||||||
LL_Warning,
|
|
||||||
LL_Info,
|
|
||||||
LL_Debug,
|
|
||||||
LL_Trace,
|
|
||||||
LL_All
|
|
||||||
};
|
|
||||||
|
|
||||||
defaultproperties
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
@ -1,2 +0,0 @@
|
|||||||
// Constants
|
|
||||||
`define NO_CONFIG 0
|
|
@ -1,3 +1,12 @@
|
|||||||
// Imports
|
`define ZS_Tag 'ZedSpawner'
|
||||||
`include(Logger.uci)
|
|
||||||
`include(Constants.uci)
|
`define ZS_Log(msg, cond) `log(`msg `if(`cond), `cond`{endif}, `ZS_Tag)
|
||||||
|
|
||||||
|
`define ZS_Fatal(msg) `log("FATAL:" @ `msg, (LogLevel >= LL_Fatal), `ZS_Tag)
|
||||||
|
`define ZS_Error(msg) `log("ERROR:" @ `msg, (LogLevel >= LL_Error), `ZS_Tag)
|
||||||
|
`define ZS_Warn(msg) `log("WARN:" @ `msg, (LogLevel >= LL_Warning), `ZS_Tag)
|
||||||
|
`define ZS_Info(msg) `log("INFO:" @ `msg, (LogLevel >= LL_Info), `ZS_Tag)
|
||||||
|
`define ZS_Debug(msg) `log("DEBUG:" @ `msg, (LogLevel >= LL_Debug), `ZS_Tag)
|
||||||
|
`define ZS_Trace(msg) `log("TRACE:" @ `msg, (LogLevel >= LL_Trace), `ZS_Tag)
|
||||||
|
|
||||||
|
`define NO_CONFIG 0
|
@ -1,15 +0,0 @@
|
|||||||
// Logger
|
|
||||||
`define Log_Tag 'ZedSpawner'
|
|
||||||
|
|
||||||
`define LocationStatic "`{ClassName}::" $ GetFuncName()
|
|
||||||
|
|
||||||
`define Log_Base(msg, cond) `log(`msg `if(`cond), `cond`{endif}, `Log_Tag)
|
|
||||||
|
|
||||||
`define Log_Fatal(msg) `log("FATAL:" @ `msg, (LogLevel >= LL_Fatal), `Log_Tag)
|
|
||||||
`define Log_Error(msg) `log("ERROR:" @ `msg, (LogLevel >= LL_Error), `Log_Tag)
|
|
||||||
`define Log_Warn(msg) `log("WARN:" @ `msg, (LogLevel >= LL_Warning), `Log_Tag)
|
|
||||||
`define Log_Info(msg) `log("INFO:" @ `msg, (LogLevel >= LL_Info), `Log_Tag)
|
|
||||||
`define Log_Debug(msg) `log("DEBUG:" @ `msg, (LogLevel >= LL_Debug), `Log_Tag)
|
|
||||||
|
|
||||||
`define Log_Trace(msg) `log("TRACE:" @ `Location `if(`msg) @ `msg`{endif}, (LogLevel >= LL_Trace), `Log_Tag)
|
|
||||||
`define Log_TraceStatic(msg) `log("TRACE:" @ `LocationStatic `if(`msg) @ `msg`{endif}, (LogLevel >= LL_Trace), `Log_Tag)
|
|
13
builder.cfg
13
builder.cfg
@ -7,24 +7,15 @@ StripSource="True"
|
|||||||
|
|
||||||
# Mutators to be compiled
|
# Mutators to be compiled
|
||||||
# Specify them with a space as a separator,
|
# Specify them with a space as a separator,
|
||||||
# Mutators will be compiled in the specified order
|
# Mutators will be compiled in the specified order
|
||||||
PackageBuildOrder="ZedSpawner"
|
PackageBuildOrder="ZedSpawner"
|
||||||
|
|
||||||
|
|
||||||
### Brew parameters ###
|
|
||||||
|
|
||||||
# Packages you want to brew using @peelz's patched KFEditor.
|
|
||||||
# Useful for cases where regular brew doesn't put *.upk inside the package.
|
|
||||||
# Specify them with a space as a separator,
|
|
||||||
# The order doesn't matter
|
|
||||||
PackagePeelzBrew=""
|
|
||||||
|
|
||||||
|
|
||||||
### Steam Workshop upload parameters ###
|
### Steam Workshop upload parameters ###
|
||||||
|
|
||||||
# Mutators that will be uploaded to the workshop
|
# Mutators that will be uploaded to the workshop
|
||||||
# Specify them with a space as a separator,
|
# Specify them with a space as a separator,
|
||||||
# The order doesn't matter
|
# The order doesn't matter
|
||||||
PackageUpload="ZedSpawner"
|
PackageUpload="ZedSpawner"
|
||||||
|
|
||||||
|
|
||||||
|
2
tools
2
tools
@ -1 +1 @@
|
|||||||
Subproject commit fb458ac61f7e6c6426b8dff366dd5e7499e0d95f
|
Subproject commit 02222cf4536ac3b4dc9341c17549f77bd8efd4a4
|
Loading…
x
Reference in New Issue
Block a user