I guess it's time for a new bio since I've had the other one for eons. Head dev of Insolence, I have some very limited experience with coding, yadda yadda yadda.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Report RSS Tank Spotter
Post comment Comments
Cvoxalury
Cvoxalury

Well, I always perceived (no better word) tanks as firing and practically instantly hitting the target. Like boom->big flower-like muzzleflash->recoil->no trail!->target explodes. And those tanks are more like mortars or something.

And to be honest, all the brushy-tank logic stuff makes my head hurt. I see coding it as an AI much easier, though I did not make any moves in that direction yet. Probably will tomorrow.

Reply Good karma Bad karma+1 vote
TheZealot Author
TheZealot

The main problem with that is if you give a func_tankrocket a super high projectile speed it will never hit a target and will always miss. Looking into the entity's code could probably get rid of this issue.

Reply Good karma+1 vote
Cvoxalury
Cvoxalury

Huh, well that's something new.

Reply Good karma Bad karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Description

Just A method of having func_tank entities automatically target stuff without having to constantly designate targets. The Tank Spotter has an input where when he encounters an enemy, the tank's turret will set its target to that enemy.

OnFoundEnemy | TankTurret | SetTargetEntity
OnFoundEnemy | TankCannon | SetTargetEntity

Oh, and by the way, this is stolen somehow.