Disable hats?

9 replies [Last post]
Lyberta
Lyberta's picture
User offline. Last seen 8 hours 13 min ago. Offline
Joined: 2016-09-10
Posts: 99

Hats remind me of Team Fortress 2 and I really really really hate TF2. Is it possible to disable hats so all hogs always wear no hat?

UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 17 hours 37 min ago. Offline
Joined: 2016-06-26
Posts: 207

Only in your scripts ???

Then i may provide a simple codes here :

local AllHogs = {}

function onGearAdd(gear)
   if GetGearType(gear) == gtHedgehog then
      table.insert(AllHogs, gear)
   end
end

function onGameStart()
   for k,v in pairs(AllHogs) do
      if GetHogHat(v) ~= "NoHat" then
         SetHogHat(v, "NoHat")
      end
   end
end

Hope can works and solve it ^^

]{

Gamer Curses
[ I Have Play MANY Games from Strategy to FPS. Such as :
-Hedgewars ; -WC ; -DoTA ; DoTA 2 ; -COD : Any ; -SC ; -Endless Space ; -Spore ; -God Of War ; -Mortal Combat ; -Skyrim ; -Final Fantasy ; -GTA ; --Tons in Computer ; -Tons of PS3 ; -Really Tons of PS2 ; -Also XBox ; -Mobile ; -Mario Too >_< ; -And More
xD ...
Its just simply Overdose ;/
Those are The Curses of Me ;-|
But I improved to get RID OF EM' ^^ !!! Except this one :DDD
]

Lyberta
Lyberta's picture
User offline. Last seen 8 hours 13 min ago. Offline
Joined: 2016-09-10
Posts: 99

Nope, globally.

UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 17 hours 37 min ago. Offline
Joined: 2016-06-26
Posts: 207

So,,,
I Get The Ultimate Solutions for you about DISABLE EVERY HATS IN HW GLOBALLY...

How :
DELETE EVERY SINGLE HATS FOR HEDGEWARS IN YOUR COMPUTER !!!
Or :
REPLACE ALL THOSE HATS WITH "NoHat" OR SOMETHING YOU WOULD PREFER MORE !!!
IF not working, LAST ONE :
FORMAT ALL YOUR HARDISK IN YOUR COMPUTER AND YOUR FAMILY COMPUTER !!!

I guarantee 99% Works Perfectly and solve the Roots and the Ground of it,
Which AFAIK Will Works Globally, and every game you wanna play with will provide you full Privacy of TF2 Protections of Hats ( math.abs(math.sqrt(x^2) ) )

if none can,,, then idk what to do ;/

]{

Gamer Curses
[ I Have Play MANY Games from Strategy to FPS. Such as :
-Hedgewars ; -WC ; -DoTA ; DoTA 2 ; -COD : Any ; -SC ; -Endless Space ; -Spore ; -God Of War ; -Mortal Combat ; -Skyrim ; -Final Fantasy ; -GTA ; --Tons in Computer ; -Tons of PS3 ; -Really Tons of PS2 ; -Also XBox ; -Mobile ; -Mario Too >_< ; -And More
xD ...
Its just simply Overdose ;/
Those are The Curses of Me ;-|
But I improved to get RID OF EM' ^^ !!! Except this one :DDD
]

nemo
nemo's picture
User offline. Last seen 19 hours 59 min ago. Offline
Joined: 2009-01-28
Posts: 1483

You can delete hats from your hats folder. I'm not totally sure you can safely remove Reserved subfolder and be sure to keep NoHat.png, but everything else can be erased.

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

sheepluva
sheepluva's picture
User offline. Last seen 3 hours 16 min ago. Offline
Joined: 2009-07-18
Posts: 497

nemo allegedly wrote:

You can delete hats from your hats folder. I'm not totally sure you can safely remove Reserved subfolder and be sure to keep NoHat.png, but everything else can be erased.

Er, also the reserved Zombie-"Hat" might or might not be mandatory due to resurrection using it?

  sheepluva <- me  my code stats -> 
a Hedgewars Developer


   <- where I'm from  what I speak -> 

nemo
nemo's picture
User offline. Last seen 19 hours 59 min ago. Offline
Joined: 2009-01-28
Posts: 1483

Zombie is in the Reserved folder for that reason. It's the reason I was thinking he should hang on to that folder.
Would have to RTFS to see if failure to load the reserved Zombie would fallback to NoHat. It might, was just feeling lazy, and, eh, leave our Reserved hats alooooone! ☺

--
Oh, what the heck. 1PLXzL1CBUD1kdEWqMrwNUfGrGiirV1WpH <= tip a hedgewars dev

Lyberta
Lyberta's picture
User offline. Last seen 8 hours 13 min ago. Offline
Joined: 2016-09-10
Posts: 99

Alright, I think I'll delete most of the hats. Btw, there's a shitload of copyright infringement in that folder.

UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 17 hours 37 min ago. Offline
Joined: 2016-06-26
Posts: 207

Right on Big Grin

Btw, why you Hate TFT 2 C; ???

Gamer Curses
[ I Have Play MANY Games from Strategy to FPS. Such as :
-Hedgewars ; -WC ; -DoTA ; DoTA 2 ; -COD : Any ; -SC ; -Endless Space ; -Spore ; -God Of War ; -Mortal Combat ; -Skyrim ; -Final Fantasy ; -GTA ; --Tons in Computer ; -Tons of PS3 ; -Really Tons of PS2 ; -Also XBox ; -Mobile ; -Mario Too >_< ; -And More
xD ...
Its just simply Overdose ;/
Those are The Curses of Me ;-|
But I improved to get RID OF EM' ^^ !!! Except this one :DDD
]

Lyberta
Lyberta's picture
User offline. Last seen 8 hours 13 min ago. Offline
Joined: 2016-09-10
Posts: 99

Because I invested thousands of hours making TF 2 maps and server side plugins and after that Valve added hats and started selling them.

TF2 made me realize that proprietary software is a criminal offense and free software is a solution.

Copyright © 2004-2017 Hedgewars Project. All rights reserved. [ contact ]