/* * This file is generated by Entity Class Compiler, (c) CroTeam 1997-98 */ EP_ENUMBEG(GruntSkaType) EP_ENUMVALUE(GT_SOLDIER, "Grunt soldier"), EP_ENUMVALUE(GT_COMMANDER, "Grunt commander"), EP_ENUMEND(GruntSkaType); #define ENTITYCLASS CGruntSka CEntityProperty CGruntSka_properties[] = { CEntityProperty(CEntityProperty::EPT_ENUM, &GruntSkaType_enum, (0x00000157<<8)+1, offsetof(CGruntSka, m_gtType), "Type", 'Y', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x00000157<<8)+10, offsetof(CGruntSka, m_soFire1), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_SOUNDOBJECT, NULL, (0x00000157<<8)+11, offsetof(CGruntSka, m_soFire2), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000157<<8)+20, offsetof(CGruntSka, m_fMidBoneRot), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_MODELINSTANCE, NULL, (0x00000157<<8)+30, offsetof(CGruntSka, m_miTest), "", 0, 0, 0), }; #define CGruntSka_propertiesct ARRAYCOUNT(CGruntSka_properties) CEntityComponent CGruntSka_components[] = { #define CLASS_BASE ((0x00000157<<8)+1) CEntityComponent(ECT_CLASS, CLASS_BASE, "EFNM" "Classes\\EnemyBase.ecl"), #define CLASS_PROJECTILE ((0x00000157<<8)+3) CEntityComponent(ECT_CLASS, CLASS_PROJECTILE, "EFNM" "Classes\\Projectile.ecl"), #define SOUND_IDLE ((0x00000157<<8)+50) CEntityComponent(ECT_SOUND, SOUND_IDLE, "EFNM" "ModelsMP\\Enemies\\Grunt\\Sounds\\Idle.wav"), #define SOUND_SIGHT ((0x00000157<<8)+52) CEntityComponent(ECT_SOUND, SOUND_SIGHT, "EFNM" "ModelsMP\\Enemies\\Grunt\\Sounds\\Sight.wav"), #define SOUND_WOUND ((0x00000157<<8)+53) CEntityComponent(ECT_SOUND, SOUND_WOUND, "EFNM" "ModelsMP\\Enemies\\Grunt\\Sounds\\Wound.wav"), #define SOUND_FIRE ((0x00000157<<8)+57) CEntityComponent(ECT_SOUND, SOUND_FIRE, "EFNM" "ModelsMP\\Enemies\\Grunt\\Sounds\\Fire.wav"), #define SOUND_DEATH ((0x00000157<<8)+58) CEntityComponent(ECT_SOUND, SOUND_DEATH, "EFNM" "ModelsMP\\Enemies\\Grunt\\Sounds\\Death.wav"), }; #define CGruntSka_componentsct ARRAYCOUNT(CGruntSka_components) CEventHandlerEntry CGruntSka_handlers[] = { {0x01570000, STATE_CEnemyBase_Fire, CEntity::pEventHandler(&CGruntSka:: #line 394 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es" Fire),DEBUGSTRING("CGruntSka::Fire")}, {0x01570001, -1, CEntity::pEventHandler(&CGruntSka::H0x01570001_Fire_01), DEBUGSTRING("CGruntSka::H0x01570001_Fire_01")}, {0x01570002, -1, CEntity::pEventHandler(&CGruntSka::H0x01570002_Fire_02), DEBUGSTRING("CGruntSka::H0x01570002_Fire_02")}, {0x01570003, -1, CEntity::pEventHandler(&CGruntSka::H0x01570003_Fire_03), DEBUGSTRING("CGruntSka::H0x01570003_Fire_03")}, {0x01570004, -1, CEntity::pEventHandler(&CGruntSka::H0x01570004_Fire_04), DEBUGSTRING("CGruntSka::H0x01570004_Fire_04")}, {0x01570005, -1, CEntity::pEventHandler(&CGruntSka::H0x01570005_Fire_05), DEBUGSTRING("CGruntSka::H0x01570005_Fire_05")}, {0x01570006, -1, CEntity::pEventHandler(&CGruntSka::H0x01570006_Fire_06), DEBUGSTRING("CGruntSka::H0x01570006_Fire_06")}, {0x01570007, -1, CEntity::pEventHandler(&CGruntSka::H0x01570007_Fire_07), DEBUGSTRING("CGruntSka::H0x01570007_Fire_07")}, {0x01570008, -1, CEntity::pEventHandler(&CGruntSka::H0x01570008_Fire_08), DEBUGSTRING("CGruntSka::H0x01570008_Fire_08")}, {0x01570009, -1, CEntity::pEventHandler(&CGruntSka:: #line 409 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es" SoldierAttack),DEBUGSTRING("CGruntSka::SoldierAttack")}, {0x0157000a, -1, CEntity::pEventHandler(&CGruntSka::H0x0157000a_SoldierAttack_01), DEBUGSTRING("CGruntSka::H0x0157000a_SoldierAttack_01")}, {0x0157000b, -1, CEntity::pEventHandler(&CGruntSka::H0x0157000b_SoldierAttack_02), DEBUGSTRING("CGruntSka::H0x0157000b_SoldierAttack_02")}, {0x0157000c, -1, CEntity::pEventHandler(&CGruntSka::H0x0157000c_SoldierAttack_03), DEBUGSTRING("CGruntSka::H0x0157000c_SoldierAttack_03")}, {0x0157000d, -1, CEntity::pEventHandler(&CGruntSka::H0x0157000d_SoldierAttack_04), DEBUGSTRING("CGruntSka::H0x0157000d_SoldierAttack_04")}, {0x0157000e, -1, CEntity::pEventHandler(&CGruntSka::H0x0157000e_SoldierAttack_05), DEBUGSTRING("CGruntSka::H0x0157000e_SoldierAttack_05")}, {0x0157000f, -1, CEntity::pEventHandler(&CGruntSka::H0x0157000f_SoldierAttack_06), DEBUGSTRING("CGruntSka::H0x0157000f_SoldierAttack_06")}, {0x01570010, -1, CEntity::pEventHandler(&CGruntSka:: #line 430 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es" CommanderAttack),DEBUGSTRING("CGruntSka::CommanderAttack")}, {0x01570011, -1, CEntity::pEventHandler(&CGruntSka::H0x01570011_CommanderAttack_01), DEBUGSTRING("CGruntSka::H0x01570011_CommanderAttack_01")}, {0x01570012, -1, CEntity::pEventHandler(&CGruntSka::H0x01570012_CommanderAttack_02), DEBUGSTRING("CGruntSka::H0x01570012_CommanderAttack_02")}, {0x01570013, -1, CEntity::pEventHandler(&CGruntSka::H0x01570013_CommanderAttack_03), DEBUGSTRING("CGruntSka::H0x01570013_CommanderAttack_03")}, {0x01570014, -1, CEntity::pEventHandler(&CGruntSka::H0x01570014_CommanderAttack_04), DEBUGSTRING("CGruntSka::H0x01570014_CommanderAttack_04")}, {0x01570015, -1, CEntity::pEventHandler(&CGruntSka::H0x01570015_CommanderAttack_05), DEBUGSTRING("CGruntSka::H0x01570015_CommanderAttack_05")}, {0x01570016, -1, CEntity::pEventHandler(&CGruntSka::H0x01570016_CommanderAttack_06), DEBUGSTRING("CGruntSka::H0x01570016_CommanderAttack_06")}, {0x01570017, -1, CEntity::pEventHandler(&CGruntSka::H0x01570017_CommanderAttack_07), DEBUGSTRING("CGruntSka::H0x01570017_CommanderAttack_07")}, {0x01570018, -1, CEntity::pEventHandler(&CGruntSka::H0x01570018_CommanderAttack_08), DEBUGSTRING("CGruntSka::H0x01570018_CommanderAttack_08")}, {0x01570019, -1, CEntity::pEventHandler(&CGruntSka::H0x01570019_CommanderAttack_09), DEBUGSTRING("CGruntSka::H0x01570019_CommanderAttack_09")}, {0x0157001a, -1, CEntity::pEventHandler(&CGruntSka::H0x0157001a_CommanderAttack_10), DEBUGSTRING("CGruntSka::H0x0157001a_CommanderAttack_10")}, {0x0157001b, -1, CEntity::pEventHandler(&CGruntSka::H0x0157001b_CommanderAttack_11), DEBUGSTRING("CGruntSka::H0x0157001b_CommanderAttack_11")}, {0x0157001c, -1, CEntity::pEventHandler(&CGruntSka::H0x0157001c_CommanderAttack_12), DEBUGSTRING("CGruntSka::H0x0157001c_CommanderAttack_12")}, {1, -1, CEntity::pEventHandler(&CGruntSka:: #line 473 "D:/SE1_GPL/Sources/EntitiesMP/GruntSka.es" Main),DEBUGSTRING("CGruntSka::Main")}, }; #define CGruntSka_handlersct ARRAYCOUNT(CGruntSka_handlers) CEntity *CGruntSka_New(void) { return new CGruntSka; }; void CGruntSka_OnInitClass(void) {}; void CGruntSka_OnEndClass(void) {}; void CGruntSka_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {}; void CGruntSka_OnWorldEnd(CWorld *pwo) {}; void CGruntSka_OnWorldInit(CWorld *pwo) {}; void CGruntSka_OnWorldTick(CWorld *pwo) {}; void CGruntSka_OnWorldRender(CWorld *pwo) {}; ENTITY_CLASSDEFINITION(CGruntSka, CEnemyBase, "GruntSka", "Thumbnails\\Grunt.tbn", 0x00000157); DECLARE_CTFILENAME(_fnmCGruntSka_tbn, "Thumbnails\\Grunt.tbn");