Disable hats?

9 replies [Last post]
Lyberta
Lyberta's picture
User offline. Last seen 1 day 2 hours ago. Offline
Joined: 2016-09-10
Posts: 76

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 2 weeks 4 days ago. Offline
Joined: 2016-06-26
Posts: 192

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 ^^

]{

"A Idea is The Greatest Virus that can be Spreaded in way that can be say as Reckless, also that when Idea has Grasp our Brain and Mind, then it Almost Impossible to be Erased nor Abolished from Our Mind until the Death Comes... A Small Idea can be High as Sky could be and as Width as How Long Is Universe could be, because Idea is a Seed, a Seed of Infinity Trees that can be Grow as far as we can know, so it can Grow as far Our Universe Can be... Never Underestimate a Small Idea :D"

Lyberta
Lyberta's picture
User offline. Last seen 1 day 2 hours ago. Offline
Joined: 2016-09-10
Posts: 76

Nope, globally.

UltiMaxKom
UltiMaxKom's picture
User offline. Last seen 2 weeks 4 days ago. Offline
Joined: 2016-06-26
Posts: 192

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 ;/

]{

"A Idea is The Greatest Virus that can be Spreaded in way that can be say as Reckless, also that when Idea has Grasp our Brain and Mind, then it Almost Impossible to be Erased nor Abolished from Our Mind until the Death Comes... A Small Idea can be High as Sky could be and as Width as How Long Is Universe could be, because Idea is a Seed, a Seed of Infinity Trees that can be Grow as far as we can know, so it can Grow as far Our Universe Can be... Never Underestimate a Small Idea :D"

nemo
nemo's picture
User offline. Last seen 33 min 57 sec ago. Offline
Joined: 2009-01-28
Posts: 1455

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 6 days 4 hours ago. Offline
Joined: 2009-07-18
Posts: 490

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 33 min 57 sec ago. Offline
Joined: 2009-01-28
Posts: 1455

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 1 day 2 hours ago. Offline
Joined: 2016-09-10
Posts: 76

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 2 weeks 4 days ago. Offline
Joined: 2016-06-26
Posts: 192

Right on Big Grin

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

"A Idea is The Greatest Virus that can be Spreaded in way that can be say as Reckless, also that when Idea has Grasp our Brain and Mind, then it Almost Impossible to be Erased nor Abolished from Our Mind until the Death Comes... A Small Idea can be High as Sky could be and as Width as How Long Is Universe could be, because Idea is a Seed, a Seed of Infinity Trees that can be Grow as far as we can know, so it can Grow as far Our Universe Can be... Never Underestimate a Small Idea :D"

Lyberta
Lyberta's picture
User offline. Last seen 1 day 2 hours ago. Offline
Joined: 2016-09-10
Posts: 76

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-2015 Hedgewars Project. All rights reserved. [ contact ]