/* * This file is generated by Entity Class Compiler, (c) CroTeam 1997-98 */ #define ENTITYCLASS CCrateBus CEntityProperty CCrateBus_properties[] = { CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x00000160<<8)+1, offsetof(CCrateBus, m_bActive), "Active", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000160<<8)+2, offsetof(CCrateBus, m_fExplosionStretch), "Explosion Stretch", 'E', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000160<<8)+3, offsetof(CCrateBus, m_tmDeath), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_STRING, NULL, (0x00000160<<8)+4, offsetof(CCrateBus, m_strName), "Name", 'N', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_INDEX, NULL, (0x00000160<<8)+5, offsetof(CCrateBus, m_ctMentals), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_BOOL, NULL, (0x00000160<<8)+6, offsetof(CCrateBus, m_bShowTrail), "", 0, 0, 0), CEntityProperty(CEntityProperty::EPT_FLOAT, NULL, (0x00000160<<8)+7, offsetof(CCrateBus, m_fStretch), "Stretch", 'S', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+11, offsetof(CCrateBus, m_fnmHeadTex01), "Head texture 01", 'H', 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+12, offsetof(CCrateBus, m_fnmHeadTex02), "Head texture 02", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+13, offsetof(CCrateBus, m_fnmHeadTex03), "Head texture 03", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+14, offsetof(CCrateBus, m_fnmHeadTex04), "Head texture 04", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+15, offsetof(CCrateBus, m_fnmHeadTex05), "Head texture 05", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+16, offsetof(CCrateBus, m_fnmHeadTex06), "Head texture 06", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+17, offsetof(CCrateBus, m_fnmHeadTex07), "Head texture 07", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+18, offsetof(CCrateBus, m_fnmHeadTex08), "Head texture 08", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+19, offsetof(CCrateBus, m_fnmHeadTex09), "Head texture 09", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+20, offsetof(CCrateBus, m_fnmHeadTex10), "Head texture 10", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+21, offsetof(CCrateBus, m_fnmHeadTex11), "Head texture 11", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+22, offsetof(CCrateBus, m_fnmHeadTex12), "Head texture 12", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+23, offsetof(CCrateBus, m_fnmHeadTex13), "Head texture 13", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+24, offsetof(CCrateBus, m_fnmHeadTex14), "Head texture 14", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+25, offsetof(CCrateBus, m_fnmHeadTex15), "Head texture 15", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+26, offsetof(CCrateBus, m_fnmHeadTex16), "Head texture 16", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+27, offsetof(CCrateBus, m_fnmHeadTex17), "Head texture 17", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+28, offsetof(CCrateBus, m_fnmHeadTex18), "Head texture 18", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+29, offsetof(CCrateBus, m_fnmHeadTex19), "Head texture 19", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+30, offsetof(CCrateBus, m_fnmHeadTex20), "Head texture 20", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+31, offsetof(CCrateBus, m_fnmHeadTex21), "Head texture 21", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+32, offsetof(CCrateBus, m_fnmHeadTex22), "Head texture 22", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+33, offsetof(CCrateBus, m_fnmHeadTex23), "Head texture 23", 0, 0x7F0000FFUL, 0), CEntityProperty(CEntityProperty::EPT_FILENAME, NULL, (0x00000160<<8)+34, offsetof(CCrateBus, m_fnmHeadTex24), "Head texture 24", 0, 0x7F0000FFUL, 0), }; #define CCrateBus_propertiesct ARRAYCOUNT(CCrateBus_properties) CEntityComponent CCrateBus_components[] = { #define CLASS_BASIC_EFFECT ((0x00000160<<8)+1) CEntityComponent(ECT_CLASS, CLASS_BASIC_EFFECT, "EFNM" "Classes\\BasicEffect.ecl"), #define CLASS_PROJECTILE ((0x00000160<<8)+2) CEntityComponent(ECT_CLASS, CLASS_PROJECTILE, "EFNM" "Classes\\Projectile.ecl"), #define CLASS_SPAWNER_PROJECTILE ((0x00000160<<8)+3) CEntityComponent(ECT_CLASS, CLASS_SPAWNER_PROJECTILE, "EFNM" "Classes\\SpawnerProjectile.ecl"), #define MODEL_MENTAL ((0x00000160<<8)+10) CEntityComponent(ECT_MODEL, MODEL_MENTAL, "EFNM" "ModelsMP\\Enemies\\Mental\\Mental.mdl"), #define TEXTURE_MENTAL ((0x00000160<<8)+11) CEntityComponent(ECT_TEXTURE, TEXTURE_MENTAL, "EFNM" "ModelsMP\\Enemies\\Mental\\Mental.tex"), #define MODEL_CRATE_BUS ((0x00000160<<8)+12) CEntityComponent(ECT_MODEL, MODEL_CRATE_BUS, "EFNM" "ModelsMP\\CutSequences\\CrateBus\\CrateBus.mdl"), #define TEXTURE_CRATE_BUS ((0x00000160<<8)+13) CEntityComponent(ECT_TEXTURE, TEXTURE_CRATE_BUS, "EFNM" "ModelsMP\\CutSequences\\CrateBus\\CrateBus.tex"), #define MODEL_HEAD ((0x00000160<<8)+14) CEntityComponent(ECT_MODEL, MODEL_HEAD, "EFNM" "ModelsMP\\Enemies\\Mental\\Head.mdl"), #define TEXTURE_HEAD ((0x00000160<<8)+15) CEntityComponent(ECT_TEXTURE, TEXTURE_HEAD, "EFNM" "ModelsMP\\Enemies\\Mental\\Head.tex"), }; #define CCrateBus_componentsct ARRAYCOUNT(CCrateBus_components) CEventHandlerEntry CCrateBus_handlers[] = { {0x01600000, -1, CEntity::pEventHandler(&CCrateBus:: #line 200 "D:/SE1_GPL/Sources/EntitiesMP/CrateBus.es" Die),DEBUGSTRING("CCrateBus::Die")}, {0x01600001, -1, CEntity::pEventHandler(&CCrateBus::H0x01600001_Die_01), DEBUGSTRING("CCrateBus::H0x01600001_Die_01")}, {0x01600002, -1, CEntity::pEventHandler(&CCrateBus::H0x01600002_Die_02), DEBUGSTRING("CCrateBus::H0x01600002_Die_02")}, {1, -1, CEntity::pEventHandler(&CCrateBus:: #line 276 "D:/SE1_GPL/Sources/EntitiesMP/CrateBus.es" Main),DEBUGSTRING("CCrateBus::Main")}, {0x01600003, -1, CEntity::pEventHandler(&CCrateBus::H0x01600003_Main_01), DEBUGSTRING("CCrateBus::H0x01600003_Main_01")}, {0x01600004, -1, CEntity::pEventHandler(&CCrateBus::H0x01600004_Main_02), DEBUGSTRING("CCrateBus::H0x01600004_Main_02")}, {0x01600005, -1, CEntity::pEventHandler(&CCrateBus::H0x01600005_Main_03), DEBUGSTRING("CCrateBus::H0x01600005_Main_03")}, {0x01600006, -1, CEntity::pEventHandler(&CCrateBus::H0x01600006_Main_04), DEBUGSTRING("CCrateBus::H0x01600006_Main_04")}, }; #define CCrateBus_handlersct ARRAYCOUNT(CCrateBus_handlers) CEntity *CCrateBus_New(void) { return new CCrateBus; }; void CCrateBus_OnInitClass(void) {}; void CCrateBus_OnEndClass(void) {}; void CCrateBus_OnPrecache(CDLLEntityClass *pdec, INDEX iUser) {}; void CCrateBus_OnWorldEnd(CWorld *pwo) {}; void CCrateBus_OnWorldInit(CWorld *pwo) {}; void CCrateBus_OnWorldTick(CWorld *pwo) {}; void CCrateBus_OnWorldRender(CWorld *pwo) {}; ENTITY_CLASSDEFINITION(CCrateBus, CMovableModelEntity, "CrateBus", "Thumbnails\\Mental.tbn", 0x00000160); DECLARE_CTFILENAME(_fnmCCrateBus_tbn, "Thumbnails\\Mental.tbn");