Nels0
-
Content Count
2 -
Joined
-
Last visited
-
Medals
Posts posted by Nels0
-
-
Is there a way to clean out empty 3den enhanced attributes? i.e delete unnecessary CustomAttributes
class CustomAttributes { class Attribute0 { property="Enh_animCombEquipment"; expression="_this setVariable ['Enh_animCombEquipment',_value]"; class Value { class data { class type { type[]= { "STRING" }; }; value="ASIS"; }; }; };These increase the mission file a decent amount (I believe? does it not matter when the file is binarized?)
3den Enhanced
in ARMA 3 - ADDONS & MODS: COMPLETE
Posted
I just did a quick bit of maths. I counted the average number of characters per Enh attribute, coming up with around about 400 characters per attribute (that's rounding down).
I then found how many Enh attributes there are in my mission file, and got a very rough number of 650.
This means that attributes are adding 260,000 chars (a conservative estimate) to my mission file of 1,000,000.
This means that I'm getting 35% file bloat, which is quite significant, especially when I'm running a mission with 50 players, making server load on mission start mean loading in takes many many minutes.
Would you be able to offer some guidance on how to clean some of these empty values? Any help with optimization (apart from manually scrubbing the mission file one-by-one) would be fantastic (i.e where to start on writing a script)