Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 12169


Ignore:
Timestamp:
Dec 7, 2018, 5:13:29 PM (6 years ago)
Author:
kunzro
Message:

lowered shooting frequency

Location:
code/branches/wagnis_HS18
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/wagnis_HS18/data/levels/Wagnis.oxw

    r12132 r12169  
    11<LevelInfo
    2  name = "Wagnis"
     2 name = "Wagnis_testlevel"
    33 description = "A clone of the iconic Risk."
    4  tags = "minigame"
     4 tags = ""
    55 screenshot = "emptylevel.png"
    66/>
     
    99  include("stats.oxo")
    1010  include("HUDTemplates3.oxo")
     11  include("WagnisHUD.oxo")
    1112  include("templates/lodInformation.oxt")
     13  include("templates/wagnisCursor.oxt")
     14  include("includes/notifications.oxi")
    1215?>
    13 
    14 <?lua
    15   include("templates/wagnisCursor.oxt")
    16 ?>
    17 
    18 <!--
    19 <Template name=pongbatcameras defaults=0>
    20   <PongBat>
    21     <camerapositions>
    22       <CameraPosition position="0,150,0" pitch=-90 absolute=true />
    23       <CameraPosition position="0,50,160" drag=true mouselook=true />
    24       <CameraPosition position="0,40,125" drag=true mouselook=true />
    25       <CameraPosition position="0,30, 90" drag=true mouselook=true />
    26     </camerapositions>
    27   </PongBat>
    28 </Template>
    29 
    30 <Template name=pongbat>
    31   <PongBat camerapositiontemplate=pongbatcameras>
    32     <attached>
    33       <Model position="0,0,3" mesh="cube.mesh" scale3D="14,2,2" />
    34       <-Model roll=180 mesh="pongbat.mesh" scale=0.045 /->
    35     </attached>
    36   </PongBat>
    37 </Template> -->
    38 
    3916
    4017<Level plugins="wagnis" gametype="Wagnis">
     
    4219    <Template link=lodtemplate_default />
    4320  </templates>
    44   <?lua include("includes/notifications.oxi") ?>
    4521
    4622  <Scene
     
    5228    <SpawnPoint position="-100, 45, 75" lookat="0,45,75" spawnclass=SpaceShip pawndesign=wagnisCursor />
    5329
    54 <WagnisGameboard position="20,20,20" connections_string="1=2+1000, 2=1, 1000=1">
     30<WagnisGameboard position="20,20,20" connections_string="2=1+3,1=2+4+5,3=2+4,4=3+1,5=1+6,6=7+5,7=6+8,8=7">
    5531
    5632
    5733  <Provinces>
    5834
    59     <WagnisProvince ID="1" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=dynamic mass=100 continent="1" position="0,<?lua print((10+7))?>,<?lua print((135-6))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     35    <WagnisProvince ID="1" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,3,8" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    6036      <attached>
    6137        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
    6238      </attached>
    6339      <collisionShapes>
    64         <SphereCollisionShape   position="0,0,0" radius="2" />
     40        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
    6541      </collisionShapes>
    6642    </WagnisProvince>
    6743
    68     <WagnisProvince ID="1000" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=dynamic mass=100 continent="1" position="0,<?lua print((50+7))?>,<?lua print((135-6))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     44    <WagnisProvince ID="2" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,8,0" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    6945      <attached>
    70         <Model position="0,0,0" mesh="ast1.mesh" scale3D="3,3,3" />
     46        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
    7147      </attached>
    7248      <collisionShapes>
    73         <SphereCollisionShape   position="0,0,0" radius="2" />
     49        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     50      </collisionShapes>
     51    </WagnisProvince>
     52
     53    <WagnisProvince ID="3" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,11,12" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     54      <attached>
     55        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
     56      </attached>
     57      <collisionShapes>
     58        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     59      </collisionShapes>
     60    </WagnisProvince>
     61
     62    <WagnisProvince ID="4" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,18,5" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     63      <attached>
     64        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
     65      </attached>
     66      <collisionShapes>
     67        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     68      </collisionShapes>
     69    </WagnisProvince>
     70
     71    <WagnisProvince ID="5" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,17,21" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     72      <attached>
     73        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
     74      </attached>
     75      <collisionShapes>
     76        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     77      </collisionShapes>
     78    </WagnisProvince>
     79
     80    <WagnisProvince ID="6" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((110))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     81      <attached>
     82        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
     83      </attached>
     84      <collisionShapes>
     85        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     86      </collisionShapes>
     87    </WagnisProvince>
     88
     89    <WagnisProvince ID="7" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((50))?>,<?lua print((120))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     90      <attached>
     91        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
     92      </attached>
     93      <collisionShapes>
     94        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     95      </collisionShapes>
     96    </WagnisProvince>
     97
     98    <WagnisProvince ID="8" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((40))?>,<?lua print((120))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
     99      <attached>
     100        <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
     101      </attached>
     102      <collisionShapes>
     103        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
     104      </collisionShapes>
     105    </WagnisProvince>
     106
     107    <WagnisProvince ID="1000" radarname="continue" health = 10000000 maxhealth = 10000000 initialhealth = 10000000 collisionType=kinematic mass=100 continent="1" position="0,<?lua print((45))?>,<?lua print((135))?>" pitch=90 rotationrate="0" rotationaxis="0,0,0">
     108      <attached>
     109        <Model position="0,0,0" mesh="broke-satellite.mesh" scale3D="3,3,3" />
     110      </attached>
     111      <collisionShapes>
     112        <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" />
    74113      </collisionShapes>
    75114    </WagnisProvince>
    76115 
    77 <!--
    78     <WagnisProvince ID="2" continent="1" position="0,<?lua print((10-7))?>,<?lua print((135-10))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    79       <attached>
    80         <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
    81       </attached>
    82     </WagnisProvince>
    83116
    84     <WagnisProvince ID="3" continent="1" position="0,<?lua print((10+15))?>,<?lua print((135+7))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    85       <attached>
    86         <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
    87       </attached>
    88     </WagnisProvince>
    89 
    90     <WagnisProvince ID="4" continent="1" position="0,<?lua print((10+6))?>,<?lua print((135+14))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    91       <attached>
    92         <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
    93       </attached>
    94     </WagnisProvince>
    95 
    96     <WagnisProvince ID="5" continent="1" position="0,<?lua print((10))?>,<?lua print((135+6))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    97       <attached>
    98         <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
    99       </attached>
    100     </WagnisProvince>
    101 
    102 
    103 
    104 
    105 
    106 
    107     <WagnisProvince ID="6" continent="2" position="0,<?lua print((40-15))?>,<?lua print((90+28))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    108       <attached>
    109         <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
    110       </attached>
    111     </WagnisProvince>
    112 
    113     <WagnisProvince ID="7" continent="2" position="0,<?lua print((40-19))?>,<?lua print((90+19))?>" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    114       <attached>
    115         <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
    116       </attached>
    117     </WagnisProvince>
    118 
    119 
    120     <WagnisProvince ID="1000" continent="1" position="0,90,150" rotationrate="<?lua print(math.random() * 50) ?>" rotationaxis="<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>,<?lua print((math.random()-1)*5)?>">
    121       <attached>
    122         <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" />
    123       </attached>
    124     </WagnisProvince>
    125   -->
    126117  </Provinces>
    127118</WagnisGameboard>
    128 
    129 <Model position="0,0,0" mesh="Coordinates.mesh" scale="20"/>
    130 <MovableEntity position="0,0,0">
    131     <attached>
    132         <Billboard position="100,0,0" material="Examples/Flare" colour="0, 0, 1" scale=1/>
    133     </attached>
    134 </MovableEntity>
    135 
    136 
    137119
    138120   
  • code/branches/wagnis_HS18/src/modules/weapons/weaponmodes/WagnisGun.cc

    r12136 r12169  
    4949        RegisterObject(WagnisGun);
    5050
    51         this->reloadTime_ = 0.1f;
     51        this->reloadTime_ = 0.5f;
    5252        this->damage_ = 0.0f; //default 15
    5353        this->speed_ = 800.0f;
Note: See TracChangeset for help on using the changeset viewer.