Opened 12 years ago
Last modified 10 years ago
#1696 closed defect
Rubble entities break units demo / can't be placed in Atlas — at Initial Version
Reported by: | historic_bruno | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | Alpha 17 |
Component: | Atlas editor | Keywords: | patch |
Cc: | Patch: |
Description
Rubble entities have an active Decay component and because of how that's implemented, they can only be local entities. This condition is violated if a rubble entity is placed in Atlas or spawned with the units demo map, resulting in an error or crash.
One way to fix this would be to set the Decay component as inactive in the rubble template, and then add a method to Decay that allows changing the active status (to be used when the rubble entity is properly spawned). That way they could be placed or spawned as non-decaying, non-local entities without any errors.
It might also be nice to prevent some special entities from being placed in Atlas since they have no useful purpose.