View Single Post
  #2  
Old 10-11-2005, 06:14 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
Quote:
Originally Posted by jake13jake
I've been trying to make original baddy scripts for Classic, and I though that a good way would be to make ganis for them. However, I've been having loads of trouble.
1. setshape will not work on showcharacters.
a. small image sprites:
the frog baddy won't pick up a hit for me because it's too small of an image in the gani
b. large image sprites:
the tree baddy will only block a 32x32 square instead of the entire area it's on.

2. showani will not work serverside.

Anybody have some kindof advice for me? I would really appreciate it.
A showcharacter NPC automatically creates a block of 32 by 32 pixels reserved by the NPC. The entire showcharacter NPC is 48 by 48 pixels, and the blocktiles are from (.5,1) to (2.5,3), which is a 32x32 pixel square. There is no *known* way to change this, so I'm thinking you would have to venture away from showcharacter and use setimg() and setimgpart() for this.

And you are right, showani() is a clientside function. It does not exist serverside.

The baddies I've seen are images with a setshape(), not showcharacter.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote