Seems to get called for Reclaiming a unit but not Repairing, is there any way to do this for Repair (hacky or otherwise?)
Thanks
No way to access 'AllowUnitBuildStep' for repair?
Moderator: Moderators
- TheFatController
- Balanced Annihilation Developer
- Posts: 1177
- Joined: 10 Dec 2006, 18:46
Re: No way to access 'AllowUnitBuildStep' for repair?
There is no way atm.
I requested new callin about 3 years ago in mantis
(Also capture and similar callins would be handy)
I requested new callin about 3 years ago in mantis
(Also capture and similar callins would be handy)
- TheFatController
- Balanced Annihilation Developer
- Posts: 1177
- Joined: 10 Dec 2006, 18:46
Re: No way to access 'AllowUnitBuildStep' for repair?
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
-
- Moderator
- Posts: 2464
- Joined: 12 Oct 2007, 09:24
Re: No way to access 'AllowUnitBuildStep' for repair?
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.
http://code.google.com/p/zero-k/source/ ... _speed.lua
It basically works by changing unit buildtime on the fly using Spring.SetUnitCosts.