.:: 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 > IvPBot
IvPBot Another PODBot's evil descendance by KaCaT Counter-Strike

Reply
 
Thread Tools
Re: Weapon Buy
Old
  (#11)
justinone
Member
 
Status: Offline
Posts: 10
Join Date: Aug 2005
Default Re: Weapon Buy - 27-08-2005

OK so i know how to do the AK and M4 thing, but can somebody tell me how to stop the bots from picking up weapons on the ground??? or even better stop them picking up enemy weapons off the ground???

also i, was wondering why when i edited my botweapon.cfg,......

# Weapon Priorities for a Normal Standard Bot
[NORMAL]

0,1,2,3,4,5,6,7,8,18,9,14,23,10,24,22,19,20,21,17, 14,23,13,12,16

13= p90 12= mp5 16= M4A1 why do bots only pick M4A1 after a few rounds and not pick the MP5 or P90???

ThAnKs>!!

Last edited by justinone; 27-08-2005 at 00:37..
  
Reply With Quote
Re: Weapon Buy
Old
  (#12)
eM-Viper
Member
 
Status: Offline
Posts: 3
Join Date: Nov 2005
Default Re: Weapon Buy - 03-11-2005

I would like to know how the botweapons.cfg is read by the bot plugin. i notice [STANDARD] and [AS]. I am assuming that standard is read threw a variable that is set in the map, and same with as insteas of reading the prefix of the map. so that only those maps are supported and cannot make custom weapon restriction configs. it would be nice if u can add [awp_] and then all maps with the prefix of awp_ get a certain weapon restriction (what i tried and found out that doesnt work so well ). I did this for orc glove in the wc3ft plugin
Code:
#if MOD ==0
		new mapname[32]
		get_mapname(mapname,31) 
		if (containi(mapname,"aim_")!=-1 || containi(mapname,"air")!=-1 || containi(mapname,"awp_")!=-1 || containi(mapname,"cars")!=-1 || containi(mapname,"fun")!=-1 || containi(mapname,"fy_")!=-1 || containi(mapname,"ka_")!=-1 || containi(mapname,"scout")!=-1 || containi(mapname,"ship")!=-1 || containi(mapname,"cs_pumpo")!=-1 || containi(mapname,"cs_deagle5")!=-1){
			g_givePistol=false
			if (iCvar[FT_NO_GLOVES_ON_KA])
				g_giveHE=false
			else
				g_giveHE=true
		}
		else{
			g_giveHE=true
			g_givePistol=true
		}
		if(iCvar[FT_NO_ORCNADES]){
			if (containi(mapname,"ka_")!=-1 || containi(mapname,"jail_riot")!=-1 || containi(mapname,"aim_")!=-1 || containi(mapname,"awp_")!=-1 || containi(mapname,"scout")!=-1) 
				g_notAllowHE=true
			else
				g_notAllowHE=false
		}
	#endif
	
	return PLUGIN_CONTINUE
}
I dont have the source code to look at dont know where to get it, I did some how get an older version but I dont have a means to compile it correctly. Any help would be apreciated. Thanks.

Last edited by eM-Viper; 03-11-2005 at 18:17..
  
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