Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 3 and Version 4 of content/BigShip


Ignore:
Timestamp:
Dec 9, 2013, 6:54:44 PM (11 years ago)
Author:
noep
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • content/BigShip

    v3 v4  
     1= Big Ships =
     2
    13A BigShip should consist of multiple parts which can be individually destroyed, and the state of the individual parts should alter the behaviour of the entire vessels systems, such as shield, weapons or engines.
    24
     
    2628 * Sub-parts of the ship (subsequently referred to as ''!ShipPart''), which are attached to either a !BigShip or a !ShipPart. They can interact with their parent-part in many ways.
    2729
     30=== Desired final form ===
     31
     32Big ships should easily be assembled in an XML template like any other ship.
     33
     34Here an example how this could look:
     35{{{
     36<BigShip [parameters]>
     37
     38    <engines>
     39        ...
     40    </engines>
     41   
     42    <attached>   
     43        <Model [parameters] />
     44       
     45        <ShipPart [parameters]>
     46            <attached>
     47                <Model [parameters] />
     48            </attached>
     49            <collisionShapes>
     50                ...
     51            </collisionShapes>
     52        </ShipPart>
     53       
     54        <ShipPart [parameters]>
     55            ...
     56        </ShipPart>
     57    </attached>
     58   
     59    <collisionShapes>
     60        ...
     61    </collisionShapes>
     62   
     63<BigShip>
     64}}}
     65
     66The parameters of !BigShip and !ShipPart describe how the parts interact with each other. This requires many different functions, here's a few examples:
     67 * Damage-sharing
     68
     69=== !BigShip ===
     70
     71The !BigShip class could be an extension of the existing !SpaceShip class.[[br]]
     72Additionally to a normal spaceships functions,
     73
     74=== !ShipPart ===
     75
     76
     77
    2878== Problems ==
    2979