[Orxonox-commit 4088] r8759 - in code/branches/ai2: data/levels/includes src/modules/weapons/weaponmodes
jo at orxonox.net
jo at orxonox.net
Thu Jul 14 22:46:23 CEST 2011
Author: jo
Date: 2011-07-14 22:46:23 +0200 (Thu, 14 Jul 2011)
New Revision: 8759
Modified:
code/branches/ai2/data/levels/includes/weaponSettingsAssff.oxi
code/branches/ai2/src/modules/weapons/weaponmodes/EnergyDrink.cc
code/branches/ai2/src/modules/weapons/weaponmodes/HsW01.cc
code/branches/ai2/src/modules/weapons/weaponmodes/LaserFire.cc
code/branches/ai2/src/modules/weapons/weaponmodes/LightningGun.cc
code/branches/ai2/src/modules/weapons/weaponmodes/RocketFire.cc
code/branches/ai2/src/modules/weapons/weaponmodes/SimpleRocketFire.cc
Log:
Could this be a probable weaponsetting?
Modified: code/branches/ai2/data/levels/includes/weaponSettingsAssff.oxi
===================================================================
--- code/branches/ai2/data/levels/includes/weaponSettingsAssff.oxi 2011-07-14 20:29:18 UTC (rev 8758)
+++ code/branches/ai2/data/levels/includes/weaponSettingsAssff.oxi 2011-07-14 20:46:23 UTC (rev 8759)
@@ -22,22 +22,16 @@
<Model mesh="LightningGun.mesh" pitch="100" roll="90" yaw="90" position="0,-1.3,0" />
<Model mesh="LightningGun-s.mesh" pitch="78" roll="90" yaw="90" position="0.2,-1.3,0" />
<Model mesh="hs-w01_reduced.mesh" roll="90" pitch="-76" yaw="-90" position="-1.5,1,0.3" scale=0.6 />
- </attached>
- <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=3.14159 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" />
- <HsW01 mode=0 munitionpershot=0 delay=0 damage=3.14159 material="Flares/point_lensflare" muzzleoffset="-1.6, 1.3,-2" />
- <LightningGun mode=1 muzzleoffset="0,0,0" damage=3.14159 shielddamage=20 />
- </Weapon>
- <Weapon>
- <attached>
<Model mesh="LightningGun.mesh" pitch="103" roll="90" yaw="90" position="0,-1.35,0" />
<Model mesh="LightningGun-s.mesh" pitch="103" roll="90" yaw="90" position="0.2,-1.35,0" />
<Model mesh="hs-w01_reduced.mesh" roll="90" pitch="-104" yaw="-90" position="0,1.3,0.3" scale=0.6 />
</attached>
+ <HsW01 mode=0 munitionpershot=0 delay=0.125 damage=3.14159 material="Flares/point_lensflare" muzzleoffset=" 0.1, 1.6,-2" />
+ <HsW01 mode=0 munitionpershot=0 delay=0 damage=3.14159 material="Flares/point_lensflare" muzzleoffset="-1.6, 1.3,-2" />
+ <LightningGun mode=1 muzzleoffset="0,0,0" damage=3.14159 shielddamage=20 />
<HsW01 mode=0 munitionpershot=0 delay=0 damage=3.14159 material="Flares/point_lensflare" muzzleoffset=" 1.6, 1.3, -2.0" />
<HsW01 mode=0 munitionpershot=0 delay=0.125 damage=3.14159 material="Flares/point_lensflare" muzzleoffset="-0.1, 1.6, -2.0" />
<LightningGun mode=1 muzzleoffset="0,0,0" damage=23 />
- </Weapon>
- <Weapon>
<SimpleRocketFire mode=2 muzzleoffset="0,0,0" damage=30 shielddamage=20 />
<RocketFire mode=3 muzzleoffset="0,0,0" damage=30 healthdamage=50 shielddamage=20 />
</Weapon>
Modified: code/branches/ai2/src/modules/weapons/weaponmodes/EnergyDrink.cc
===================================================================
--- code/branches/ai2/src/modules/weapons/weaponmodes/EnergyDrink.cc 2011-07-14 20:29:18 UTC (rev 8758)
+++ code/branches/ai2/src/modules/weapons/weaponmodes/EnergyDrink.cc 2011-07-14 20:46:23 UTC (rev 8759)
@@ -56,7 +56,6 @@
this->delayTimer_.setTimer(1.0f, false, createExecutor(createFunctor(&EnergyDrink::shot, this)));
this->delayTimer_.stopTimer();
- this->setName("ENERGY_DRINK");
}
void EnergyDrink::XMLPort(Element& xmlelement, XMLPort::Mode mode)
Modified: code/branches/ai2/src/modules/weapons/weaponmodes/HsW01.cc
===================================================================
--- code/branches/ai2/src/modules/weapons/weaponmodes/HsW01.cc 2011-07-14 20:29:18 UTC (rev 8758)
+++ code/branches/ai2/src/modules/weapons/weaponmodes/HsW01.cc 2011-07-14 20:46:23 UTC (rev 8759)
@@ -59,7 +59,6 @@
this->delayTimer_.stopTimer();
this->setDefaultSound("sounds/Weapon_HsW01.ogg");
- this->setName("HSW01");
}
HsW01::~HsW01()
Modified: code/branches/ai2/src/modules/weapons/weaponmodes/LaserFire.cc
===================================================================
--- code/branches/ai2/src/modules/weapons/weaponmodes/LaserFire.cc 2011-07-14 20:29:18 UTC (rev 8758)
+++ code/branches/ai2/src/modules/weapons/weaponmodes/LaserFire.cc 2011-07-14 20:46:23 UTC (rev 8759)
@@ -48,7 +48,6 @@
this->speed_ = 1250;
this->setMunitionName("LaserMunition");
- this->setName("LASER_FIRE");
}
/* Creates the projectile object, sets its properties to the LaserFire properties
Modified: code/branches/ai2/src/modules/weapons/weaponmodes/LightningGun.cc
===================================================================
--- code/branches/ai2/src/modules/weapons/weaponmodes/LightningGun.cc 2011-07-14 20:29:18 UTC (rev 8758)
+++ code/branches/ai2/src/modules/weapons/weaponmodes/LightningGun.cc 2011-07-14 20:46:23 UTC (rev 8759)
@@ -49,7 +49,6 @@
this->setMunitionName("LaserMunition");
this->setDefaultSound("sounds/Weapon_LightningGun.ogg");
- this->setName("LIGHTNING_GUN");
}
LightningGun::~LightningGun()
Modified: code/branches/ai2/src/modules/weapons/weaponmodes/RocketFire.cc
===================================================================
--- code/branches/ai2/src/modules/weapons/weaponmodes/RocketFire.cc 2011-07-14 20:29:18 UTC (rev 8758)
+++ code/branches/ai2/src/modules/weapons/weaponmodes/RocketFire.cc 2011-07-14 20:46:23 UTC (rev 8759)
@@ -51,7 +51,6 @@
this->speed_ = 500;
this->setMunitionName("RocketMunition");
- this->setName("RocketFire");
// The firing sound of the Rocket is played in Rocket.cc (because of OpenAl sound positioning)
}
Modified: code/branches/ai2/src/modules/weapons/weaponmodes/SimpleRocketFire.cc
===================================================================
--- code/branches/ai2/src/modules/weapons/weaponmodes/SimpleRocketFire.cc 2011-07-14 20:29:18 UTC (rev 8758)
+++ code/branches/ai2/src/modules/weapons/weaponmodes/SimpleRocketFire.cc 2011-07-14 20:46:23 UTC (rev 8759)
@@ -54,7 +54,6 @@
this->setMunitionName("RocketMunition");
this->setDefaultSoundWithVolume("sounds/Rocket_launch.ogg",0.4f);
- this->setName("SimpleRocketFire");
// The firing sound of the Rocket is played in Rocket.cc (because of OpenAl sound positioning)
}
More information about the Orxonox-commit
mailing list