DAZZLE'S UPGRADE PACK

If you haven't already done so, upgrade your game by downloading Dazzle's all-in-one upgrade pack. It comes with everything you need for today's servers. Does your blue bar freeze when joining servers? Do you lag in games? Do you get an annoying siren in Phobik's Servers? This is what you need. CLICK HERE TO DOWNLOAD.

Quick Skin Changer

Share or download skins here.

Moderators: Admin, Moderator

Post Reply
Triv
Veteran Member
Veteran Member
Posts: 159
Joined: Mon Jan 22, 2007 6:32 pm
Contact:

Quick Skin Changer

Post 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();" );
Cylicon460
Veteran Member
Veteran Member
Posts: 1011
Joined: Fri Jun 29, 2007 6:38 am
Location: C.L.E.

Re: Quick Skin Changer

Post 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
Triv
Veteran Member
Veteran Member
Posts: 159
Joined: Mon Jan 22, 2007 6:32 pm
Contact:

Re: Quick Skin Changer

Post 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.
User avatar
Metal
Need Major Repair
Need Major Repair
Posts: 1278
Joined: Fri Dec 26, 2008 5:48 pm

Re: Quick Skin Changer

Post by Metal »

Hey thanks this is useful!
User avatar
Cadc
Veteran Light
Veteran Light
Posts: 1172
Joined: Thu Dec 28, 2006 9:17 pm
Location: Lafayette
Contact:

Re: Quick Skin Changer

Post by Cadc »

huh, intresting :|
User avatar
Ice mom KT
Need Major Repair
Need Major Repair
Posts: 768
Joined: Thu Mar 19, 2009 5:32 pm
Location: Bay Area - California
Contact:

Re: Quick Skin Changer

Post 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
Image
User avatar
aaa
Need Major Repair
Need Major Repair
Posts: 760
Joined: Tue Nov 04, 2008 5:47 pm
Location: North Smithfield, Rhode Island
Contact:

Re: Quick Skin Changer

Post by aaa »

Wow, this is good for all the -RT- members too.
They should read this.
Quick change to -RT- Skin Now!!! :lol:
Image
Image
Image
Post Reply