Ticket #75 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

Missions

Reported by: knowknowledge Owned by:
Priority: major Milestone: 0.5.0
Component: Scripting Version:
Keywords: Cc:

Description

The player should be able to accept missions from the planets that they land on.

The Missions should be implemented at least partially in Lua. They would need at least some C inspection capabilities so that unfinished missions could be saved and restored at a later date.

Example missions could include:
1) Transport this cargo to planet A.
2) Find and rescue ship B.
3) Protect ship C on it's way to planet D.
4) Find and destroy ship E.

I suggest modeling the Missions similarly to the AI StateMachines?. That is, one Lua Table per mission type and C++ objects that store strings describing which Lua Mission Table to use. Unlike the AI StateMachines?, the particulars of the Mission would need to be stored on the C++ side, rather than Lua global values.

Change History

comment:1 Changed 3 years ago by chris

  • Milestone set to 0.5.0

comment:2 Changed 3 years ago by knowknowledge

  • Status changed from new to closed
  • Resolution set to fixed

Two missions have been created. More will be needed later.

Note: See TracTickets for help on using tickets.