Page 1 of 1

TF2Hats mod

Posted: 03 Sep 2013, 00:38
by RedDynasty
Well after a long time i stopped being a lazy *love* and moved on with this mod.
Started from this thread: http://www.gravity-world.com/viewtopic.php?f=1&t=3938 i finally got a first version of this.
So far there are 2 hats from tf2 imported: http://wiki.teamfortress.com/wiki/File:Samur-Eye.png and http://wiki.teamfortress.com/wiki/File: ... E6E6E6.png

Summon codes: tf2hats.kabuto( the model it self)
tf2hats.kabutohat(the weapon that places the hat on your head)
tf2hats.crown
tf2hats.crownhat
To do list:
-Fix the problem with the kabuto
-Totaly revamp this into a mutator( won't be able to do this on my own)
-Add more hats
-Add Miscs
-Add unusual effects

If you have some spare time and could help me on this mod, please do!

Special thanks to:
Atrey- for helping with exporting
Poor- for giving me the idea on how to place the hats
DJ- For helping me with the code (Goddamn ](*,) )

Re: TF2Hats mod

Posted: 03 Sep 2013, 10:43
by DroneAlien
Cool mod, good work :)

Anyway, it gives me some script warning on server , like this :

ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None
ScriptWarning: Crownhat DXMP_CybrisSector2.Crownhat0 (Function TF2Hats.Crownhat.Tick:005F) Accessed None

Re: TF2Hats mod

Posted: 04 Sep 2013, 10:20
by chin.democ.
Welcome to the forums DroneAlien! :-)

Re: TF2Hats mod

Posted: 04 Sep 2013, 10:41
by ~][FGS][Nobody~
Sigh.. Accessed Nones within the Tick function are THE performance killer per se. [-X

Re: TF2Hats mod

Posted: 04 Sep 2013, 11:21
by ~DJ~
NO SPECIAL THANKS FOR ME? [-(

:-({|= :-({|= :-({|= :-({|= :-({|= :-({|= :-({|= :-({|= :-({|=

Re: TF2Hats mod

Posted: 04 Sep 2013, 12:04
by DroneAlien
chin.democ. wrote:Welcome to the forums DroneAlien! :-)
Thank you chin :P

Re: TF2Hats mod

Posted: 04 Sep 2013, 14:35
by atrey65789
~DJ~ wrote: :-({|= :-({|= :-({|= :-({|= :-({|= :-({|= :-({|= :-({|= :-({|=

I have never heard such a beautiful sound... *sniff*

Re: TF2Hats mod

Posted: 05 Sep 2013, 15:58
by ShadowRunner
Congratulations but the Screenshot police will be knocking on your door later.

Good effort.

Re: TF2Hats mod

Posted: 05 Sep 2013, 21:18
by Vexus
Make sure you put something like if (DeusExPlayer(Owner) != none) in the tick function to avoid that script warning