Spawners

Spawners

Re: Spawners Posted by FTQ_Eroberer on Mon Nov 10th 2008 at 7:25pm
FTQ_Eroberer
19 posts
Posted 2008-11-10 7:25pm
19 posts 2 snarkmarks Registered: Oct 30th 2008 Occupation: Highschool Student Location: Canada
How to spawn some monster and munition in a map?
Re: Spawners Posted by amanderino on Mon Nov 10th 2008 at 7:34pm
amanderino
205 posts
Posted 2008-11-10 7:34pm
205 posts 21 snarkmarks Registered: Nov 13th 2006 Location: United States
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.
Re: Spawners Posted by erbetal on Tue Nov 11th 2008 at 7:39pm
erbetal
87 posts
Posted 2008-11-11 7:39pm
erbetal
member
87 posts 11 snarkmarks Registered: Mar 29th 2008 Location: Canada
He asks how to spawn monsters more than one time in the same area. (I know him) :D
Re: Spawners Posted by FTQ_Eroberer on Tue Nov 11th 2008 at 7:45pm
FTQ_Eroberer
19 posts
Posted 2008-11-11 7:45pm
19 posts 2 snarkmarks Registered: Oct 30th 2008 Occupation: Highschool Student Location: Canada
and munition too. but not in order (RANDOM) :) ... thank you
Re: Spawners Posted by amanderino on Thu Nov 13th 2008 at 6:08am
amanderino
205 posts
Posted 2008-11-13 6:08am
205 posts 21 snarkmarks Registered: Nov 13th 2006 Location: United States
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. :lol:
But I hope this post was of some help to you because it took me a little bit to type it all out. :P
Re: Spawners Posted by Le Chief on Fri Nov 14th 2008 at 3:52am
Le Chief
2605 posts
Posted 2008-11-14 3:52am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Hehe, he is talking about Half-Life 1 amanderino :).

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.
Aaron's Stuff
Re: Spawners Posted by amanderino on Fri Nov 14th 2008 at 8:58am
amanderino
205 posts
Posted 2008-11-14 8:58am
205 posts 21 snarkmarks Registered: Nov 13th 2006 Location: United States
You know what, I didn't even notice that it was the Half-Life 1 Editing section. Sorry about that.
Re: Spawners Posted by FTQ_Eroberer on Fri Nov 14th 2008 at 5:41pm
FTQ_Eroberer
19 posts
Posted 2008-11-14 5:41pm
19 posts 2 snarkmarks Registered: Oct 30th 2008 Occupation: Highschool Student Location: Canada
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

:D Thank You a Lot!!!

Cya :roll:
Re: Spawners Posted by Le Chief on Sat Nov 15th 2008 at 3:21am
Le Chief
2605 posts
Posted 2008-11-15 3:21am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
amanderino said:
You know what, I didn't even notice that it was the Half-Life 1 Editing section. Sorry about that.
Yeah, you should be :swear:! Nuh joking :P.
FTQ_Eroberer said:
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!
Aaron's Stuff
Re: Spawners Posted by erbetal on Tue Jan 13th 2009 at 3:04pm
erbetal
87 posts
Posted 2009-01-13 3:04pm
erbetal
member
87 posts 11 snarkmarks Registered: Mar 29th 2008 Location: Canada
I think its possible to spawn ammoes with a monstermaker entity, someone should try.