id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,phab_field 2324,[PATCH] Actor format update,wraitii,wraitii,"I've been working on a change in the actor format in order to support a few more functions that could be useful. The code works afaik, I'm just posting because the style isn't necessarily very nice (lots of repetitions), an I'd like some feedback before making changes. Also, actor editor is unsupported still. It changes nothing except for animations blocks (see below) and the ""version"" which is now 2, as older format is supported (code repetition again). {{{ }}} So why the change? First of all this allows for ""frequency"", which makes it a lot easier to finetune how often animation will be chosen (we would not need the balise change for that, but it makes it nicer imo). Note that default frequency is ""0"".[[BR]] Secondly, and as a less important but nonetheless good improvement, this allows to make sure models and their props remain synchronized (using the same ""name"" for both the props and the parent model). Why is that good? Let's take an example: you have a horse mesh with material colour_trans.xml. You want the mane to have transparency, so you want it to use basic_trans.xml. To do this, you have to make the mane a prop of the horse. Now say the horse has two idle animations, one where it turns its head left, one where it turns its head right. The mane also has those two animations. But how can you be sure that the right one will be chosen? You can't. Using ""name"", you could. So that becomes possible.[[BR]] Also the ""frequency"" can be set to 0, but is still used if it's the only anim with a fitting name. This could be used to make actors both props and main models using clever names. Dunno if it would actually make sense, but it's good to know. Note that for most of our props and models, this changes nothing, as you can still have several anims with the same or no name.",enhancement,closed,Should Have,Alpha 21,Core engine,fixed,patch,philip,