Page 1 of 1

Quick Skin Changer

Posted: Mon May 18, 2009 6:01 pm
by Triv
Sup, for these that don't know this useful trick. By adding the code below at the end of your main.cs file. You can quickly change your skins in-game without restarting TTanks. It will make all skin changes visible you made during playing TTanks by simply pressing F4. Notice that you may have some hotkey already for that key. If so switch the F4 part to some other key you which you want to use. It will refresh all your jpg, png changes.

Code: Select all

//-----------------------------------------------------------------------------
// Texture Reload Hotkey
//-----------------------------------------------------------------------------

GlobalActionMap.bindCmd(Keyboard, "F4", "", "flushTextureCache();" );

Re: Quick Skin Changer

Posted: Mon May 25, 2009 2:45 pm
by Cylicon460
What else do you have to do? Where do you put your other skin files?
This post is kinda left unanswered. Is that all you have you do?

Thanks

Re: Quick Skin Changer

Posted: Mon May 25, 2009 5:55 pm
by Triv
Cylicon460 wrote:What else do you have to do? Where do you put your other skin files?
This post is kinda left unanswered. Is that all you have you do?

Thanks
That code snippet into your main.cs is all that you need.

When you are running your TTanks and playing with RED lighttank skin. You want to switch to whatever reason to PURPLE lighttank skin. You replace the RED skin with the new PURPLE skin inside your ./shapes/tanks folder just like normally. Instead of having to shut down and restart TTanks. You only need to press the F4 to quickly update your tank to the PURPLE skin.

Re: Quick Skin Changer

Posted: Tue Jun 02, 2009 11:12 am
by Metal
Hey thanks this is useful!

Re: Quick Skin Changer

Posted: Tue Jun 16, 2009 1:35 am
by Cadc
huh, intresting :|

Re: Quick Skin Changer

Posted: Mon Jul 13, 2009 10:57 pm
by Ice mom KT
all i have is a normal tank skin and when i press F4 all it dose is lag me alot. if i need to change to a non-stock skin i have no idea how to do that... plz help. i think it would be nice to have a diffent skin than normal.. im sick of the stock skins

Re: Quick Skin Changer

Posted: Wed Sep 30, 2009 4:16 pm
by aaa
Wow, this is good for all the -RT- members too.
They should read this.
Quick change to -RT- Skin Now!!! :lol: