Prop Spawner

Prop spwaners can be used to spawn anything from simple entity props to large brushwork items. The first thing to do is create your brushwork or prop, I'm going to be using some brushwork, if you will be using brushwork too, you will need to make it a func_physbox.

Now you must give it a name, and as i am going to be making a TV spawn able, I'm going to call it flatscreenmonitor:

Now that I have done this, I can make a point_template linked to it:

To do this you give it a name and add the name of the TV to “Template 1”:

You also need to set the flags to “Preserve entity names” and “Don't remove template entities”:

That's the point_template done, now you need to add some flags to the func_physbox, they should be ticked as follows:

Now you must create a button that the user could use to spawn the TV, this will be just a simple block brush with the entity func_button attached:

the button won't need a name, butt you will need to give it some outputs, these are as follows:

My output named: OnPressed Target entities named: temp_flatscreen Via this input: ForceSpawn

The spawner is now complete, it should work in game as many times as you want.

 
prop_spawner.txt · Last modified: 2009/04/10 21:15 by lukealderton
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
FH Mappers Wiki
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki