I'm currently working on my first mod, which is a little challenging, since the guides are all pretty old and don't really work with the current version. Nevertheless I think i got pretty far for my first try creating a car entity, which shall become an aircraft some day.
After solving a lot of problems, i can't solve this one: "no such node (direction_count). I don't really get it, because there IS a node with direction_count.
Code: Select all
animation =
{
layers =
{
width = 300,
height = 200,
frame_count = 1,
direction_count = 32,
animation_speed = 8,
max_advance = 0.2,
stripes =
{
filename = "__BattleCruiserMod_0.1.1__/graphics/Battlecruiser1.png",
width_in_frames = 4,
height_in_frames = 8
}
},
Thx!