ESF
Content:
Notes
THIS MODULE WILL BE RELEASED WITH THE NEXT VERSION OF AMX MOD X.
The ESF module was based on stocks and information provided by LynX. It was organized and released by BAILOPAN.
The ESF module has two includes, a natives include and a const include.
- esf.inc (ESF Natives)
- esf_const.inc (ESF Constants)
ESF contains the following constants:
Character Type Constants
enum
{
Character_Buu = 1,
Character_Goku = 2,
Character_Gohan = 3,
Character_Krillin = 4,
Character_Frieza = 5,
Character_Piccolo = 6,
Character_Trunks = 7,
Character_Vegeta = 8,
Character_Cell = 9,
};
Explosion Type Constants
enum
{
Explosion_Blue = 0,
Explosion_Green,
Explosion_Orange,
Explosion_Purple,
Explosion_Yellow,
Explosion_Red,
Explosion_White,
Explosion_Total,
};
Attack Type Constants
enum
{
Attack_Kamehameha = 1,
Attack_SpiritBomb,
Attack_GalletGun,
Attack_FinalFlash,
Attack_Renzoku,
Attack_Kametorpedo,
Attack_GenericBeam,
Attack_Throw,
};
Direction Constants
enum
{
Direction_Left = 1,
Direction_Right,
Direction_Up,
Direction_Down,
Direction_Forward,
Direction_Backward,
};
Recovery Constants
enum
{
Recovery_Kicked = 1,
Recovery_Tumbled,
Recovery_Lying,
Recovery_Thrown,
};
State Constants
#define ESF_CHARGING 1
#define ESF_CONTROLING 2
#define ESF_SHOOTING 3
#define ESF_SHOT 4
Functions
esf_create_avatar - Creates an avatar for a player.
esf_explosion - Creates a generic ESF explosion.
esf_get_class - Returns a player's character class.
esf_get_ki - Returns a player's ki.
esf_get_powerlevel - Returns a player's power level.
esf_get_shotstate - Gets the state of a player's attack.
esf_get_speed - Returns a player's speed.
esf_get_swoopspeed - Gets a player's swooping speed.
esf_grabbedwall - Checks if a player has grabbed a wall.
esf_groundthrown - Checks if a player has been thrown to the ground.
esf_has_avatar - Returns whether a not a player has an avatar.
esf_has_died - Checks if a player has just died.
esf_has_dragonball - Checks if a player has a dragonball.
esf_in_advmelee - Checks if a player is in advanced melee.
esf_in_combo - Checks if a player is in a combo (1 or 2). If attacked is 1, checks if being attacked by this combo.
esf_in_stance - Checks whether player is in stance to do a combo/punches.
esf_in_water - Checks if a player is powering up.
esf_is_advmeleed - Checks if a player is being advanced meleed.
esf_is_advmeleeing - Checks if a player is advanced meleeing.
esf_is_beamjumping - Checks if a player is beam jumping.
esf_is_blocking - Checks if a player is blocking.
esf_is_crushed - Checks if a player is crushed against a wall.
esf_is_flying - Checks if a player is flying.
esf_is_grappling - Checks if a player is grappling/in an adv. melee struggle.
esf_is_idle - Checks if a player is idling.
esf_is_kicked - Checks if a player has been kicked in basic melee.
esf_is_kicking - Checks if a player has kicked someone with basic melee.
esf_is_lying - Checks if a player is lying on the ground.
esf_is_prepunch - Checks if a player is in prepunch, or if a player is being prepunched.
esf_is_recovered - Checks if a player is recovering from an attack.
esf_is_shooting - Checks if a player is shooting.
esf_is_stunned - Checks if a player is stunned.
esf_is_swooping - Checks if a player is swooping in a certain direction.
esf_is_swung - Checks if a player has been swung.
esf_is_tumbling - Checks if a player is tumbling.
esf_remove_avatar - Removes a user's avatar.
esf_set_avatar_model - Sets an avatar model.
esf_set_chargebar - Creates a chargebar (0 - 1000).
esf_set_class - Sets a player's class (experimental).
esf_set_health - Sets a player's health.
esf_set_ki - Sets a player's ki.
esf_set_powerlevel - Sets a player's power level.
esf_set_speed - Sets a player's speed.
esf_set_swoopspeed - Sets a player's swooping speed.
esf_start_powerup - Starts a power-up sequence with specified colors.
esf_stop_powerup - Stops power-up.
esf_threw_dragonball - Checks if a player has just thrown a dragonball.
esf_transformfx_1 - Use character's TransformFX 1 message.
esf_transformfx_2 - Use character's TransformFX 2 message.
esf_transformfx_off - Stops a user's transformation.
esf_transforming - Checks if a player is transforming.
esf_transform_done - Checks if a player's transformation is done.
esf_walljumped - Checks if a player has jumped off a wall.