I have been looking at the new units and I found the sudden dying bodies to just move for some awkward reason. Heck, even if it is borrowed it shouldn't move like that.
That's a bug, dying body seems to slide to the direction the unit was facing. I'll try to fix this.
Not only that, the sprites don't look like they are even in the right position to carry a rifle. They seem too far away to be able to carry it even with hands.
These are experimental sprites, they surely will be improved later. And we do not handle weapons quite well even for x-com sprites, that needs to be fixed for sure.
if you can make it so more sprites can be implemented, I may be able to make the ethereal png sprites work.
You already can make different sprites work, for example that's a lua script that describes civilian animation (comments stripped, but all the idea is the same as in soldier.lua), just replace current soldier.lua with this code:
local frames = pck_image_set("$(xcom)/units/civm.pck", 0, 8 * 9 + 3)
local function sprite_renderer(img, dir, phase, extra)
if extra.collapse then
img:draw(0, 0, frames[1 + 8 * 9 + math.floor(phase / 3)])
if phase == 0 then
img:draw(0, 0, frames[1 + dir])
img:draw(0, 0, frames[8 + dir * 8 + phase])
pMap = sprite_renderer,
pInv = frames,
And it would be nice to be able to have the option to reconfigure their armor stats. If their will be user-made units...its going to require armor stat configuration in the lua.
That was the whole idea of making unit mods, but the first milestone is to get unit animation work properly.Edit:
Just noticed, the same script works for the ethereal too, just replace "$(xcom)/units/civm.pck" with "$(xcom)/units/ethereal.pck"
Edited by Serge, 10 August 2005 - 10:37 AM.