Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   PlayerWorlds Main Forum (https://forums.graalonline.com/forums/forumdisplay.php?f=15)
-   -   Hats. (https://forums.graalonline.com/forums/showthread.php?t=49338)

DIABLO2099 11-28-2003 12:54 AM

Hats.
 
I'm in the process of making a new hat shop for UN which will have some brand new hats made by the GATs who work here. However, before (and still to this date), there was a problem with custom playerworld hats overwriting global ones and also overwriting other servers' hats. I believe hats must have at least 3 digits after the word 'hat' in the filename for it to actually work online. So this brings me to my question...I want to know what hat numbers are safe to use without overwriting globally made ones, if any at all. Thanks in advance for any help.

Lance 11-28-2003 01:02 AM

There are no 'global hats', per se.

The hat standard is graal2001.

Other servers are supposed to have different names, starting with something like hat_servername#.png so as to not overwrite the graal2001 ones in the webgifs folder.

DIABLO2099 11-28-2003 01:07 AM

Hmm, I see. Would having a name other than hat###.png have an effect on it working online? I know when I used more than 3 digits it didn't work, so I'm not sure if having it as un_hat###.png would work either.

Lance 11-28-2003 01:09 AM

Quote:

Originally posted by DIABLO2099
Hmm, I see. Would having a name other than hat###.png have an effect on it working online? I know when I used more than 3 digits it didn't work, so I'm not sure if having it as un_hat###.png would work either.
It should work just fine.

DIABLO2099 11-28-2003 01:10 AM

Hm, alright I'll have to change the hat system slightly, but I'll let you guys know how it turns out. Thanks Lance.

Lance 11-28-2003 01:11 AM

Welcome. If there're any problems with it, I'll be glad to take a look. You know how to contact me. :D

matt8891 11-28-2003 05:06 AM

Hats
 
Are there certain hats that cannot/shouldnt be downloaded on servers since some of the servers made them thereselves?

DIABLO2099 11-28-2003 06:05 AM

Re: Hats
 
Quote:

Originally posted by matt8891
Are there certain hats that cannot/shouldnt be downloaded on servers since some of the servers made them thereselves?
Well there's no way to distinguish them as is. I guess if server's saved their files as servername_hat### then they could actually claim it.

Spark910 11-28-2003 12:11 PM

Re: Re: Hats
 
Quote:

Originally posted by DIABLO2099

Well there's no way to distinguish them as is. I guess if server's saved their files as servername_hat### then they could actually claim it.

However most are 2001s with just a rename and sometimes slight edit such as re-colour.

Scott 11-28-2003 05:13 PM

Re: Re: Re: Hats
 
Quote:

Originally posted by Spark910


However most are 2001s with just a rename and sometimes slight edit such as re-colour.

Which should be prohibited, but whatever.

--Chris-- 11-28-2003 06:45 PM

Some PW over-wrote my FAQ hat on 2k1 (hat210) :(

KuJiGX 12-06-2003 05:48 PM

Well if their using 2k1's hat-trading npc where it requires that hat must be in front of the #'s then un_hat wont work unless they change it to start with un_hat. Anyway.
Why wouldn't more then 3 digits work?

tlf288 12-06-2003 07:27 PM

i don't see why playerworlds don't name all their custom graphics <servername>_<graphic_name>.png ,

ETD 12-06-2003 11:38 PM

Quote:

Originally posted by tlf288
i don't see why playerworlds don't name all their custom graphics <servername>_<graphic_name>.png ,
hehe, KyleOdin (our Gfx Chief) made us do that
:P
all our graphics are like eoa_type_name

like eoa_tiles_normal.png (for the normal tileset)

tlf288 12-06-2003 11:56 PM

kyleodin is a smart guy.

KuJiGX 12-07-2003 05:54 AM

Hehe.
Wouldn't this be in Npc Scripting section?

Lance 12-07-2003 08:31 AM

Quote:

Originally posted by KuJiGX
Hehe.
Wouldn't this be in Npc Scripting section?

Why, when it has nothing to do with scripting?

DIABLO2099 12-07-2003 09:10 AM

UN has used our very own trading NPC from the beginning, the reason only 3 digits were allowed were because of the weapons script (I thought it was a requirement built into Graal). Right now we're rescripting another hat npc to use both hat###.png as well as un_hat###.png. All new hats (if any) will be made in the un_hat###.png form.


All times are GMT +2. The time now is 11:46 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.