I like the bitter battle scenario and I’m running a server for it it all works fine but I’d like edit the start a bit.
The map is auto generated on each restart but id like to include a starter infinity chest for each team. How can i add this into the scenario. I cant use map editor as the map itself is auto generated. I’d also like to spawn a 12x12 patch of a resource near start point on every scenario restart.
Let me know what files I should be editing and what the script would look like.
Thanks.
Start with infinity chests.
-
- Manual Inserter
- Posts: 4
- Joined: Sat Oct 30, 2021 7:42 pm
- Contact:
Re: Start with infinity chests.
You have to make a mod for this.
There are several mods already that give the player a different starting inventory, like a personal roboport or similar.
One of the most I just happen have in my mods folder is Fastforward-Start-2. Seems trivial to change it to give just an infinity-chest.
Making ore patches is a bit more difficult. You have to force the generation of a few chunks around the starting position and then add the resource using https://lua-api.factorio.com/next/LuaSu ... ate_entity
You can also do it through the on_chunk_generated or on_surface_created event instead of on start.
There are several mods already that give the player a different starting inventory, like a personal roboport or similar.
One of the most I just happen have in my mods folder is Fastforward-Start-2. Seems trivial to change it to give just an infinity-chest.
Making ore patches is a bit more difficult. You have to force the generation of a few chunks around the starting position and then add the resource using https://lua-api.factorio.com/next/LuaSu ... ate_entity
You can also do it through the on_chunk_generated or on_surface_created event instead of on start.
-
- Manual Inserter
- Posts: 4
- Joined: Sat Oct 30, 2021 7:42 pm
- Contact:
Re: Start with infinity chests.
Thanks i was able to figure it out.
if anyone wants to try my mac look for: Biter Battles | Robots!
if anyone wants to try my mac look for: Biter Battles | Robots!