Re: [hlcoders] Metamod Link Entity to Class
Yes it's possible exist one mod with this called [EU] CS 1.6 Monster Co-op. I opened the maps (bsp) and have the entities created including info_nodes for the AI navigate etc 2017-02-27 14:39 GMT-03:00 Sam Vanheer : > I don't know if it's possible to spawn monsters by placing them in a map > when using this mod. For that it will probably need to be updated to > export the functions the way other plugins do. You'll need to find > somebody that can help you with that. > > > Op 27/02/2017 om 18:34 schreef SK G: > > Thank you for the answer but i need link the entities for place monsters > > via map and don't for text/cfg how is done. > > > > I don't know what is the method more efficient for this. > > > > Sorry for my bad english haha > > > > Thanks a lot! > > > > 2017-02-27 14:25 GMT-03:00 Sam Vanheer : > > > >> You'll need to add your monsters in the monster_types list, and add an > >> entry in the spawn_monster function's switch statement that matches the > >> index in the list. > >> > >> For example, the last entry is the Zombie, with a name of "zombie", at > >> index 13. > >> > >> > >> There is already a barney monster defined in this list so you can use > >> that. If you need to add your own, add the name before the last entry > >> (the "", FALSE part), then add your monster to the switch with a > >> matching index. > >> > >> This is the previous index + 1, so adding a new monster would have index > >> 14. > >> > >> Don't forget to include the header that declares the monster class as > >> well, if it isn't declared in cmbasemonster.h. > >> > >> > >> This plugin seems to be rather inefficient in design, so if you can you > >> should redesign this. If you don't understand why then there's no need > >> to worry; this does work, albeit poorly. > >> > >> > >> Op 27/02/2017 om 18:09 schreef SK G: > >>> Exactly It's the same bro if you can help me i appreciate very much > >>> > >>> if you need the source pack i send you via private mail > >>> > >>> 2017-02-27 13:29 GMT-03:00 Sam Vanheer : > >>> > Could you post the entire compile log, it looks like there are errors > elsewhere that are cascading to cause this problem. > > > Op 27/02/2017 om 17:20 schreef SK G: > > Hi everyone. > > > > I need help with MonsterMod for Metamod I'm trying link the entities > >> with > > them and I got this error > > > > error C2065: 'monster_barney' : undeclared identifier > > error C2275: 'CMTalkMonster' : illegal use of this type as an > >> expression > > I'm using this LINK_ENTITY_TO_CLASS( monster_barney, CMBarney ); > > > > Thanks a lot! > > ___ > > To unsubscribe, edit your list preferences, or view the list > archives, > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > > >>> ___ > >>> To unsubscribe, edit your list preferences, or view the list archives, > >> please visit: > >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > >>> > >> ___ > >> To unsubscribe, edit your list preferences, or view the list archives, > >> please visit: > >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > >> > >> > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
Re: [hlcoders] Metamod Link Entity to Class
I don't know if it's possible to spawn monsters by placing them in a map when using this mod. For that it will probably need to be updated to export the functions the way other plugins do. You'll need to find somebody that can help you with that. Op 27/02/2017 om 18:34 schreef SK G: > Thank you for the answer but i need link the entities for place monsters > via map and don't for text/cfg how is done. > > I don't know what is the method more efficient for this. > > Sorry for my bad english haha > > Thanks a lot! > > 2017-02-27 14:25 GMT-03:00 Sam Vanheer : > >> You'll need to add your monsters in the monster_types list, and add an >> entry in the spawn_monster function's switch statement that matches the >> index in the list. >> >> For example, the last entry is the Zombie, with a name of "zombie", at >> index 13. >> >> >> There is already a barney monster defined in this list so you can use >> that. If you need to add your own, add the name before the last entry >> (the "", FALSE part), then add your monster to the switch with a >> matching index. >> >> This is the previous index + 1, so adding a new monster would have index >> 14. >> >> Don't forget to include the header that declares the monster class as >> well, if it isn't declared in cmbasemonster.h. >> >> >> This plugin seems to be rather inefficient in design, so if you can you >> should redesign this. If you don't understand why then there's no need >> to worry; this does work, albeit poorly. >> >> >> Op 27/02/2017 om 18:09 schreef SK G: >>> Exactly It's the same bro if you can help me i appreciate very much >>> >>> if you need the source pack i send you via private mail >>> >>> 2017-02-27 13:29 GMT-03:00 Sam Vanheer : >>> Could you post the entire compile log, it looks like there are errors elsewhere that are cascading to cause this problem. Op 27/02/2017 om 17:20 schreef SK G: > Hi everyone. > > I need help with MonsterMod for Metamod I'm trying link the entities >> with > them and I got this error > > error C2065: 'monster_barney' : undeclared identifier > error C2275: 'CMTalkMonster' : illegal use of this type as an >> expression > I'm using this LINK_ENTITY_TO_CLASS( monster_barney, CMBarney ); > > Thanks a lot! > ___ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> ___ >>> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> >> ___ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >> >> > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
Re: [hlcoders] Metamod Link Entity to Class
Thank you for the answer but i need link the entities for place monsters via map and don't for text/cfg how is done. I don't know what is the method more efficient for this. Sorry for my bad english haha Thanks a lot! 2017-02-27 14:25 GMT-03:00 Sam Vanheer : > You'll need to add your monsters in the monster_types list, and add an > entry in the spawn_monster function's switch statement that matches the > index in the list. > > For example, the last entry is the Zombie, with a name of "zombie", at > index 13. > > > There is already a barney monster defined in this list so you can use > that. If you need to add your own, add the name before the last entry > (the "", FALSE part), then add your monster to the switch with a > matching index. > > This is the previous index + 1, so adding a new monster would have index > 14. > > Don't forget to include the header that declares the monster class as > well, if it isn't declared in cmbasemonster.h. > > > This plugin seems to be rather inefficient in design, so if you can you > should redesign this. If you don't understand why then there's no need > to worry; this does work, albeit poorly. > > > Op 27/02/2017 om 18:09 schreef SK G: > > Exactly It's the same bro if you can help me i appreciate very much > > > > if you need the source pack i send you via private mail > > > > 2017-02-27 13:29 GMT-03:00 Sam Vanheer : > > > >> Could you post the entire compile log, it looks like there are errors > >> elsewhere that are cascading to cause this problem. > >> > >> > >> Op 27/02/2017 om 17:20 schreef SK G: > >>> Hi everyone. > >>> > >>> I need help with MonsterMod for Metamod I'm trying link the entities > with > >>> them and I got this error > >>> > >>> error C2065: 'monster_barney' : undeclared identifier > >>> error C2275: 'CMTalkMonster' : illegal use of this type as an > expression > >>> > >>> I'm using this LINK_ENTITY_TO_CLASS( monster_barney, CMBarney ); > >>> > >>> Thanks a lot! > >>> ___ > >>> To unsubscribe, edit your list preferences, or view the list archives, > >> please visit: > >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > >>> > >> ___ > >> To unsubscribe, edit your list preferences, or view the list archives, > >> please visit: > >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > >> > >> > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
Re: [hlcoders] Metamod Link Entity to Class
You'll need to add your monsters in the monster_types list, and add an entry in the spawn_monster function's switch statement that matches the index in the list. For example, the last entry is the Zombie, with a name of "zombie", at index 13. There is already a barney monster defined in this list so you can use that. If you need to add your own, add the name before the last entry (the "", FALSE part), then add your monster to the switch with a matching index. This is the previous index + 1, so adding a new monster would have index 14. Don't forget to include the header that declares the monster class as well, if it isn't declared in cmbasemonster.h. This plugin seems to be rather inefficient in design, so if you can you should redesign this. If you don't understand why then there's no need to worry; this does work, albeit poorly. Op 27/02/2017 om 18:09 schreef SK G: > Exactly It's the same bro if you can help me i appreciate very much > > if you need the source pack i send you via private mail > > 2017-02-27 13:29 GMT-03:00 Sam Vanheer : > >> Could you post the entire compile log, it looks like there are errors >> elsewhere that are cascading to cause this problem. >> >> >> Op 27/02/2017 om 17:20 schreef SK G: >>> Hi everyone. >>> >>> I need help with MonsterMod for Metamod I'm trying link the entities with >>> them and I got this error >>> >>> error C2065: 'monster_barney' : undeclared identifier >>> error C2275: 'CMTalkMonster' : illegal use of this type as an expression >>> >>> I'm using this LINK_ENTITY_TO_CLASS( monster_barney, CMBarney ); >>> >>> Thanks a lot! >>> ___ >>> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> >> ___ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >> >> > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
Re: [hlcoders] Metamod Link Entity to Class
Exactly It's the same bro if you can help me i appreciate very much if you need the source pack i send you via private mail 2017-02-27 13:29 GMT-03:00 Sam Vanheer : > Could you post the entire compile log, it looks like there are errors > elsewhere that are cascading to cause this problem. > > > Op 27/02/2017 om 17:20 schreef SK G: > > Hi everyone. > > > > I need help with MonsterMod for Metamod I'm trying link the entities with > > them and I got this error > > > > error C2065: 'monster_barney' : undeclared identifier > > error C2275: 'CMTalkMonster' : illegal use of this type as an expression > > > > I'm using this LINK_ENTITY_TO_CLASS( monster_barney, CMBarney ); > > > > Thanks a lot! > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
Re: [hlcoders] Metamod Link Entity to Class
I'm assuming you're using the source code from this site: http://hpb-bot.bots-united.com/monster.html It doesn't appear to make use of the LINK_ENTITY_TO_CLASS macro at all. Instead it uses a hardcoded list in dllapi.cpp. If you're using a different version, can you provide a download link? Op 27/02/2017 om 17:50 schreef SK G: > Compiling... > barney.cpp > \monster mod 2017\dlls\barney.cpp(42) : error C2065: 'monster_barney' : > undeclared identifier > \monster mod 2017\dlls\barney.cpp(42) : error C2275: 'CMBarney' : illegal > use of this type as an expression > \monster mod 2017\dlls\cmbasemonster.h(653) : see declaration of 'CMBarney' > \monster mod 2017\dlls\barney.cpp(42) : error C2501: 'LINK_ENTITY_TO_CLASS' > : missing storage-class or type specifiers > \monster mod 2017\dlls\barney.cpp(42) : error C2078: too many initializers > \monster mod 2017\dlls\barney.cpp(42) : error C2275: 'CMBarney' : illegal > use of this type as an expression > \monster mod 2017\dlls\cmbasemonster.h(653) : see declaration of 'CMBarney' > Error executing cl.exe. > > monster_mm.dll - 5 error(s), 0 warning(s) > > 2017-02-27 13:29 GMT-03:00 Sam Vanheer : > >> Could you post the entire compile log, it looks like there are errors >> elsewhere that are cascading to cause this problem. >> >> >> Op 27/02/2017 om 17:20 schreef SK G: >>> Hi everyone. >>> >>> I need help with MonsterMod for Metamod I'm trying link the entities with >>> them and I got this error >>> >>> error C2065: 'monster_barney' : undeclared identifier >>> error C2275: 'CMTalkMonster' : illegal use of this type as an expression >>> >>> I'm using this LINK_ENTITY_TO_CLASS( monster_barney, CMBarney ); >>> >>> Thanks a lot! >>> ___ >>> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >>> >> ___ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >> >> > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
Re: [hlcoders] Metamod Link Entity to Class
Compiling... barney.cpp \monster mod 2017\dlls\barney.cpp(42) : error C2065: 'monster_barney' : undeclared identifier \monster mod 2017\dlls\barney.cpp(42) : error C2275: 'CMBarney' : illegal use of this type as an expression \monster mod 2017\dlls\cmbasemonster.h(653) : see declaration of 'CMBarney' \monster mod 2017\dlls\barney.cpp(42) : error C2501: 'LINK_ENTITY_TO_CLASS' : missing storage-class or type specifiers \monster mod 2017\dlls\barney.cpp(42) : error C2078: too many initializers \monster mod 2017\dlls\barney.cpp(42) : error C2275: 'CMBarney' : illegal use of this type as an expression \monster mod 2017\dlls\cmbasemonster.h(653) : see declaration of 'CMBarney' Error executing cl.exe. monster_mm.dll - 5 error(s), 0 warning(s) 2017-02-27 13:29 GMT-03:00 Sam Vanheer : > Could you post the entire compile log, it looks like there are errors > elsewhere that are cascading to cause this problem. > > > Op 27/02/2017 om 17:20 schreef SK G: > > Hi everyone. > > > > I need help with MonsterMod for Metamod I'm trying link the entities with > > them and I got this error > > > > error C2065: 'monster_barney' : undeclared identifier > > error C2275: 'CMTalkMonster' : illegal use of this type as an expression > > > > I'm using this LINK_ENTITY_TO_CLASS( monster_barney, CMBarney ); > > > > Thanks a lot! > > ___ > > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > > > ___ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
Re: [hlcoders] Metamod Link Entity to Class
Also to the mailing list managers, this list is being watched by spambots. Op 27/02/2017 om 17:29 schreef Sam Vanheer: > Could you post the entire compile log, it looks like there are errors > elsewhere that are cascading to cause this problem. > > > Op 27/02/2017 om 17:20 schreef SK G: >> Hi everyone. >> >> I need help with MonsterMod for Metamod I'm trying link the entities with >> them and I got this error >> >> error C2065: 'monster_barney' : undeclared identifier >> error C2275: 'CMTalkMonster' : illegal use of this type as an expression >> >> I'm using this LINK_ENTITY_TO_CLASS( monster_barney, CMBarney ); >> >> Thanks a lot! >> ___ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders >> > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders
Re: [hlcoders] Metamod Link Entity to Class
Could you post the entire compile log, it looks like there are errors elsewhere that are cascading to cause this problem. Op 27/02/2017 om 17:20 schreef SK G: > Hi everyone. > > I need help with MonsterMod for Metamod I'm trying link the entities with > them and I got this error > > error C2065: 'monster_barney' : undeclared identifier > error C2275: 'CMTalkMonster' : illegal use of this type as an expression > > I'm using this LINK_ENTITY_TO_CLASS( monster_barney, CMBarney ); > > Thanks a lot! > ___ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders > ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlcoders