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.