thanks for your help especially for comments in code
but my server is crashing now when bots see each other:/
Making bots aim for the head
-
- Junior Member
- Posts: 8
- Joined: Mon Mar 19, 2018 9:32 pm
Re: Making bots aim for the head
I just tested my code and it seems to run fine on windows. Not sure why it would crash on linux, sorry :(
-
- Junior Member
- Posts: 8
- Joined: Mon Mar 19, 2018 9:32 pm
Re: Making bots aim for the head
i just tested on windows and its working there aswell
but i need that for linux:(
I'm not sure, but it seems to me that the problem is in random.py for linux
but thank you anyway
but i need that for linux:(
I'm not sure, but it seems to me that the problem is in random.py for linux
but thank you anyway
Re: Making bots aim for the head
No, it's probably player.view_entity, which is pretty much the same like this issue:
https://github.com/Source-Python-Dev-Te ... issues/233
https://github.com/Source-Python-Dev-Te ... issues/233
-
- Junior Member
- Posts: 8
- Joined: Mon Mar 19, 2018 9:32 pm
Re: Making bots aim for the head
is there any way to avoid it?
Re: Making bots aim for the head
The short term solution is to change PreEvent to Event. Then bots will aim on the head on the second shot.
Re: Making bots aim for the head
Is there any way to make them aim for the head even better? Like they used to do in CS: Source?
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 17 guests