Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-18-2001, 11:44 PM
sharkey sharkey is offline
Registered User
Join Date: Jun 2001
Location: Pennsylvania, United States
Posts: 56
sharkey is on a distinguished road
Send a message via ICQ to sharkey Send a message via AIM to sharkey Send a message via Yahoo to sharkey
A bunch of new script thingies that would really be useful

Couple of things that would be helpful in making new features.

For changeimgvis, a layer 5 which would be drawn above layer 4(obviously) and act just like layer 4, so you have more control over status bar-like images.

Weapon attribute variables(that might not be so clear, but itll make more sense in a bit). Such as:
weapon.src image file of the weapon
weapon.id id # of the weapon
weapon.imgwidth width of the file image
weapon.imghight hight of the image file
weapon.timeout timeout of the weapon
Can't remember what the others for this were.

Image attribute variable, only accessible for the showimg images of the npc itself
image.src image file of the showimg
image.level draw level of the image
image.width width of the image file
image.hight hight of the image file
image.x and image.y x/y position of the image
Again, there were more, but I can't remember them right now.

That's all for now. If i can remember the others, I'll post them too.
__________________
Sharkey9x
Reply With Quote
  #2  
Old 06-19-2001, 12:04 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Re: A bunch of new script thingies that would really be useful

Quote:
Originally posted by sharkey
For changeimgvis, a layer 5 which would be drawn above layer 4(obviously) and act just like layer 4, so you have more control over status bar-like images.
Practical example?

Quote:
Weapon attribute variables(that might not be so clear, but itll make more sense in a bit). Such as:
weapon.src image file of the weapon
weapon.id id # of the weapon
weapon.imgwidth width of the file image
weapon.imghight hight of the image file
weapon.timeout timeout of the weapon
Can't remember what the others for this were.
Again, why would you need these?

Quote:
Image attribute variable, only accessible for the showimg images of the npc itself
image.src image file of the showimg
image.level draw level of the image
image.width width of the image file
image.hight hight of the image file
image.x and image.y x/y position of the image
Again, there were more, but I can't remember them right now.
They can be done already just by tracking showimg commands.
Reply With Quote
  #3  
Old 06-19-2001, 08:40 AM
sharkey sharkey is offline
Registered User
Join Date: Jun 2001
Location: Pennsylvania, United States
Posts: 56
sharkey is on a distinguished road
Send a message via ICQ to sharkey Send a message via AIM to sharkey Send a message via Yahoo to sharkey
for a 5th layer, because some images dissapear behind other ones, and a 5th layer could keep certain images on top.

the weapon stuff, k i forget the reason for those. actually, forget about those, i cant remember why.

this image ones, so that u can can get those variable later on. like if you want to move an image -1y every so many seconds, you could just do like image[0].y-=1. the width and higth arn't how much of it is drawn, its the width and hight of the actual image.

So, some of these arent exactly necessary, but it'd be good to have some of these for completeness sake(maybe not the weapon stuff.) although i knew i had a good reason for one of them, maybe its one that i forgot.
__________________
Sharkey9x
Reply With Quote
  #4  
Old 06-20-2001, 06:06 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
I think I get what hes saying Kai...

Like sometimes when you wanna deisplay. Lets say.. Numbers on a Backgrond. If there too high then they will be draw behind the background.... Layer 5 would ALWAYS draw above layer 4.....
I think there should be also a layer 4.5 or sowething.. So you can draw BEHIND the ASD.
__________________

subliminal message: 1+1=3
Reply With Quote
  #5  
Old 06-20-2001, 10:13 PM
sharkey sharkey is offline
Registered User
Join Date: Jun 2001
Location: Pennsylvania, United States
Posts: 56
sharkey is on a distinguished road
Send a message via ICQ to sharkey Send a message via AIM to sharkey Send a message via Yahoo to sharkey
exactly!
__________________
Sharkey9x
Reply With Quote
  #6  
Old 06-20-2001, 10:19 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Just put holes in the background and you can see the numbers then.
Reply With Quote
  #7  
Old 06-20-2001, 11:53 PM
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
Kai

here comes my quote kia..

"WHY MAKE LIFE HARDER????"

hehe

Bus seriously why? What id you WANT a background behind the number? OR you WANT a background behinf the HP bar? Im not cutting off the background If I dont have to... =P

__________________

subliminal message: 1+1=3
Reply With Quote
  #8  
Old 06-20-2001, 11:55 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Re: Kai

I'm only being awkward. Yeah, it could be kinda useful sometimes.

Anyway, I'm gonna PM you, Fal.
Reply With Quote
  #9  
Old 06-24-2001, 01:43 AM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
That layer thingy would be really good.
Npcs[0].layer = 1-5;
Or something?

Why not a few tile layers?
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 02:50 AM.


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