First off, I'd just like to say Hi, I'm new to modding Half-Life, but I'm a fairly experienced programmer (something you're probably glad to hear for a change).
Anyway, I'm working on a lame excuse for a mod, which will be sort of a clone of the old arcade game "Smash TV". I'm working on setting up a fixed viewpoint from an entity I placed in my map -- info_smash_cam. It basically points down and looks down from above. I've got my CSmashCam which I gleaned info from the intermission camera entity, and I seem to have it properly LINK_ENTITY_TO_CLASS'd...
My problem is how I got about changing the player's viewpoint to that of the camera's. I'm not too familliar with the HLSDK, so I'm feeling a bit overwhelmed by edicts and entvars, etc.
For testing, I'd like to connect switching to toggle the viewpoint to an impulse, and eventually have it always fixed for the actual game. This seems easy enough, but I'm getting stuck in some minor details.
I guess it comes down to a couple things: I need to be able to get a reference to the info_smash_cam, and then set the player's viewpoint to the camera's viewpoint. Any hints?
Regards,
Tony
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

