rrrfffrrr / Insurgency-server-plugins

Sourcemod plugin for insurgency, using in rrrfffrrr's servers
MIT License
14 stars 7 forks source link

RespawnBots2 - Spawn location #1

Open OhFarts opened 4 years ago

OhFarts commented 4 years ago

Hello 👋

Firstly, what a great work you made here ! The FireSupport looks awesome !

I tried RespawnBots2 on my server but were not respawning, I had to change :

Line 198 bool IsInfiniteRespawn = (IsCounterAttack() && CvarInfiniteOnCA.BoolValue); to bool IsInfiniteRespawn = CvarInfiniteOnCA.BoolValue;

I wanted to make bots respawn infinitely after 2 seconds, it's working but they spawn in front of me even with sm_botrespawn_adjust and sm_botrespawn_adjust_distance.

Have you tried to use something like IsEntityInSightRange which can handle eye angle ? I'm currently trying to but I don't know Sourcepawn as much as you

rrrfffrrr commented 4 years ago

Thanks to use my plugin but i didn't review my plugin so there's some bugs.. :P I didn't try to use that function but it seems very good.

I'm very sorry, now i'm not managing server plugin anymore.

You can handle respawn location with code line 345 to 365. I hope you success to handle it.