20,741
edits
m (→Prototyping: http://flightgear.org/forums/viewtopic.php?f=30&t=11942&p=123575&hilit=fox2.nas#p123575) |
|||
| Line 2: | Line 2: | ||
{{Stub}} | {{Stub}} | ||
== Status == | |||
You can check $FGDATA/Aircraft/f-14b/Nasal/fox2.nas (in Git) which models a tiny part of a complex weapons system. | |||
* It checks for available weapons with respect of the pylon position. | |||
* checks for missile readiness (all switchs on right position and time to temperature of the IR seeker). | |||
* activates one missile search function. | |||
* search for a possible target. | |||
* locks on the target and check if any lock out condition. Calculate HUD symbology (diamond displayed over the target position in the HUD) | |||
* checks for fire order | |||
* calculates exact position/orientation/velocity when fire order so we can spawn a new AI object in the proper place. | |||
* releases the missile and guides it with a crude FDM | |||
* if available activates a new searching missile and drives both fired and searching objects (we can guide several fired missile (flying and tracking) and have an additional one in searching state (on its pylon and searching or tracking). Each object can have its own target. | |||
* checks for (near) impact or lock out condition | |||
* if impact, creates the properties used by bombable.nas so the target is actually damaged, and some other properties for the explosion graphical animation. Also it displays the distance from the target on the player screen when the missile explode. | |||
There is a menu item in "Tomcat Controls" with a switch which allows those informations to be displayed as messages over MP. | |||
== Prototyping == | == Prototyping == | ||