Need some help for shield support
Please someone to tell me where I wrong.
Quote:
Someone to help me please. |
Re: Need some help for shield support
There are other POD-bot offsprings here that can handle the CS 1.6 shield, both of which are open source.
Look in the source code of the following bots : - POD-bot 2.6mm - YaPB OT: did you work out the metamod issue already ? |
Re: Need some help for shield support
Quote:
|
Re: Need some help for shield support
the "CS_WEAPON_SHIELDGUN (1 << 2)" weapon ID actually doesn't exist. I just added it to make them buy the shield.
|
Re: Need some help for shield support
Quote:
In to bot.h???? Or to anoder file?????? |
Re: Need some help for shield support
Look where the other CS_WEAPON_xxx are defined...
|
Re: Need some help for shield support
Quote:
// weapon ID values for Counter-Strike #define CS_WEAPON_P228 1 #define CS_WEAPON_SHIELDGUN 2 #define CS_WEAPON_SCOUT 3 #define CS_WEAPON_HEGRENADE 4 #define CS_WEAPON_XM1014 5 #define CS_WEAPON_C4 6 #define CS_WEAPON_MAC10 7 #define CS_WEAPON_AUG 8 #define CS_WEAPON_SMOKEGRENADE 9 #define CS_WEAPON_ELITE 10 #define CS_WEAPON_FIVESEVEN 11 #define CS_WEAPON_UMP45 12 #define CS_WEAPON_SG550 13 #define CS_WEAPON_GALIL 14 #define CS_WEAPON_FAMAS 15 #define CS_WEAPON_USP 16 #define CS_WEAPON_GLOCK18 17 #define CS_WEAPON_AWP 18 #define CS_WEAPON_MP5NAVY 19 #define CS_WEAPON_M249 20 #define CS_WEAPON_M3 21 #define CS_WEAPON_M4A1 22 #define CS_WEAPON_TMP 23 #define CS_WEAPON_G3SG1 24 #define CS_WEAPON_FLASHBANG 25 #define CS_WEAPON_DEAGLE 26 #define CS_WEAPON_SG552 27 #define CS_WEAPON_AK47 28 #define CS_WEAPON_KNIFE 29 #define CS_WEAPON_P90 30 but the bots don't buy shiel again. Some other ideas |
Re: Need some help for shield support
well, check your buy code, then ??
|
Re: Need some help for shield support
Oh I get all shield usage code form YAPB and the bots pickup shield, use the shield correctly but they can't buy shield.
I can't fix this problem from 4 days. Buy code is ok.The bots must buy shield becorce he is defined in bot weapons and in bot_combat.cpp and added as 25 ID in weapon config file but bots can't buy shield. All other bugs are fixed. Please help me. |
Re: Need some help for shield support
Quote:
|
All times are GMT +2. The time now is 14:59. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.