Strangely I vaguely recall crushing might have worked in 95.0 but now can not make it work anymore...
Since my mod is full of wupgets I made simpler example mod, see attachment.
/give simplewalker 1
/give buildervehicle 0
Try to run over the walker with the roller by giving move-commands behind it.
In 94.1 the walker gets destroyed, in 95.0 the walker is just pushed around.
For the walker: (crushee)
Code: Select all
function script.Create()
Spring.SetUnitBlocking (unitID, true, true, true) --crushable!
unitdef:
crushResistance = 5,
mass=5,
end
Code: Select all
crushStrength = 100, in its movedef
mass=1000,