Living headcrabs? Sounds easy enough, simply spawn a headcrab and apply a force in the shooting direction.
From: "Steve Henderson" <[EMAIL PROTECTED]> > Trent, > > If you just want to fire something that "looks" like a headcrab (as > opposed to acting like one) then > you could pursue changing the model file associated with the bullet > object to the model file associated > with the headcrab. This could be as simple as copying and renaming > the head crab model file so it gets picked up > as the bulltet...or find the bullet class cpp file and add code to > cache the head crab model file instead of bullet model file. > > If you actually want to throw down headcrab that have AI (so they > start running around and attacking) then this is going to be a little > harder. > > Steve > > On Wed, Nov 26, 2008 at 12:01 PM, Trent Reznor > <[EMAIL PROTECTED]> wrote: >> I'm trying to make a gun that fires headcrabs, and I can't figure out >> how! >> I'm new to coding for the source engine, so can anyone help me? I based >> the >> code off of the shotgun's code, because the models are similar, and >> because >> I need a secondary fire. >> >> Thanks, >> Adam >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

