In animations.lua, say, there is this code:
Code: Select all
MechLaser = MechUnit:new{ Image = "units/player/mech_laser.png", PosX = -15, PosY = -8 }
MechLasera = MechUnit:new{ Image = "units/player/mech_laser_a.png", PosX = -15, PosY = -8, NumFrames = 4 }
MechLaserw = MechUnit:new{ Image = "units/player/mech_laser_w.png", PosX = -15, PosY = 4 }
MechLaser_broken = MechUnit:new{ Image = "units/player/mech_laser_broken.png", PosX = -15, PosY = -1 }
MechLaserw_broken = MechUnit:new{ Image = "units/player/mech_laser_w_broken.png", PosX = -15, PosY = 9 }
MechLaser_ns = MechIcon:new{ Image = "units/player/mech_laser_ns.png" }
I ended up replacing original graphics for some mech instead of adding new, which is very inconvenient because I can't edit offsets (PosX = -15, PosY = -8).