Hi guys! What's the propper way to spawn prop_physics(override/multiplayer)? Now my goal is just spawn prop_physics with model i interested in. Model has .phy file but it doesn't spawn at all... I've already tried numerous methods. prop_dynamic works, but without physics and that's not what i need.
Game - l4d2, model - pipebomb, if it's important.
Last edited by 3ipKa; 08-18-2022 at 14:52.
Reason: fond solution ) post #11
I've tried different properties. I mean DispatchKeyValue and SetEntProp with solid type, collision group properties, tried MOVETYPE_VPHYSICS, different spawnflags, tried swapping keys (teleport first than DispatchSpawn).
My goal is to spawn model with physics, I could use another one, but pipebomb fits my needs excellent. It shouldn't be pickable.
I've tried different properties. I mean DispatchKeyValue and SetEntProp with solid type, collision group properties, tried MOVETYPE_VPHYSICS, different spawnflags, tried swapping keys (teleport first than DispatchSpawn).
My goal is to spawn model with physics, I could use another one, but pipebomb fits my needs excellent. It shouldn't be pickable.
Unfortunately but it doesn't work. Maybe on my end only...? Tried different models...
I used the command and spawned an explosive barrel on TF2 using it. I was able to walk into the barrel to move it as well as shoot the barrel causing it to explode. If you have Silvers dev cmds plugin check the default values of a regular prop physics in L4d to see if any values are different. Especially the m_CollisionGroup
I managed to spawn oildrum001.mdl, but not w_eq_pipebomb.mdl...
I don't understant why, it has also .phy file and others... Tried some other models - dont work too.
For burrel i used m_CollisionGroup 1 and m_nSolidType 6 just for test, works fine. IDK is the reason in properties.