Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   change width and height of showcharacter (https://forums.graalonline.com/forums/showthread.php?t=57212)

Evil_Trunks 01-21-2005 08:17 PM

change width and height of showcharacter
 
It would be good if there was some way to change the width and height of a showchraracter NPC?

PHP Code:

if (created) {
  
showcharacter;
  
setshape 1,100,100;
  
message #v(width) #v(height);


shows 3 3 right now
:frown:

Shaun 01-21-2005 09:51 PM

I thought NPC characters were always 3 x 3 tiles?

Evil_Trunks 01-21-2005 10:02 PM

That's why I put this in Future Improvements...?

Evil_Trunks 01-21-2005 10:30 PM

This is a semi related improvement:

When you create a showcharacter using the default colors, it changes it to a funny red looking guy instead.

PHP Code:

if (created) {
  
showcharacter;
  
setcharprop #3,head0.png;
  
setcharprop #C0,orange;
  
setcharprop #C1,white;
  
setcharprop #C2,blue;
  
setcharprop #C3,red;
  
setcharprop #C4,black;
  
setcharprop #1,sword1.png;
  
setcharprop #2,shield1.png;
  
setcharprop #8,body.png;
  
shieldpower 1;
  
swordpower 1;


Is there some reason it changes the colors?

Lance 01-22-2005 12:07 AM

Quote:

Originally Posted by Evil_Trunks
This is a semi related improvement:

When you create a showcharacter using the default colors, it changes it to a funny red looking guy instead.

PHP Code:

if (created) {
  
showcharacter;
  
setcharprop #3,head0.png;
  
setcharprop #C0,orange;
  
setcharprop #C1,white;
  
setcharprop #C2,blue;
  
setcharprop #C3,red;
  
setcharprop #C4,black;
  
setcharprop #1,sword1.png;
  
setcharprop #2,shield1.png;
  
setcharprop #8,body.png;
  
shieldpower 1;
  
swordpower 1;


Is there some reason it changes the colors?

You need to set an animation?

Evil_Trunks 01-22-2005 12:10 AM

sorry, I left that out

I did indeed have an animation set

Shaun 01-22-2005 12:15 AM

Quote:

Originally Posted by Evil_Trunks
That's why I put this in Future Improvements...?

Ack, my bad, I thought this was the Tech Support board when I read the message. I was wondering what the NPC Character was outputting in the message "before" it was 3,3.

Lance 01-22-2005 12:18 AM

Quote:

Originally Posted by Evil_Trunks
sorry, I left that out

I did indeed have an animation set

Post the relevant code?

Evil_Trunks 01-26-2005 06:55 AM

Quote:

Originally Posted by Lance
Post the relevant code?

PHP Code:

if (created) {
  
showcharacter;
  
setcharprop #3,head0.png;
  
setcharprop #C0,orange;
  
setcharprop #C1,white;
  
setcharprop #C2,blue;
  
setcharprop #C3,red;
  
setcharprop #C4,black;
  
setcharprop #1,sword1.png;
  
setcharprop #2,shield1.png;
  
setcharprop #8,body.png;
  
shieldpower 1;
  
swordpower 1;
  
setcharani idle,;



Lance 01-26-2005 06:56 AM

Quote:

Originally Posted by Evil_Trunks
PHP Code:

if (created) {
  
showcharacter;
  
setcharprop #3,head0.png;
  
setcharprop #C0,orange;
  
setcharprop #C1,white;
  
setcharprop #C2,blue;
  
setcharprop #C3,red;
  
setcharprop #C4,black;
  
setcharprop #1,sword1.png;
  
setcharprop #2,shield1.png;
  
setcharprop #8,body.png;
  
shieldpower 1;
  
swordpower 1;
  
setcharani idle,;



Serverside or clientside?

Evil_Trunks 01-26-2005 07:06 AM

serverside

it is perfectly fine clientside


All times are GMT +2. The time now is 12:48 AM.

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