Combine ball launcher

Avatar
FelixGriffin
2,680 Posts
Posted Jul 06, 2012
I'm working on a map which, at one point, needs to be able to shoot something through a portal. I'm trying to use a collide-with-player-ing combine ball, but it seems the angle to launch is determined by the original angles, and it can't be parented to the func_tank I'm using. How should I do this?
Advertisement
Registered users don’t see ads! Register now!
Avatar
BenVlodgi
633 Posts
Posted Jul 06, 2012
Replied 2 hours later
to change the launch direction of a pelet emitter... nest it inside an instance, when it collapses during compile it will change the direction... im not sure this is what you're asking, but its about all I can tell you about this
Avatar
FelixGriffin
2,680 Posts
Posted Jul 06, 2012
Replied 1 hour later
Basically I need a func_tank to fire combine balls at the player. So it needs to rotate somehow, within the game, preferably without scripting. :S
Avatar
ChickenMobile
2,460 Posts
Posted Jul 07, 2012
Replied 1 hour later
Is it possible to change the angles the ball launcher shoots at through an output? (if not try addoutput and the name of the launch angle key -> parm)
Avatar
FelixGriffin
2,680 Posts
Posted Jul 07, 2012
Replied 10 hours later
Ah, that does work. So with a bit of scripting to get the parent's angles I should be able to do it.
Avatar
FelixGriffin
2,680 Posts
Posted Jul 08, 2012
Replied 1 day later
That works, but after a day of working fine, it's now glitching differently--the balls don't collide with the player and kill him/her, they just pass through.
Avatar
ChickenMobile
2,460 Posts
Posted Jul 08, 2012
Replied 3 hours later

FelixGriffin wrote:
That works, but after a day of working fine, it's now glitching differently--the balls don't collide with the player and kill him/her, they just pass through.

Weird. Have you changed anything in the energy balls to do this? Grab and copy your ball launcher entity and see if it is the entities' problem.

And just to be curious, did you actually use a script? I can see a possible way to do it without an external file.

Avatar
FelixGriffin
2,680 Posts
Posted Jul 09, 2012
Replied 14 hours later
Just RunScriptCode with a long line of squirrel. And it worked fine until I recompiled without a change, now recompiling and restarting don't change anything. :S
Avatar
ChickenMobile
2,460 Posts
Posted Jul 09, 2012
Replied 1 hour later
You don't happen to have your map sitting in one of the DLC folders?
Advertisement
Registered users don’t see ads! Register now!
Avatar
FelixGriffin
2,680 Posts
Posted Jul 09, 2012
Replied 1 hour later
sdk_content/maps