
chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: Jun 7, 2009 06:51 PM
Msg. 1 of 4
Does anyone have a script that figures out what the gametype is? I'm trying to one that drops a hog on a biped, but the hogs stay mid-air until I teleport into the room.
|
|
|

Gamma927
Joined: Jun 12, 2008
Steam: gamma927
|
Posted: Jun 7, 2009 08:05 PM
Msg. 2 of 4
That happens because the engine doesn't bother with objects until the player is close enough to interact with it. You can fix that, by adding a camera point that looks at the hog. Then, add this into your script, as a startup. (object_pvs_set_camera [CAMERA POINT])
|
|
|

Headhunter09
Joined: May 6, 2008
This is the truth.
|
Posted: Jun 7, 2009 08:08 PM
Msg. 3 of 4
it can also be done by weapon detection. That's how he did it in Coldsnap.
|
|
|

chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: Jun 7, 2009 08:43 PM
Msg. 4 of 4
Thanks, could anyone tell me how to do it with weapons?
|
|
|