Hi Blender user's
I'm planning to add a new 'properties acronym' optional function to the next script version.
The idea behind this function is to cutdown the error prone properties typing process. Instead of the 'StencilAlpha=1' or 'DoNotSmallCull=0' typing, you just need to write 'S1' or 'SC' and the script will translate it during the export process.
I guess the Hitech is ripping his hairs off:
'I r coading a literal properties and this guy is making da cryptic code?! Ok, next OE version will have only hexa codes!. Harrr Harrr!'
j/k
The CASE SENSITIVE acronyms
The CAPITAL letter means the property in ON. The low case letter means, the property is OFF.
The OFF properties are default, and so on the user don't NEED to specify them separetly. IMHO
The acronym dictionary:
'C' : 'NoCollide=0',
'c' : 'NoCollide=1',
'D' : 'Dead=1',
'd' : 'Dead=0',
'H' : 'Hidden=1',
'h' : 'Hidden=0',
'SC' : 'DoNotSmallCull=0',
'sc' : 'DoNotSmallCull=1',
'T' : 'Terrain=1',
't' : 'Terrain=0',
'm' : 'MinDist=',
'M' : 'MaxDist=',
'P' : 'PolyID=',
'S' : 'StencilAlpha=',
'Z' : 'ZBias='
I invert in purpose the 'NoCollide=0/1' and 'DoNotSmallCull=0/1' acronyms, because this way the acronym list logic is lined.
The script will automatically read the min/maxdist=, polyid=, stencilalpha= and zbias= values after header letter I.E. 'm2000' = 'MinDist=2000'. The values must be integer values.
----
Well, this is how I planned it so far. The basic functions are running fine in Python IDLE environment.
Any comments, wishes and/or critic?
(edit typos)