chickenmobile
2009-07-15 07:17:22
I've been trying to make a map that involves scripting of changing characters to different player models. I have done this BUT there is the problem that people may want to play in team-deathmatch and mixed characters may be difficult to distinguish between teams (especially if they are far away).
It is easy to create a filter that changes player models depending whether they are rebel or combine (filter_acticvator_team) but what I want to know is how can I check whether a command in the console is true or false (1 or 0) so then I can disable the model changing trigger.
Using a Logic_branch im trying to test whether the command "mp_teamplay" is set to 0 or 1 BUT I have definitely no idea how to do this. Do I need scripting in a text file separate from the map file? Do I need another entity that gets input and output values? How can I do it?
It is easy to create a filter that changes player models depending whether they are rebel or combine (filter_acticvator_team) but what I want to know is how can I check whether a command in the console is true or false (1 or 0) so then I can disable the model changing trigger.
Using a Logic_branch im trying to test whether the command "mp_teamplay" is set to 0 or 1 BUT I have definitely no idea how to do this. Do I need scripting in a text file separate from the map file? Do I need another entity that gets input and output values? How can I do it?
- Attachments
-
- My models, the player model will change when players will spawn. But what about team deathmatch?
- people.jpg (130.1 KiB) Viewed 344 times