My first issue is that my entity which uses the traffic cone model
(models/props_junk/TrafficCone001a.mdl) will not collide with players.
 The way I started working on my traffic cone gun was to take the SDK
base grenade weapon and modify it to my liking.  Unfortunately I have
no idea what i'm doing, aside from knowing C++.  So I looked around
and got a bit of help from someone in the #wavelength IRC channel, and
they told me to look for "SOLID_VPHYSICS" in the code.  I found this,
and it seemed to go with some nice function known as SetSolid.  From
what I can tell, this function is used to set the type of collision
model to use.  I also noticed that you could set flags for this.
Unfortunately no combination of the solid flags and solid modes seems
to cause my traffic cone to collide with players.  I can always walk
through them.  What am I missing that allows my player to walk through
the prop?

I also wanted to make it so my entity could be knocked around once it
was created.  When I used SetMoveType( MOVETYPE_VPHYSICS ), the entity
didn't seem to be affected by the starting velocity.  Why is this?

My code is located here: http://rafb.net/p/AoSwWw92.html

Thanks in advance.

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

Reply via email to