.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > POD-Bot mm > Ideas
Ideas One idea per thread please! :)

Reply
 
Thread Tools
Restricting on specific weapons.
Old
  (#1)
woot woot
Member
 
Status: Offline
Posts: 100
Join Date: Aug 2005
Default Restricting on specific weapons. - 05-01-2006

I think this has been mentioned, and I know it cannot be done through any other plugin. But, since you can restrict the bots to rifles, or snipers, wouldn't it be possible to restrict them even more? Like only using awp, and nothing else?

I hate when I'm on awp and they use autosnipers v.v players complain too, saying it isn't fair. lol. Would be nice. I also read what PMB said about other plugins ignored by the bots coz they themselves are plugins.
  
Reply With Quote
Re: Restricting on specific weapons.
Old
  (#2)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Restricting on specific weapons. - 05-01-2006

Quote:
Originally Posted by podbot mm doc
pb weaponmode (value) - correct value are 1 to 7. This command lets You select the weapon will be used by bots only (they will not buy another type).
  • 1 - Knife only (JasonMode!)
  • 2 - Pistols
  • 3 - Shotguns
  • 4 - Machine Guns
  • 5 - Rifles
  • 6 - Sniper Weapons
  • 7 - All Weapons (Standard)
Just read here.
  
Reply With Quote
Re: Restricting on specific weapons.
Old
  (#3)
woot woot
Member
 
Status: Offline
Posts: 100
Join Date: Aug 2005
Default Re: Restricting on specific weapons. - 05-01-2006

I don't think you got my idea. I already know they do that, what I'm saying is to go to more specific weapons such as only using an awp and nothing else. No autosnipers.. none of that.
  
Reply With Quote
Re: Restricting on specific weapons.
Old
  (#4)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Restricting on specific weapons. - 05-01-2006

The mean bot manager does allow you to so some specific restrictions.

From the manual ....

====================================
Weapon Restrictions
====================================

These commands work great on maps like shotgun_map, scout_map and
awp_map. They can be real fun on other maps as well.

default minimum access level: Clan Member

NOTE: Weapons spawned with a player will remain available until the
player dies.

Use these commands from console or "say" message:

m_knifewar ......... Knives and nades only
m_nadewar .......... Nades only
m_pistolwar ........ Pistols only
m_lightpistolwar ... Pistols only - deagle removed
m_deaglewar ........ Deagle pistol only
m_glockuspwar ...... Glock + usp pistol only
m_glockwar ......... Glock pistol only
m_uspwar ........... Usp pistol only
m_dual57war ........ Dual vs Five Seven pistols
m_p228war .......... p228 pistol only
m_subwar ........... Submachine guns only
m_lightsubwar ...... Submachine guns only - MP5 Navy and P90 removed
m_uziwar ........... Terr: Glock + MAC-10, CT: USP + TMP
m_umpwar ........... Universal Machine Pistol + Glock or USP
m_p90war ........... P90 submachine gun + Glock or USP
m_mp5war ........... MP5 Navy submachine gun + Glock or USP
m_shotgunwar ....... All shotguns and pistols
m_pumpwar .......... Pump shotgun and pistols - autoshotgun and deagle removed
m_autoshotgunwar ... Autoshotgun and pistols only
m_snipewar ......... All snipe rifles and pistols
m_scoutwar ......... Scout and all pistols
m_lightsnipewar .... All snipe rifles and pistols - AWP removed
m_hksig550snipewar . HK and Sig 550 sniping rifles only with default pistols
m_awpwar ........... AWP and Glock or USP pistols
m_parawar .......... PARA Machine gun and all pistols
m_lightarmswar...... Light weapons only
m_heavyarmswar...... Heavy weapons only and all pistols
m_ak47coltwar....... AK-47 Assault Rifle vs Colt M4A1 Carbine
m_sg522augwar....... SG-522 Commando vs Steyr Aug
m_FamasGalilWar..... Famas and Galil assault rifles and all pistols
m_regularwar ....... All weapons available

These additional weapon bans are available:

m_banawp < on | off >
m_banhenade < on | off >
m_banflash < on | off >
m_bansmoke < on | off >

On = ban in effect
Off = ban not in effect


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Re: Restricting on specific weapons.
Old
  (#5)
woot woot
Member
 
Status: Offline
Posts: 100
Join Date: Aug 2005
Default Re: Restricting on specific weapons. - 05-01-2006

I've used your mod before ^^.. a lotta fun. Hmm, and you've tried using these against bots coz I can't recall using it when I did have your mod.
  
Reply With Quote
Re: Restricting on specific weapons.
Old
  (#6)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Restricting on specific weapons. - 05-01-2006

Yes it works pretty good but not perfectly because I could not prevent the bots from buying banned weapons directly.

The method I used prevents the banned weapon from being spawned, so when they try and buy a banned weapon, nothing appears. I then force the bots to buy whatever weapons are not banned.

The bots don't know that they can't buy the restricted weapons so when a bot tries to buy the weapon it wastes money on it which puts them at a disadvantage. I never figured out how to give the bots more money which would have solved the problem (I think it can be done).

There may also be an issue with stability because preventing weapons from being spawned may break something along the way.

Despite all this, I found it still works pretty good.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Re: Restricting on specific weapons.
Old
  (#7)
woot woot
Member
 
Status: Offline
Posts: 100
Join Date: Aug 2005
Default Re: Restricting on specific weapons. - 05-01-2006

Ohh, nice job then. ^^ I just hope in the future they can implement this to the bots. Is it that hard to be more specific when they can already restrict to shottys or rifles?
  
Reply With Quote
Re: Restricting on specific weapons.
Old
  (#8)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Restricting on specific weapons. - 05-01-2006

My reply sticked to that Your part of question:

"Like only using awp, and nothing else? "

I don't think it's not doable to make a weapon restriction. There is a need to add to bots code a cvar which will have some bits responsible for buying/using (it needs work also for pickup) some weapons. If some bit of that cvar is set to 1 - it may means this weapon is banned. So in bot's code such weapon can't be bought or pickuped up according to bit of that cvar. And to control this cvar You can easy write an AMX/AMXX or ClanMod script (this even me - I could do it)

If my C++ coding skill would be at least 10% (now is about 0%), I could do it my-self in bot code...
  
Reply With Quote
Re: Restricting on specific weapons.
Old
  (#9)
woot woot
Member
 
Status: Offline
Posts: 100
Join Date: Aug 2005
Default Re: Restricting on specific weapons. - 05-01-2006

Well, I have no knowledge of that XD so I can for the most part just use mEAnmod. Thanks.
  
Reply With Quote
Re: Restricting on specific weapons.
Old
  (#10)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Restricting on specific weapons. - 22-03-2006

Quote:
Originally Posted by KWo
If my C++ coding skill would be at least 10% (now is about 0%), I could do it my-self in bot code..
Well - I still don't think my C++ coding skill reached 10%, but the weapon restriction is done in current sources - still in beta testing.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com