Page 1 of 1

Assisting upgrades/stockpile possible?

Posted: 11 Nov 2007, 06:15
by REVENGE
I saw that in SupCom, you can assist units that are being upgraded, or even help assist launchers in stockpiling ammo. Is this possible at all [lua] right now in Spring, or would we need engine changes?

Posted: 11 Nov 2007, 06:44
by trepan
This should be enough:

Code: Select all

4766 created by trepan on 11 November 2007, 06:43:01 +0100
* Added the ability to set the stockpile percent
 (could only set the stockpile count before this change) 
http://spring.clan-sy.com/fisheye/chang ... g/?cs=4766

Posted: 11 Nov 2007, 07:32
by jK
yeah, it is technical possible, but it is more than complicated. Reason are:
*you have to draw and handle the nanoframe by your own
*you have to control the start/stop assist animations by your own
*you have to manage the buildpower by your own

Posted: 11 Nov 2007, 08:32
by KDR_11k
The only hard bit would be the nanospray, you'd need a CEG instead. Calling COB functions is trivially easy. It might be hard to keep the units within radius as well, I'm not sure there's a "close in to x distance" command so you'd have to manually find a point near the target.