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 02-15-2004, 07:21 AM
porko porko is offline
Registered User
Join Date: Jan 2004
Location: Pigland
Posts: 10
porko is on a distinguished road
Statue

I need help making a statue in my house that Im making. I need to make the body of the statue body2.png, but when I say setbody body2.png it changes the characters body. What is the correct script?
Reply With Quote
  #2  
Old 02-15-2004, 07:51 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
You havent told us anything about how your npc works, so we can't really help you...
__________________
Reply With Quote
  #3  
Old 02-15-2004, 08:21 AM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
use

NPC Code:

setcharprop #8,body2.png;

__________________
- Rance Vicious
Reply With Quote
  #4  
Old 02-16-2004, 02:31 AM
porko porko is offline
Registered User
Join Date: Jan 2004
Location: Pigland
Posts: 10
porko is on a distinguished road
thank you
Reply With Quote
  #5  
Old 02-16-2004, 10:47 AM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
There is a pre-made person you know.. All you have to do is set him up...
__________________
V$:CONFL16T
Reply With Quote
  #6  
Old 02-16-2004, 11:27 AM
SlikRick SlikRick is offline
Retired
Join Date: Aug 2003
Location: Minnesota,USA
Posts: 685
SlikRick is on a distinguished road
but setcharprop #8,

is not a command they have in the regular premade statues
Reply With Quote
  #7  
Old 02-16-2004, 10:55 PM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
setcharprop CODEVALUE,NAME;

It's a command. Works.

Your problem would be?
__________________
- Rance Vicious
Reply With Quote
  #8  
Old 02-17-2004, 12:42 AM
DarkShadows_Legend DarkShadows_Legend is offline
Cult of the Winky
DarkShadows_Legend's Avatar
Join Date: Apr 2003
Location: Florida
Posts: 614
DarkShadows_Legend is on a distinguished road
Send a message via AIM to DarkShadows_Legend
Hmm isn't there a set of commands like setbody, setshoecolor, etc that is supposed to set your characters looks. What is the difference between those and the setcharprop messagecode,name; ones?
__________________
- Criminal X

"I rather be hated for being myself, than be liked for being what you like best. I go above the influence, not under." - Me
Reply With Quote
  #9  
Old 02-17-2004, 01:50 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally posted by DarkShadows_Legend
Hmm isn't there a set of commands like setbody, setshoecolor, etc that is supposed to set your characters looks. What is the difference between those and the setcharprop messagecode,name; ones?
Err there is no such thing? Those are just scripted for the players either in a system npc or a tailor =\
__________________
Reply With Quote
  #10  
Old 02-17-2004, 02:53 AM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
Quote:
Originally posted by DarkShadows_Legend
Hmm isn't there a set of commands like setbody, setshoecolor, etc that is supposed to set your characters looks. What is the difference between those and the setcharprop messagecode,name; ones?
There is... However:

#1. That's for the player itself.
#2. They are obsolete. (stecharprop are a lot more flexible)
__________________
- Rance Vicious
Reply With Quote
  #11  
Old 02-17-2004, 05:05 AM
DarkShadows_Legend DarkShadows_Legend is offline
Cult of the Winky
DarkShadows_Legend's Avatar
Join Date: Apr 2003
Location: Florida
Posts: 614
DarkShadows_Legend is on a distinguished road
Send a message via AIM to DarkShadows_Legend
Quote:
Originally posted by ZeLpH_MyStiK

Err there is no such thing? Those are just scripted for the players either in a system npc or a tailor =\
I'm not talking about the ones scripted in. I mean these below that are in commands.rtf
NPC Code:

setbody filename;
sethead filename;
setplayerdir direction;
setshield imgname,power;
setsword imgname,power;
setskincolor colorname;
setcoatcolor colorname;
setsleevecolor colorname;
setshoecolor colorname;
setbeltcolor colorname;


setsword doesn't work for me either clientside or serverside.
The rest I haven't tried, but I think are supposed to do the same as the setplayerprop command. I guess these are all obsolete like Termina said.
__________________
- Criminal X

"I rather be hated for being myself, than be liked for being what you like best. I go above the influence, not under." - Me
Reply With Quote
  #12  
Old 02-18-2004, 02:24 AM
Termina_Owner Termina_Owner is offline
Registered User
Join Date: Oct 2003
Posts: 175
Termina_Owner is on a distinguished road
Quote:
Originally posted by DarkShadows_Legend

I'm not talking about the ones scripted in. I mean these below that are in commands.rtf
NPC Code:

setbody filename;
sethead filename;
setplayerdir direction;
setshield imgname,power;
setsword imgname,power;
setskincolor colorname;
setcoatcolor colorname;
setsleevecolor colorname;
setshoecolor colorname;
setbeltcolor colorname;


setsword doesn't work for me either clientside or serverside.
The rest I haven't tried, but I think are supposed to do the same as the setplayerprop command. I guess these are all obsolete like Termina said.
Obsolete. Use setcharprop / setplayerprop (NPC / PLAYER)

EDIT:
Those ones you mentioned aren't for the NPC as such regardless.
__________________
- Rance Vicious
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 10:42 PM.


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