Main > Q&A
Damage system
Ccrack:
so just to be clear, if a rocket was to hit a broken component. would it do the exact same ammount of damage that it would if it hit the hull directly? or would it be more/less ?
Watchmaker:
It should be identical to hitting the hull directly.
Pickle:
Thank you Watchmaker, that's the clearest description that's been given on this subject.
A destroyed component effectively ceases to exist as far as it stopping/absorbing damage occurs and the target box for that destroyed component becomes part of the "hull component" target box.
Ccrack:
indeed, thank you watchmaker.
i was allways a little conserned when takeing out weapons useing the gatling because i was unsure if i was dealing any damage to the hull or not after the weapon had broken, and i like to keep fireing at the broken weapon to make it a pain in the arse for the engis to fix it.
awkm:
Let me clear some stuff up.
Types of firing mechanisms:
* Raycast—A straight line of a certain range is projected from the barrel point. If this line intersects a hitbox, a hit will be registered. No projectile is fired in actually world space. Guns that are raycast include the gatling and carronade. Raycast weapons are not affected by muzzle speed or gravity.
* Projectile—A projectile is spawn in world space and shot through the air according to several variables along a ballistic arc. If said projectile collides with a hitbox, a hit will be registered. Most of the guns in the game are projectile based.
* Particle—Particles are weird and it's only the flamethrower for now. They spread, they rise, they act like particles and they're weird. Did I say that already? Just deal with it :P
Important variables affecting firing mechanism
* Gravity—How much gravity is applied to a projectile, more gravity the more quickly its arc will drop.
* Muzzle Speed—How fast the projectile is traveling in m/s. Muzzle speed and gravity are related in that if you have lots of gravity but high muzzle speed, the arc will be very wide and the projectile will travel farther before significant drop occurs. High gravity with low muzzle speed will cause the the projectile to drop quickly. Imagine a horizontal force (muzzle speed) vs. a vertical force (gravity) because that's just how it works. Physics 101.
* Jitter—A number in degrees that is randomly selected from 0 to the max jitter allowed for that gun each time a raycast or projectile is spawned. The initial rotation of said raycast or projectile will inherit this randomly generated jitter from 0 to max jitter. This is to simulate recoil. Yeah it's hacky, trust me we know and we're not happy with it, but we never had time to do recoil for real. We're working on it and trying to fix this soon.
* Arming Time—A number in seconds where if projectile hits before arming time is reached, only primary damage is applied. Therefore, full damage potential range is Arming Time * Muzzle Speed. Lumberjack and Heavy Flak have arming time.
Primary Secondary Dmg
* Primary—Will apply damage to the part that is hit. May penetrate slightly based on penetration (in seconds, penetration * muzzle speed = distance penetrated, only for projectile weapons. This number is either 0 or very very small so don't worry.).
* Secondary—Once projectile stops moving (post penetration), secondary damage will be applied.
* Area of Effect—The radius in meters of possible secondary dmg area of effect. Components caught in this range will have secondary damage applied. Epicenter is where the projectile stops moving post penetration.
And Alex (Watchmaker, and on of our talented programmers) covers the damage transfer stuff:
--- Quote from: Watchmaker on March 04, 2013, 03:06:03 pm ---Overflow damage on a single hit does not transfer.
Subsequent hits transfer from the component that was hit to the "hull component" - meaning they apply damage to armor first, if any remains.
We've been unclear in the past on the terms for the two health bars on the hull (I try to refer to them as armor and health), which is probably part of the confusion.
Each hit (projectile, explosion, gatling or carronade ray/pellet) deals its damage to a single location, in a lump. Transferred hits function exactly as if you actually hit, say, a hull hitbox instead of a balloon hitbox. None of the balloon/engine/gun multipliers are applied; multipliers for hull armor or health are applied according to the hull's current state.
Note that there is a slightly weird case where a single hit deals more damage than remaining hull armor. Currently, in this case, the base damage is multiplied by the armor modifiers, and any overflow of that modified value is applied directly to hull health.
--- End quote ---
And to clarify, mechanical components that are dead also transfer damage to hull. E.g. the front gun on a Goldfish will transfer damage dealt to it to the hull if the gun is dead. If this was not the case, you'll have a huge shield in the front of the ship to ram with etc.
I think that's the most of what's in play.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version