Re: game_team_master&game_team_set Fix (CS 1.6)
Quote:
|
Re: game_team_master&game_team_set Fix (CS 1.6)
Actually, you could also simply rewrite Use() without using orpheu. (So hooking Ham_Use, and superceding at the end) You have the HLSDK to help you what does each function. Since it won't called often, it would be fine. If you don't know, tell me I will do.
About game_team_set, it should not a problem if you redo the function of game_team_master. Nothing to fix. |
Re: game_team_master&game_team_set Fix (CS 1.6)
Quote:
But about game_team_set - you dont undestand... With this plugin i can write team to change for game_team_master, as standart - team change only for activator team, do not possible to change to other team... Yes of course you can make a copy game_team_master and use trigger_changetarget but it's faster and easier... |
Re: game_team_master&game_team_set Fix (CS 1.6)
Sorry not sure to understand you. I'm not used at all of such entities at all.
"team change only for activator team, do not possible to change to other team" why ? like you said, it changes with the activator team, so it just a matter to trigger with the team you want, right ? |
Re: game_team_master&game_team_set Fix (CS 1.6)
Quote:
Standart game_team_set: if CT use game_team_set - game_team_master now activate only for CTs. if T use game_team_set - game_team_master now activate only for Ts. I create teamindex value in game_team_set, and now: if CT or T use game_team_set and teamindex=0 - game_team_master now activate all teams. else if CT or T use game_team_set and teamindex=1 - game_team_master now activate only for Ts. else if CT or T use game_team_set and teamindex=2 - game_team_master now activate only for CTs. else if CT or T use game_team_set and teamindex=3 - game_team_master now activate only activator team (team of player who use game_team_set). understand? or not oO ps I've already figured out how to use teamindex, so right now I will make a new version, but until about game_team_set must resolve the issue with non-standard field teamindex. And as I understood this to be done to fix all Entin that somehow intersect with game_team_master...? (game_team_set, game_player_hurt etc) |
Re: game_team_master&game_team_set Fix (CS 1.6)
Yes, but still I don't think there is a need to fix something.
- if CT uses game_team_set - game_team_master now activates only for CTs. - if T uses game_team_set - game_team_master now activates only for Ts. - if SF_TEAMSET_CLEARTEAM is used to clear the team - game_team_master now activate for both. So, what is the difference ? For me, you need only to fix CGameTeamMaster::Use() only. |
Re: game_team_master&game_team_set Fix (CS 1.6)
Quote:
if CT uses game_team_set - game_team_master now activates only for Ts. if T uses game_team_set - game_team_master now activates only for CTs. :nono: |
Re: game_team_master&game_team_set Fix (CS 1.6)
spawnflags, look at the HLSDK :
Code:
Quote:
"When someone triggers this entity, that player's team will be assigned to the "game_team_master" that this entity targets" |
Re: game_team_master&game_team_set Fix (CS 1.6)
Arkshine - no, i testet, only possibly to change in this format:
If CT activate game_team_set - game_team_master now activate only CTs. If T activate game_team_set - game_team_master now activate only Ts. And no other way. Etc: If T activate game_team_set - game_team_master now activate only CTs. If CT activate game_team_set - game_team_master now activate only Ts. If CT or T activate game_team_set - game_team_master now activate all. This is impossible in standart game_team_set. You must use trigger_changetarget and copy of game_team_master with the right team player. That's what I mean. |
Re: game_team_master&game_team_set Fix (CS 1.6)
Ok, I understand better. But for game_team_set, I would use pev_team ( "team" ) instead, then storing its value in m_teamIndex.
|
All times are GMT -4. The time now is 15:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.