Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Target Override (2.29) [25-Mar-2024]


Post New Thread Reply   
 
Thread Tools Display Modes
tRololo312312
Senior Member
Join Date: Apr 2015
Old 04-07-2020 , 11:34   Re: [L4D & L4D2] Target Override (2.5) [07-Apr-2020]
Reply With Quote #21

Priority is set on Normal Survivor but anyway, im unable to reproduce it...strange.
tRololo312312 is offline
tRololo312312
Senior Member
Join Date: Apr 2015
Old 04-07-2020 , 11:45   Re: [L4D & L4D2] Target Override (2.5) [07-Apr-2020]
Reply With Quote #22

Quote:
Originally Posted by Marttt View Post
Also a pummeled survivor priority would be nice for the spitter class [L4D2 only], usually in versus is very common to combo (Charger + Spitter)
Pretty sure you can already do that with the Pinned priority?
tRololo312312 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 04-07-2020 , 11:59   Re: [L4D & L4D2] Target Override (2.5) [07-Apr-2020]
Reply With Quote #23

Quote:
Originally Posted by tRololo312312 View Post
Priority is set on Normal Survivor but anyway, im unable to reproduce it...strange.
Maybe was on timeout delay after switching to a new target recently or something.

Quote:
Originally Posted by tRololo312312 View Post
Pretty sure you can already do that with the Pinned priority?
Yeah, but that includes hunters, smoker jockeys and chargers carrying someone.

I've actually sent Marttt a test version adding options 8,9,10 (high/low health + charger pummel). Adding new options is actually quite easy and shouldn't have any performance impact, the whole function is optimized and very fast anyway. It's using a switch() statement to go through the priority, as long as it's not having to go through the entire order list because every condition fails but even then it's still very fast.
__________________
Silvers is offline
tRololo312312
Senior Member
Join Date: Apr 2015
Old 04-07-2020 , 13:42   Re: [L4D & L4D2] Target Override (2.5) [07-Apr-2020]
Reply With Quote #24

Would it be possible to make plugin that makes survivor bots attack smokers location when someone gets tongued, but if fails (aka unreachable NAV) then try going to the tongued survivors location instead?
tRololo312312 is offline
tRololo312312
Senior Member
Join Date: Apr 2015
Old 04-07-2020 , 15:25   Re: [L4D & L4D2] Target Override (2.5) [07-Apr-2020]
Reply With Quote #25

Suggestion, how about have a option to make SI ignore survivors in saferooms?

EDIT: Added support for it myself.

Last edited by tRololo312312; 04-08-2020 at 10:47.
tRololo312312 is offline
login101
Senior Member
Join Date: Sep 2017
Old 05-03-2020 , 03:06   Re: [L4D & L4D2] Target Override (2.5) [07-Apr-2020]
Reply With Quote #26

L 05/03/2020 - 15:53:45: [SM] Unable to load plugin "l4d_target_override.smx": Error detected in plugin startup (see error logs)

L 05/03/2020 - 15:53:45: [SM] [1] Line 206, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_target_override.sp::OnPluginStar t
L 05/03/2020 - 15:53:45: [SM] Unable to load plugin "l4d_target_override.smx": Error detected in plugin startup (see error logs)
login101 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-03-2020 , 07:23   Re: [L4D & L4D2] Target Override (2.5) [07-Apr-2020]
Reply With Quote #27

Quote:
Originally Posted by tRololo312312 View Post
Would it be possible to make plugin that makes survivor bots attack smokers location when someone gets tongued, but if fails (aka unreachable NAV) then try going to the tongued survivors location instead?
Using Left4DHooks to determine if NAV area is unreachable and cmdabot to force survivor to position. Not something I'll write.



Quote:
Originally Posted by tRololo312312 View Post
Suggestion, how about have a option to make SI ignore survivors in saferooms?

EDIT: Added support for it myself.
Can you send me the code to add?



Quote:
Originally Posted by login101 View Post
L 05/03/2020 - 15:53:45: [SM] Unable to load plugin "l4d_target_override.smx": Error detected in plugin startup (see error logs)

L 05/03/2020 - 15:53:45: [SM] [1] Line 206, C:\Servers\L4D2\left4dead2\addons\sourcemod\s cripting\l4d_target_override.sp::OnPluginStar t
L 05/03/2020 - 15:53:45: [SM] Unable to load plugin "l4d_target_override.smx": Error detected in plugin startup (see error logs)
There should have been another error line which stated you're missing the gamedata file.
__________________

Last edited by Silvers; 05-03-2020 at 07:27.
Silvers is offline
tRololo312312
Senior Member
Join Date: Apr 2015
Old 05-05-2020 , 13:11   Re: [L4D & L4D2] Target Override (2.5) [07-Apr-2020]
Reply With Quote #28

I "hardcoded" it so its not really usable in this situation but i used "L4D_IsInLastCheckpoint" from your L4Dhooks plugin and it works okay.

BTW, is it possible to patch the maximum limit for the missions and get rid of the infamous "GameData: Too many missions installed, not advertising for mission "x" "?
It really prevents us server hosters from having more than about ~75 campaigns installed and have them all show for public matchmaking...
tRololo312312 is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-05-2020 , 13:26   Re: [L4D & L4D2] Target Override (2.5) [07-Apr-2020]
Reply With Quote #29

Could be patched but might not work anyway, it seems to be dependent on the total length of all mission names which are sent to Valve, so if the matchmaking system on their server is limited to the size your server is limiting then it's pointless.
__________________
Silvers is offline
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-10-2020 , 09:11   Re: [L4D & L4D2] Target Override (2.6) [10-May-2020]
Reply With Quote #30

Code:
2.6 (10-May-2020)
    - Added option "8" to "order" to choose targeting the survivor with highest health.
    - Added option "9" to "order" to choose targeting the survivor with lowest health.
    - Added option "10" to "order" to choose targeting a survivor being pummeled by the Charger (L4D2 only).
    - Extra checks to prevent "IsAllowedGameMode" throwing errors.
    - Fixed "incap" option not working correctly. Thanks to "login101" for reporting.
    - Fixed not resetting the last attacker on special infected spawning.
    - Gamedata changed to wildcard first few bytes due to Left4DHooks using as a detour.
(also 120 of 125 my plugins updated lol)
__________________

Last edited by Silvers; 05-11-2020 at 04:07.
Silvers 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 23:18.


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