Digital Paint Discussion Board

Development => Mapping => Topic started by: Andy of the Sheikah on June 30, 2008, 12:39:56 PM

Title: How to make "man-cannons"
Post by: Andy of the Sheikah on June 30, 2008, 12:39:56 PM
Hi all!

I was wondering how to turn a brush into an object that launches the player into the air, i.e. like the cannons in Grenade Wars. Cheers!
Title: Re: How to make "man-cannons"
Post by: ViciouZ on June 30, 2008, 12:48:07 PM
Search the forums for trigger_push, you should find what you need :-)
Title: Re: How to make "man-cannons"
Post by: Laged on June 30, 2008, 01:27:12 PM
I hope you don't make too many of those cannons in a map :)
Title: Re: How to make "man-cannons"
Post by: Andy of the Sheikah on June 30, 2008, 01:37:17 PM
Nah just one which allows easy access from the bottom of the map to the top. I'm having trouble with selecting targets for the trigger_push. I've tried using info_notnull like a topic I found suggested but it didn't work. Any solutions?
Title: Re: How to make "man-cannons"
Post by: Laged on June 30, 2008, 01:45:25 PM
The trigger_push should have "target" "cannon1".
The info_notnull should have "targetname "cannon1"

You can replace the "cannon1" with something else if you want to, just make sure it's the same word in both.

Also, what kind of map is it?
Title: Re: How to make "man-cannons"
Post by: Andy of the Sheikah on June 30, 2008, 01:50:59 PM
Just straight forward deathmatch. It's my first map so I'm not taking it too seriously.
Title: Re: How to make "man-cannons"
Post by: KnacK on June 30, 2008, 01:50:59 PM
Quote
Also, what kind of map is it?

pssst: I bet it's going to be a jump map.......
Title: Re: How to make "man-cannons"
Post by: Andy of the Sheikah on June 30, 2008, 01:56:11 PM
YAY! It worked. Thanks for the help guys.
Title: Re: How to make "man-cannons"
Post by: Laged on June 30, 2008, 01:57:59 PM
Yep that's what I thought - why would have I asked if not?
Anyway not to go offtopic:

I made this little map with a working trigger_push, check it.

EDIT: Oh well, I made this map for nothing. I hope the other new mappers who want to make a cannon check this thread instead of making a new one..