![]() |
![]() |
Sjru |
![]()
Post
#1
|
![]() Advanced Member ![]() ![]() ![]() Group: Members Posts: 94 Joined: 4-June 09 From: Posadas, Misiones, Argentina. Member No.: 1,567 ![]() |
I've found this little SM plugin (link, follow instructions on that page) that lets you to force other players to use a certain weapon. This means that it can also be used with bots, which I tested and works.
It needs Sourcemod, if you don't have it, you can find it here. NOTICE: VISIBLE WEAPONS IS NOT LONGER POSSIBLE To use, simply read how to use it on the plugin page. Of course, there are some bugs related to this: * Some weapons cause crashes, most notably those weapons that would require extra coding for the bots to use them (Jarate, sandman, DirectHit, all demoman melee unlockables,etc) The following weapons have been tested by me, and don't cause related crashes: Brass Beast, Iron curtain, SidneySleeper, Backscratcher, Lock'nload ,Valve scattergun, backburner, Blutsauger, Frontier Justice, Amputator, Candy cane, Jag, KGB, Golden Wrench, Tribalman's shiv, Equalizer, Powerjack, Southern hospitality. Remember, of the above, bots WILL NOT normally use those weapons unless forced (e: a command). This means that the heavy that spawn with Natascha or Iron Curtain WILL use it until he loses all ammo and is forced to switch to shotgun, after then, even after he collects more ammo he will still battle with the shotgun until the heavy dies. This behaviour is similar to all other weapons, and should be addressed if attempting normal gameplay. Other notes: Medic Blutsauger: Locks medics on healing, since they will not switch to the blutsauger and they don't melee. Engineers melee's (Golden wrench, jag, southern hospitality): They will spawn with those weapons if you do the command, but somehow they will "lose" it after a while. Soldier's equalizer: Soldier don't move faster when at low health, despite it, they're normally deathly at full health, since bots have abnormal melee critical chance. Video of the plugin with the bots I do really think that somebody that knows scripting should address those issues. (Possible, really). |
![]() ![]() |
Fillmore |
![]()
Post
#2
|
![]() RCBot Guru ![]() ![]() ![]() ![]() ![]() Group: Waypointers Posts: 447 Joined: 1-April 09 Member No.: 1,511 ![]() |
I've found this little SM plugin (link, follow instructions on that page) that lets you to force other players to use a certain weapon. This means that it can also be used with bots, which I tested and works. It needs Sourcemod, if you don't have it, you can find it here. To use, simply read how to use it on the plugin page. Of course, there are some bugs related to this: * Loadout weapons textures will fail to load on bots, the result will be that bots will be holding an invisible weapon. (I suppose that is fixable with scripts) but they will be holding the loadout weapons and it's effects. * Some weapons cause crashes, most notably those weapons that would require extra coding for the bots to use them (Jarate, sandman, DirectHit, etc.) * So far, I've tested the following weapons without problems: Brass Beast, SidneySleeper, Backscratcher, Lock'nload, valve scattergun, Iron curtain, backburner (is bugged, pyro bots refuse to use them, they use shotgun instead). And last but not least, I do think that adding extra scripts into rcbot, so bots could use some loadout weapons (without Sourcemod) would be great. There's a fix from the same chap who made that weapongiver plugin that makes given weapons visible. Just don't know does it work. |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 13th August 2025 - 01:45 PM |