View Single Post
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 06-06-2012 , 21:08   Re: [TF2] Cow Launcher
Reply With Quote #8

Quote:
Originally Posted by xomp View Post
That's what I'm asking. From other plugin threads I've seen here the moment someone makes mention of OnGameFrame then the upper echelon of SM usually ring in with a smug comment about how it's terrible and how you should feel terrible for using it.

I use a plugin similar to this that uses SDK hooks and I'd love to break away from that horrible mess if I can.

EDIT: If you could make it so users with certain flags can toggle this on/off it would be pretty crescent fresh.
OnGameFrame runs 66 times a second in OrangeBox games.

Whereas SDKHooks adds OnEntityCreated which gives you the classname of the entity about to be spawned, and you can add an SDKHook SpawnPost hook and change its model there instead.

For that matter, wasn't there a plugin just recently that allowed you to change any projectile to any model?
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 06-06-2012 at 21:09.
Powerlord is offline