Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Shield Images (https://forums.graalonline.com/forums/showthread.php?t=74613)

godofwarares 06-16-2007 02:07 AM

Shield Images
 
I have a problem when it comes to TShowImg.actor shields. They absolutely refuse to detect and show the shield that I give it.

PHP Code:

PlayerImage.actor.shieldimg player.shieldimg

It won't copy it. The only shield that works is shield2.png x-x

zokemon 06-16-2007 02:27 AM

Quote:

Originally Posted by godofwarares (Post 1318395)
I have a problem when it comes to TShowImg.actor shields. They absolutely refuse to detect and show the shield that I give it.

PHP Code:

PlayerImage.actor.shieldimg player.shieldimg

It won't copy it. The only shield that works is shield2.png x-x

Odd, I have done that many times and never experianced a problem. Are you noticing this with other default look variables like head and such?

godofwarares 06-16-2007 03:27 AM

Quote:

Originally Posted by zokemon (Post 1318407)
Odd, I have done that many times and never experianced a problem. Are you noticing this with other default look variables like head and such?

Nope

Admins 06-16-2007 11:22 AM

And playerlook = false?
It is recommended to use "shield" instead of "shieldimg" I think, they were different before but now both are the same (I think).

zokemon 06-16-2007 11:31 AM

Quote:

Originally Posted by Stefan (Post 1318510)
And playerlook = false?
It is recommended to use "shield" instead of "shieldimg" I think, they were different before but now both are the same (I think).

Ahh, I was going to suggest that before but I thought I would look stupid posting that since I thought the shield variable was removed or something. Now that I think about it, I don't even use shieldimg, I just use shield! :p

Chompy 06-16-2007 12:18 PM

PHP Code:

PlayerImage.actor.shieldimg playero.shieldimg

:)?

Admins 06-16-2007 01:26 PM

Hmmm there is also some protection against using a shield or sword that doesn't fit to the shieldpower/swordpower of the player, so people cannot use shield2.png when they don't have shield power 2, although that might be useless nowadays.

Crow 06-16-2007 04:20 PM

Quote:

Originally Posted by Stefan (Post 1318530)
Hmmm there is also some protection against using a shield or sword that doesn't fit to the shieldpower/swordpower of the player, so people cannot use shield2.png when they don't have shield power 2, although that might be useless nowadays.

You should remove it lol. Wasnt it for the days when the sword/shieldpower was defined through the images? (Did that actually happen? lol)

Admins 06-16-2007 05:58 PM

Ok checked it:
Use "shield" and everything will work fine.
For players and npcs there is "shieldimg" which is there for compatibility with GS1 (operator #2). Changing "shieldimg" or "swordimg" also updates the shieldpower and swordpower of the player.
The "actor"s in TShowImg/GuiShowImgCtrl don't have "shieldimg".


All times are GMT +2. The time now is 11:10 AM.

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