batatah (09-29-2011)
Hey guys,
I've got my server up and running. It's a rust server with various different mods playing out like nuke 'em, deathmatch classic and isnipe. So, I've actually added these mods in my iw_25.iwd file as separate game types and there is no problem with that, they run fine.
The problem is that when the deathmatch classic or any other mod loads up, my server list, loading screen and in-game show the name i've given to the gametype like nuke, dmc and isnipe. I've added the .txt files along with every gametype so with nuke.gsc, I've added nuke.txt which says 'Nuke 'Em All'.
But somehow it just says "NUKE" everywhere. Can someone help me out.
batatah (09-29-2011)
Best thing to do is to ask on the aIW forums but we'll see if anyone knows.
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
Well yeah I'll post it there. But I hope I can get some help here too.
Change the mod name. It will change the gametype name aswell
Code:setDvar("sv_hostname", "Your server name here");
Thanks for the replies guys.
@Yamato that code is for changing the server name. I want to change the game type names.
@mathi Well yeah that works but it looks clumsy. For e.g I've named the mod rollthedice. So it appears 'ROLLTHEDICE' in server list as well as loading screen. And it should correctly appear as 'ROLL THE DICE' :|
Code:setDvar("ui_gametype", "name");
That's it? I just add this code in the mods rank.gsc files?
With "everything" are you talking about outside of the server?
Remember that other players won't see what the mod is called (in a .txt) if they haven't got the .txt file themselves.
ui_gametype won't change this, just in-game.
Not sure but I think it's fs_game that gets listed in the browser.. i.e. mod name..
well yeah the ui_gametype doesn't change anything anywhere. I added it to the dodvars() of the several gametypes but didn't work.
I actually followed this article from alteriwnet to create the modded game types in first place. And there it seems that the guy was able to name the gametype whatever he wants as seen from his screen shots.
alterIWnet • View topic - [TUTORIAL] Creating a Gametype
Have you tried adding ui_gametype to your server config file?
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
Hey nachos, Thanks man. Well now your suggestion does get me somewhere.
I added the ui_gametype in init() and now it shows 'Super' during the loading screen(the mod's name is 'superteam') and then changes to 'SUPERTEAM' when the game has loaded and is in-game.
Interestingly I had entered 'Super Team Gun Game' in the ui_gametype.
So now, 'Roll The Dice' gets shown in server list and during loading screen as 'Roll' and changes to 'ROLLTHEDICE' the mod name in-game.
One more observation, when you enter spaces it just shows the first word in server list and while loading.
Now I entered "^1Roll^3The^1Dice", so no spaces, but the colors make up for reading it properly. Could I add spaces between them somehow and lastly change the gametype name in-game?
Last edited by ratulupadhyay; 10-03-2011 at 11:09 PM.