Spawners
Post Reply
Quote
Re: Spawners
Posted by FTQ_Eroberer on Mon Nov 10th at 7:25pm 2008


How to spawn some monster and munition in a map?



Quote
Re: Spawners
Posted by amanderino on Mon Nov 10th at 7:34pm 2008


In game or in Hammer editor?
If the latter, then create an entity, and give it the class "monster_*".
Replace the * with the monster that you want, they will appear in a list.
To place weapons and ammo, create an weapon_* entity, and I believe ammo is item_ammo_*
Again, replace the asterisks with whatever type you want it to be.

If this is an in-game question, you'll have to wait for a reply from somebody else.
I hope this helps.




Quote
Re: Spawners
Posted by erbetal on Tue Nov 11th at 7:39pm 2008


He asks how to spawn monsters more than one time in the same area. (I know him) smiley



Quote
Re: Spawners
Posted by FTQ_Eroberer on Tue Nov 11th at 7:45pm 2008


and munition too. but not in order (RANDOM) smiley ... thank you




Quote
Re: Spawners
Posted by amanderino on Thu Nov 13th at 6:08am 2008


Ah, you can use an entity called npc_maker for creating more monsters and you can use point_template and an env_entity_maker for creating more ammunition.
Also, you'll need to use a few logic_ (and maybe math_) entities if you want these to happen randomly or under other conditions (such as kill 5 monsters, spawn some ammo).

Some tutorials to help you that are here on the Snarkpit:

1.)Attack Waves by greensinge
This will be for creating many respawning enemies in an area. You go farther than this tutorial if you wish. For example, you could have the battle be endless, have a time limit, or have a kill limit. In this tutorial, greensinge assumes that you want an endless battle, but you could use a Logic_Relay to have the makers stop spawning after a delay in time, or you could set the npc_maker's Num. of NPCs to whatever value you want.

2.)Respawning Props by venomus
Venomus' tutorial is actually for respawning props, but it can be used to spawn ammunition or whatever else you'd like it to create and recreate.
This is done by using point_template and env_entity_maker entities.

3.)Using Logic_Case by Stadric
Stadric's tutorial is for randomly unlocking and opening doors, but you should be able to learn what the entity does through the article. I guess you could set it up to randomly decide between two cases. One being: Spawn monsters; and Two being: Spawn munitions.

Sorry for not posting a reply within the past few days. I forgot to check the "Watch" button to remember that I was trying to help someone out. smiley
But I hope this post was of some help to you because it took me a little bit to type it all out. :P




Quote
Re: Spawners
Posted by Le Chief on Fri Nov 14th at 3:52am 2008


Hehe, he is talking about Half-Life 1 amanderino smiley.

You can use the monster maker entity to spawn monsters. As far as I am aware, its not possible to trigger ammo to spawn in Half-Life 1.







Quote
Re: Spawners
Posted by amanderino on Fri Nov 14th at 8:58am 2008


You know what, I didn't even notice that it was the Half-Life 1 Editing section. Sorry about that.



Quote
Re: Spawners
Posted by FTQ_Eroberer on Fri Nov 14th at 5:41pm 2008


Thank You but i'll (now) be in the section of Half-Life 2 because im a beginner to do mapping and my friend (erbetal) and me want to do a mod so that's it


smiley Thank You a Lot!!!

Cya smiley




Quote
Re: Spawners
Posted by Le Chief on Sat Nov 15th at 3:21am 2008


Quoting amanderino
You know what, I didn't even notice that it was the Half-Life 1 Editing section. Sorry about that.


Yeah, you should be smiley! Nuh joking :P.

Quoting FTQ_Eroberer
Thank You but i'll (now) be in the section of Half-Life 2 because im a beginner to do mapping and my friend (erbetal) and me want to do a mod so that's it


Cool, good luck to you guys! Keep us updated about the mod!






Quote
Re: Spawners
Posted by erbetal on Tue Jan 13th at 3:04pm 2009


I think its possible to spawn ammoes with a monstermaker entity, someone should try.




Post Reply