Page 1 of 1
No way to access 'AllowUnitBuildStep' for repair?
Posted: 13 Aug 2011, 14:49
by TheFatController
Seems to get called for Reclaiming a unit but not Repairing, is there any way to do this for Repair (hacky or otherwise?)
Thanks
Re: No way to access 'AllowUnitBuildStep' for repair?
Posted: 13 Aug 2011, 15:18
by Licho
There is no way atm.
I requested new callin about 3 years ago in mantis
(Also capture and similar callins would be handy)
Re: No way to access 'AllowUnitBuildStep' for repair?
Posted: 17 Aug 2011, 12:50
by TheFatController
If anyone likes hacks I have implemented a gameframe based repair blocking weapon in
http://springrts.com/phpbb/viewtopic.php?f=44&t=26633 on the surface it seems to work fine
Re: No way to access 'AllowUnitBuildStep' for repair?
Posted: 20 Aug 2011, 07:18
by Google_Frog
ZK uses this to change the speed of repair, something similar could prevent repair (or at least make it really slow).
http://code.google.com/p/zero-k/source/ ... _speed.lua
It basically works by changing unit buildtime on the fly using Spring.SetUnitCosts.