Half-Life teamplay. Setting team scores.
Is it possible to set team scores (like in CS) in half-life score table?
In ordinary mode it shows sum of frags and deaths of players of this team. And I think total frags, deaths and average ping calculates at the client side. But may be I'm wrong? http://afalink.spb.ru/score.jpg |
Re: Half-Life teamplay. Setting team scores.
Wait, in CS the team score is set when a team wins, then the round ends because of objectives etc. HL is a Deathmatch environnement, meaning you respawn always, there is not round feature, the game ends only when timelimit is up or after x frags done if set. I don't understand how you can ask such thing..
|
Re: Half-Life teamplay. Setting team scores.
I made C T F plugin for HL. And I looking for the way to show team score
|
Re: Half-Life teamplay. Setting team scores.
Ok. I understand better. Hmm, there would be probably a tricky way using Orpheu. Looking in the HLSDK, team score is saved in team_scores. We can see that team_scores is resetted in CHalfLifeTeamplay::RecountTeams() then all is recounted with the current player's frags. As solution we can't block the function because the first part is useful. Either you need to nop the second part then you could update without fear with your mod, either you hook this function as post then changing the value of team_scores for each team.
|
Re: Half-Life teamplay. Setting team scores.
Again Orpheu :)
I don't know how to use it :-/ |
Re: Half-Life teamplay. Setting team scores.
Arkshine, if it's not very difficult, can you give me an example how to use Orpheu for my purpose?
|
Re: Half-Life teamplay. Setting team scores.
I will try later.
|
Re: Half-Life teamplay. Setting team scores.
Quote:
Thats why i decided to take a new intrest in learning how to code using different languages and what not so i can start to under stand orpheu... lolz. |
Re: Half-Life teamplay. Setting team scores.
Quote:
So, can you help? :wink: |
| All times are GMT -4. The time now is 08:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.