Documentation: ConfigLaser
Jump to navigation
Jump to search
Name | Type | Initial Value | Example Range | Description |
---|---|---|---|---|
Members | ||||
max_cell_durability_to_destroy | int32 | 12 | ||
damage_to_cells | uint32 | 5000 | ||
max_length | float | 512 | ||
beam_radius | float | 2.5 | ||
beam_particle_chance | int32 | 110 | ||
beam_particle_fade | float | 1 | ||
beam_particle_fade_reverse | bool | false | ||
hit_particle_chance | int32 | 20 | ||
audio_enabled | bool | true | ||
audio_hit_always_enabled | bool | false | ||
damage_to_entities | float | 0.1 | ||
damage_apply_hitbox_dmg_multiplier | bool | false | NOTE( Petri ): 20.6.2023 - laser emitters have by default skipped the HitboxComponent's damage_multiplier. Added this as a way to enable that multiplier. | |
root_entity_is_responsible_for_damage | bool | false | If 1, damage from laser to entities will be treated as if it was caused by the laser emitter's root entity | |
Custom data types | ||||
beam_particle_type | int32 | 0 |