Quote:
BTW I still don't know how to output the debug bot.txt under HPB_bot_Metamod, so I use back the non mm version to output the bot.txt at the moment
|
Can't help on this one.
Im not coding a plugin.
But in the normal hpb_bot it is located in the "day of defeat" folder.
\steam\steamapps\day of defeat\HPB_bot.txt
Now for the enfield en fg42.
I solved it by checking the weapon model.
pEntity->v.weaponmodel
You'll have to look at the p_ models not the w_ or v_ models
p_enfield.mdl and p_enfields.mdl
p_fg42bu.mdl and p_fg42s.mdl
You'll actually have to check the player entities model and not the weapon it self. although that would work on some guns.
Ammo clips won't work either because they are the same to.
It's only the scope that is different.
The weapon number is not consistent through out the dod versions.
So that's not really a good way to check (as you have seen yr self)