Kiki-ChooseYourSpawn 1.4.2

Please do not ask when mod authors will update their mods to 3.10 or if they can upload older versions of their mods.
Bothering mod authors will lead to warnings and repeat offenses will lead to eventual bans.

This will allow you to disable player spawn points of your choosing. This allows you (for example) to always spawn at power on interchange, or big red on customs.

***Instructions***


This will allow you to disable player spawn points of your choosing.


First you must set the config to enable the map.


Please refer to the included maps, spawns are numbered. To disable a spawn, set the corresponding number under the map name in the config to false.


For example if you only want to spawn next to the power plant in interchange, you would set all the numbers apart from 7 to false under interchange.


If debug is enabled in the config, it will print handy information to the server log.



***Disclaimers***


The spawns are in groups of 5.


Using mods that add custom player spawn points will not work (unless you add them in groups of five, and adjust the config accordingly)


Spawn points on maps are not going to be in the exact location, but should give a rough idea of where the spawn should be.


It is very likely that some of the spawns are the wrong way round (number wise on the map). I will start a comment thread on the mod website, please let me know if you find anything out of place (ie the map and number that are incorrect) and I will make an update pass in a little time.


Hook me up if anyone has the time and knowledge to put together a config .exe.



***Thanks***


Shout out to everyone who has helped along the way, with especial thanks to Fin for saving me hours of headaches, and kiobu, who not only found the bug that I had spent two days bashing my head against the wall to figure out, but also refactored my code which taught me a couple of tricks.

Thanks to CWX for the new and improved maps!


If you love what I do, why not buy me a coffee?

  • Version 1.4.2

    Updated for AKI 3.4.0, basic tidy of code.

  • Version 1.4.1

    Updated for AKI 3.3.0.

  • Version 1.4.0

    Updated to .ts and AKI 3.2.4.

  • Version 1.3.1

    Updated to AKI 2.3.0 ++.

  • Version 1.3.0

    I have given all my mods a sizeable refactor which should make the code a fair bit easier to follow. I have also added most of my todo list (any specific changes below), and want to release everything before things get hectic in my life again ^^.

  • Version 1.2.0

    Added lighthouse.

  • Version 1.1.1

    Updated for 2.1.1, no change in method.

  • Version 1.1.0

    Updated to AKI 2.1+

    Now includes map for labs. Change of method to allow for labs.
    General tidy up of code.
    Option to enable or disable for each map in its entirety.

    Option to enable debug, which will print formatted information to the server log.

  • Version 1.0.3

    Uploading the correct, high res maps.. :sleeping: and turned off debug.

  • Version 1.0.2

    New maps! courtesy of @spooKWX big love animehappyhop

  • @kikirio. Hello again. I see all your mods were updated today on Sep 16, 2023 to show support for 3.6.1 (but are still showing the previous [Recent Updates] date) EXCEPT this one. Are you still " I will need to make a streets map asset"? Thanks in advance.

    • Aye it's a fair bit of work required for this one, with little use. I may get around to it.
      The other mods got a stealth update as I just had to change the version number in package ;)

    • Thanks for the explanation, and all the work you do

      Heart 1
  • @kikirio. Hello. Just curious, you have been updating all your other mods, but not this one. Will this mod no longer be getting updated? Thanks in advance.

    • It should still work, to do an update I will need to make a streets map asset. I have not had the spare time for such things, which is why it's on the backburner for the time being.

    • Great, thank you so much for the work you do.

      Heart 1
  • Hi looks like the Dropbox link is not working can you refresh it. I am still playing on 3.4.1 and wanted to use it.
    Thank You ;D

    • Sorry about that, I did a clean up of old versions (as I am using images for the maps it takes up a bit of space) and deleted the wrong one ^^
      Try again now, you should be sorted, and thanks for letting me know.

    • no Problem thanks it works. Love nearly all of your Mods keep up the good work.

      Heart 1
  • Works fine, thank you!

    Heart 1
  • is the mod backward compatible ?

    • Just download the version of this mod that corresponds to your version of SPT AKI in the versions tab right above this.

      Thumbs Up 1
  • Nice mod! Is there a map for all the spawn points? THX

    • maps are included in the maps folder ^^

    • Oh well thank you. Amazing! xD <3

  • when i run server it says i'm missing package.json but i checked the folder and its in there.

  • Is there an alternative Mod for these functions that this mod provides?

  • This mod is awesome!! I am looking forward to use it in SPT-AKI 3.0.0 :)

  • Possibly, 10th and 11th spawns on factory mixed up (do not match the map: I specified the 10th in the settings, spawned in the 11th)

    Thanks 1
  • Mod is wonderful, thanks! One thing: in config Customs has 23 spawns (0+22), though map has 24 (0+23). It continues long time already, so, may be, you will add a new string to config? :) I did it, sure, but not all of people can understand, how its need to be done.

    Thanks 1
  • In woods the map make me see some Custom's spawn and no woods spawn :(

    • I am sorry I do not know what you mean?

    • Not my doing bud animeidk

    • I just did all the thing that are told in the readme, but, well the result is that :(

    • As I say, nothing to do with this mod. It doesn't edit the in game maps at all (let alone the extracts.) But instead removes spawn points that you no longer wish to use.
      Possible culprit may be SamSwats spawning mod (if you have that installed too or something?)
      But I don't know, nothing to do with what I am doing here though.

  • Hello. Any reason it seems "Customs" is missing from the config.json on all versions??? There is a \maps\customs.png though. I'm new to all of this, so excuse me if I'm missing something. Thanks.

    • Ahh its because customs is called bigmap in the codebase.

    • Thanks for the fast clarification. I just tried it, and it worked. Thanks again. Great mod.

      Like 1
    • Also noticed, in your Overview under the ***Instructions*** it states "First you must set the config to enable the map." It appears in 1.2.0 (STP-AKI 2.2.0) by default all are "enabled" : true,, enabled ALREADY (by default)? In your previous version 1.1.1 (SPT-AKI 2.1.1) it was by default all are "enabled" : false, ??? Appears you changed the "default" action of the mod?

      Just wondering then if in the [Overview] it shouldn't be updated to reflect the "steps required", or maybe your config.json for 1.2.0 should actually be "enabled" : false, for all by default? Sorry, really not being a jerk, I'm just a very A-type person when it comes to reading and following steps and instructions. Thanks again

    • Eh I must have set them the other way around after testing, makes absolutely no odds, if the spawns are all set to true, anyway.
      I will put it back whenever the next release is (if I remember ^^)

  • the map for lighthouse, has no numbers on it to disable the spawns?

    • nvm found them in the small purple circles, maybe you could make them a bit bigger like the other maps?

    • Ahh this map is much higher quality, you just need to zoom in a little.

  • Nvm it works on 2.2.0 for some reason except no lighthouse

    • Aye will work fine with the package update, just a fair bit of work to do to add the new map, plot all the points, and create an image for it. Expect an update soon.tm.

    • Nice one hahaha

  • Hello kiki any chance chooseyourspawn be updated to AKI 2.2.0? Would be amazing!

  • Seems not working, though I disabled custom player's spawn from Lua's CustomSpawnPoints mod((
    Sad.

  • i have a question this mod will run on spk-aki 2.1.0 ?

    • No.
      It will in a day or two when I get a chance to update it however.

  • I think you left your debug prints on in 1.0.3 :senkosmug:

    Thanks 1
    • Cheers, should be sorted now.

  • Just to clarify: this is solely for disabling specific vanilla spawn points on server startup and doesn't restore the old feature to choose a spawn point during deployment if you have a map in your inventory?

    • Yes that is correct. I have not heard of this feature? sounds awesome.

    • 4f19rm7axvj01.png


      Yeah this is what it looked like. I don't know if it's still in the game's source code somewhere and able to be reimplemented/enabled, but if someone took on the endeavor it would be amazing.

      Like 2
  • Are there any plans to add woods to the mod? That's the one map I would really like to choose my spawn on.

    • Way ahead of you (I forgot it doh, but have pushed an update.) Enjoy.

  • Alright dude! I'm gonna try this mod in the morning it's something that I've been looking for and can't wait to try it out. Thank you for sharing this with us mate! :thumbup:

    Like 1
  • Does this have any effect on AI PMC spawning?

  • Please reply to this comment if you stumble across any miss-numbered spawns. I will need the map name, the spawn that is incorrect, and ideally the spawn number it should be :D