Poll

Will you consider making a cusom hat pack?

Yes
191 (30.2%)
No
84 (13.3%)
Where is the bathroom?
358 (56.6%)

Total Members Voted: 628

Author Topic: Simple Well Hat Mod v3 [PH]  (Read 79366 times)

Hat Mod (v3)

UPDATE:
You can* now submit your hats to me via PM.
If they are good enough. I will add them to the pack. Along with your name on the credits.
*You don't have to submit them to me, you can release on your own using the pack format below.

Features

AFK Kicker (By default Kicks after 300 seconds)
Can be enabled/disabled with /afk
Changing the AFK time with /afktime <TIME>
Warns you if you are about to be kicked for afk.

Cheater's Lament
A secret hat is awarded (randomly) to those who have never been afk on your server.

On the other hand, it can also be removed if you become afk.


Hats
There are 9 hats. Based off of the item drop system in Team Fortress 2.
Hats can be found* by random every 25 minutes on the server.
You can view your found hats by typing /hat

You can wear one of your hats by typing /hat <name of hat here>

*You have a 50% chance of finding a hat every roll.

Download
Click here



How to make your own hats!

Download the base hat ms3d!
http://www.mediafire.com/?dty1d4amyua

Quote
1. Create your model, size it appropriately.
2. Create a new "yourhat.cs" in this ITEMS folder.
3. Edit your CS to look something like this.
-----------------------------------------------------
AddHAT("YourHat","YourhatImage",0);

datablock ShapeBaseImageData(YourhatImage)
{
shapeFile = "./SHAPES/Yourhat.dts";
emap = true;
mountPoint = $HeadSlot;
offset = "0 0.02 0.3";
eyeOffset = "0 0 0.4";
rotation = eulerToMatrix("0 0 0");
scale = "0.1 0.1 0.1";
doColorShift = false;
colorShiftColor = "0.392 0.196 0.0 1.000";
};
-----------------------------------------------------
4. Put your DTS model into the ITEMS/SHAPES folder.
5. Please note. DO NOT edit any of the default hat mod scripts.
Your hat.cs will auto execute.


Pandan, is there any way to test hats I've made?
Yes there is. Simply download this http://www.mediafire.com/?hmmymenif04
(hat testing addon)
Put your model in there, name it "hattest.dts"
Then, while in-game. type /hattest



Credits
Scripting: Mr.Doom
Models: Pandan
秘密の帽子はHaloです。
« Last Edit: November 29, 2009, 02:42:00 AM by MtnDew »

Another awesome add-on.

Good Job.

Because below post

FIRST POST
« Last Edit: September 18, 2009, 08:26:00 PM by trumpetfan »

inb4firstpost

Edit: forget.

Hooray

Hope people don't figure out any exploits

Cheers, mate


i'm going to make a halo.

 :cookieMonster:

never mind, time to make a TDM
« Last Edit: September 04, 2009, 05:39:48 PM by kakashi11 »


**Cough**
It's the secret hat ;D
Which is not so secret anymore


**Cough**
It's the secret hat ;D
lol opera doesn't make text small :D


do you keep the hats forever once you have them?

And super great idea. a reason for idiots to stop afking on your server.

Now we just need a more advanced one for people who dont follow rules >:(

It saves hats.

Join a server, Get a hat.
Leave the server, come back.. You still have the hats!
« Last Edit: September 04, 2009, 05:52:44 PM by MtnDew »

It's saves hats.

Join a server, Get a hat.
Leave the server, come back.. You still have the hats!

IT IS SAVES HATS?

YOU'RE WINNER

 :cookieMonster:

-:O-
Oh! Don't get the wrong idea. This isn't global.
It's a per-server saving system.

Oh, Simple mistake.

You don't need to make a scene about it.
Thanks. Now duckmeister is going to stuff all over the topic.
Thanks a lot.
« Last Edit: September 04, 2009, 05:53:37 PM by MtnDew »