Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   scripting a race chooser (https://forums.graalonline.com/forums/showthread.php?t=31534)

TigerKenneth 06-13-2002 01:48 PM

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

Python523 06-13-2002 01:55 PM

val's is just a ripoff of providences :(

nyghtGT 06-13-2002 02:12 PM

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.

:D

Saga2001 06-13-2002 09:00 PM

-FooL-

Commands.rtf is your friend.

TigerKenneth 06-14-2002 01:35 PM

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

adam 06-14-2002 09:37 PM

Re: Re: scripting a race chooser
 
Quote:

Originally posted by nyghtGT

Asking for scripts will get this thread deleted.

:D

Hmmm... haven't seen Kai lately have you.

draygin 06-15-2002 02:36 AM

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.

TigerKenneth 06-18-2002 12:50 PM

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

adam 06-18-2002 01:07 PM

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.... :(

TigerKenneth 06-20-2002 12:24 AM

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

BLOOD_kane 06-20-2002 02:29 AM

vals been around alot longer than providence...remember when it was just Kharlia and you had to get to it thru his house?

Falcor 06-20-2002 04:43 AM

Val isn't the same now, it is run by different people a different way =\

Python523 06-20-2002 04:45 AM

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)

Gohan43331 06-20-2002 07:19 AM

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

Andor_RC9 06-20-2002 07:51 AM

Very good gohan, you were the only one who actually put forth a little effort into helping

Python523 06-20-2002 11:49 AM

I'm closing this, you have all that you need to know here, continue working on your script though, just use a timeout loop and some keydowns for cursor movement, then another one for selection, good luck :), if you run into trouble, there's probably another menu help thread in the past posts here


All times are GMT +2. The time now is 09:14 AM.

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