Something I have only touched in the past is the idea of groups of creeps. I could have used 255 to make the area impassable but that might have resulted in rooms with no path through. This is so that creeps will go through a swamp to avoid a source keeper. This is double the cost of going through a swamp. I added an orange and white flag handler that will look for source keepers in a room and then creates a 5 tile mega swamp around them. This is why a creep will go around a small swamp and through a big one. A cost matrix is how Screeps decides which path to take, aiming for the lowest cost path to the target. The way to do this is to create my own CostMatrix for the room. I need to tell my creeps not to go anywhere near the source keepers but still pass through the room. Which when following the default path means my creeps get destroyed by the NPCs. The problem is that to do that I need to go through 2 source keeper rooms. I can withdraw from that storage and take the energy back to one of my rooms. To the south of my main rooms, there is a room with no spawn and a bunch of structures from a player who has not hit respawn after dying. This is part 16 of my Screeps story, you can read the whole story here. 2017 Screeps Screeps Part 16 – Faster in an Alliance
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |