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 08-05-2005, 09:32 PM
alissalee alissalee is offline
Mr. Ciprioni Atrius Admin
alissalee's Avatar
Join Date: Dec 2004
Location: Lawrence, Ma
Posts: 190
alissalee is an unknown quantity at this point
Send a message via AIM to alissalee Send a message via MSN to alissalee
Hat System

Ok i am not asking agan but i wanna know how to script a hat system for items so when u buy it it gose stright to that item so when u lauch the itme it has the hats in a crcle around ur head and it shows the hat gfx
Reply With Quote
  #2  
Old 08-05-2005, 09:55 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
I think now is an awesome time to ask you:

Are you, or do you ever plan on becoming, a scripter?
Reply With Quote
  #3  
Old 08-05-2005, 10:08 PM
Bl0nkt Bl0nkt is offline
Era Developer
Bl0nkt's Avatar
Join Date: Mar 2005
Location: Pennsylvania
Posts: 1,589
Bl0nkt will become famous soon enough
Send a message via AIM to Bl0nkt
Quote:
Originally Posted by alissalee
Ok i am not asking agan but i wanna know how to script a hat system for items so when u buy it it gose stright to that item so when u lauch the itme it has the hats in a crcle around ur head and it shows the hat gfx
That's a little complicated for you as of now.
Reply With Quote
  #4  
Old 08-05-2005, 10:09 PM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
You really shold learn to script. All you seem to do is ask for scripts.
And I doubt you even look over the scripts to see how they work. I may be wrong there but I don't think I am.
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #5  
Old 08-05-2005, 10:18 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
He needs a tutorial.
__________________
Reply With Quote
  #6  
Old 08-05-2005, 11:53 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
actually, i have trouble w/ this too, could you just tell me what commands i should use, not the script, just the commands. and as a note, don't ask for full scripts, just for a little help, you have to do most of it your self, the best way to learn though is to look at other scripts may i suggest www.graal.net? they post scripts there and it can help you learn from examples. DON'T just copy paste, learn from them, make them better etc. this way you can script cool things all on your own
Reply With Quote
  #7  
Old 08-06-2005, 02:42 AM
alissalee alissalee is offline
Mr. Ciprioni Atrius Admin
alissalee's Avatar
Join Date: Dec 2004
Location: Lawrence, Ma
Posts: 190
alissalee is an unknown quantity at this point
Send a message via AIM to alissalee Send a message via MSN to alissalee
i am trying to i just started scripting this week and i am haveing a hard time and yes i do look over em to see if they work
Reply With Quote
  #8  
Old 08-07-2005, 01:47 AM
xXDuMajuXx xXDuMajuXx is offline
Corsein
Join Date: Mar 2005
Location: Home
Posts: 278
xXDuMajuXx is on a distinguished road
Send a message via AIM to xXDuMajuXx Send a message via MSN to xXDuMajuXx
excalibur, I've seen you dude, you ASK for the commands, not for the explanation. People explain but you ask "Can't you just add it in for me?". Sheesh.
Reply With Quote
  #9  
Old 08-07-2005, 02:09 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
because i already did most of the script, i didn't kno where to add it and i really only need commands, i am a pretty good scripter
Reply With Quote
  #10  
Old 08-07-2005, 05:27 AM
Blitz_Hunter Blitz_Hunter is offline
dot dot dot
Blitz_Hunter's Avatar
Join Date: Oct 2002
Location: Missouri
Posts: 601
Blitz_Hunter is on a distinguished road
Send a message via AIM to Blitz_Hunter
rofl.. if you're a pretty good scripter why you keep asking people on how to do basic scripts
__________________
-em3ricR-
Reply With Quote
  #11  
Old 08-07-2005, 09:49 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Baby steps, my friends. You don't learn to run before you learn to walk. Some things are just out of your league and you should accept that and try some simpler things.
Reply With Quote
  #12  
Old 08-07-2005, 01:01 PM
xXDuMajuXx xXDuMajuXx is offline
Corsein
Join Date: Mar 2005
Location: Home
Posts: 278
xXDuMajuXx is on a distinguished road
Send a message via AIM to xXDuMajuXx Send a message via MSN to xXDuMajuXx
Quote:
because i already did most of the script, i didn't kno where to add it and i really only need commands, i am a pretty good scripter
Dude, you was using a deprecated command the other day, let alone toweapons, and not knowing setlevel2 was serverside.
Reply With Quote
  #13  
Old 08-07-2005, 03:25 PM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
If you have to ask, you're not good enough to do it. If you thoroughly read and understood the commands.txt and probably most of the GS2 documents, do so.
Reply With Quote
  #14  
Old 08-07-2005, 08:15 PM
alissalee alissalee is offline
Mr. Ciprioni Atrius Admin
alissalee's Avatar
Join Date: Dec 2004
Location: Lawrence, Ma
Posts: 190
alissalee is an unknown quantity at this point
Send a message via AIM to alissalee Send a message via MSN to alissalee
u know f this i am just ganna ask for some help on makeing one
Reply With Quote
  #15  
Old 08-07-2005, 09:57 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally Posted by alissalee
u know f this i am just ganna ask for some help on makeing one
Don't get angry and yell at us because of your own incompetence.

Also, it may help your cause if you would take some time in your post.
  • Do not use single letters for words. It is not much harder to type 'you'.
  • Capitalization and punctuation are your friends. They really, really are.
  • When in doubt, use a spell checking. Makeing -> making. Usually when the -ing suffix is added to a word ending with an 'e', the 'e' is dropped.
  • It helps to follow English spelling and grammar standards when making posts.

Last edited by Python523; 08-08-2005 at 03:05 AM..
Reply With Quote
  #16  
Old 08-08-2005, 02:53 AM
Chicken_l33t Chicken_l33t is offline
Banned
Join Date: Sep 2002
Location: NewZealand
Posts: 467
Chicken_l33t is on a distinguished road
Alissa, go here. http://www.geocities.com/ace2896/nsb/index.html
It's the newbie scripters bible. and it helped me out alot back when I first started scripting.

Scripting a hat system. and or just a hat NPC is not too hard. If you take a bit of time to read through that. and maybe find some more you should be capable of doing it.

Quote:
When it doubt, use a spell checking. Makeing -> making. Usually when the -ing suffix is added to a word ending with an 'e', the 'e' is dropped.
I think you meen in, but maybe you put it there on purpose. Just pointing it out
Reply With Quote
  #17  
Old 08-08-2005, 03:39 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Want to know something? I personally think the best way to learn is to watch other people script. I had a friend a while ago who had wanted to make his own server. He wasn't the world's greatest scripter but he did know quite a few things. When I was learning how to script, he gave me scripts for things all the time. I would look at the scripts, try to find errors, and watch how they worked. For example, he once gave me this script:
if(playerenters){hidelocal}
if(playerchats&&strequals(#c,buy coffee)&&playerrupees>4){playerrupees=playerrupees-5;
showlocal}
if(playertouchsme){playerhearts=playerhearts+2;
hide}
this was a simple script made for buying coffee. I looked at it for a while, and used it for a small graal-like game I made for Spanish class. (Yeah, I made a game for Spanish class I wasn't good at scripting, levels designing or anything else, but I made like a ten level game that everyone in my class was highly impressed with ) Anyway, there was no coffee in my game. I used arroz con pollo . And it was free, since I was making a short game. I had saw into the scripting and figured out how to change things. For example it wasn't much later that I made this:
if(playerenters&&strequals(#a,Bortgg)){hidelocal}
(Bortgg was my first account) anyway, after that I went on and did much more, I learned a lot on my own, but I don't think I could have started if it had not been my friend giving me codes, with no explanations, and learning how the graal system works. So personally, I think the idea of no sharing scripts is bullcrap. Sure, maybe not the entire thing, but enough for them to learn from and create a great script on their own. The server my friend was making never got finished, I made Dark Rival by myself (w/ some help ). Point is, I'm a much better scripter than my 'teacher' was, and all he did was GIVE me a few scripts. Keep this long story in mind the next time you see a person asking for help. And if you have any questions, about anything graal, and no one wants to give you a script, or help, pm or e-mail me.
Reply With Quote
  #18  
Old 08-08-2005, 03:41 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by excaliber7388
Want to know something? I personally think the best way to learn is to watch other people script. I had a friend a while ago who had wanted to make his own server. He wasn't the world's greatest scripter but he did know quite a few things. When I was learning how to script, he gave me scripts for things all the time. I would look at the scripts, try to find errors, and watch how they worked. For example, he once gave me this script:
if(playerenters){hidelocal}
if(playerchats&&strequals(#c,buy coffee)&&playerrupees>4){playerrupees=playerrupees-5;
showlocal}
if(playertouchsme){playerhearts=playerhearts+2;
hide}
this was a simple script made for buying coffee. I looked at it for a while, and used it for a small graal-like game i made for spanish class. (Yeah, I made a game for spanish class i wasn't good at scripting, levels designing or anything else, but i made like a ten level game that everyone in my class was highly impressed with ) Anyway, there was no coffee in my game. I used arroz con pollo . And it was free, since i was making a short game. I had saw into the scripting and figured out how to change things. For example it wasn't much later that I made this:
if(playerenters&&strequals(#a,Bortgg)){hidelocal}
(Bortgg was my first account) anyway, after that i went on and did much more, i learned alot on my own, but i don't think i could have started if it had not been my friend giving me codes, with no explinations, and learning how the graal system works. So personally, I think the idea of no sharing scripts is bullcrap. Sure, maybe not the entire thing, but enough for them to learn from and create a great script on their own. The server my friend was making never got finished, I made Dark Rival by myself (w/ some help ). Point is, I'm a much better scripter than my 'teacher' was, and all he did was GIVE me a few scripts. Kepp this long story in mind the next time you see a person asking for help. And if you have any questions, about anything graal, and no one wants to give you a script, or help, pm or e-mail me.
Can you script?
Reply With Quote
  #19  
Old 08-08-2005, 03:44 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
wow i just posted that and it already got replies.......
>:O and yes i can script
Reply With Quote
  #20  
Old 08-08-2005, 03:45 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Can you script a hat system?
Reply With Quote
  #21  
Old 08-08-2005, 03:56 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
kinda, i made a hat system where you could buy a limited quantity from a shop, sell to other players, collect trade, etc. The only thing i am not sure on is how to make them appear in a circle, or line when you fire the weapon, for selection. So i just made a weapon for each one if i know how to do the scroll thing, i would be able to use flags for the hats, and use ony one weapon. See? I know
Reply With Quote
  #22  
Old 08-08-2005, 03:57 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
You know how to do it, kinda. But do you know how to code what you plan on doing?
Reply With Quote
  #23  
Old 08-08-2005, 04:25 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
everything but the scroll thing.
Reply With Quote
  #24  
Old 08-15-2005, 12:57 PM
alissalee alissalee is offline
Mr. Ciprioni Atrius Admin
alissalee's Avatar
Join Date: Dec 2004
Location: Lawrence, Ma
Posts: 190
alissalee is an unknown quantity at this point
Send a message via AIM to alissalee Send a message via MSN to alissalee
well can some one help me out wit the scriptiong of it
__________________
account was being used by jigga.... sorry for what he has said in the past
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 08:19 PM.


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