Page 1 of 1

explosion tut

PostPosted: Tue Nov 04, 2008 1:04 pm
by mlb72197
this is a simple tut on how to make a explosion somewhat like the explosion in dm_runoff.
Welcome to another one of my mapping tutorials. In this tutorial, I will be teaching you how to create an explosion by pressing a button.

Creating explosions is a very simple task and only takes the use of 2 entities: env_explosion and a func_button.

Let's get Started!

Start off by opening your map, or just quickly creating a new one for the purpose of this tutorial.




Now, using the entity tool (Shift+E) select the entity env_explosion from the drop-down list and place it in your map wherever you want the explosion to occur.




Now, select the entity and open up its properties menu (Alt+Enter) and give the entity a name like explode1.



If you want, you can change the other settings to your liking, but in this tutorial, I will be leaving them as the default settings because they'll work fine like that.

Now, an explosion must always be triggered, it doesn't really matter what kind of trigger you use, but for this tutorial, we will be using a func_button.


So, go ahead and create 2 brushes: One with a regular button texture, and another with the tools/toolsnodraw texture. Place the Nodraw brush in front of the brush with the button texture.




Select the nodraw brush you just created, and tie it to an entity by pressing Ctrl+T. Select func_button from the drop-down list and press Apply.




Now, open the properties menu for the func_button and head over to the Flags tab and Check the flag Don't Move




Now, head over to the Outputs tab and add a new Output with the following settings:
MyOutputNamed: OnPressed
Targets Entities Named: explode1
Via This Input: Explode




Press Apply and you're done! Place in some Spawn points, compile and go test out your new button activated Explosion!

Re: explosion tut

PostPosted: Tue Nov 04, 2008 3:21 pm
by Tonii
aehmmm ok? :icon_rolleyes: I think u should first add a tut how to create a map!
That would be very cool!

Re: explosion tut

PostPosted: Tue Nov 04, 2008 3:34 pm
by mlb72197

Re: explosion tut

PostPosted: Tue Nov 04, 2008 10:54 pm
by TKCJOSH
That's not your video.

Re: explosion tut

PostPosted: Tue Nov 04, 2008 11:44 pm
by (TKC)-o]T3[o
TKCJOSH wrote:That's not your video.


I missed it dipsquat.. did he say it was?

Re: explosion tut

PostPosted: Wed Nov 05, 2008 12:50 am
by TKCJOSH
yeah sorry in a pm he told me his video was on fourm sorry i thought he copy pasted it wrong geez :icon_cry2:

Re: explosion tut

PostPosted: Wed Nov 05, 2008 9:09 pm
by mlb72197
just get on topic josh or t3 i need to talk to you asap.