Comments (9)
+1
from screeps.
+1?:)
from screeps.
The problem with ramparts is that they cost energy to maintain. Walls take energy to build up once, but they don't fall down, so they are a sunk cost. If anybody attacks us and our ranged defenders (in the works) combined with towers can't hold them off, we simply can't keep the room. We are better off taking the economic hit of losing some rooms due to this minor defensive flaw than taking the economic hit of permanently maintaining ramparts across the empire.
from screeps.
circling back to this, bases now spawn boosted ranged attackers that stay in the base and defend, 3 of these together are able to defeat a trio (2 healers 1 breaker), untested against quads bc we aren’t attacked by quads. cost of a lost base is massive (2 cpu * 3 weeks to replace) but we haven’t lost a base. question is, what is the cost of maintaining ramparts?
from screeps.
~50 ramparts per room, decaying at 300 hits per 100 ticks each. Thats 3000 hits per 1k ticks or 2 intents per 1k ticks for our current builder. multiplied by 50 ramparts, we get 100 intents or 20 cpu per 1k ticks per room. With 14 rooms atm, that translates to 280 cpu per 1k ticks or .28 cpu per tick.
from screeps.
ofc the above calc did not take into account the cpu cost of motion for the builder, as well as energy costs for both the builder and the repair ops. That should all be comparatively little though. I would say 0.28 is certainly not acceptable, especially since it will only rise over the course of our expansion. 0.28 cpu can run a 4 creep military operation with 15 - 20% uptime, which we would probably never achieve (uptime-wise), and would be necessary to remove any enemy that is strong enough to threaten us.
from screeps.
In the spirit of getting something useful out of this issue, I would say that this has highlighted the importance of only maintaining ramparts that are absolutely necessary.
This means that builders will have to be able to ignore ramparts that were created for nuke defense, but are no longer needed.
from screeps.
builders can judge whether a rampart is a 'nuke rampart' vs regular by looking at the structure underneath. If the structure underneath is a core structure (or maybe we'll provide a list of valid structures in settings), the rampart should only be maintained up to the value of the total damage to be dealt by all incoming nukes.
from screeps.
I think the other big part of this is autoplacement of rampart construction sites when a nuke is launched
from screeps.
Related Issues (20)
- Determine a name for our bot HOT 1
- Drop remote rooms when spawn time constrained
- break out run spawns "makeCreeps" into its own file
- create reserver role
- low rcl energy expenditure HOT 2
- repairer holding non-energy
- create melee role for invader core removal HOT 1
- Create autodeploy/testing
- runner tugs stuck on border
- runner tugs confused directions
- repairers not spawning
- too many csites
- Fix Path planning to score highways correctly
- fix miner body
- Smart replacements for miners
- Destroy barriers in remotes or cancel assignments
- Wipe memory for dead cities
- Sources deleted from city
- Track spawn pressure via queue HOT 1
- cannot read property 'room' of undefined HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from screeps.