Changeset 12169 for code/branches/wagnis_HS18
- Timestamp:
- Dec 7, 2018, 5:13:29 PM (6 years ago)
- Location:
- code/branches/wagnis_HS18
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/wagnis_HS18/data/levels/Wagnis.oxw
r12132 r12169 1 1 <LevelInfo 2 name = "Wagnis "2 name = "Wagnis_testlevel" 3 3 description = "A clone of the iconic Risk." 4 tags = " minigame"4 tags = "" 5 5 screenshot = "emptylevel.png" 6 6 /> … … 9 9 include("stats.oxo") 10 10 include("HUDTemplates3.oxo") 11 include("WagnisHUD.oxo") 11 12 include("templates/lodInformation.oxt") 13 include("templates/wagnisCursor.oxt") 14 include("includes/notifications.oxi") 12 15 ?> 13 14 <?lua15 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 39 16 40 17 <Level plugins="wagnis" gametype="Wagnis"> … … 42 19 <Template link=lodtemplate_default /> 43 20 </templates> 44 <?lua include("includes/notifications.oxi") ?>45 21 46 22 <Scene … … 52 28 <SpawnPoint position="-100, 45, 75" lookat="0,45,75" spawnclass=SpaceShip pawndesign=wagnisCursor /> 53 29 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"> 55 31 56 32 57 33 <Provinces> 58 34 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)?>"> 60 36 <attached> 61 37 <Model position="0,0,0" mesh="ast1.mesh" scale3D="1.4,1.4,1.4" /> 62 38 </attached> 63 39 <collisionShapes> 64 < SphereCollisionShape position="0,0,0" radius="2" />40 <BoxCollisionShape position="0,0,0" halfExtents="3,3,3" /> 65 41 </collisionShapes> 66 42 </WagnisProvince> 67 43 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)?>"> 69 45 <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" /> 71 47 </attached> 72 48 <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" /> 74 113 </collisionShapes> 75 114 </WagnisProvince> 76 115 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>83 116 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 -->126 117 </Provinces> 127 118 </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 137 119 138 120 -
code/branches/wagnis_HS18/src/modules/weapons/weaponmodes/WagnisGun.cc
r12136 r12169 49 49 RegisterObject(WagnisGun); 50 50 51 this->reloadTime_ = 0. 1f;51 this->reloadTime_ = 0.5f; 52 52 this->damage_ = 0.0f; //default 15 53 53 this->speed_ = 800.0f;
Note: See TracChangeset
for help on using the changeset viewer.