{{AoA}}Axeman
08-03-2007, 03:15 AM
I am not a great coder but I have altered the hl2mp player classes and changed all the names so they aren't referred to as rebel/combine (filters also) for my mod I am doing. I want to have the info_player_team_azure and info_player_team_crimson to have Targetname variables so I can seperate/identify them without having to make new player classes (unless I have to).
I assume I would have to define the variable in the client and server h/cpp files, but I am a bit stuck on which files would have precedence and which ones I should add the variable to, or even if I could inherit from a class that has the Targetname variable anyway (baseEntity??).
I know it's a bit of a noob question but is there an easy way to do this?
I assume I would have to define the variable in the client and server h/cpp files, but I am a bit stuck on which files would have precedence and which ones I should add the variable to, or even if I could inherit from a class that has the Targetname variable anyway (baseEntity??).
I know it's a bit of a noob question but is there an easy way to do this?