Commit graph

10 commits

Author SHA1 Message Date
Erik Ogenvik
c02b370a36 Fixed issue with entity import. 2017-07-25 14:10:37 +02:00
Erik Ogenvik
0286bcd47d Replace "parents" with "parent". 2017-07-24 15:05:18 +02:00
Erik Ogenvik
5754a5dfa1 Initial work on Bullet powered physical domains. 2016-12-15 18:27:42 +01:00
Erik Ogenvik
86a3b5a9f1 Use new Think protocol in exporter and importer. 2015-05-27 21:29:59 +02:00
Erik Ogenvik
4bc649b405 Handle entity references in thoughts.
Entities are references using a format of "'$eid:...'".
For example, an entity with id 2 would be references as "'$eid:2'".
This specific pattern is handled specifically by both the importer, the
exporter and the minds themselves, allowing for entities to be properly
restored with correct minds.
2015-04-29 22:35:22 +02:00
Erik Ogenvik
379ed986b9 Added option for resuming a suspended world.
This is useful when importing a world which was suspended (which is
often the case when you're working with the world).
2013-11-24 23:45:27 +01:00
Erik Ogenvik
28ced0076e Adjusted logging. 2013-11-24 23:10:04 +01:00
Erik Ogenvik
e74e2dd749 Abort if no valid world root. 2013-11-24 01:02:07 +01:00
Erik Ogenvik
c3adaf6888 Delay sending attributes with entity references.
Only send Set operations which update those attributes once all entities
have been properly created on the server, and we know their ids.
This, together with other $eid fixes in cyexport, fixes the issue with
wielded and worn entities not properly being restored.
2013-11-18 22:03:47 +01:00
Erik Ogenvik
b3d4445104 Added "cyimport" tool for importing.
This uses the same importing code as Ember, and allows for import of
both entities, minds and types. The code in EntityImporterBase.*
should be kept synchronized with the Ember version.
This is provided as a new command, instead of added to the existing
cycmd executable. This is by design, to make it easier for users.
Export and import of entities are one of the most basic functions,
especially for any new user, and should therefore be provided as easy as
possible.
2013-11-14 22:26:59 +01:00