Max bones you can have is 64
vertices can have at max four different bone weights, any more and doomsday will output errors
You must have a root bone located 0,0,0 with scale of 1,1,1 and no animation on it.
Static models do not needs bones, but doomsday will log about missing animation
Objects.ded from libdoom.pk3 said
ID = "SERGEANT" Speed = 10;
And another string said
ID = "SARG_RUN" Tics = 2;
And there are 8 “SARG_RUN” states
This means that the Demon walk cycle lasts 8*2=16 game tics, and it moves 10*8=80 world units per walk cycle or (35/16)*80=175 world units per second.
Blender scale seems to be different than doomsdays to get the model the right size you should get the object pixels height, times it by 1.2, then divide it by 20, then when exporting the model export with 0.10 scale.
This example is for the Pinky demon
Height = 56;
So you can use
56*1.2(pixel factor)= 67.2
Then divide by 20
(67.2 / 20 = 3.36)
You now have the size to scale to in blenders metric units. To export, export at 0.20 the scale.
Now you can animate Demon model to have a speed of ???175??? Blender's metric units per second. You can make wider steps and slower gait (as we did for Ettin) or narrow steps and faster gait.
Monster heights (blender metric mesurements) [pixel hight * 1.2 / 20]
3) Export to FBX and turn off “Autoscale” option. (edited)
Select your meshes that you will export and select your bones last.
File > Export > .fbx
The states for the animatiosn must be in all caps e.g. “state CHAIN1” if it is “state chain1” the sequence won't load
player weapon model
The below settings have the player weapon model facing away from the play (what we want)
front <0, 0, -1> up <0, 1, 0> worldOffset <0, -10, 0>
world model
The below settings have a world object facing the correct way in doom(according to the maps object placement)
front <0, 0, 1> up <0, 1, 0>
Below are tip on how to make the model look really great
If your export only exports the first or no actions.
If you have deleted a bone after animating an action, make sure you also delete the bone in the animations actions (it's under the dope sheet summary)
If doomsday complains about too many vertices for a bone (Max four) make sure vertices have at maximum four bone weights on it, (to require less weights, make sure bones are parented correctly. if you weight a parent, only weight the child bone for what part you want moved separately)
pressing “ctrl” + “a” while selecting an object can fix(will set the current object scale as it is, to zero without scaling it) the scale of the model. I think it apply's the edit size to the object size (edit and object sizes and seperate)