View Single Post
Plugin Info:     Modification:          Category:          Approver:   Arkshine (91)
AlexALX
Senior Member
Join Date: Apr 2009
Old 08-26-2010 , 23:42   game_team_master & game_team_set fix (CS 1.6) v0.3 [UPDATE 15/09/10]
Reply With Quote #1

game_team_master & game_team_set fix (CS 1.6) v0.3
Description:
This plugin fix game_team_master and game_team_set entities for CS 1.6.
Without this plugin, these entities are always activated, regardless of the team player.

Modules:
Сstrike
Fakemeta
Hamsandwich

How to use:
Quote:
For game_team_master specify team in team index:
-1 - anyone can activate
1 - only Terrorist can activate
2 - only CT can activate

For game_team_set is now possible to specify a team to change for game_team_master:
-1 - changes team to all
0 - changes team to activator team (default)
1 - changes team to Terrorist
2 - changes team to CT

For specify team you must disable SmartEdit in Valve Hammer Editor and add manualy this:
Key: team, Value: 2 (or other). (see image)

Attention! Do not fix error in Valve Hammer Editor (alt+p):
Entity (game_team_set) has unused keyvalues.

See test map, which shows an example of work. I hope everything is understood.
Copyright and thanks:
Quote:
Created by AlexALX (c) 2010 http://alex-php.net/
Created special for map deathrun_skills_edited
Big thank Arkshine (http://forums.alliedmods.net/member.php?u=7779)
For help in creating plugin.
Created special for map deathrun_skills_edited.

ChangeLog:
Quote:
[15.09.10 - v0.3]
* Completely changed the code (thanks Arkshine), the function now works as on HL SDK (except for the added new option "team" for the game_team_set entity).
[28.08.10 - v0.2]
* Updated test map.
* Now for specify team for game_team_set you need disable SmartEdit in Valve Hammer Editor and add manualy: Key: team, Value: 2 (or other).
* Now teamindex is work, do not need use Yaw.
* You want to change the field Yaw on teamindex (for game_team_master) or team (for game_team_set). Otherwise Entites stop working on the map.
[27.08.10 - v0.1]
* First release.
Attached Thumbnails
Click image for larger version

Name:	game_team_set.jpg
Views:	3243
Size:	15.8 KB
ID:	73440  
Attached Files
File Type: sma Get Plugin or Get Source (game_team_master&set_fix.sma - 2659 views - 4.3 KB)
File Type: zip game_team_master&set_fix_v0_3.zip (50.6 KB, 1197 views)

Last edited by AlexALX; 09-15-2010 at 11:52.
AlexALX is offline