From b38412819e34780176324d6c3ae7f2d6711b394c Mon Sep 17 00:00:00 2001 From: GenZmeY Date: Mon, 22 Aug 2022 18:00:24 +0300 Subject: [PATCH] update description and readme --- PublicationContent/description.txt | 18 ++++++++++++++++-- README.md | 1 - ZedSpawner/Classes/ZedSpawnerMut.uc | 4 +--- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/PublicationContent/description.txt b/PublicationContent/description.txt index 273b801..bcad884 100644 --- a/PublicationContent/description.txt +++ b/PublicationContent/description.txt @@ -1,4 +1,4 @@ -[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/subscriptions/2811290931[/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] +[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] 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 @@ -37,7 +37,7 @@ No. This mod is not whitelisted and will de-rank your server. Any XP gained will [/olist] [h1]Setup[/h1] -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. +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. [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] @@ -75,5 +75,19 @@ I really tried to describe in text how it works, but every time I got some kind [url=https://redirect.genzmey.su/kf2-zedspawner-calc][img]https://img.shields.io/static/v1?message=Spawn%20Calculator&logo=Google%20Sheets&labelColor=34A853&color=gray&logoColor=white&label=Google%20Sheets%20[/img][/url] [i]Just please try not to interfere with each other if you see that someone is already using a calculator.[/i] +[h1]Notes[/h1] +📌 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). + +[h1]Troubleshooting[/h1] +📌 [b](*)[/b] If your config is not created for some reason, create it manually with the following content: +[b][ZedSpawner.ZedSpawner] +Version=0 +[/b] + +Then start the server and check the file again - config content should be generated. + +📌 If the spawner's behavior differs from what you expect, check the server logs first. ZedSpawner writes in the logs everything he 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] [url=https://github.com/GenZmeY/KF2-ZedSpawner]https://github.com/GenZmeY/KF2-ZedSpawner[/url] (GNU GPLv3) \ No newline at end of file diff --git a/README.md b/README.md index 98eccd6..d216159 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # ZedSpawner [![Steam Workshop](https://img.shields.io/static/v1?message=workshop&logo=steam&labelColor=gray&color=blue&logoColor=white&label=steam%20)](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931) -[![Steam Subscriptions](https://img.shields.io/steam/subscriptions/2811290931)](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931) [![Steam Favorites](https://img.shields.io/steam/favorites/2811290931)](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931) [![Steam Update Date](https://img.shields.io/steam/update-date/2811290931)](https://steamcommunity.com/sharedfiles/filedetails/?id=2811290931) [![GitHub tag (latest by date)](https://img.shields.io/github/v/tag/GenZmeY/KF2-ZedSpawner)](https://github.com/GenZmeY/KF2-ZedSpawner/tags) diff --git a/ZedSpawner/Classes/ZedSpawnerMut.uc b/ZedSpawner/Classes/ZedSpawnerMut.uc index 5d1adac..3b717f2 100644 --- a/ZedSpawner/Classes/ZedSpawnerMut.uc +++ b/ZedSpawner/Classes/ZedSpawnerMut.uc @@ -11,19 +11,17 @@ public event PreBeginPlay() foreach WorldInfo.DynamicActors(class'ZedSpawner', ZS) { - `Log_Base("Found 'ZedSpawner'"); break; } if (ZS == None) { - `Log_Base("Spawn 'ZedSpawner'"); ZS = WorldInfo.Spawn(class'ZedSpawner'); } if (ZS == None) { - `Log_Base("Can't Spawn 'ZedSpawner', Destroy..."); + `Log_Base("FATAL: Can't Spawn 'ZedSpawner'"); Destroy(); } }