Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   glovepower confusion (https://forums.graalonline.com/forums/showthread.php?t=134265749)

scriptless 02-13-2012 09:39 AM

glovepower confusion
 
Was playing with script today, notice that you could do the following.

PHP Code:

with findplayer("bloodpet") ) {
  
swordpower 4;
  
hearts=fullhearts 20;
  
glovepower=223;
}
//#CLIENTSIDE
function onCreated() {
  
player.chat player.glovepower;


Those appear to be the maximum value's for those variables. My question is does graal even have default objects to lift with higher level gloves like this? Why stop at 223 anyways?

Also, how would I change the icon I see next to the "A" button? It's gold at level 3 and after.

I kinda want sword power's greater then 4 tho :(

cbk1994 02-13-2012 09:59 AM

I don't want to jump to rescripting, but that's probably the only way you'll be able to do what you want with the glove image. You can use showstats to hide only the parts of the classic interface necessary to avoid redoing the whole thing.

Crono 02-13-2012 07:49 PM

I think you begin to lift things like chests and whatnot...

scriptless 02-13-2012 07:49 PM

Quote:

Originally Posted by cbk1994 (Post 1684441)
I don't want to jump to rescripting, but that's probably the only way you'll be able to do what you want with the glove image. You can use showstats to hide only the parts of the classic interface necessary to avoid redoing the whole thing.

I was thinking that, I could also set the glove power to 0 which hides the image, then using showimg() draw over it. Using a custom clientr string for the power..

My biggest question was why it even supports power up to 233.. That is a bit odd.


Can someone test this for me? Set your glove to 233, then pick up a bush but keep trying to pick up.. the tiles seem to go thru some kind of cycle.. and at some point you pick up a bomb.. o.O or maybe this is some bug on N-Pulse.


Quote:

Originally Posted by Crono (Post 1684484)
I think you begin to lift things like chests and whatnot...

With the tileset I was using it looked all scrambled tho.. Haven't tried on classic tileset tho. But 223 glove power, wow.


All times are GMT +2. The time now is 07:18 PM.

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