Raised This Month: $51 Target: $400
 12% 

[L4D] How to create fake target for hunter


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-22-2018 , 05:28   [L4D] How to create fake target for hunter
Reply With Quote #1

Hi,

I would like to create some fake entity in the air and force hunter jump on it endlessly in an attempt to grab it without success.

Any ideas?

Thanks.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Mrs cheng
Member
Join Date: Mar 2017
Old 11-22-2018 , 11:22   Re: [L4D] How to create fake target for hunter
Reply With Quote #2

Do you want the hunter to jump above your added entity?
Mrs cheng is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-22-2018 , 11:49   Re: [L4D] How to create fake target for hunter
Reply With Quote #3

Yes, something like that.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Mrs cheng
Member
Join Date: Mar 2017
Old 11-22-2018 , 12:21   Re: [L4D] How to create fake target for hunter
Reply With Quote #4

You can implement it with OnPlayerRunCmd, use &angles to force hunter to aim your target, and use &buttons and vel[] to get and change the behavior of hunter, etc. This is a bit complicated and requires some mathematics.
Mrs cheng is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-22-2018 , 14:50   Re: [L4D] How to create fake target for hunter
Reply With Quote #5

hmmm, it's not the same I wanted, however, it may be more interesting.
Thank you.

Initially, I wanted hunter jump somewhere, in some distance faraway from player, around some point.
So, I need fake victim to provoke him to the beginning of the jump animation, before changing the angle of his movement. I was thinking about real fake bot, however with some property like no-colliding. Is such property exist?
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]

Last edited by Dragokas; 11-22-2018 at 14:55.
Dragokas is offline
Mrs cheng
Member
Join Date: Mar 2017
Old 11-22-2018 , 21:45   Re: [L4D] How to create fake target for hunter
Reply With Quote #6

NOClIP:no collisions,but player still is pinned by hunter.
Mrs cheng is offline
Mrs cheng
Member
Join Date: Mar 2017
Old 11-22-2018 , 21:52   Re: [L4D] How to create fake target for hunter
Reply With Quote #7

And when hunter is very close to the survivor, it will only attack normally without jumping.
Mrs cheng is offline
Mrs cheng
Member
Join Date: Mar 2017
Old 11-22-2018 , 22:15   Re: [L4D] How to create fake target for hunter
Reply With Quote #8

I have a way for hunter to fail to pounce the survivor bot, but when the hunter is very close to the survivor, the engine will cause the hunter to attack the survivor with a claw instead of pounce.
Mrs cheng is offline
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 11-23-2018 , 04:01   Re: [L4D] How to create fake target for hunter
Reply With Quote #9

Quote:
I have a way for hunter to fail to pounce the survivor bot
It's interesting. Can you show me, please?

Quote:
but when the hunter is very close to the survivor, the engine will cause the hunter to attack the survivor with a claw instead of pounce.
It doesn't matter for me, because I will place fake bot in the air.
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline
Mrs cheng
Member
Join Date: Mar 2017
Old 11-23-2018 , 05:55   Re: [L4D] How to create fake target for hunter
Reply With Quote #10

When hunter pounce bot, you can force Hunter to not select target with SetEntPropEnt(bot, Prop_Send, "m_pounceAttacker", -1) and SetEntPropEnt(hunter, Prop_Send, "m_pounceVictim", -1).
Mrs cheng is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode