Comments (7)
Personally I'd prefer the building object checks a hook to see if the requested block can be built so limits can be determined dynamically, a la #59. But the above would be a nice additional feature for a slight performance boost.
from spaceengineers.
This already exists:
Definition xsi:type="MyObjectBuilder_AssemblerDefinition" Enabled="false"
Almost all definitions can be disabled this way.
from spaceengineers.
If it does is not documented, could you tell us the secret? :)
On 20 May 2015 at 07:10, Tyrsis [email protected] wrote:
This already exists:
—
Reply to this email directly or view it on GitHub
#87 (comment)
.
from spaceengineers.
Yep just used this today with respawn ships - if you add that Enabled
attribute (attribute, not child node, and make sure to use lowercase for its values), you can disable blocks at init. But this does not allow for a dynamic check during run-time.
from spaceengineers.
@zrisher Enabled node on blocks that derive from MyFunctionalBlock effectively sets block to On/Off state.
eg. if you for example have Turret with false this turret is loaded inactive (you need to switch it on in terminal gui)
Enabled attribute in block definition root node enables/disables block definition (it's easier than commenting whole block out, or deleting from definition file)
from spaceengineers.
Ah thanks, I was wondering about that distinction.
from spaceengineers.
Enable node is actually quite practical, and of course is used in savefiles ;o)
from spaceengineers.
Related Issues (20)
- Can we get an update on the repo? HOT 3
- Bad textures persist steam uninstall [Unclean uninstall]
- Server Browser uses a lot of bandwidth HOT 2
- Last commit from January 2017. HOT 4
- Idea: Get A Grid's Outline for In-Game Grid API
- [Bug/Glitch] IMyProjector interface contains RemainingBlocksPerType method returning inaccessible MyDefinitionBase class
- class TerminalBlockExtentions is misspelled, it should be Extensions (ie. s/nt/ns/) HOT 2
- Can't edit or create blueprints when synchronization with Steam Cloud is enabled.
- build error in vs2017 for using RecastDetour HOT 1
- [ bug ] The merge block changes the name of the ship permanently. HOT 3
- IMyBatteryBlock.CurrentStoredPower broken in multiplayer
- IMyTimerBlock is missing in ModAPI HOT 1
- Some armor blocks (slabs, wedges) don't have connected textures HOT 1
- Please update HOT 3
- Crashes on Steam Linux despite applying Linux patches and firewall blocks HOT 1
- IMyRemoteControl needs to have the ability to get/set the current target waypoint
- IMyShipController properties not Update in multiplayer
- Steam Proton RX 6800 XT Grass Density Bug Causes full system lockup HOT 4
- Steam does not always return ip in timeout.
- [bug] ship becomes intangible
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 spaceengineers.