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 11-30-2001, 04:21 AM
Bortlad Bortlad is offline
Registered User
Join Date: Nov 2001
Location: Over there ========>
Posts: 107
Bortlad is on a distinguished road
Send a message via ICQ to Bortlad Send a message via AIM to Bortlad Send a message via Yahoo to Bortlad
Question bar thing on screen

How do you make a loading bar type thing, that would appear in the upper right corner acting like a mp bar.I want to know how to make it so that as a variable rises, the bar will.Once they variable is set back to 0, it starts over.
__________________
Gør†håµr ‡MìdÑíght‡ ¤£êåðêr¤ (US) / Gør†håµr MìdÑíght (Game Coordinator)


WillieJamal posts in blue

Quote:
*MasterStorm_GP (RC) (4/10/02 5:07:40 PM):
Mass message: Er....... I've accidentally jailed myself, doh, so i'll only be able to answer from my RC for a bit.
Reply With Quote
  #2  
Old 11-30-2001, 04:35 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
umm

it has to deal with showimg, changeimgvis, timeouts, and equations.

to make a status bar, you will want to changeimvis to 4.
4 is above everything status screen type thing.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #3  
Old 12-04-2001, 08:07 PM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Re: umm

Status bars dont work offline anymore I dont think cuse mine dont and they worked before 2.1 (Full)
Reply With Quote
  #4  
Old 12-04-2001, 08:16 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
bars still work perfectly for me offline

you should go look at one of the other threads on bars, im sure everyone doesnt want to repost all of their information
Reply With Quote
  #5  
Old 12-04-2001, 11:39 PM
aesquivel aesquivel is offline
Registered User
Join Date: Sep 2001
Location: Whitewright
Posts: 346
aesquivel is on a distinguished road
Send a message via AIM to aesquivel
Re: Re: umm

Quote:
Originally posted by Poogle
Status bars dont work offline anymore I dont think cuse mine dont and they worked before 2.1 (Full)
errrrrrm mine still werk offline
__________________
Reply With Quote
  #6  
Old 12-05-2001, 03:01 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
oh hell

well i have time to kill...

NPC Code:

// Variables
if (created || initialized) {
// the starting variable
this.var=0;
// the maximum variable
this.maxvar = 100;
// index, if its >200 than its for everyone <200 its clientside
this.index = 201;
// image width in pixels
this.width = 100;
timeout=.05;
}
// Increment and show
if (timeout) {
showimg this.index,imagename.png,(this.var/this.maxvar)*this.width,100;
changeimgvis this.index,4;
if (this.var<this.maxvar) this.var++;
timeout=.05;
}




,
--PastAustin
__________________

!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
Reply With Quote
  #7  
Old 12-05-2001, 03:02 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
Re: Re: umm

Quote:
Originally posted by Poogle
Status bars dont work offline anymore I dont think cuse mine dont and they worked before 2.1 (Full)

bars work offline, believe me.
__________________

!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
Reply With Quote
  #8  
Old 12-05-2001, 08:23 PM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
i thought <440 was the showimg limit for serverside??
Reply With Quote
  #9  
Old 12-06-2001, 12:12 AM
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
nope

Quote:
Originally posted by btedji
i thought <440 was the showimg limit for serverside??
nope, 200 is the limit...:-/ it kinda sucks when you want to make a more than 200 image array that is serverside...:-/
__________________

!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
Reply With Quote
  #10  
Old 12-08-2001, 10:14 AM
ShockwaveISTHEBEST ShockwaveISTHEBEST is offline
Registered User
Join Date: Nov 2001
Location: never never land
Posts: 208
ShockwaveISTHEBEST is on a distinguished road
Send a message via AIM to ShockwaveISTHEBEST Send a message via Yahoo to ShockwaveISTHEBEST
can anyone explaine sagas script I dont completely understand it
__________________
[img]http://rick.*******ers.net/ss/users/jerrytyrrell64/Shockwave%20Sig%2003.jpg[/img]
Reply With Quote
  #11  
Old 12-09-2001, 07:10 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
Re: oh hell

Quote:
Originally posted by Saga2001
[B]well i have time to kill...

NPC Code:

// Variables
if (created || initialized) {
// the starting variable
this.var=0;
// the maximum variable
this.maxvar = 100;
// index, if its >200 than its for everyone <200 its clientside
this.index = 201;
// image width in pixels
this.width = 100;
timeout=.05;
}
// Increment and show
if (timeout) {
showimg this.index,imagename.png,(this.var/this.maxvar)*this.width,100;
changeimgvis this.index,4;
if (this.var<this.maxvar) this.var++;
timeout=.05;
}

How can you explain it better than that without confusing yourself and others? For me, it can't be done. Except one thing...
Quote:
// index, if its >200 than its for everyone <200 its clientside
It should be // index, if its <200 than its for everyone >200 its clientside. <= less than, >=greater than.
__________________
~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
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 04:53 AM.


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