Re: [hlcoders] NPC's In Multiplayer
-- [ Picked text/plain from multipart/alternative ] Is there anyway to set it so the player takes on all the relationships of a class? For example: I wan't my player to basically become a combine with all the relationships that the combine have. Thanks. On 2/16/06, Adam amckern Mckern [EMAIL PROTECTED] wrote: Thanks Garry, and Robin I was trying to script in the infomation found here http://www.halflife2.net/forums/showthread.php?t=65314 But now i have more control, Incoming's trex is gona be better for it! Adam --- Tim Holt [EMAIL PROTECTED] wrote: Last time I tried it, an ent_fire player in a MP game (with cheats on) actually acts on every single player. I was going to go AFK from an internal game test and did an ent_fire player ignite for fun - thinking I'd light myself on fire before I left. It lit every player on fire in the server... Quoting Garry Newman [EMAIL PROTECTED]: You're probably missing this http://developer.valvesoftware.com/wiki/Activating_AI_In_Coop_Games the CHL2MPRules::InitDefaultAIRelationships bit. I don't think you can ent_fire player in multiplayer because he doesn't exist (because there's multiple players). The InitDefaultAIRelationships will set the defaults for each class (rather than specific entities). On 2/16/06, Adam amckern Mckern [EMAIL PROTECTED] wrote: NPC's In Multiplayer I am trying to get my antlionguard to work in MP, however, i have updated his SK values, and this command to the FoundEnemy function; engine-ServerCommand( ent_fire npc_antlionguard setrelationship \player D_HT 99\); He wont run around, and find me - as expected with a MP NPC, untill i enter the command ent_fire npc_antlionguard setrelationship player D_HT 99 What i am trying to do is, find out the correct place to enter the engine-servercommand, so that the antlionguard can come and find me. Thanks Adam My Website http://www.ammahls.com Lead Programer NightFall http://www.nightfallmod.net Developer of CST and ZHLT 3.0 http://www.zhlt.info Team Lead - Prime - Website TBA... __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders My Website http://www.ammahls.com Lead Programer NightFall http://www.nightfallmod.net Developer of CST and ZHLT 3.0 http://www.zhlt.info Team Lead - Prime - Website TBA... __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- - Benjamin Davison -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] NPC's In Multiplayer
-- [ Picked text/plain from multipart/alternative ] A bit off topic, but have you got combine to work in multiplayer? On 2/16/06, Adam amckern Mckern [EMAIL PROTECTED] wrote: NPC's In Multiplayer I am trying to get my antlionguard to work in MP, however, i have updated his SK values, and this command to the FoundEnemy function; engine-ServerCommand( ent_fire npc_antlionguard setrelationship \player D_HT 99\); He wont run around, and find me - as expected with a MP NPC, untill i enter the command ent_fire npc_antlionguard setrelationship player D_HT 99 What i am trying to do is, find out the correct place to enter the engine-servercommand, so that the antlionguard can come and find me. Thanks Adam My Website http://www.ammahls.com Lead Programer NightFall http://www.nightfallmod.net Developer of CST and ZHLT 3.0 http://www.zhlt.info Team Lead - Prime - Website TBA... __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders -- - Benjamin Davison -- ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] NPC's In Multiplayer
You're probably missing this http://developer.valvesoftware.com/wiki/Activating_AI_In_Coop_Games the CHL2MPRules::InitDefaultAIRelationships bit. I don't think you can ent_fire player in multiplayer because he doesn't exist (because there's multiple players). The InitDefaultAIRelationships will set the defaults for each class (rather than specific entities). On 2/16/06, Adam amckern Mckern [EMAIL PROTECTED] wrote: NPC's In Multiplayer I am trying to get my antlionguard to work in MP, however, i have updated his SK values, and this command to the FoundEnemy function; engine-ServerCommand( ent_fire npc_antlionguard setrelationship \player D_HT 99\); He wont run around, and find me - as expected with a MP NPC, untill i enter the command ent_fire npc_antlionguard setrelationship player D_HT 99 What i am trying to do is, find out the correct place to enter the engine-servercommand, so that the antlionguard can come and find me. Thanks Adam My Website http://www.ammahls.com Lead Programer NightFall http://www.nightfallmod.net Developer of CST and ZHLT 3.0 http://www.zhlt.info Team Lead - Prime - Website TBA... __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
RE: [hlcoders] NPC's In Multiplayer
And if you want to override the default relationship dynamically in response to game events (i.e. making him hate a particular player over the others) you can: - Use the AddRelationship(), AddEntityRelationship() or AddClassRelationship() functions. - Override the IRelationType() IRelationPriority() functions in your class. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Garry Newman Sent: Thursday, February 16, 2006 10:28 AM To: hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] NPC's In Multiplayer You're probably missing this http://developer.valvesoftware.com/wiki/Activating_AI_In_Coop_Games the CHL2MPRules::InitDefaultAIRelationships bit. I don't think you can ent_fire player in multiplayer because he doesn't exist (because there's multiple players). The InitDefaultAIRelationships will set the defaults for each class (rather than specific entities). On 2/16/06, Adam amckern Mckern [EMAIL PROTECTED] wrote: NPC's In Multiplayer I am trying to get my antlionguard to work in MP, however, i have updated his SK values, and this command to the FoundEnemy function; engine-ServerCommand( ent_fire npc_antlionguard setrelationship \player D_HT 99\); He wont run around, and find me - as expected with a MP NPC, untill i enter the command ent_fire npc_antlionguard setrelationship player D_HT 99 What i am trying to do is, find out the correct place to enter the engine-servercommand, so that the antlionguard can come and find me. Thanks Adam My Website http://www.ammahls.com Lead Programer NightFall http://www.nightfallmod.net Developer of CST and ZHLT 3.0 http://www.zhlt.info Team Lead - Prime - Website TBA... __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] NPC's In Multiplayer
Last time I tried it, an ent_fire player in a MP game (with cheats on) actually acts on every single player. I was going to go AFK from an internal game test and did an ent_fire player ignite for fun - thinking I'd light myself on fire before I left. It lit every player on fire in the server... Quoting Garry Newman [EMAIL PROTECTED]: You're probably missing this http://developer.valvesoftware.com/wiki/Activating_AI_In_Coop_Games the CHL2MPRules::InitDefaultAIRelationships bit. I don't think you can ent_fire player in multiplayer because he doesn't exist (because there's multiple players). The InitDefaultAIRelationships will set the defaults for each class (rather than specific entities). On 2/16/06, Adam amckern Mckern [EMAIL PROTECTED] wrote: NPC's In Multiplayer I am trying to get my antlionguard to work in MP, however, i have updated his SK values, and this command to the FoundEnemy function; engine-ServerCommand( ent_fire npc_antlionguard setrelationship \player D_HT 99\); He wont run around, and find me - as expected with a MP NPC, untill i enter the command ent_fire npc_antlionguard setrelationship player D_HT 99 What i am trying to do is, find out the correct place to enter the engine-servercommand, so that the antlionguard can come and find me. Thanks Adam My Website http://www.ammahls.com Lead Programer NightFall http://www.nightfallmod.net Developer of CST and ZHLT 3.0 http://www.zhlt.info Team Lead - Prime - Website TBA... __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
Re: [hlcoders] NPC's In Multiplayer
Thanks Garry, and Robin I was trying to script in the infomation found here http://www.halflife2.net/forums/showthread.php?t=65314 But now i have more control, Incoming's trex is gona be better for it! Adam --- Tim Holt [EMAIL PROTECTED] wrote: Last time I tried it, an ent_fire player in a MP game (with cheats on) actually acts on every single player. I was going to go AFK from an internal game test and did an ent_fire player ignite for fun - thinking I'd light myself on fire before I left. It lit every player on fire in the server... Quoting Garry Newman [EMAIL PROTECTED]: You're probably missing this http://developer.valvesoftware.com/wiki/Activating_AI_In_Coop_Games the CHL2MPRules::InitDefaultAIRelationships bit. I don't think you can ent_fire player in multiplayer because he doesn't exist (because there's multiple players). The InitDefaultAIRelationships will set the defaults for each class (rather than specific entities). On 2/16/06, Adam amckern Mckern [EMAIL PROTECTED] wrote: NPC's In Multiplayer I am trying to get my antlionguard to work in MP, however, i have updated his SK values, and this command to the FoundEnemy function; engine-ServerCommand( ent_fire npc_antlionguard setrelationship \player D_HT 99\); He wont run around, and find me - as expected with a MP NPC, untill i enter the command ent_fire npc_antlionguard setrelationship player D_HT 99 What i am trying to do is, find out the correct place to enter the engine-servercommand, so that the antlionguard can come and find me. Thanks Adam My Website http://www.ammahls.com Lead Programer NightFall http://www.nightfallmod.net Developer of CST and ZHLT 3.0 http://www.zhlt.info Team Lead - Prime - Website TBA... __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders My Website http://www.ammahls.com Lead Programer NightFall http://www.nightfallmod.net Developer of CST and ZHLT 3.0 http://www.zhlt.info Team Lead - Prime - Website TBA... __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders