Changes between Version 3 and Version 4 of ~archive/Weapon
- Timestamp:
- Apr 15, 2017, 3:56:11 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
~archive/Weapon
v3 v4 5 5 6 6 __Dependencies__: 7 * [wiki: archive/WorldEntity WorldEntity]8 * [wiki: archive/Projectile Projectile]7 * [wiki:WorldEntity WorldEntity] 8 * [wiki:Projectile Projectile] 9 9 10 10 orxonox will support many types of weapons, and it will split them up into two main elements: 11 11 1. __Weapons(/GUNS)__: They are fixed modules coppled in some way with the Ship (static or dynamic) 12 2. __[wiki:Projectile Projectiles]__: They get emitted from Weapons/guns in the Direction and speed (and other initial values) given them by __[wiki: archive/Weapon Weapon]__12 2. __[wiki:Projectile Projectiles]__: They get emitted from Weapons/guns in the Direction and speed (and other initial values) given them by __[wiki:Weapon Weapon]__ 13 13 14 As you can see ''[wiki: archive/Weapon Weapon]'' and ''[wiki:archive/Projectile Projectile]'' will be independant from each other, projectiles only get emitted by guns in a usefull manner.14 As you can see ''[wiki:Weapon Weapon]'' and ''[wiki:Projectile Projectile]'' will be independant from each other, projectiles only get emitted by guns in a usefull manner. 15 15 16 16 == idea == … … 83 83 2. Define a Projectile 84 84 3. Define some Animations 85 4. Have a look at source: /trunk/src/world_entities/weapons/laser.h#HEAD or source:/trunk/src/world_entities/weapons/turret.h#HEAD for examples85 4. Have a look at source:orxonox.OLD/trunk/src/world_entities/weapons/laser.h#HEAD or source:orxonox.OLD/trunk/src/world_entities/weapons/turret.h#HEAD for examples 86 86 5. Maybe define your own [wiki:Projectile Projectile]