Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-12-2003, 04:48 AM
RTelvecho RTelvecho is offline
Banned
RTelvecho's Avatar
Join Date: Oct 2002
Location: Toronto, Ontario, Canada
Posts: 807
RTelvecho is on a distinguished road
Send a message via AIM to RTelvecho
Unhappy Help..

Ok umm im working on something and I want to display a npc which looks like me (using show img). I am wondering how I could change the belt color... example:

NPC Code:

if (created) {
showimg 1,#8,x,y;
changeimgpart 1,64,0,32,32;
}


I tried showani... Im sure theres another way, I just have the wrong one (i think).
Reply With Quote
  #2  
Old 01-12-2003, 04:51 AM
Ethic_Sern Ethic_Sern is offline
Banned
Join Date: Aug 2002
Location: NewYork,NY
Posts: 97
Ethic_Sern is on a distinguished road
Send a message via AIM to Ethic_Sern
use
if (created) {
showcharacter;
setcharprop #3,;
setcharprop #C0,;
setcharprop #C1,;
setcharprop #C2,;
setcharprop #C3,;
setcharprop #C4,;
setcharprop #2,;
shieldpower = 1;
}
Reply With Quote
  #3  
Old 01-12-2003, 05:26 AM
RTelvecho RTelvecho is offline
Banned
RTelvecho's Avatar
Join Date: Oct 2002
Location: Toronto, Ontario, Canada
Posts: 807
RTelvecho is on a distinguished road
Send a message via AIM to RTelvecho
Quote:
Originally posted by Kaimetsu
I'm guessing he doesn't want to make an NPC for it.
Yes, and if I used your way I could only display one
Reply With Quote
  #4  
Old 01-12-2003, 08:03 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
You can't change the colors of the body with showimg. You'll have to use showani.

You ought to put something in that script to change the dir of the img to copy your's. And if you want to go further than I did, add something to change the sprite to copy yours.
Attached Thumbnails
Click image for larger version

Name:	showimgchar.png
Views:	164
Size:	55.4 KB
ID:	22405  
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #5  
Old 01-12-2003, 11:01 PM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Quote:
Originally posted by Dach
You can't change the colors of the body with showimg. You'll have to use showani.

You ought to put something in that script to change the dir of the img to copy your's. And if you want to go further than I did, add something to change the sprite to copy yours.
o.o BIG CLOCK! ALOT OF CLONES...I THINK THEY THINK ITS A COOKIE W/ RED AND YELLOW SPRINKLES!
__________________
Reply With Quote
  #6  
Old 01-12-2003, 11:27 PM
RTelvecho RTelvecho is offline
Banned
RTelvecho's Avatar
Join Date: Oct 2002
Location: Toronto, Ontario, Canada
Posts: 807
RTelvecho is on a distinguished road
Send a message via AIM to RTelvecho
Quote:
Originally posted by Dach
You can't change the colors of the body with showimg. You'll have to use showani.

You ought to put something in that script to change the dir of the img to copy your's. And if you want to go further than I did, add something to change the sprite to copy yours.
No, dood If i did show ani, I couldnt change a specific show ani.. like

theres two showanis right, and u set the shar prop and stuff, it wouldnt change... it would change for both.. understand what im saying?
Reply With Quote
  #7  
Old 01-13-2003, 12:35 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally posted by RTelvecho
No, dood If i did show ani, I couldnt change a specific show ani.. like

theres two showanis right, and u set the shar prop and stuff, it wouldnt change... it would change for both.. understand what im saying?
Yeah, but that's the only way you can change the color w/out using a showcharacter npc.
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
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 04:03 PM.


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