View Single Post
Re: HL2 plugin Weapon support
Old
  (#6)
DrEvil
Member
 
DrEvil's Avatar
 
Status: Offline
Posts: 142
Join Date: Jan 2004
Location: Los Angeles, CA
Default Re: HL2 plugin Weapon support - 29-05-2005

sigh, Anyone get much weapon stuff working? It's become clear that IPlayerInfo.SetActiveWeapon isn't very useful. Every time you call it, another weapon is created. After a while of weapon switching the game shuts down after running out of edicts.

Anyone made sense out of CBotCmd.weaponselect ? The values for a particular weapon seem to change per map. Wonder if it's the index for a weapon edict in the master list or something. hmm.

edit: ahh looks like it is.


Omni-bot AI framework
http://www.omni-bot.com

Foxbot - for Team Fortress Classic
http://www.foxbot.net



Last edited by DrEvil; 29-05-2005 at 23:07..
  
Reply With Quote