View Single Post
Re: HL2 plugin Weapon support
Old
  (#3)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: HL2 plugin Weapon support - 28-05-2005

for point 4, I loop though the edict list. What would be the advantages of your method ? Most MODs would make changes to their CBaseEntity anyway...

for point 6, you already can get the edict after a trace: use
Code:
gameents->BaseEntityToEdict (tr.m_pEnt)
it's a method from the IServerGameEnts interface, the provider of it is gameServerFactory()



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 28-05-2005 at 22:02..
  
Reply With Quote