Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-02-2002, 10:13 AM
thomasward thomasward is offline
Registered User
Join Date: Jan 2002
Location: Look behind you!
Posts: 346
thomasward is on a distinguished road
Send a message via AIM to thomasward
Question 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.
__________________
Malhangaia Co Manager
Reply With Quote
  #2  
Old 02-02-2002, 10:15 AM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 will become famous soon enough
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
its Server Side (I think) which means ya can only use it with a npc server (p2p)
__________________
Reply With Quote
  #3  
Old 02-02-2002, 10:19 AM
thomasward thomasward is offline
Registered User
Join Date: Jan 2002
Location: Look behind you!
Posts: 346
thomasward is on a distinguished road
Send a message via AIM to thomasward
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.
__________________
Malhangaia Co Manager
Reply With Quote
  #4  
Old 02-02-2002, 10:33 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
Umm its #p1 I think for NPCs
Reply With Quote
  #5  
Old 02-02-2002, 10:41 AM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 will become famous soon enough
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
thats the index for the, so you can set up to 4 I think
like setani hat,#p1;
__________________
Reply With Quote
  #6  
Old 02-02-2002, 10:50 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
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)
__________________
maximus_asinus
Reply With Quote
  #7  
Old 02-02-2002, 11:47 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Hats are Clientside, but they are only alowed on
pay servers...
Reply With Quote
  #8  
Old 02-02-2002, 01:46 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by Kaimetsu
I think you just set #p1 to a hat image, don't you?
yes, that is correct ...
Reply With Quote
  #9  
Old 02-02-2002, 09:27 PM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
Thumbs up 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.
__________________
maximus_asinus
Reply With Quote
  #10  
Old 02-02-2002, 09:39 PM
Kadar Kadar is offline
Registered User
Join Date: Jan 2002
Posts: 636
Kadar is on a distinguished road
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
__________________
Reply With Quote
  #11  
Old 02-02-2002, 10:00 PM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
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
__________________
maximus_asinus
Reply With Quote
  #12  
Old 02-02-2002, 10:48 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
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
Reply With Quote
  #13  
Old 02-02-2002, 11:10 PM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
Cool 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.
__________________
maximus_asinus
Reply With Quote
  #14  
Old 02-03-2002, 12:07 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
If you understand it then why not make it?
Reply With Quote
  #15  
Old 02-03-2002, 12:27 AM
darkriders_p2p darkriders_p2p is offline
Registered User
Join Date: Jan 2002
Location: Canada
Posts: 690
darkriders_p2p is on a distinguished road
Smile

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:02 AM.


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