Changes between Version 1 and Version 2 of ~archive/Weapon
- Timestamp:
- Nov 30, 2007, 10:26:33 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
~archive/Weapon
v1 v2 3 3 4 4 __Dependencies__: 5 * WorldEntity6 * [wiki: Projectile Projectile]5 * [wiki:archive/WorldEntity WorldEntity] 6 * [wiki:archive/Projectile Projectile] 7 7 8 8 orxonox will support many types of weapons, and it will split them up into two main elements: 9 9 1. __Weapons(/GUNS)__: They are fixed modules coppled in some way with the Ship (static or dynamic) 10 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]__10 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]__ 11 11 12 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.12 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. 13 13 14 14 == idea == … … 68 68 * __requestAction__: A request to an action the weapon should take next (shooting reloading and so on) 69 69 * __setCapability__: The capabilities this weapon has (direction, type of weapon (turret/directional))... 70 * __setProjectileType__: The Type of Projectiles this Weapon should emit: (This automatically gets the FastFactory for the requested Projectiles).70 * __setProjectileType__: The Type of Projectiles this Weapon should emit: (This automatically gets the !FastFactory for the requested Projectiles). 71 71 * __getProjectile__: get a Projectile of the Requested type... then you can fire it :) 72 72 * __setEmissionPoint__: Where the Projectile gets emitted from … … 78 78 79 79 == Howto Create a Weapon == 80 1. Have a look at the Howto Process of -> WorldEntity.80 1. Have a look at the Howto Process of -> [wiki:archive/WorldEntity WorldEntity]. 81 81 2. Define a Projectile 82 82 3. Define some Animations