Help me out! Quick! (WJ)

Jorg40

Spy
Joined
Dec 21, 2004
Messages
103
Reaction score
0
Okay, after tweaking small stuff with the walljumping code I've now ended up with 8 errors wich Im not capable to fix at the moment.

------ Build started: Project: hl, Configuration: Release HL2MP Win32 ------

Compiling...
hl_gamemovement.cpp
\XXX\src\game_shared\hl2\hl_gamemovement.cpp(156) : error C2065: 'g_bMovementOptimizations' : undeclared identifier
\XXX\src\game_shared\hl2\hl_gamemovement.cpp(163) : error C2065: 'sv_gravity' : undeclared identifier
\XXX\src\game_shared\hl2\hl_gamemovement.cpp(163) : error C2228: left of '.GetFloat' must have class/struct/union type
type is ''unknown-type''
\XXX\src\game_shared\hl2\hl_gamemovement.cpp(229) : error C2065: 'm_pSurfaceData' : undeclared identifier
\XXX\src\game_shared\hl2\hl_gamemovement.cpp(235) : error C3861: 'm_pSurfaceData': identifier not found, even with argument-dependent lookup
\XXX\src\game_shared\hl2\hl_gamemovement.cpp(237) : error C2227: left of '->game' must point to class/struct/union
type is ''unknown-type''
\XXX\src\game_shared\hl2\hl_gamemovement.cpp(237) : error C2228: left of '.jumpFactor' must have class/struct/union type
\XXX\src\game_shared\hl2\hl_gamemovement.cpp(237) : error C3861: 'm_pSurfaceData': identifier not found, even with argument-dependent lookup

Build log was saved at "file://c:\XXX\src\dlls\Release HL2MP\BuildLog.htm"
hl - 8 error(s), 0 warning(s)


---------------------- Done ----------------------

Build: 0 succeeded, 1 failed, 0 skipped

What I think is the problem is that it doesnt override the normal Jumpfunction, any idea how? And in that case, where to do it?
 
Bwuh. I'd assume g_bMovementOptimizations doesn't actually exist. Are you sure you followed a tutorial for HL2?
Did it compile before you tweaked the code?

-Angry Lawyer
 
No, it it had 200 errors before I tweaked it. And the g_bMovementOptimizations exist's... that is so strange
 
200 errors?
Are you sure the tutorial was written for HL2?

-Angry Lawyer
 
Sv_Gravity is a convar, I'm pretty sure, which need special code to get. But I've been drinking and can't look it up right now.

-Angry Lawyer
 
lol... well if you can later please help me a bit ;)
 
Back
Top