User talk:Regular K: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 24: Line 24:


::::Ah, yes. Thank you so much for all you've helped me with Ts2do. I have no clue where I would be without you :) [[User:Regular K|Regular K]] 12:55, 10 Jul 2006 (PDT)
::::Ah, yes. Thank you so much for all you've helped me with Ts2do. I have no clue where I would be without you :) [[User:Regular K|Regular K]] 12:55, 10 Jul 2006 (PDT)
Im getting an error with the new Source SDK update, all I have done is install the Source SDK Base, restart Steam so the SDK can update. Once the SDK finished, I ran it. After quite sometime of copying files I get this error: "c:\program files\steam\steamapps\SourceMods\scripts backup\gameinfo.txt is missing". Then the SDK closes. Im lost. -[[User:Regular K|Regular K]] 16:00, 4 Aug 2006 (PDT)

Revision as of 16:00, 4 August 2006

I'm programming rounds into my mod (like how when a round ends in CS). Everything is coming good EXCEPT I cant seem to find out how to reset all props, npcs, etc back to their original state. Can anyone please help me? Regular K

See these files:—ts2do 17:01, 19 Jun 2006 (PDT)

game_shared: [1] [2] [3]
dlls: [4] [5]
Thank you. Regular K


I'm trying to remove all (non-mapper placed) decals and ragdolls, can anyone help with either one? Thank you :) Regular K 18:31, 25 Jun 2006 (PDT)

See r_cleardecals and iterate the entity list with FindEntityByClassname for "hl2mp_ragdoll" and call Remove() on found ones—ts2do 19:57, 25 Jun 2006 (PDT)
Thank you, I managed to get the decals and player ragdolls to be cleared. But how do I clear NPC ragdolls? I believe their classname is "client_ragdoll", but those are only kept on the client. How do I iterate through the client ent list, if possible? Thank you, ts2do. Regular K 09:33, 26 Jun 2006 (PDT)


I got another question, can anyone point me in the right direction for where the code is kept (HL2MP) for when a player dies that makes the camera rotate around their dead body? (I want to disable it) Thank you :) Regular K 14:29, 9 Jul 2006 (PDT)

It's called observer deathcam—ts2do 19:54, 9 Jul 2006 (PDT)
Weird, I put a DevMsg at the top of the CalcDeathCamView() function to see if it was being called. Apparently it isn't. Also, im doing a call to check the observer mode, it's in free roam mode, yet its still pivoting around the dead player. Regular K 22:15, 9 Jul 2006 (PDT)
that's only for C_BasePlayer... C_HL2MP_Player uses C_HL2MP_Player::CalcView—ts2do 00:33, 10 Jul 2006 (PDT)
Ah, yes. Thank you so much for all you've helped me with Ts2do. I have no clue where I would be without you :) Regular K 12:55, 10 Jul 2006 (PDT)


Im getting an error with the new Source SDK update, all I have done is install the Source SDK Base, restart Steam so the SDK can update. Once the SDK finished, I ran it. After quite sometime of copying files I get this error: "c:\program files\steam\steamapps\SourceMods\scripts backup\gameinfo.txt is missing". Then the SDK closes. Im lost. -Regular K 16:00, 4 Aug 2006 (PDT)