Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Hats (https://forums.graalonline.com/forums/showthread.php?t=22813)

thomasward 02-02-2002 10:13 AM

Hats
 
I know this is pretty basic but you can't exactly call me a good scripter so can someone tell me the script I'd use if I wanted to try out hats offline. Just the script that I'd use so I can pick them up and try them on.

zell12 02-02-2002 10:15 AM

its Server Side (I think) which means ya can only use it with a npc server (p2p)

thomasward 02-02-2002 10:19 AM

Well I can remember I had a level which had the script. All I had to do was touch the npc and it gave me the hat. To change the hat I just had to edit a bit in the script...like change hat0.png to hat1.png...so someone should be able to help me.

lordhelmut 02-02-2002 10:33 AM

Umm its #p1 I think for NPCs

zell12 02-02-2002 10:41 AM

thats the index for the, so you can set up to 4 I think
like setani hat,#p1;

darkriders_p2p 02-02-2002 10:50 AM

hats are cool
 
I would like someone to teach meh how to make a hat NPC thing were you pick up hats and can cycle throught them like on p2p( like the Frolic food system).I think someone else posted something about a hat maker (KJS ...memory is going on meh:P)

nyghtGT 02-02-2002 11:47 AM

Hats are Clientside, but they are only alowed on
pay servers...

nyghtGT 02-02-2002 01:46 PM

Quote:

Originally posted by Kaimetsu
I think you just set #p1 to a hat image, don't you?
yes, that is correct ...

darkriders_p2p 02-02-2002 09:27 PM

p2p
 
k,I am making a p2p with somebody,could someone please take 30 minutes and write up a guide to make the Hat system,I know it involves showimg,and probably arrays.

Kadar 02-02-2002 09:39 PM

Re: p2p
 
Quote:

Originally posted by darkriders_p2p
k,I am making a p2p with somebody,could someone please take 30 minutes and write up a guide to make the Hat system,I know it involves showimg,and probably arrays.
... sad
if (playerchats&&startswith(hat,#c)){
tokenize #c;
setplayerprop #P1,hat#t(1).png;
}

or something liek that

darkriders_p2p 02-02-2002 10:00 PM

haha
 
I want the same type of system like from g2k1 not that,that ish be the easy way to make it and people would always have shoguns on.:o

Python523 02-02-2002 10:48 PM

Re: p2p
 
Quote:

Originally posted by darkriders_p2p
k,I am making a p2p with somebody,could someone please take 30 minutes and write up a guide to make the Hat system,I know it involves showimg,and probably arrays.
Someone could make it but you porbably wouldnt understand it at all, I heard the script was mostly sin and cos though

darkriders_p2p 02-02-2002 11:10 PM

I understand that...
 
I have took sin,cos and tan (sinus,cosinus,and tangent),these things have to do with triangles,and other things like that.

Python523 02-03-2002 12:07 AM

If you understand it then why not make it?

darkriders_p2p 02-03-2002 12:27 AM

I have no idea where to start,even if someone could send me a section of the script I could do it.


All times are GMT +2. The time now is 05:26 PM.

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