Ricebug on 2/11/2016 at 21:42
I'm looking at the blackjack's Bash Params, and see this:
[INDENT]Threshold = 200
Coefficient = .01
[/INDENT]
If a door has a hitpoint of 250, how many strikes does the BJ have to make to open the door?
(It's pertinent to a walkthrough I'm working on.)
Nameless Voice on 3/11/2016 at 14:24
As many times as it has hit points, which depends on the specific door.
A blackjack deals one point of BashStim damage per hit.
Bash Params, on the other hand, deal with how much bashing damage is done by hitting something with a physics object, e.g. throwing a hammer at someone, or being hit on the head by a boulder.
Yandros on 3/11/2016 at 16:03
So if you could throw the blackjack, it would do 200 damage?
Ricebug on 3/11/2016 at 16:43
The thing (-1380) that breaks the object (actually, a wooden board using the sealed crate archetype (-506)) has a bash factor of 2.20.
The "crate" has a hit point of 250.
It takes 7 strikes (throwing the rock) to break the board. The math doesn't make any sense to me.
Nameless Voice on 4/11/2016 at 14:36
I'd imagine that the threshold is how fast it has to be travelling before it starts to deal damage, and the coefficient is how much more damage it deals based on the speed that it's going, and the bash factor is how much damage it deals.
______________________________________________________________________________________________________________
Yes, that's right.
It deals damage based on the following formula:
damage = max(0, (impact magnitude - bash threshold) * bash coefficient * bash factor)
The bash params of the "victim" are factored in too, if it has any. Looks like (damage - victim bash threshold) * victim coefficient
Finally, there's extra handling to make sure that the player won't take damage by bashing his head into a ceiling.
(Source: Dreamcast source leak)
ZylonBane on 5/11/2016 at 15:20
Also, when the related property Bash Factor is applied to a terrain archetype, it modulates the damage the player takes from colliding with it. So you could take less falling damage from landing on grass vs stone, etc.