View Single Post
HarryPotter
Veteran Member
Join Date: Sep 2017
Location: Taiwan, Asia
Old 03-04-2022 , 09:59   Re: [L4D & L4D2] Tank's Helper
Reply With Quote #71

Quote:
Originally Posted by Dragokas View Post
HarryPotter, funny, 2 years ago I also did code rewrite to support witch, but without BHaType method. I "replaced" (hide + parent) tank rock model with faked prop, for witch - I parented it directly to rock and unparent on rock destroy hook. Unfortunately, on map Hospital - Roof top it causes crash when tank throw the rock outside the world's box.
As a plus, it allows player to see beforehand which SI the tank is attempting to throw. Because original rock-to-SI transformation is not looks naturally. Would be really cool to fix that code. But I gave up with that.
Well, the BHaType method is still not perfect, unfortunately it only works when the map spawns the standing witch , sitting witch still get stuck on air and won't fly
I hope someone can provide a better way.
__________________

Last edited by HarryPotter; 03-04-2022 at 10:00.
HarryPotter is offline