Serialization and Atlan Mod Packager
WIPOverview of serialization and Atlan Mod Packager
Eternal vs Dark Ages
Serialized Files vs Regular Decls
This section highlights differences between regular Dark Ages decls and Atlan-Serialized files. You must keep all of these in consideration when editing these files.
Colors
Serialized files use Linear RGB for color values. Example:
127.5 / 255 = 0.5
my_idColor = {
r = 0.5;
g = 0.5;
b = 0.5;
a = 0.5;
}
File Paths
With normal decls, a reference to an entityDef file might look like this: entity = "projectile_ent/my_projectile_entity"
Inside serialized files, this same filepath will look like: entity = "entityDef/projectile_ent/my_projectile_entity"
The path before the first / is the file type. To correctly reserialize the file, you MUST ensure the file type is there, and capitalized accurately. See the end of this page for a list of correctly-capitalized file types.
Type Info Object Pointers