Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 17, 2015, 3:32:50 PM (10 years ago)
Author:
fvultier
Message:

Different wave types with different enemies. New field type: obstacle. It is impossible to build a tower on a field with an obstacle.

Location:
code/branches/towerdefenseFabien/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/towerdefenseFabien/data/levels/towerDefense.oxw

    r10586 r10591  
    235235   explosionchunks        = 6
    236236
    237    health            = 1
    238    maxhealth         = 2
    239    initialhealth     = 1
    240 
    241    shieldhealth        = 30
    242    initialshieldhealth = 30
    243    maxshieldhealth     = 50
     237   health            = 15
     238   maxhealth         = 15
     239   initialhealth     = 15
     240
     241   shieldhealth        = 15
     242   initialshieldhealth = 15
     243   maxshieldhealth     = 15
    244244   shieldabsorption    = 0.8
    245245   reloadrate          = 1
    246246   reloadwaittime      = 1
    247247
    248    primaryThrust     = 100
     248   primaryThrust     = 1000
    249249   auxilaryThrust    = 30
    250    rotationThrust    = 50
     250   rotationThrust    = 80
    251251
    252252   lift = 1;
     
    262262
    263263   collisionType     = "dynamic"
    264    mass              = 100
     264   mass              = 10
    265265   linearDamping     = 0.7
    266266   angularDamping    = 0.9999999
     
    287287    </collisionShapes>
    288288    <controller>
    289       <WaypointController accuracy=60>
    290       </WaypointController>
     289       <WaypointController accuracy = 50/>
    291290    </controller>
    292291  </TowerDefenseEnemy>
     
    301300   explosionchunks        = 6
    302301
    303    health            = 100
    304    maxhealth         = 200
    305    initialhealth     = 100
    306 
    307    shieldhealth        = 30
    308    initialshieldhealth = 30
    309    maxshieldhealth     = 50
     302   health            = 30
     303   maxhealth         = 30
     304   initialhealth     = 30
     305
     306   shieldhealth        = 0
     307   initialshieldhealth = 0
     308   maxshieldhealth     = 0
    310309   shieldabsorption    = 0.8
    311310   reloadrate          = 1
     
    314313   primaryThrust     = 100
    315314   auxilaryThrust    = 30
    316    rotationThrust    = 50
     315   rotationThrust    = 80
    317316
    318317   lift = 1;
     
    338337      <Engine position=" 0, 0, 0"
    339338        boostfactor    = 2
    340         speedfront     = 150
     339        speedfront     = 100
    341340        speedback      =  50
    342341        speedleftright =  50
    343         speedupdown    =  50         
     342        speedupdown    =  50       
    344343        accelerationfront     = 500
    345344        accelerationbrake     = 500
     
    359358      <BoxCollisionShape position="0,0.1,-11"  halfExtents="2.2, 1.8, 6" />
    360359      <BoxCollisionShape position="0,0.1,-19"  halfExtents="1.4, 1, 2" />
    361     </collisionShapes>
    362     <controller>
    363       <WaypointController accuracy=60>
    364       </WaypointController>
    365     </controller>   
     360    </collisionShapes>
     361    <controller>
     362       <WaypointController accuracy = 50/>
     363    </controller>
    366364  </TowerDefenseEnemy>
    367365</Template>
     
    375373   explosionchunks        = 6
    376374
    377    health            = 100
    378    maxhealth         = 200
    379    initialhealth     = 100
     375   health            = 15
     376   maxhealth         = 15
     377   initialhealth     = 15
    380378   
    381    shieldhealth        = 30
    382    initialshieldhealth = 30
    383    maxshieldhealth     = 50
     379   shieldhealth        = 5
     380   initialshieldhealth = 5
     381   maxshieldhealth     = 5
    384382   shieldabsorption    = 0.8
    385383   reloadrate          = 1
     
    388386   primaryThrust     = 100
    389387   auxilaryThrust    = 30
    390    rotationThrust    = 50
     388   rotationThrust    = 80
    391389
    392390   lift = 1;
     
    412410      <Engine position=" 0, 0, 0"
    413411        boostfactor    = 2
    414         speedfront     = 150
    415         speedback      =  50
    416         speedleftright =  50
    417         speedupdown    =  50         
     412        speedfront     = 300
     413        speedback      =  300
     414        speedleftright =  300
     415        speedupdown    =  300         
    418416        accelerationfront     = 500
    419417        accelerationbrake     = 500
    420         accelerationback      =  125
    421         accelerationleftright =  125
    422         accelerationupdown    =  125
     418        accelerationback      =  500
     419        accelerationleftright =  500
     420        accelerationupdown    =  500
    423421      />
    424422    </engines>
     
    435433    </collisionShapes>
    436434    <controller>
    437       <WaypointController accuracy=60>
    438       </WaypointController>
    439     </controller>   
     435       <WaypointController accuracy = 50/>
     436    </controller>
    440437  </TowerDefenseEnemy>
    441438</Template>
     
    486483            F1F1F1I2F1F1F1F1F1F1F1F1F1F1F1F1
    487484            F1F1F1I2F1F1F1F1F1F1F1F1F1F1F1F1
     485            F1F1F1I2F1F1F1F1F1F1F1Y1Y1Y1F1F1
    488486            F1F1F1I2F1F1F1F1F1F1F1F1F1F1F1F1
    489             F1F1F1I2F1F1F1F1F1F1F1F1F1F1F1F1
    490             F1F1F1I2F1F1F1F1F1F1F1F1F1F1F1F1
     487            F1F1F1I2F1F1F1F1F1F1F1Y1Y1Y1F1F1
    491488            F1F1F1R2I3I3I3I3L3F1F1F1F1F1F1F1
    492489            F1F1F1F1F1F1F1F1I2F1F1F1F1F1F1F1
  • code/branches/towerdefenseFabien/data/overlays/towerdefenseHUD.oxo

    r10258 r10591  
    11<Template name="TowerDefenseHUD">
     2  <OverlayGroup name="TowerDefenseHUD" scale = "1, 1">
     3   
     4     <TowerDefenseHUDController
     5     position  = "0.9, 0.10"
     6     pickpoint = "0.0, 0.0"
     7     font      = "ShareTechMono"
     8     textsize  = 0.05
     9     colour    = "1.0, 1.0, 1.0, 1.0"
     10     align     = "left"
     11        showlives = false
     12        showcredits = true
     13        showwaves = false
     14    />
    215
     16    <TowerDefenseHUDController
     17     position  = "0.9, 0.25"
     18     pickpoint = "0.0, 0.0"
     19     font      = "ShareTechMono"
     20     textsize  = 0.05
     21     colour    = "1.0, 1.0, 1.0, 1.0"
     22     align     = "left"
     23        showlives = true
     24        showcredits = false
     25        showwaves = false
     26    /> 
     27     
     28    <TowerDefenseHUDController
     29     position  = "0.9, 0.40"
     30     pickpoint = "0.0, 0.0"
     31     font      = "ShareTechMono"
     32     textsize  = 0.05
     33     colour    = "1.0, 1.0, 1.0, 1.0"
     34     align     = "left"
     35        showlives = false
     36        showcredits = false
     37        showwaves = true
     38    />     
    339
    4   <OverlayGroup name="TowerDefenseHUD" scale = "1, 1">
    5  
    6  
    740    <OverlayText
    8      position  = "0.83, 0.05"
     41     position  = "0.8, 0.1"
    942     pickpoint = "0.0, 0.0"
    1043     font      = "ShareTechMono"
     
    1649    />
    1750   
    18    
    19      <TowerDefenseHUDController
    20      position  = "0.88, 0.10"
    21      pickpoint = "0.0, 0.0"
    22      font      = "ShareTechMono"
    23      textsize  = 0.05
    24      colour    = "1.0, 1.0, 1.0, 1.0"
    25      align     = "left"
    26                 showlives = false
    27                 showcredits = true
    28                 showwaves = false
    29     />
    30    
    31         <OverlayText
    32      position  = "0.83, 0.22"
     51    <OverlayText
     52     position  = "0.8, 0.25"
    3353     pickpoint = "0.0, 0.0"
    3454     font      = "ShareTechMono"
     
    4060    />
    4161   
    42          <TowerDefenseHUDController
    43      position  = "0.88, 0.27"
    44      pickpoint = "0.0, 0.0"
    45      font      = "ShareTechMono"
    46      textsize  = 0.05
    47      colour    = "1.0, 1.0, 1.0, 1.0"
    48      align     = "left"
    49                 showlives = true
    50                 showcredits = false
    51                 showwaves = false
    52     />
    53    
    54             <OverlayText
    55      position  = "0.83, 0.39"
     62    <OverlayText
     63     position  = "0.8, 0.40"
    5664     pickpoint = "0.0, 0.0"
    5765     font      = "ShareTechMono"
     
    6371    />
    6472   
    65          <TowerDefenseHUDController
    66      position  = "0.88, 0.44"
    67      pickpoint = "0.0, 0.0"
    68      font      = "ShareTechMono"
    69      textsize  = 0.05
    70      colour    = "1.0, 1.0, 1.0, 1.0"
    71      align     = "left"
    72         showlives = false
    73                 showcredits = false
    74                 showwaves = true
    75 
    76     />
    77    
    78    
    7973  </OverlayGroup>
    8074</Template>
Note: See TracChangeset for help on using the changeset viewer.