Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-12-2002, 01:20 PM
XeroMaster XeroMaster is offline
Registered User
Join Date: Dec 2001
Location: Washington-=USA=-
Posts: 143
XeroMaster is on a distinguished road
Send a message via AIM to XeroMaster Send a message via Yahoo to XeroMaster
new controll?

how can I make a pic with difrent opsons---

like the clothes changer on graal...

I just ned some helt on how I could hilight diffrent parts
__________________
OUT OF MY MIND!
BACK IN 5 MIN.
AIM=Da First Bug
[email protected]
Reply With Quote
  #2  
Old 01-14-2002, 09:28 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
you would have to do it by npc scripting totaly!!! you either have to make multiple gifs or have them all in one and use changeimgpart or setgifpart alot!!
__________________
Reply With Quote
  #3  
Old 01-14-2002, 09:41 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: new controll?

Quote:
Originally posted by XeroMaster
how can I make a pic with difrent opsons---

like the clothes changer on graal...

I just ned some helt on how I could hilight diffrent parts
*hands Xero a spell check* Use it well
Reply With Quote
  #4  
Old 01-14-2002, 08:58 PM
XeroMaster XeroMaster is offline
Registered User
Join Date: Dec 2001
Location: Washington-=USA=-
Posts: 143
XeroMaster is on a distinguished road
Send a message via AIM to XeroMaster Send a message via Yahoo to XeroMaster
I know ......

it can be scripted offline because the galixy minigame have the script, it has a post in npc scripting to.

it has :

Start
OPTIONS
Star
__________________
OUT OF MY MIND!
BACK IN 5 MIN.
AIM=Da First Bug
[email protected]
Reply With Quote
  #5  
Old 01-14-2002, 11:02 PM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Re: I know ......

Quote:
Originally posted by XeroMaster
it can be scripted offline because the galixy minigame have the script, it has a post in npc scripting to.

it has :

Start
OPTIONS
Star
showimg index,@text here,x,y;

changeimgcolor index,red,green,blue,alpha;

and use keydowns to steer through the menue...

if u want the text bigger if it's higlighted use changeimgzoom...
__________________
No Webhost at the moment
Reply With Quote
  #6  
Old 01-15-2002, 02:49 AM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
You use one showimg to draw the background, and one for each of the options. Then you do a this.cursor variable that gets increased/decreased depending on timeout...
Reply With Quote
  #7  
Old 01-15-2002, 08:11 AM
Sennema Sennema is offline
Registered User
Join Date: Nov 2001
Location: Ontario, Canada
Posts: 132
Sennema is on a distinguished road
Send a message via ICQ to Sennema Send a message via AIM to Sennema
Yeah, pretty much what they said. You'd first start off with a timeout=.05, then in a timeout loop have a this.timer=(this.timer+1)%3 (I picked that one up from one of Liquid's item scripts. It sorta moderates the cursor speed.)
Then use this.pos or something to keep track of the cursor position, with a %# (# is 1 higher than the max value).
Then use showimg, with x and y using screenwidth and screenheight (use division)
Then use something like
NPC Code:

if(keydown(key)&&this.timer=2){
script;
}



There. I also proved to myself I didn't forget what I was doing over my almost 2-month holiday.

All the same, hope that helps.
__________________
~Draemus Windblade


Just over 90% of all messages have no point or meaning.

"In order to preserve ourselves we seek out and eliminate anything that may do use harm. In doing so, we destroy things that, though possibly hazzardous, may be important to survival. So you see, in trying to save ourselves, we ultimately bring about our own destruction"


Luminar
Reply With Quote
  #8  
Old 01-15-2002, 08:18 AM
XeroMaster XeroMaster is offline
Registered User
Join Date: Dec 2001
Location: Washington-=USA=-
Posts: 143
XeroMaster is on a distinguished road
Send a message via AIM to XeroMaster Send a message via Yahoo to XeroMaster
???

what?!?!?

I do not understand what you peole are saying,

could some one give ne the graal 2001 clothes changer
script so I can get it from there!!

PLEASE
__________________
OUT OF MY MIND!
BACK IN 5 MIN.
AIM=Da First Bug
[email protected]
Reply With Quote
  #9  
Old 01-16-2002, 04:49 AM
Mrmicro Mrmicro is offline
Registered User
Join Date: Mar 2001
Posts: 128
Mrmicro is on a distinguished road
Send a message via AIM to Mrmicro
You people think hes talking about the z-clothing thing... Hes talking about the one in the humen start place!
__________________
Reply With Quote
Reply


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 06:23 PM.


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