Weird twitchy problem!

C++ Got ya down? Half-Life 2 Coding Related.
Post Reply
omfgwtfbbq
Vertex
Vertex
Posts: 9
Joined: Thu Mar 08, 2007 2:09 am

Weird twitchy problem!

Post by omfgwtfbbq »

Hey everyone.

I'm a really big nub at C++, so any help would be appreciated. >.<ja>.<

Anyway, i figured since its the source code of HL2 everything would work right off the back xD boi was i wrong.

I'm having 4 problems.

1. No chat.
2. No "score board" like when you press tab
3. The air boat steering wheel is all weird, it will glitch...like it will turn, and the steering wheel will just go back..but the boat will still be turning o.O
4. NPCs are twitchy!! i press e on the vortigaunt and he gives a speech, he will twitch like crazy!!

Can anyone like...lol give me a tutorial on what to do? >.<

If you need video's, ill make some and post them.

Thanks in advance!! =P
omfgwtfbbq
Vertex
Vertex
Posts: 9
Joined: Thu Mar 08, 2007 2:09 am

Post by omfgwtfbbq »

Also, i know why the chat and tab isnt working. lol durr because its set for hl2mp =P


but i dont know what the call is or where its located. is it in "hl2mp_gamerules?"
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

Well if you use the hl2dm code everything will be setup to work like scoreboard and chat, and npcs and crap are still there. Acouple of those other problems have been mentioned, the twitchy animations being a client side issue. Use the HL2Dm code solution.
omfgwtfbbq
Vertex
Vertex
Posts: 9
Joined: Thu Mar 08, 2007 2:09 am

Post by omfgwtfbbq »

skidz wrote:Well if you use the hl2dm code everything will be setup to work like scoreboard and chat, and npcs and crap are still there. Acouple of those other problems have been mentioned, the twitchy animations being a client side issue. Use the HL2Dm code solution.
:shock:


what do you mean by 'hl2dm code'

lol :(

Also you said that the twitchy animations being a client side issue, how is this issue fixed? one of my buddys said that it does it in the HL2 dm source code as well.
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

Yea, use the hl2dm code set, its an option when you setup a mod. Half-Life 2 Multiplayer I think.

You should go through all of these fixes.
http://developer.valvesoftware.com/wiki ... re_jittery
omfgwtfbbq
Vertex
Vertex
Posts: 9
Joined: Thu Mar 08, 2007 2:09 am

Post by omfgwtfbbq »

skidz wrote:Yea, use the hl2dm code set, its an option when you setup a mod. Half-Life 2 Multiplayer I think.

You should go through all of these fixes.
http://developer.valvesoftware.com/wiki ... re_jittery
Oh hey! thanks man! that helps out tons >.<

I tried looking on wiki, but im to stupid to find anything on it -_-


And also, i cant use the HL2dm code set, my SDK wont let me, ive tried downloading and reinstalling it, and steam, but it still gives me some bulls*** error. =/ I cant reformat either! i have all my work stuff on this, and what not. so im stuck -_-
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

All you need are the project files to get the hl2dm layout.
omfgwtfbbq
Vertex
Vertex
Posts: 9
Joined: Thu Mar 08, 2007 2:09 am

Post by omfgwtfbbq »

skidz wrote:All you need are the project files to get the hl2dm layout.
Right.

And those are the files i can't get -_- am i just screwed? :(
omfgwtfbbq
Vertex
Vertex
Posts: 9
Joined: Thu Mar 08, 2007 2:09 am

Post by omfgwtfbbq »

Nevermind, i was able to get the HL2DM code.

Though, for some reason i cant see the bullets on the airboat gun -_- i guess thats not important.


How do you enable "E" to pickup object in multiplayer? o.O
Bloomer
Vertex
Vertex
Posts: 17
Joined: Sat Mar 10, 2007 12:50 pm

Post by Bloomer »

skidz wrote:Yea, use the hl2dm code set, its an option when you setup a mod. Half-Life 2 Multiplayer I think.

You should go through all of these fixes.
{link}
For some reason the page wont load....

Not sure if it answered your question.."omfgwtfbbq"

But heres the answer:

open (your mod source code's folder name)/src/cl_dll/c_baseentity.cpp, find this code and remove it:

Code: Select all

if ( !IsSelfAnimating() ) 
{ 
        m_flAnimTime = engine->GetLastTimeStamp();       
}
lol correct me if im wrong anyone. pretty sure thats it though.
omfgwtfbbq wrote: How do you enable "E" to pickup object in multiplayer? o.O
Lol i was going to ask the same thing! :lol:
skidz
Obsidian Gold
Obsidian Gold
Posts: 3228
Joined: Mon May 29, 2006 6:36 am
Location: Maple Ridge, BC
Contact:

Post by skidz »

Hmm, picking up using E was just something in the SP hl2 player class and it was turned off in hl2mp by a derived function I think.
Bloomer
Vertex
Vertex
Posts: 17
Joined: Sat Mar 10, 2007 12:50 pm

Post by Bloomer »

skidz wrote:Hmm, picking up using E was just something in the SP hl2 player class and it was turned off in hl2mp by a derived function I think.
lmao

i looked and it was there

but all it was, was

}


{

lol no code in-between.

I got the code from hl2_player.cpp ^,..,^
Thanks!
omfgwtfbbq
Vertex
Vertex
Posts: 9
Joined: Thu Mar 08, 2007 2:09 am

Post by omfgwtfbbq »

skidz wrote:Hmm, picking up using E was just something in the SP hl2 player class and it was turned off in hl2mp by a derived function I think.
Thank you for this.
Post Reply