Superfluous ConstructionSites - Relocating structures
@o4kapuk I think the player would still need to choose what room to claim, just not place the first spawn. That way he would claim the controller in the room, providing vision for his script who can then calculate the base layout and place the spawn. It is a special case scenario, as you dont respawn that often (except in botarena and swc) and you need to have code for creating your base layout, but it is a common request i believe.
@o4kapuk I never tried it, but from what i understand it does not call my own room planner, it has a seperate set of functions to do it "offline", so i would need to export and rewrite my own room planner to python to make it fit the needs of my own planner. Its quite interesting, but makes me have to maintain two different room planner projects for it to work.
MrFaul last edited by MrFaul
@o4kapuk As geir said, the intention of the "Spawn here" button would be:
- Claim controller to provide room vision.
- run "setup code" function which should return a room pos for the initial spawn
It is not a tool for continued self authorized respawning like the tool you mentioned.
Yeah, i think instead of a special setup code it should just run my script for a set amount of ticks, my script will then place a spawn construction site which should be instantly built as its the first spawn. This way you will not need to run code for all players who dont have spawns, this is triggered by a button press in the client. You can then stop this execution if the script failed to place a spawn within some reasonable amount of time, where the player would either need to press this button again or simply place the spawn manually.
I still don't get what game value this feature have to invest development time and efforts into it. Maybe someone here respawns often enough to feel frustrated at doing this manually? Or someone here knows a player doing so?
My main motivator for this is to use it in the SWC or Botarena (and perhaps it makes sense for the upcoming Arena game?) where you always start with no rooms. Basically i want my script to find the location for the first spawn instead of me guessing and having to create a special handling of first room for the room planner (my normal room planner does not place the spawns as the first structures). Ideally the script can optimize the location for the base layout better than me.
I also agree this is a niche application, but it is something that is requested from time to time in the slack forums and (to me) it sounds possible to implement without to much effort. It also feels in the spirit of the game to automate everything.
@geir1983 Right, I get it.
(to me) it sounds possible to implement without to much effort.
I won't say it's fast and/or easy... I won't say it at all. I'm almost sure that implementing a client-side solution like ScreepsAutoSpawner would be easier.
SemperRabbit last edited by
it would also prob be easier to change it to where you claim the controller instead of "place first spawn." then, whether the player decides to manually place a spawn construction site or have the code place it, the first spawn after a respawn is free. this would satisfy the desire to let code place the first spawn, but would not penalize the noob players spawning in for the first time
MrFaul last edited by MrFaul
@o4kapuk there is lately a talk about inconsistency.
The fact that the first spawn has to be placed manually is a big one for me.
Some roomplanner don't use use patterns but specific rules to build stuff so,
it would be nice if it can plan right from the beginning with a optimized spawn position.
That is something from day one that appeared quite odd to me to force the people to set the first manually.
A "claim room" button is in my opinion more inline with the games theme of automation.
If a "first function" is necessary is debatable you could also make the first spawn construction site free.
This way people are free to let the script do it or them self.
OH and hell no, a client side solution is for beginners a absolute no go.
Client side stuff come up if you know what you are doing and aren't satisfied with the tools given to you.
MrFaul last edited by
Since we pretty much hijacked this I created a separated topic for it:
Refining the game start: A "claim room" button instead of a forced "place spawn":