Quote:
Originally Posted by billybob256
acctually, multiple setshapes is a great idea, because i make houses out of ganis, and have to use setshape for every one, and for castles i have to use about 5.
It would really reduce lag but how would you select the NPCs in the level editor?
|
~G_Yoshi's Slice of Advice (lol)~
You don't even need to use setshape for houses if you know how to do it right

Take a look at GK's buildings. The gani, in the editor, shows a 'base' which is the blocking zone of the house. Next, open the gani in wordpad and take a look at the script. That's what puts up the rest of the building without blocking the player. Its very useful and very efficient. Plus, when in the level editor, you see the entire thing, not just the base. I use this on Doragon Koden for anything that a player could possibly go under: Trees, houses, even my stone walls.
Setshape is more useful for smaller objects. Its purpose is for use with an NPC server, particularly non-clientside objects (i.e. script does not contain //#CLIENTSIDE; can still be used clientside, though). Setshape2 is pretty much the same except you get more control over how each 'tile' of the image behaves.