For those who want bots to use loadout weapons:, Ain't that cool? |
For those who want bots to use loadout weapons:, Ain't that cool? |
Sjru |
Feb 8 2011, 06:05 PM
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). |
Sjru |
Feb 15 2011, 04:59 PM
Post
#2
|
Advanced Member Group: Members Posts: 94 Joined: 4-June 09 From: Posadas, Misiones, Argentina. Member No.: 1,567 |
Obviously that's a issue that's caused by bots not used to getting different-than-default guns and the coding screws up because of it. We could really use people who can code on this forum, tried it myself but can't figure out anything Perhaps we could look into Rcbot's source code. BTW, where I can find it? |
Fillmore |
Feb 16 2011, 04:52 PM
Post
#3
|
RCBot Guru Group: Waypointers Posts: 447 Joined: 1-April 09 Member No.: 1,511 |
Perhaps we could look into Rcbot's source code. BTW, where I can find it? RCbot2 source is linked in these very forums. The link is: here. And read this thread to figure out the compiling. |
Lo-Fi Version | Time is now: 27th September 2024 - 04:55 PM |