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 01-21-2005, 08:17 PM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
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
__________________

Reply With Quote
  #2  
Old 01-21-2005, 09:51 PM
Shaun Shaun is offline
Registered User
Shaun's Avatar
Join Date: Jul 2003
Location: Canada
Posts: 1,070
Shaun is a jewel in the roughShaun is a jewel in the rough
I thought NPC characters were always 3 x 3 tiles?
Reply With Quote
  #3  
Old 01-21-2005, 10:02 PM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
That's why I put this in Future Improvements...?
__________________

Reply With Quote
  #4  
Old 01-21-2005, 10:30 PM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
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?
__________________

Reply With Quote
  #5  
Old 01-22-2005, 12:07 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
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?
Reply With Quote
  #6  
Old 01-22-2005, 12:10 AM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
sorry, I left that out

I did indeed have an animation set
__________________

Reply With Quote
  #7  
Old 01-22-2005, 12:15 AM
Shaun Shaun is offline
Registered User
Shaun's Avatar
Join Date: Jul 2003
Location: Canada
Posts: 1,070
Shaun is a jewel in the roughShaun is a jewel in the rough
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.
Reply With Quote
  #8  
Old 01-22-2005, 12:18 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by Evil_Trunks
sorry, I left that out

I did indeed have an animation set
Post the relevant code?
Reply With Quote
  #9  
Old 01-26-2005, 06:55 AM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
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,;

__________________

Reply With Quote
  #10  
Old 01-26-2005, 06:56 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
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?
Reply With Quote
  #11  
Old 01-26-2005, 07:06 AM
Evil_Trunks Evil_Trunks is offline
Evil
Evil_Trunks's Avatar
Join Date: Dec 2004
Posts: 391
Evil_Trunks is on a distinguished road
serverside

it is perfectly fine clientside
__________________

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 03:45 AM.


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