Unit Movement Speed
Posted: Fri Mar 07, 2014 12:10 pm
Hi Stratagus forums!
Newbie here. I'm a computer scientist at the University of Wyoming in the USA and an amateur game developer. I have been spending the past few days researching Stratagus and am familiarizing myself with it by modding the data of Aleona's Tales. I must say it's all excellent work! I've started by experimenting with modifying the unit stats in the units.lua scripts, but I've run into a problem. The speed stat doesn't seem to affect anything; its almost as if the unit movement speed values are hardcoded into the engine. It doesn't seem to matter whether a footman has 0 speed or 3000 speed. I read somewhere about actual unit movement speed being based on unit "families", but I haven't found anything on that yet, at least in the scripts. If possible, could someone tell me exactly how to change a unit's move speed (and attack speed as well)? I've searched through most of the lua scripts and haven't found anything promising so far.
Thanks in advance.
- shedeen
Newbie here. I'm a computer scientist at the University of Wyoming in the USA and an amateur game developer. I have been spending the past few days researching Stratagus and am familiarizing myself with it by modding the data of Aleona's Tales. I must say it's all excellent work! I've started by experimenting with modifying the unit stats in the units.lua scripts, but I've run into a problem. The speed stat doesn't seem to affect anything; its almost as if the unit movement speed values are hardcoded into the engine. It doesn't seem to matter whether a footman has 0 speed or 3000 speed. I read somewhere about actual unit movement speed being based on unit "families", but I haven't found anything on that yet, at least in the scripts. If possible, could someone tell me exactly how to change a unit's move speed (and attack speed as well)? I've searched through most of the lua scripts and haven't found anything promising so far.
Thanks in advance.
- shedeen