View Single Post
XDglory
Member
Join Date: May 2012
Old 07-10-2020 , 09:27   Re: [L4D & L4D2] Left 4 DHooks Direct (1.16a) [16-Jun-2020]
Reply With Quote #126

Quote:
Originally Posted by Alex101192 View Post
Is it possible to make a plugin that disables friendly fire while on starting zone or saferoom maybe using this? The only one I found did this, but when failing the chapter and restarting the no friendly fire would last for all the match.
Not sure if you found the same plugin as I did, but I've modified one written by "R-Hehl". It works like a charm, maybe you can give it a try.

And is it possible to spawn a witch like the way director does with left4dhooks on coop mode? A director-spawned witch is usually on survivors way that we almost need to deal with her, but I've tried "L4D_GetRandomPZSpawnPosition", witch might be spawned on the roof or some areas that survivors can easily avoid.

I noticed a function "L4D_FindRandomSpot(int NavArea, float vecPos[3])", which is described "This is what Witches use to spawn", but I was distressed about finding a reasonable NavArea to input.
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_nota.sp - 271 views - 4.6 KB)

Last edited by XDglory; 07-10-2020 at 11:12.
XDglory is offline