Replace the all the data.lua with the below lua
--data.lua
BASEPATH = "Mechanicus/images/"
MODEL_SCALE = 0.65
MODEL_SIZE = 360
IDLE = {
filename = BASEPATH .. "level1_idle.png",
width = 150,
height = 160,
frame_count = 22,
direction_count = 8,
animation_speed = 0.15,
scale = MODEL_SCALE
}
RUNNING = {
filename = BASEPATH .. "level1_running.png",
width = 150,
height = 160,
frame_count = 22,
direction_count = 8,
animation_speed = 0.6,
scale = MODEL_SCALE
}
MINING = {
filename = BASEPATH .. "level1_mining_tool.png",
width = 150,
height = 160,
frame_count = 22,
direction_count = 8,
animation_speed = 0.9,
scale = MODEL_SCALE
}
IDLE_GUN = {
filename = BASEPATH .. "level1_idle_gun.png",
width = 150,
height = 160,
frame_count = 22,
direction_count = 8,
animation_speed = 0.15,
scale = MODEL_SCALE
}
RUNNING_GUN = {
filename = BASEPATH .. "level1_running_gun.png",
width = 150,
height = 160,
frame_count = 22,
direction_count = 18,
animation_speed = 0.6,
scale = MODEL_SCALE
}
animations = data.raw["character"]["character"].animations
--Each value of array represents a different armor type
for i=1, #animations do
animations[i].idle = IDLE
animations[i].running = RUNNING
animations[i].mining_with_tool = MINING
animations[i].idle_with_gun = IDLE_GUN
animations[i].flipped_shadow_running_with_gun = nil
animations[i].running_with_gun = RUNNING_GUN
end
And replace .info.json with the below info
{
"name": "Mechanicus",
"version": "1.0.8",
"title": "Mechanicus",
"author": "Hapless",
"contact": "",
"homepage": "",
"factorio_version": "2.0",
"dependencies": ["base >= 2.0"],
"description": "For the glory of the machine god. A character skin that brings the glory of the Omnissiah to an unexploited world. Still a bit buggy but ill fix them in the next release."
}
This is just what I could do shadows don't work cant be bothered figuring it out if someone can fix those would be sick but at least it works