![]() |
How to make AMX / ClanMod weapon restrictions affect bots?
A friend of mine just asked me via e-mail if there's a way to make weapon restrictions imposed via ClanMod or AMX affect bots as well.
Now I thought about this a bit, and I wondered if bots don't buy their weapons via the buymenu, but by some other method? And if they do use the buymenu, shouldn't restrictions work for them? Or is it a question of which plugin to load first? TIA for help and suggestions! =) |
Re: How to make AMX / ClanMod weapon restrictions affect bots?
Write here what the mod and version is Your friend using? There is different way to restrict weapons under Steam and non-Staem mods. But so far I rememeber -disabling of buy some weapons by bots - it was not workable 100% OK. It's probably because bots use different method of buying than human-players.
|
Re: How to make AMX / ClanMod weapon restrictions affect bots?
old clanmod reservation sucks , i got no idea if it works in newest ones (but i doubt it)
alos amx reservations work the best on humans bots usually get weapon differently , i guess by engine client command i treid to use shieddrop/awpdrop plugins - they are buying the weapons even if restricted i tried to restrict shiled but no luck tested some awp restrictions but also no luck but as far as i remeber awpdrop works i was busy lately and i was not looking over forums, not to mention playing maybe in next week i will provide more info about trying the restriction plugins |
Re: How to make AMX / ClanMod weapon restrictions affect bots?
Well, thank you anyway. So it really seems to be hard. A friend of mine suggested modifying the botweapons.cfg file. However, it seems that this doesn't work completely, either. (posted here: http://forums.bots-united.com/showthread.php?t=2173 ).
I think the main concern was about the riot shield, but this seems to be the most difficult case. |
Re: How to make AMX / ClanMod weapon restrictions affect bots?
It is not possible (well, not directly possible) that another plugin's restrictions affect the bots, since the bots are themselves a plugin. It's the way metamod works. Metamod provides hooks for functions of the game by sitting between the game DLL and the engine and intercepting calls back and forth. When a player fires up a buy menu, metamod can intercept this call because it's a call coming from the client DLL (hence coming from the network), received by the engine, and passed forth to the game DLL. Metamod intercepts it here while it comes from the engine and goes to the game DLL. But bots call the functions directly in the game DLL, since they are at the same level as metamod ; this call isn't emitted by the engine and thus does not pass through the normal way. There's no straightforward way metamod can intercept bot calls.
|
Re: How to make AMX / ClanMod weapon restrictions affect bots?
This explanation seems without any hope for working these functions for bots, but why exactly this is working (I believe)???:( :
http://forums.bots-united.com/showpo...1&postcount=15 |
All times are GMT +2. The time now is 08:07. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.