Digital Paint Discussion Board

Development => Mapping => Topic started by: FusSioN on November 13, 2013, 11:47:08 PM

Title: How to make cannons?
Post by: FusSioN on November 13, 2013, 11:47:08 PM
I've been interested on mapping recently, and I can't find a cannon. In the map gwars, there are strong cannons there that enhance grenade speed. Can somebody tell me what kind of entity it is?
Title: Re: How to make cannons?
Post by: jitspoe on November 14, 2013, 06:53:56 PM
trigger_push.  You can give it a target and it will launch things at the necessary velocity to reach the target.  I think you can also set angles and velocity.

There's a spawnflag you can set which makes it push all entities (or maybe it pushes grenades by default, I can't remember).
Title: Re: How to make cannons?
Post by: FusSioN on November 15, 2013, 02:25:57 AM
trigger_push.  You can give it a target and it will launch things at the necessary velocity to reach the target.  I think you can also set angles and velocity.

There's a spawnflag you can set which makes it push all entities (or maybe it pushes grenades by default, I can't remember).
Thanks, jitspoe!