game/bgame/cgame confusion


(sniser) #1

Urk, I’m confused… I’m sure it’s just lack of very basic knowledge…

  • When I change the lean speed or max angle in bg_pmove.c, leaning is “jerky”. The same goes for leaving those values as they are, but allowing leaning while being prone.

  • When I allow spectators to fly through playerclip brushes, the movement “hangs” for a split second while entering such a brush - and seems to make a small leap forward when exiting it.

So I guess it’s something to do with the clientside prediction using the default values or something? I assumed changing stuff in bg_pmove.c affects both server and client? And I couldn’t find that duplicated anywhere else yet.

But here’s the kicker: I just realized I can’t get the HUD to change… no matter what I change in cg_draw for example - commenting out the whole contents of DrawCrosshair or even Draw2D - nothing has ANY effect. The compiled cgame_mp_x86.dll differs in size, but that’s it.

Maybe that’s the cause of the other annoyances too… something is definately very wrong heh… I’m totally stumped!


(Spark) #2

That really sounds like it’s not using the cgame.dll. Have you checked the console log after starting a map?
Also try starting the server/game with +sv_pure 0 if you don’t do that already, as pure servers don’t like if something isn’t in a PK3.


(sniser) #3

I love you… wanna bear my children? sv_pure did the trick yay!!! Now the HUD looks totally :weird: because of all the desperate changes I made :smiley:

I didn’t know there were copies of those .dll’s in the pak - I already tried overwriting the ones in etmain - if they aren’t used, why are they there? Oh well, now I at least know what to google for etc. thanks again!


(RR2DO2) #4

The dlls in the mp_bin are required for verifying the code authenticity.