tyabus / cs16-client

Counter-Strike 1.6 rewritten client.dll. Without VGUI, ParticleMan and ecology friendy.
Other
1 stars 2 forks source link

Suggestion: Sync commits from early-2017 #2

Open Gerwin2k opened 1 year ago

Gerwin2k commented 1 year ago

Thanks for working on this, I tinkered with it a little, as an addon for Xash 0.19.4, just for personal interest. But later switched to this code-base: https://github.com/mythic-p/cs16-client/commits/master

Several commits there, which are missing from your repository. These commits are from early 2017. Biggest difference is support for client corpses display.

Some trouble-spots in the "mythic-p" codebase:

1) In function CreateCorpse: model->flags = FTENT_COLLIDEWORLD; Replace above with: model->flags = FTENT_COLLIDEWORLD + FTENT_CLIENTCUSTOM + FTENT_FADEOUT; model->entity.curstate.fuser4 = gEngfuncs.GetClientTime(); model->fadeSpeed = 0.2;

2) in function "CHud :: Redraw": The line "m_cvarChecker.Run( flTime );" needs to be commented out to make the client work in Xash 0.20 as well.

3) Needs some conditional checks in these two functions, to prevent unloading things when not appropriate: CHudSniperScope::Shutdown() CHudSpectatorGui::Shutdown()

Gerwin2k commented 12 months ago

The Velaron branch was closed source, but some days ago it became open source. https://github.com/Velaron/cs16-client/