How do you add monsters to a multiplayer game? Like in the original half-life, the level Snarkpit, when you push the button and the snarks spawn in from the pipe. I tried decompiling it but still cannot find out how they did it. Whenever I try to put monsters in and when I play in multiplayer they do not show up. Thanks.
1
Re: How to add monsters to a multiplayer deathmatch game?
Posted by Necromancer on Sun Mar 18th at 10:27pm 2012
Posted by Necromancer on Sun Mar 18th at 10:27pm 2012
Re: How to add monsters to a multiplayer deathmatch game?
Posted by Niborius on Sun Mar 18th at 10:42pm 2012
Posted by Niborius on Sun Mar 18th at 10:42pm 2012
It's done by using the "monstermaker" entity. I'll help you further tomorrow, then I have some time 
Youtube Channel: https://www.youtube.com/c/Nibgames
Re: How to add monsters to a multiplayer deathmatch game?
Posted by Necromancer on Mon Mar 19th at 12:02am 2012
Posted by Necromancer on Mon Mar 19th at 12:02am 2012
Yes, I will need your help more, because I tried using the monstermaker entity and the monsters still do not work.
Re: How to add monsters to a multiplayer deathmatch game?
Posted by Niborius on Wed Mar 21st at 9:19pm 2012
Posted by Niborius on Wed Mar 21st at 9:19pm 2012
Ohh sorry I haven't gotten back to you, I'll be honest I didn't really think about it anymore. Sorry!
I got it to work on my map, this may help a bit: http://twhl.info/entity.php?id=210
In the entities properties, the name of the monster you want to spawn should go into the "monstertype" box. For example: monster_snark
Just let me know when you still can't get it to work.
Oh by the way, it doesn't work with some mods, like Botman's Bots that I used in the past.
I got it to work on my map, this may help a bit: http://twhl.info/entity.php?id=210
In the entities properties, the name of the monster you want to spawn should go into the "monstertype" box. For example: monster_snark
Just let me know when you still can't get it to work.
Oh by the way, it doesn't work with some mods, like Botman's Bots that I used in the past.
Youtube Channel: https://www.youtube.com/c/Nibgames
Re: How to add monsters to a multiplayer deathmatch game?
Posted by Necromancer on Thu Mar 22nd at 3:32am 2012
Posted by Necromancer on Thu Mar 22nd at 3:32am 2012
I was able to get it to work with the snarks. BUT I was not able to get it to work with headcrabs or zombies, which is what I really wanted. Is there any way to make it work for these monsters as well and not only just for snarks? Thanks.
This is for Half-Life Opposing Force.
Quote
Oh by the way, it doesn't work with some mods, like Botman's Bots that I used in the past.
This is for Half-Life Opposing Force.
Re: How to add monsters to a multiplayer deathmatch game?
Posted by Niborius on Fri Mar 23rd at 9:40pm 2012
Posted by Niborius on Fri Mar 23rd at 9:40pm 2012
Hmm that's odd. So, "monster_headcrab" didn't do the trick?
I hope someone else comes in to help you here, as I have no idea what to try next. I'm sorry!
I hope someone else comes in to help you here, as I have no idea what to try next. I'm sorry!
Youtube Channel: https://www.youtube.com/c/Nibgames
Re: How to add monsters to a multiplayer deathmatch game?
Posted by Necromancer on Fri Mar 23rd at 11:06pm 2012
Unfortunately no. But thanks for your help though, the snarks worked, but not the others. Maybe they're not allowed in MP. No idea why though.
Posted by Necromancer on Fri Mar 23rd at 11:06pm 2012
Quote
So, "monster_headcrab" didn't do the trick?
Unfortunately no. But thanks for your help though, the snarks worked, but not the others. Maybe they're not allowed in MP. No idea why though.
Re: How to add monsters to a multiplayer deathmatch game?
Posted by omegaslayer on Thu Mar 29th at 6:18am 2012

omegaslayer
member
2481 posts
401 snarkmarks
Registered: Jan 16th 2004
Location: Seattle, WA
Occupation: Sr. DevOPS Engineer
Posted by omegaslayer on Thu Mar 29th at 6:18am 2012
Accepted Answer
I don't think there is AI that's programmed into mutltiplayer. I think in the case of the snarkpit map it spawns the output of the snark "weapon" and it goes from there. So I don't think you can add npcs to the level - the network synchronization over AI states would be a nightmare to code, so therefore npcs aren't possible in hl1.omegaslayer
member
2481 posts
401 snarkmarks
Registered: Jan 16th 2004
Location: Seattle, WA

Occupation: Sr. DevOPS Engineer
Re: How to add monsters to a multiplayer deathmatch game?
Posted by Necromancer on Fri Mar 30th at 4:13am 2012
Posted by Necromancer on Fri Mar 30th at 4:13am 2012
Thanks. That helps a lot.
Re: How to add monsters to a multiplayer deathmatch game?
Posted by Niborius on Fri Mar 30th at 3:28pm 2012
In my map, I used a monstermaker as well to spawn the snarks.
Or does that not say anything?
Posted by Niborius on Fri Mar 30th at 3:28pm 2012
Quoting omegaslayer
I don't think there is AI that's programmed into mutltiplayer. I think in the case of the snarkpit map it spawns the output of the snark "weapon" and it goes from there. So I don't think you can add npcs to the level - the network synchronization over AI states would be a nightmare to code, so therefore npcs aren't possible in hl1.
In my map, I used a monstermaker as well to spawn the snarks.
Or does that not say anything?
Youtube Channel: https://www.youtube.com/c/Nibgames
Re: How to add monsters to a multiplayer deathmatch game?
Posted by omegaslayer on Fri Apr 6th at 3:43am 2012
But snarks are weapon items. There is AI for weapon snarks in multiplayer.

omegaslayer
member
2481 posts
401 snarkmarks
Registered: Jan 16th 2004
Location: Seattle, WA
Occupation: Sr. DevOPS Engineer
Posted by omegaslayer on Fri Apr 6th at 3:43am 2012
Quoting Niborius
In my map, I used a monstermaker as well to spawn the snarks.
Or does that not say anything?
Or does that not say anything?
But snarks are weapon items. There is AI for weapon snarks in multiplayer.
omegaslayer
member
2481 posts
401 snarkmarks
Registered: Jan 16th 2004
Location: Seattle, WA

Occupation: Sr. DevOPS Engineer
Re: How to add monsters to a multiplayer deathmatch game?
Posted by Niborius on Fri Apr 6th at 7:29am 2012
Posted by Niborius on Fri Apr 6th at 7:29am 2012
No that is true but I was just pointing out that I got it to work using the monstermaker, I didn't know if that was against your theory or not.
I think monster_tentacle is also available in multiplayer by the way, but I am not entirely sure.
I think monster_tentacle is also available in multiplayer by the way, but I am not entirely sure.
Youtube Channel: https://www.youtube.com/c/Nibgames
Re: How to add monsters to a multiplayer deathmatch game?
Posted by omegaslayer on Fri Apr 6th at 8:06am 2012
It is - and thats how snarks are able to spawn from the map. But you can't spawn just any old NPC.

omegaslayer
member
2481 posts
401 snarkmarks
Registered: Jan 16th 2004
Location: Seattle, WA
Occupation: Sr. DevOPS Engineer
Posted by omegaslayer on Fri Apr 6th at 8:06am 2012
Quoting Niborius
No that is true but I was just pointing out that I got it to work using the monstermaker, I didn't know if that was against your theory or not.
I think monster_tentacle is also available in multiplayer by the way, but I am not entirely sure.
I think monster_tentacle is also available in multiplayer by the way, but I am not entirely sure.
It is - and thats how snarks are able to spawn from the map. But you can't spawn just any old NPC.
omegaslayer
member
2481 posts
401 snarkmarks
Registered: Jan 16th 2004
Location: Seattle, WA

Occupation: Sr. DevOPS Engineer
Re: How to add monsters to a multiplayer deathmatch game?
Posted by GrimlocK on Sat Dec 22nd at 5:51am 2012

GrimlocK
member
386 posts
152 snarkmarks
Registered: Mar 7th 2002
Location: Texas
Occupation: Self Employed
Posted by GrimlocK on Sat Dec 22nd at 5:51am 2012
I know this is an old topic but I had to correct the misconception that only snarks work in MP. I have had just about all of the monsters in MP. The trick is to first set up the entities correctly and while testing the map type mp_allowmonsters 1, then restart the map. type restart in console. I'll see if I can find the time to post the entity set up in the near future. BTW maps ran on a dedicated server have allow monsters set to 1 as a default, its when you run the map on your pc while playing it is set to 0. Snarks work either way because they are also a weapon.
GrimlocK
member
386 posts
152 snarkmarks
Registered: Mar 7th 2002
Location: Texas

Occupation: Self Employed
Re: How to add monsters to a multiplayer deathmatch game?
Posted by Necromancer on Mon Dec 24th at 5:00am 2012
Posted by Necromancer on Mon Dec 24th at 5:00am 2012
Also, is there a way to make it so that players cannot hurt each other in multiplayer if you want a strict coop map? (Although SvenCoop would probably be a better choice anyway though)
I believe when I posted this question I did not even have SvenCoop yet, so you don't have to post the entity setup. I actually have gone back to mapping for single player projects now. I go through phases, but now it's off to single player!
I believe when I posted this question I did not even have SvenCoop yet, so you don't have to post the entity setup. I actually have gone back to mapping for single player projects now. I go through phases, but now it's off to single player!
Re: How to add monsters to a multiplayer deathmatch game?
Posted by the-middleman on Sun Dec 30th at 11:22am 2012
Posted by the-middleman on Sun Dec 30th at 11:22am 2012
Hi! Afaik you just need mp_allowmonsters 1 and then all monster-entities should work perfectly fine in multiplayer.
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0131 seconds.

Snarkpit v6.1.0 created this page in 0.0131 seconds.


