Catapult

Catapult

Classname: obj_catapult2
Purpose: Chucking stuff
H2 Code: cat2.hc
The catapult is big; if its spawnspot overlaps a player-start, it will explode immediately. Overlap with other objects seems to result in floating. It also fires from being hit, so unless you want it to wear out during play, give it a real big health-value. In the Mission Pack, it acquires a spawnflag, 1=NOT_USEABLE.

Fields

angle Value is a number, direction catapult starts off pointing (degrees; 0 default = West).
health Value is a number, default = 1000.
speed Value is a number, lauch speed, default = 300.
wait Value is a number, wait before resetting, default = 3.
speed Value is a number, supposedly launch speed, default = 300, but I'm not sure it makes any difference.
mass Value is a number, cat2.hc says it says how hard it is to push, but the catapult seems immoveable regardless.
sounds/type cat2.hc says sounds says controls sounds, demo2.bsp has soundtype, but neither seems to make any difference.
thingtype Value is a number; determines hit-sound and chunktype, default = 2 = wood (look here for a full list).
targetname Value is a name; targettable by say a button for remote firing (will also fire on hit).
spawnflags (PoP only), 1=NOT_USEABLE, stuck in up position

Back to the list.