shooter_rocket question


(MrLego) #1

I have a shooter_rocket in a map that I am working on.

No matter what I try, the shell always ejects in the direction of 180º , regardless as to which way the shooter is pointing.

I have also tried targeting the shooter and changing the angle but the shell always ejects in the 180° direction.

I have also moved the target around as well as trying different angles in the shooter_rocket entity all with the same results - shell goes towards 180°.

Any clues?


(Flippy) #2

try pointing the shooter to an info_notnull or target_position
it worked for me


(MrLego) #3

Already done.

The problem is not with the rocket itself - it goes to wherever the target is located.

The problem is with the actual ejected shell - it always goes to the right of 0° or 360°

It looks odd when a shell is ejected in front a static panzer model (misc_model) and is 90° perpendicular to the angle that the rocket traveled in.

I am trying to trigger a panzer sitting in a crate without letting anyone actually pick up the panzer - that’s why I used a misc_model instead of a “weapon_panzerfaust”.

I looked at the game code, and as near as I can tell, the shooter_rocket duplicates an actual panzerfaust in operation - always ejecting the shell to the right of whatever direction the player is facing. Because there is no player firing the panzer there is nothing being passed in code to tell it what direction to spawn the ejected shell, in so it goes to the right of 0° or 360°


(Chruker) #4

So it is the empty tube you want gone? If thats the case, I think you can remove them with a brush textured with common/nodrop


(MrLego) #5

I was just trying to get things to look correctly.

I wound up rotating the everything associated with this so the ejected shell lands where it should.

Thanks for the replies.