Many of you have probably never even heard of Worldcraft let alone used it but it's basically the standard map builder for Quake and Half-Life games and has been for some years.
It has a lot of functionality that is relevant and useful for building game maps, levels and models for use in other games/engines and I'd quite like to emulate one of it's main features in Maya.
Like in Worldcraft I want to be able to right-Click on any object(s) in my scene and select "Properties..." This will bring up a dialog box where I can assign custom properties to the object(s).
For example, properties like:
Collision (On/Off - checkBox)
Invisible (On/Off - checkBox)
castShadows (On/Off - checkBox)
pushable (On/Off - checkBox)
glowStrength (0-100 - floatSlider)
emitSound (stringField)
hitPoints (intField)
playerDamage (intField)
etc...etc....
The properties will also need to be flexible, with potential for more added with time or existing ones removed/changed, etc..
Now adding "properties" to the RMB and creating the GUI for the propertiy sheet is a piece of cake but what I'm not yet sure how to implement is actually applying this stuff to an object and storing it in the scene.
Properties must all be available BY DEFAULT on evey new or old scene and objects MUST retain all their applied properties after loading and saving scenes. They must not be able to be detatched from their respective objects either if possible.
Now I'm presuming "Blind Data" is the best way to do all this but can anyone verify this? I have a vague idea what blind data IS but no idea what form it takes or how I start using it.
I was wondering if anyone has tried this kind of thing before and could give me any tips before I start wading in. or maybe there is a better way of doing it I should know about..?
thanks for any input.
Oh, BTW we're still using Maya 3.01 but will hopefully be upgrading to 4 after this current project ends in a month or two...
:nathaN