Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 2 and Version 3 of content/BigShip


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

Legend:

Unmodified
Added
Removed
Modified
  • content/BigShip

    v2 v3  
    11A 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.
    22
    3 === Problems ===
     3== Example ==
    44
    5 With the current implementation of Pawns, it is impossible to nicely build such a big ship into the game using XML. This is due to the only destructible entities being Pawns, which are dynamic entities, which again cannot be attached in XML. Therefore the structure of Pawns needs to be changed, in order to create destructible static entities.
     5The HeavyCruiser spaceship is used to show how a complex big ship could look.
     6
     7!HeavyCruiser is composed of (at least) 9 parts: (the names used to refer to the parts are in gray)
     8 * Body [[span(style=color: #777777, (body) )]]
     9   * Front extension L/R [[span(style=color: #777777, (frontL and frontR) )]]
     10   * Sidebox L/R [[span(style=color: #777777, (partL and partR) )]]
     11   * Sidearm L/R [[span(style=color: #777777, (sidearmL and sidearmR) )]]
     12     * Sidearm front L/R [[span(style=color: #777777, (sidearmLfront and sidearmRfront) )]]
     13
     14||'''Part'''||'''attached to'''||'''description/function'''||
     15||body||N/A||Main part of the ship.||
     16||frontL/R||body||Front extensions of the ship. A rapid firing, weak laser is mounted on each of them.||
     17||partL/R||body||Boxes on the side of the ship. Provide extra shield-and boost power.||
     18||sidearmL/R||body||Large sidearms  of the ship. An engine is mounted on each of them, providing the ship with more acceleration.||
     19||sidearmL/Rfront||sidearmL/R||Front ends of the sidearms. A strong weapon can be mounted on them.||
     20||turrets||body||Rapid firing autonomous turrets, defending the ship against nearby opponents.||
     21
     22== Detailed Specification ==
     23
     24There is two kind of objects needed to create a big ship:
     25 * The main ship body (subsequently referred to as ''!BigShip''), which is controlled like any other spaceship by a player or AI.
     26 * 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.
     27
     28== Problems ==
     29
     30With the current implementation of Pawns, it is impossible to nicely implement such a big ship into the game. This is due to the only destructible entities being Pawns, which are dynamic entities, which again cannot be attached in XML. Therefore the structure of Pawns needs to be changed, in order to create destructible static entities.
    631
    732A discussion on this topic can be found on the [http://orxonox2.vseth.ethz.ch/phpBB3/viewtopic.php?f=1&t=1104 Forum].
    833
    9 === Current implementation ===
     34[http://www.orxonox.net/ticket/356 Ticket #356: Big Ships implementation]
    1035
    11 Currently the HeavyCruiser ship created in the HS13 PPS provides a model for such a large spaceship.
     36== Current implementation ==
     37
     38Currently the HeavyCruiser ship created in the HS13 PPS provides a model for such a large spaceship.[[br]]
     39In a demonstration level the vessel can be flown, and all its parts are individually destructible. This was achieved by literally hooking multiple Pawns together using collisionboxes hidden inside the spaceship.
     40However the destruction of parts does not influence the ships systems behaviour at all.