User talk:Regular K

From Valve Developer Community
Jump to: navigation, search

Hi, I've finally started to take the objective of updating my mod to the EP1 Source engine. I've managed to do everything until now, I am really, really stumped on this error. The server compiles fine, no errors but it when comes to the client I get this: "...\src\tier1\stringpool.cpp(341): fatal error C1010: unexpected end of file while looking for precompiled header directive" I did some research on it, but none of the solutions I found worked for me. Thank you for your help :) Regular K 15:37, 7 Nov 2006 (PST)

Ah, no matter how long I try to figure a problem out, I always figure it out after I ask for help :) Regular K 16:55, 7 Nov 2006 (PST)


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
Hey, I'd like to take a look at these files but that website is down now. Any chance someone could send them to me? --Wildfire 13:47, 5 Jun 2007 (PDT)
ts2do was kind enough to send me working links, I have repaired the links above. --Theholygod 15:35, 24 Sep 2007 (PDT)


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)

I had the same error. Restarting the SDK does wonders --dutchmega 16:01, 4 Aug 2006 (PDT)
I restarted Steam, then deleted the scripts backup folder, then it worked. It gave me an error saying it couldn't change the Steam App ID (from 220 to 215?) for every mod except for my own :P --Regular K 16:12, 4 Aug 2006 (PDT)