zCTouchDamage
Quick Infos
Class Name: zCTouchDamage
Version Identifiers:
β Gothic I: 36865
β Gothic II: 36865
Source:
β spacerhilfedatei.sph
β gothic-library.ru
β zk.gothickit.dev
A VObject which damages other VObjects colliding with it.
Class members
- zCVob
- zCEffect
- zCTouchDamage
- TouchDamage
- damage = 0
- DamageType
- damageRepeatDelaySec = 0
- damageVolDownScale = 0
- damageCollType = BOX
- TouchDamage
- zCVob
- zCEffect
- zCTouchDamage
- TouchDamage
- damage = 0
- DamageType
- damageRepeatDelaySec = 0
- damageVolDownScale = 0
- damageCollType = BOX
- TouchDamage
- zCVob
- zCEffect
- zCTouchDamage
- TouchDamage
- damage = 0
- DamageType
- damageRepeatDelaySec = 0
- damageVolDownScale = 0
- damageCollType = BOX
- TouchDamage
- zCVob
- zCEffect
- zCTouchDamage
- TouchDamage
- damage = 0
- DamageType
- damageRepeatDelaySec = 0
- damageVolDownScale = 0
- damageCollType = BOX
- TouchDamage
Class member overview
damage
The amount of damage being dealt.
Barrier
Accepted values:
TRUE
β Deal barrier damageFALSE
β Do not deal barrier damage
Blunt
Accepted values:
TRUE
β Deal blunt damage (blunt weapons)FALSE
β Do not deal blunt damage
Edge
Accepted values:
TRUE
β Deal edge damage (sharp weapons)FALSE
β Do not deal edge damage
Fire
Accepted values:
TRUE
β Deal fire damageFALSE
β Do not deal fire damage
Fly
Accepted values:
TRUE
β Deal knockout damageFALSE
β Do not deal knockout damage
Magic
Accepted values:
TRUE
β Deal magic damageFALSE
β Do not deal magic damage
Point
Accepted values:
TRUE
β Deal point damage (bows and crossbows)FALSE
β Do not deal point damage
Fall
Accepted values:
TRUE
β Deal fall damageFALSE
β Do not deal fall damage
damageRepeatDelaySec
The delay between damage ticks when applying continuous damage. If set to 0
, only deals the damage once per collision. If set to a value greater than 0
, deals damage every damageRepeatDelaySec
seconds.
damageVolDownScale
A scale value used in conjunction with damageCollType
. Its function depends on the type of collision detection used.
damageCollType
The type of collision detection to use for damage calculations.
Accepted values:
NONE
β Disable collision detection and thus damage application.BOX
β Scale thebbox3dws
of thezCTouchDamage
object bydamageVolDownScale
and use this new bounding box to calculate collisions with other VObjectsPOINT
β Scale thebbox3dws
of the colliding object bydamageVolDownScale
and only deal damage if it contains the center point of thezCTouchDamage
object. If thevisual
of thezCTouchDamage
object is a particle effect, test against every particle instead.