Author Topic: How to make cannons?  (Read 1439 times)

FusSioN

  • Autococker
  • Posts: 603
How to make cannons?
« on: November 13, 2013, 10: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?

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: How to make cannons?
« Reply #1 on: November 14, 2013, 05: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).

FusSioN

  • Autococker
  • Posts: 603
Re: How to make cannons?
« Reply #2 on: November 15, 2013, 01: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!