Ok, I fixed the "Vulcan" bug I mentioned in my previous post.
There has been a little change in how you can use the default uniforms to base your new ones on.
Instead of doing this:
dNewTacticalUniform = {}
dNewTacticalUniform.update(Foundation.dDefaultTacticalUniformConfig)
<Your>
You need to do either this:
dNewTacticalUniform = {}
dNewTacticalUniform.update(Foundation.dDefaultTacticalUniformConfig()) #<<<< Note the () after dDefaultTacticalUniformConfig
<Your>
Or this:
dNewTacticalUniform = {}
Foundation.dDefaultTacticalUniformConfig.reverse_update(dNewTacticalUniform)
<Your>
The former is more intuitive (sp) than the latter (reverse logic is hard to understand and follow for some people, actually, it's "harder" for everyone to follow).
You need to pick either way (or do all the copying of the entries manually) because I encapsulated the dictionaries with a class.
Unfortunatly for me/us, Python (atleast 1.5.2, which is BC's version) won't allow any class that has the dictionary "interface" (all the functions that a dictionary has) to be used in the update function of a normal dictionary type (just other dictionaries).
This class is also made avaidable in Foundation under the name "CopyProtectedCharacterData", it acts as a normal dictionary, and can be used as a normal dictionary (just the update is a bit iffy if you need to update from it).
Also, I forgot to mention another attribute, so I've updated the big post (it's the Type attribute) when I was updating the example uniform.