AI scripting Suggestions

    Joined
    May 6, 2013
    Messages
    303
    Reaction score
    147
    • Legacy Citizen 5
    I for one am sick of the pirate's only tactic being "Move to standoff range and fire". This may be practical (and easy to implement) but lacks pazazz. With the impending advent of scripted AI, I prepose a few new defaults.

    A. Fighters.

    Ships under as certain mass will default to the fighter script.

    1. aquire target
    2. Move tangent to target for 1-30 (random) seconds at maximum range.
    3. Fly directly at target, firing wildly. Random evasion manouvers every few seconds, lasting not longer than one second.
    4. After overflying the target, retreat again out to 1km before turning around and re-aquiring.

    B. Larger Vessels

    1. Aquire target, if possible targeting large clusters before small ones.
    2. move to standoff range (the range at which AI currently remain by default)
    3. continue both movement and rolling, always remaining at full throttle, in a ball-of-twine orbit around target.

    C. Unarmed vessels.

    1. Aquire target.
    2. move in the opposite direction at 75% speed.

    D. Missiles / Ramships

    1. Aquire target, again targeting clusters if possible.
    2. Fly directly at target, with random evasion manuvers every few seconds lasting not longer than a second
    3. ???
    4. Profit!


    Any additional suggestions are welcome. As I have some limited Lua coding experience, being a ComputerCraft Vetran, I plan to implement these and others myself, no matter what makes it into the actual game.