Forum Thread
  Posts  
Monsters in Multiplayer (Forums : Coding & Scripting : Monsters in Multiplayer) Locked
Thread Options
Jul 3 2004 Anchor

I want to make a normal (ya, right :) ) half life deathmatch map with half life monsters in it.

When I put monsters in my map, they are not there when I run it as a deathmatch.

I hooked up a monstermaker to a button, and when I press the button a monster DOES appear, but only for a flicker then disappears.

I found out on another forum (this on looks much better, more people) that there is a line in monsters.h that says if multiplayer, remove monster. But after a week of looking, I still cant find it!

Anyone got any advice, ideas or knowledge of this sort of thing?

Thanks
thegamedesigner

ShortCutMan
ShortCutMan ♥ Pure ♥ Bred ♥ Geek ♥
Jul 3 2004 Anchor

Have you checked through the monsters.h file really carefully? It may be under a name you don't really recongnise. I would've thought that monsters wouldn't be able to be spawned in multiplayer at all, as so.

--

98% of the internet population has a Myspace. If you're part of the 98% that is an emo bastard, copy and paste this into your sig.
User Posted Image

PsychoBrat
PsychoBrat Bratticus Psychosis
Jul 4 2004 Anchor

Its fairly easy to do in Quake2, but I ended up with heaps of little intermittent crashes to track down and fix; not sure how hard it would be to get them working properly in HL though...

Try looking for anything else that checks what mode you're in (deathmatch/singleplayer) and then use that to figure out what you should be searching for in the code... (I hope that made sense :s)

[EDIT]
Have a look at Karljones.com
[/EDIT]

-jEFF

- Edited By PsychoBrat On Sat 3rd, Jul 2004 @ 6:11:56pm

--

modDB▪GuyTypeThing
Sanity is merely a temporary state on your way to achieving true madness

leilei
leilei The person who doesn't like anything
Jul 6 2004 Anchor

mp_allowmonsters 1

--

<  insert subject games here  >

Jul 6 2004 Anchor

CheapAlert wrote: mp_allowmonsters 1


Where do I put this?

thanks,

thegamedesigner

Jul 6 2004 Anchor

Thanks, I think I have it now.

I am now going to try to figure out how to get that code to affect the game.

as in, I have the .cpp file (multiplay_gamerules.cpp) and have changed it in the sdk (and made a back up else where). Now, I want to make a deathmatch game, for me and my friend to play in, how do I set it up so he and I can play with my modifed code?

thanks all so much,

thegamedesigner

Jul 6 2004 Anchor

k, I made a file in my halflife folder, called it MyFiles) and copyed all the files from valve to it. I can now select it from the custom game menu in half life. But how do I put my code file in with its code files

thanks for all help

thegamedesigner

Jul 6 2004 Anchor

Is there an easyer way to do this? Snark_Pit has monsters in it? Can I just do something to a map, rather then make what is, really, a VERY unfinished MOD?

thegamedesigner

leilei
leilei The person who doesn't like anything
Jul 7 2004 Anchor

Don't triple post.

mp_allowmonsters is a console command you can type in the console, and restart the server. Boom, monsters (are allowed).

--

<  insert subject games here  >

Jul 7 2004 Anchor

Great, thanks, sry, I forgot about the edit thing. Wont do it again.

thegamedesigner

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.