Looking at the player with Func_tank [Solved]

Avatar
MasterLagger
1,695 Posts
Posted Jun 20, 2012

CamBen wrote:
unbelievably epic. The player tracking:

1a you make use a func_tanc to rotate the core around and also look up and down.
1b name it tank_core
1c parent the core model to tank_core.
2a make a func_tank that rotates only around.
2b name it tank_body
2c Parent everything else onto it.

also, Cant you use a logic_auto to: [OnMapSpawn (turrets) SetParent tank_body] ?

I've been having some trouble with the Func_Tank, I tried using the Mapping Wiki and didn't get much info from it. My question is: how do you make a Func_Tank rotate?

For those that don't know what I'm doing, I'm making a new enemy that tracks the player while remaining stationary.

Here's a picture of what it looks like so far:

sp_ml_offices0000.jpg
Images 1
Post image 1
Advertisement
Registered users don’t see ads! Register now!
Avatar
josepezdj
2,386 Posts
Posted Jun 20, 2012
Replied 15 minutes later
Hey ML, have you tried to use the SetTargetDir input? or any way to make it tagetting the player with !player?
Avatar
BenVlodgi
633 Posts
Posted Jun 20, 2012
Replied 3 hours later
and if that doesn't work... parent a target to the player
Avatar
Skotty
671 Posts
Posted Jun 20, 2012
Replied 6 minutes later
SetTargetEntityName !player

Done.

Of course, don't forget the "Active" flag!

Avatar
MasterLagger
1,695 Posts
Posted Jun 20, 2012
Replied 3 hours later
1 million points for Skotty! I got it working, finally! Thank you!
Avatar
BenVlodgi
633 Posts
Posted Jun 20, 2012
Replied 4 hours later
nice, cant wait to see it in action
Avatar
msleeper
4,136 Posts
Admin
Posted Jun 22, 2012
Replied 1 day later
That looks like a huge clusterfuck.
Avatar
CamBen
973 Posts
Posted Jun 22, 2012
Replied 1 hour later

npc_msleeper_boss wrote:
That looks like a huge clusterfuck.

Nacimota told us to disregard your advice.
:lol:

Advertisement
Registered users don’t see ads! Register now!
Avatar
MasterLagger
1,695 Posts
Posted Jun 22, 2012
Replied 2 hours later

npc_msleeper_boss wrote:
That looks like a huge clusterfuck.

Could you be more specific? :lol: