Now, what i'd like is an animation editor, just like with the sound files. Here, take this example;
animations = [
#These animations can be edited in skeletons.brf
#Humanoid animations
1h_sword_slash_left = frame 1 t/m frame 5 ["human_skeleton.smd"]
1h_sword_slash_right = frame 6 t/m frame 10 ["human_skeleton.smd"]
1h_sword_stab = frame 11 t/m frame 15 ["human_skeleton.smd"]
1h_sword_slash_down = frame 16 t/m frame 20 ["human_skeleton.smd"]
man_die1 = frame.....
man_die2 = frame.....
#Custom humanoid animations *Add these at the end of the list of keyframes*
man_push_catapult = frame 21 t/m frame 25, ["human_skeleton.smd"]
man_fire_catapult = frame 26 t/m frame 30, ["human_skeleton.smd"]
man_reload_catapult = frame 31 t/m frame 35, ["human_skeleton.smd"]
man_die3 = frame...
man_die4 = frame...
#Weapon animations *add these all to seperate .smd files*
lance_break = frame 1 t/m 10, ["lance.smd"]
flail_swing_left = frame 1 t/m 5, ["flail.smd"]
flail_swing_right = frame 6 t/m 10, ["flail.smd"]
flail_swing_down = frame 11 t/m 15, ["flail.smd"]
flail_swing_up = frame 16 t/m 20, ["flail.smd"]
catapult_fire = frame 1 t/m 15, ["catapult.smd"]
man_animations = [
("man_walk", ["an_man_walk"]),
("man_die", ["an_man_die1","an_man_die2","an_man_die3","an_man_die4"]),
]
This way you could easily add in your own custom animations for your own weapons and such. Here's an example how I would have added 2 more die animations in then. The custom weapon animations operate on the weapon mesh only, and would have a different identifier, like "wan_catapult_shoot". This would be the animation set on that catapult then. You'd also have to set the man animation for the weapon, wich has the "an" identifier, wich operates on the man_skeleton.
With this you could add in siege weapons with proper animations, make lances break, add in easy support for flais and other weapons etc.
I really don't know how much work it would be for Armagan (sounds like ALOT), but it would be a breakthrough for the modding community I think. So, what do you think of my idea? Comments/additions would be appreciated
.