Difference between revisions of "Talk:OXP howto AI"

From Elite Wiki
(Added some comments.)
m
Line 1: Line 1:
 
list of lacking method descriptions..
 
list of lacking method descriptions..
.*addFuel  
+
*addFuel  
 
*recallDockingInstructions
 
*recallDockingInstructions
 
*setDestinationToDockingAbort
 
*setDestinationToDockingAbort
.*markTargetForFines
+
*markTargetForFines
 
*patrolReportIn
 
*patrolReportIn
.*messageMother
+
*messageMother
.*groupAttackTarget
+
*groupAttackTarget
.*commsMessage
+
*commsMessage
.*wormholeEntireGroup
+
*wormholeEntireGroup
 
*setDestinationWithinTarget
 
*setDestinationWithinTarget
.*setAITo
+
*setAITo
.*findNearestPlanet
+
*findNearestPlanet
 
*setDestinationFromCoordinates
 
*setDestinationFromCoordinates
.*setTargetToFoundTarget
+
*setTargetToFoundTarget
.*setSpeedFactorTo <-> setSpeedTo
+
*setSpeedFactorTo <-> setSpeedTo
 
*setDestinationToCurrentLocation
 
*setDestinationToCurrentLocation
 
[[User: Murgh| Murgh]]
 
[[User: Murgh| Murgh]]

Revision as of 15:04, 21 January 2006

list of lacking method descriptions..

  • addFuel
  • recallDockingInstructions
  • setDestinationToDockingAbort
  • markTargetForFines
  • patrolReportIn
  • messageMother
  • groupAttackTarget
  • commsMessage
  • wormholeEntireGroup
  • setDestinationWithinTarget
  • setAITo
  • findNearestPlanet
  • setDestinationFromCoordinates
  • setTargetToFoundTarget
  • setSpeedFactorTo <-> setSpeedTo
  • setDestinationToCurrentLocation

Murgh

>addFuel LY -> Changes fuellevel (to playership only?) up to 7.0LY or down to 0.0LY. >markTargetForFines 10$ -> Fines target $ credits. >messageMother -> notifies mother by sending message, for example: ATTACKED. >groupAttackTarget -> all ships in group get their target set to this target and performAttack. >wormholeEntireGroup -> same as enterWormhole, but for entire group. >commsMessage -> sends general comms message. >setAITo: someAI.plist -> paused current AI and switches to someAI, when someAI exits, previousAI is restored with message RETURN. >findNearestPlanet -> returns TARGET_FOUND and sets foundTarget to the nearest. Unless no planet. >setTargetToFoundTarget -> Self explanatory, sets the target to the foundTarget found by findSomething methods. >setSpeedFactorTo % -> Sets speed to fraction of topspeed (1=100%), In order to use fuelinjectors set speedfactor above 100%. >setSpeedTo LM-> Set the desired speed to the stated LM number.

setDestinationToSomeWaypoint CurrentLocation -> altitude controll or maintain possition? WithinTarget -> New for missiles? DockingAbort -> A hardcoded waypoint X meters in front of dockingslit coordinates ? FromCoordinates -> Follow with coordinates for exact plotting of route. Arexack