Jeremy Swigart wrote:
I don't see from my(admittedly limited) looking at source metamod that
it helps in many of the cases that I need.

No, it won't.  I can try to answer your questions though, in the ways
you probably won't like :p

1) You can try to do this in a "hacky" way that relies on the base SDK.
 For example, CBaseCombatCharacter defines m_hMyWeapons in its data
table, so you can probably extract it by enumerating the datamap or
sendtables.

2,3) Again, velocity is defined in the datamap of CBaseEntity.

4) Valve won't do this, I guarantee it.

6) Not needed, CGameTrace/trace_t has m_pEnt which you can convert to an
edict_t.  It's defined in the Engine like that for niceness -- the
Engine can't see CBaseEntities like the gamedll.

7) The reason: Valve doesn't want you changing them.  That would be
hacking, cheating, heresy, and terrorism. <-- add something else in for
extra credit

8) Possibly same rule for #1-3, but in the way I've done it in my
plugins, I used much hackier ways that aren't mod independent at all.

9) SetModel() is a virtual function in CBaseEntity.  If you're pretty
sure the mod doesn't change the virtual order of CBaseEntity, you can
just try calling it.  Otherwise, you must get creative.

If you're doing this for HL2DM, you have the source code, so you can do
just about anything you want.  For other mods, you must be prepared to
write very ugly things.

Hope this helps,

  ---BAILOPAN
  http://www.sourcemod.net/

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to