do any one know where the code in the gamemode terrortown that makes it if you are a detective you are on the innocent team or maybe there is a bit of code that is like if you are not a traitor if you are classed as a innocent?
Every active player is put in TEAM_TERROR and given a separate role assignment -- either innocent, traitor, or detective. There is no part that explicitly classifies detectives as innocents, they are just counted as such in terms of karma penalty and round endings. If you're more specific about what you're trying to do, then more adequate help could be provided.
[QUOTE=code_gs;52450881]Every active player is put in TEAM_TERROR and given a separate role assignment -- either innocent, traitor, or detective. There is no part that explicitly classifies detectives as innocents, they are just counted as such in terms of karma penalty and round endings. If you're more specific about what you're trying to do, then more adequate help could be provided.[/QUOTE]
so i made a new role that is on the innocents side but now i want to add another role that is ether traitor or innocent side
i guess one question would be is that possible with how the gamemode is made
but would you know how to have it so this role is ether traitor or innocent
like as we know it doesn't use a team system
i guess it could be some thing to do with karma and how the round ends
ok i found where to do this
in the init file and i changed the TTTCheckForWin to work with the new role
Sorry, you need to Log In to post a reply to this thread.