[hlcoders] Temp Entities

2002-12-28 Thread Admin
This is a multi-part message in MIME format. -- -- [ Picked text/plain from multipart/alternative ] When you create an SVC_TEMPENTITY of type TE_MODEL (an entity that has direction and velocity that bounces off other entities, walls, etc for a time duration) How do you learn of the final

RE: [hlcoders] Temp Entities

2002-12-28 Thread omega
With a server side tempent? You don't. If you were doing it client side, (efx api, which calls into the tempents without messages), you can run callback functions which you can use to detect when it stops moving. But other than that, sool. -omega Blackened Interactive -

[hlcoders] Saving and the HLSDK

2002-12-28 Thread Ryan \Professional Victim\ Desgroseilliers
I've run into something of a problem during my coding work for the Nightwatch mod, regarding the way Half-Life handles saving. There are a few situations where saves of any kind would be quite problematic both programmatically and from a design standpoint, such as the introductory camera sequence,

Re: [hlcoders] Saving and the HLSDK

2002-12-28 Thread Skyler York
[ Converted text/html to text/plain ] I don't have the SDK in front of me, and it's been months since I've worked with it (bad coder, bad!), but I recall there being a DispatchSave function the engine calls when it needs to save. If you can insert some sort of logic check in there to not save

RE: [hlcoders] Temp Entities

2002-12-28 Thread Michael Danzo
This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Client-side Temp Ents are great, personally I just edit the following routine in entity.cpp: void DLLEXPORT HUD_TempEntUpdate You can basically do what you want with it in there. Check this section

Re: [hlcoders] Saving and the HLSDK

2002-12-28 Thread Cortex
You could do : CLIENT_COMMAND (pPlayer-pev, unbindall); (where pPlayer is a pointer to the player). Then, all the keys won't have any effect. Then, after the end of the sequence, you call : CLIENT_COMMAND (pPlayer-pev, exec config.cfg); and all the binds will reappear :p - Cortex : HL

RE: [hlcoders] Saving and the HLSDK

2002-12-28 Thread Michael Shimmins
As he mentioned, the key bindings aren't an issue, it's the menu items that are. Michael Shimmins -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Cortex Sent: Sunday, December 29, 2002 6:40 PM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Saving and the

RE: [hlcoders] Saving and the HLSDK

2002-12-28 Thread Philip
You can still get to the menu by pressing ESC. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Cortex Sent: Sunday, December 29, 2002 8:40 PM To: [EMAIL PROTECTED] You could do : CLIENT_COMMAND (pPlayer-pev, unbindall); (where pPlayer is a