From: Alexander R. <ale...@us...> - 2001-12-31 03:30:00
|
Hi, I've written more glue code to call other orders/unit method from script. I'll play around with that ChangeHeading/etc a little bit and see if I can get a starship to 'fly to waypoint x' or 'patrol in area wherever'. AImissionScript is now a subclass of FlyByWire, that means that the script can use functions like _order.SteerUp(my_order,1.0) that use the FlyByWire methods like Up() etc That way, it should also be possible to program the AIs 'TuxFleet-style' , whatever one likes best :-) more _order and _unit callbacks 2001-12-30 Alexander Rawass <ale...@us...> * added more Orders to the _order callback * made AImissionScript a subclass of FlyByWire * added FlyByWire-Callbacks to the _order callbacks * added more callbacks to _unit CVS: ---------------------------------------------------------------------- CVS: Enter Log. Lines beginning with `CVS:' are removed automatically CVS: CVS: Committing in . CVS: CVS: Modified Files: CVS: vegastrike/ChangeLog vegastrike/src/cmd/ai/missionscript.cpp CVS: vegastrike/src/cmd/ai/missionscript.h CVS: vegastrike/src/cmd/script/mission.h CVS: vegastrike/src/cmd/script/script_call_order.cpp CVS: vegastrike/src/cmd/script/script_call_unit.cpp CVS: vegastrike/src/cmd/script/script_callbacks.cpp CVS: ---------------------------------------------------------------------- -- Alexander Rawass Email: ale...@us... http://tuxfleet.sourceforge.net http://qtreemap.sourceforge.net ...but some day you'll be a STAR in somebody else's SKY... |