Graal Forums  

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

Closed Thread
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-13-2002, 01:48 PM
TigerKenneth TigerKenneth is offline
Registered User
Join Date: Jun 2002
Location: Idaho
Posts: 6
TigerKenneth is on a distinguished road
scripting a race chooser

i need help im making a rpg game for my friends at home and was wondering iof any one could tell me or make me a script mmuch to the point of valkorlia's begining where you choose your occupation and race thanks for anyone who helps me out
__________________
Duo_Xan Of D_C
  #2  
Old 06-13-2002, 01:55 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
val's is just a ripoff of providences
  #3  
Old 06-13-2002, 02:12 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
Re: scripting a race chooser

Quote:
Originally posted by TigerKenneth
i need help im making a rpg game for my friends at home and was wondering iof any one could tell me or make me a script mmuch to the point of valkorlia's begining where you choose your occupation and race thanks for anyone who helps me out
Asking for scripts will get this thread deleted.

  #4  
Old 06-13-2002, 09:00 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
-FooL-

Commands.rtf is your friend.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
  #5  
Old 06-14-2002, 01:35 PM
TigerKenneth TigerKenneth is offline
Registered User
Join Date: Jun 2002
Location: Idaho
Posts: 6
TigerKenneth is on a distinguished road
so this will get deleted well i ddint know my bad but if its a rip off providences some one help me learn how to make it plz i want it bad my game has like 20 races and 15 professions and i have no clue how to go to it someone help me plz you can reach me at [email protected]

thanks
__________________
Duo_Xan Of D_C
  #6  
Old 06-14-2002, 09:37 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura about
Send a message via AIM to adam
Re: Re: scripting a race chooser

Quote:
Originally posted by nyghtGT

Asking for scripts will get this thread deleted.

Hmmm... haven't seen Kai lately have you.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
  #7  
Old 06-15-2002, 02:36 AM
draygin draygin is offline
Telmont Bandit
draygin's Avatar
Join Date: Feb 2002
Location: Ohio
Posts: 2,550
draygin is on a distinguished road
Quote:
Originally posted by TigerKenneth
so this will get deleted well i ddint know my bad but if its a rip off providences some one help me learn how to make it plz i want it bad my game has like 20 races and 15 professions and i have no clue how to go to it someone help me plz you can reach me at [email protected]

thanks
Let me get this straight you're maknig a game and you cant even do something as simple as that. LOL pardon me while I laugh my ass off.
__________________

I stole Spanky's gold!
  #8  
Old 06-18-2002, 12:50 PM
TigerKenneth TigerKenneth is offline
Registered User
Join Date: Jun 2002
Location: Idaho
Posts: 6
TigerKenneth is on a distinguished road
if the thing is that frickin easy then show me up and help me out i dont care if im stupid figuring this out on my own with nothing to go on is hard call me stupid if u want but someone has to help me cmon guys
__________________
Duo_Xan Of D_C
  #9  
Old 06-18-2002, 01:07 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura about
Send a message via AIM to adam
You need to be able to select Class and Kingdom and stuff? that's all?




NPC Code:

if (playertouchsme){
setstring class,classname;
}




Depends on how you wanna do it. There are a few ways but A string is as easy as any.





Although im prabably totally wrong as to what your trying to do....
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
  #10  
Old 06-20-2002, 12:24 AM
TigerKenneth TigerKenneth is offline
Registered User
Join Date: Jun 2002
Location: Idaho
Posts: 6
TigerKenneth is on a distinguished road
no go play valkorlia and you know at the begining? i want it like that where it has the menu and everything. im pretty sure i can do the jobs part but if you have any info or tips they would be greatful and thanks fo trying to help
__________________
Duo_Xan Of D_C
  #11  
Old 06-20-2002, 02:29 AM
BLOOD_kane BLOOD_kane is offline
Registered User
Join Date: Jun 2002
Location: Stephenville, TX, USA
Posts: 190
BLOOD_kane is on a distinguished road
Send a message via AIM to BLOOD_kane
vals been around alot longer than providence...remember when it was just Kharlia and you had to get to it thru his house?
__________________

I’ve been evicted, erase me from the face of the planet
Cause your world got my outlook damaged. My minds stuck inside a cycle of depression. The reflection Can you feel me?
Look in the mirror, tell me do you see clearly?
They have it shattered and cracked, it’s so crazy
My minds stuck inside a cycle of depression. The reflection
  #12  
Old 06-20-2002, 04:43 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Val isn't the same now, it is run by different people a different way =\
__________________

subliminal message: 1+1=3
  #13  
Old 06-20-2002, 04:45 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by BLOOD_kane
vals been around alot longer than providence...remember when it was just Kharlia and you had to get to it thru his house?
virtue the manager took a lot of stuff from providence when he left providence (he was admin)
  #14  
Old 06-20-2002, 07:19 AM
Gohan43331 Gohan43331 is offline
Registered User
Join Date: Jan 2002
Posts: 87
Gohan43331 is on a distinguished road
Send a message via AIM to Gohan43331
If you are looking for a menu type thing, I might be able to start you off:
First: When the player does something, set off a timeout with "timeout = .05;"
Next you want to check for keydowns and such, ex: up = 0, left = 1, down = 2, right = 3. Sideways, Up/down...anything that bursts your bubble.
NPC Code:

if (timeout) {
if (keydown(0)) {
this.choose--; // Menu Chooser Up
}
if (keydown(2)) {
this.choose++; // Menu Chooser Down
}
timeout = .05; // Continue the loop.
}


Then you want to display stuff, which would be showimg (check commands.rtf for syntax.
Then after that, the selector...check commands.rtf under keydown() for the numbers for other keys besudes up/down/left/right.
I probably said a little too much for my liking... :-/
Gohan
__________________
  #15  
Old 06-20-2002, 07:51 AM
Andor_RC9 Andor_RC9 is offline
Registered User
Join Date: Feb 2002
Location: U.S.A - Ohio
Posts: 84
Andor_RC9 is on a distinguished road
Send a message via ICQ to Andor_RC9 Send a message via AIM to Andor_RC9 Send a message via Yahoo to Andor_RC9
Very good gohan, you were the only one who actually put forth a little effort into helping
Closed Thread

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 10:47 AM.


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