DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
BT_SHOT_EFFECT Struct Reference

#include <bt_shot_effect.hpp>

Public Attributes

char model_name [16]
 
s32 stationary
 
s32 face_flight
 
float speed [4]
 
float radius [4]
 
s32 life_time
 
s32 damage
 
s32 hit_flags
 
s32 hit_kind
 
s32 target
 
s16 motion [4]
 
s16 end_effect
 
u8 unk_056 [2]
 
float bomb_scale
 
s32 bomb_damage
 
s32 sound [4]
 

Detailed Description

Describes one projectile effect and the four phases it passes through.

Definition at line 18 of file bt_shot_effect.hpp.

Member Data Documentation

◆ model_name

char BT_SHOT_EFFECT::model_name[16]

Model file the effect draws with.

Definition at line 19 of file bt_shot_effect.hpp.

◆ stationary

s32 BT_SHOT_EFFECT::stationary

Nonzero when the effect does not fly toward its target.

Definition at line 20 of file bt_shot_effect.hpp.

◆ face_flight

s32 BT_SHOT_EFFECT::face_flight

Whether a free effect turns its model to face its flight direction.

Definition at line 21 of file bt_shot_effect.hpp.

◆ speed

float BT_SHOT_EFFECT::speed[4]

Distance the effect moves each step in each phase.

Definition at line 22 of file bt_shot_effect.hpp.

◆ radius

float BT_SHOT_EFFECT::radius[4]

Radius of the effect's hit in each phase.

Definition at line 23 of file bt_shot_effect.hpp.

◆ life_time

s32 BT_SHOT_EFFECT::life_time

Steps the effect lasts for.

Definition at line 24 of file bt_shot_effect.hpp.

◆ damage

s32 BT_SHOT_EFFECT::damage

Damage each hit of the effect deals.

Definition at line 25 of file bt_shot_effect.hpp.

◆ hit_flags

s32 BT_SHOT_EFFECT::hit_flags

Flags recorded with each hit; SetAttribute replaces them.

Definition at line 26 of file bt_shot_effect.hpp.

◆ hit_kind

s32 BT_SHOT_EFFECT::hit_kind

Kind of hit recorded; 3 throws the target along the flight.

Definition at line 27 of file bt_shot_effect.hpp.

◆ target

s32 BT_SHOT_EFFECT::target

Who the effect can hit, passed to the collision test and to its explosion.

Definition at line 28 of file bt_shot_effect.hpp.

◆ motion

s16 BT_SHOT_EFFECT::motion[4]

Motion the model plays in each phase, or -1.

Definition at line 29 of file bt_shot_effect.hpp.

◆ end_effect

s16 BT_SHOT_EFFECT::end_effect

Effect played when the shot ends.

See also
ShotEndEffect.

Definition at line 30 of file bt_shot_effect.hpp.

◆ unk_056

u8 BT_SHOT_EFFECT::unk_056[2]

Definition at line 31 of file bt_shot_effect.hpp.

◆ bomb_scale

float BT_SHOT_EFFECT::bomb_scale

Scale of the explosion the shot ends in.

Definition at line 32 of file bt_shot_effect.hpp.

◆ bomb_damage

s32 BT_SHOT_EFFECT::bomb_damage

Damage of the explosion the shot ends in.

Definition at line 33 of file bt_shot_effect.hpp.

◆ sound

s32 BT_SHOT_EFFECT::sound[4]

Sound effect each phase plays, or -1.

Definition at line 34 of file bt_shot_effect.hpp.