12-22-2012, 09:24
Pages: 1 2
12-22-2012, 10:29
I thought a topic is already made for this (I'm not sure).
I will take a look and edit if I can find it.
Also usefull tip. Use the searchbar
Edit the ^2Still Alive... to the name you want to give to the survivors (On infected gamemode)
Edit the ^1ZOMBIES to the name you want to give the infecteds (On infected gamemode)
On other gamemodes it's just team allies and axis.
So edit them and costumize
Thanks to zoomby alex for the code.
Found it on this topic:
http://www.itsmods.com/forum/Thread-HELP...8#pid83048
And also please change your title to. How can I change teamnames
I will take a look and edit if I can find it.
Also usefull tip. Use the searchbar
Code:
public override void OnMapChange()
{
SetDvar("g_TeamName_Allies", "^2Still Alive...");
SetDvar("g_TeamName_Axis", "^1ZOMBIES");
}
Edit the ^2Still Alive... to the name you want to give to the survivors (On infected gamemode)
Edit the ^1ZOMBIES to the name you want to give the infecteds (On infected gamemode)
On other gamemodes it's just team allies and axis.
So edit them and costumize
Thanks to zoomby alex for the code.
Found it on this topic:
http://www.itsmods.com/forum/Thread-HELP...8#pid83048
And also please change your title to. How can I change teamnames
12-22-2012, 10:52
(12-22-2012, 10:29)99IRock Wrote: [ -> ]I thought a topic is already made for this (I'm not sure).this cod work on search and destroy? or just for infected?
I will take a look and edit if I can find it.
Also usefull tip. Use the searchbar
Code:public override void OnMapChange()
{
SetDvar("g_TeamName_Allies", "^2Still Alive...");
SetDvar("g_TeamName_Axis", "^1ZOMBIES");
}
Edit the ^2Still Alive... to the name you want to give to the survivors (On infected gamemode)
Edit the ^1ZOMBIES to the name you want to give the infecteds (On infected gamemode)
On other gamemodes it's just team allies and axis.
So edit them and costumize
Thanks to zoomby alex for the code.
Found it on this topic:
http://www.itsmods.com/forum/Thread-HELP...8#pid83048
And also please change your title to. How can I change teamnames
wher use this cod? i noob to this
12-22-2012, 12:26
It's okay.
It is used for EVERY gamemode.
On everygamemode they use the teams allies and axis (And spectator).
So Allies is a team and Axis is a team.
They are used on every gamemode with the same name, and you can even edit them on each map I think.
(I think if that's possible with dvars, never used them)
So like you choose 2 maps
mp_carbon - carbon
mp_exchange - Downturn
Code will be :
You can also use colorcodes:
So you put "^2Infected" Will give Infected in green
Also usefull to compile (I'm not calling you a noob but)
http://www.itsmods.com/forum/Thread-How-...noobs.html
And offcourse
addon.teamsdk.com (Allot of info about the mw3 server addon)
It is used for EVERY gamemode.
On everygamemode they use the teams allies and axis (And spectator).
So Allies is a team and Axis is a team.
They are used on every gamemode with the same name, and you can even edit them on each map I think.
(I think if that's possible with dvars, never used them)
So like you choose 2 maps
mp_carbon - carbon
mp_exchange - Downturn
Code will be :
Code:
public override void OnMapChange() // Event when map changes
{
string map = GetDvar("mapname");
if (map == "mp_carbon") // If the map is Carbon
{
SetDvar("g_TeamName_Allies", "<choose a name for team axis on map carbon>"); //Set the team name
SetDvar("g_TeamName_Axis", "<choose a name for team axis on map carbon>"); //Set the team name
}
if (map == "mp_exchange") // If map is Downturn
{
SetDvar("g_TeamName_Allies", "<choose a name for team axis on map Downturn>"); //Set the team name
SetDvar("g_TeamName_Axis", "<choose a name for team axis on map Downturn>"); //Set the team name
}
}
So you put "^2Infected" Will give Infected in green
Code:
// Color table:
// 0: Black
// 1: Red
// 2: Green
// 3: Yellow
// 4: Blue
// 5: Royal Blue
// 6: Magenta
// 7: White
// 8: Brown
// 9: Gray
http://www.itsmods.com/forum/Thread-How-...noobs.html
And offcourse
addon.teamsdk.com (Allot of info about the mw3 server addon)
12-22-2012, 12:42
http://www.itsmods.com/forum/Thread-Requ...lugin.html
There is already a plugin to change team names with sv_config option
There is already a plugin to change team names with sv_config option
12-22-2012, 12:56
(12-22-2012, 12:39)SirGravzy Wrote: [ -> ]99 , Nice code, however im gonna take snippits and improve it, im gonna allow you to type !Allyname *Name here* etc to make ti easier, so you don't have to compile the dll everytime you want to change names
Wow that's pretty nice, but I did once know in visual basic to edit things and let it save
(I used a webbrowser with favorites and homepage and that things)
but I forgot it and don't know how to do in C#
Anyway, I think you're allot advanced than me
12-22-2012, 13:15
(12-22-2012, 10:55)SirGravzy Wrote: [ -> ]It works on all game mods, compile the code in a plugin and load it. (I might make a plugin that allows changes every time without having to re-compile, however i can't test it)
how i can compile it? sry i dont know
12-22-2012, 13:20
In my post you can see :
Also usefull to compile (I'm not calling you a noob but)
Wrong link removed, good link :
http://www.itsmods.com/forum/Thread-How-...noobs.html
Also usefull to compile (I'm not calling you a noob but)
Wrong link removed, good link :
http://www.itsmods.com/forum/Thread-How-...noobs.html
12-22-2012, 13:26
(12-22-2012, 13:20)99IRock Wrote: [ -> ]In my post you can see :
Also usefull to compile (I'm not calling you a noob but)
http://www.itsmods.com/forum/Thread-How-...noobs.html
Soo you just have to press Caps lock and you will be good
12-22-2012, 13:28
Woow, wtf I try to open link my bad
http://www.itsmods.com/forum/Thread-How-...noobs.html
http://www.itsmods.com/forum/Thread-How-...noobs.html
Pages: 1 2