Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Attaching Tiles (https://forums.graalonline.com/forums/showthread.php?t=9983)

ownerofbabylon 08-20-2001 03:57 AM

Attaching Tiles
 
How would you make tiles attach to a NPC? Say like you want to have a NPC of a bed and also make it so they can lay in it (but it can be dragged since its a NPC) and you want it to do this. Can someone help me?

BocoC 08-20-2001 03:58 AM

Use setshape2. Check newfeatures2001.txt for info on how to use it.

ownerofbabylon 08-20-2001 04:13 AM

Is that legal on free servers?

LiquidIce00 08-20-2001 04:43 AM

no setshape is for npc server

ownerofbabylon 08-20-2001 05:33 AM

So how would u do this for a free server?

LiquidIce00 08-20-2001 05:42 AM

do u mean drag as in like u can pull the bed ?
thats kinda complicated

nyghtGT 08-20-2001 05:57 AM

actually ...
 
moving and pulling a bed isn't really that comlicated ... You could do one of 2 things ...
1. You could make an NPC setgif parts for the bed shape and make is canbe pulled/pushed etc. or
2. You could snapshot a level with a bed and cut and paste it into a gif. and make it canbepushed/pulled ....


http://www.deceptiononline.f2s.com/nyghtdoll.gif

nyghtGT 08-20-2001 05:59 AM

more ....
 
add the extra tiles too like if you wanted to put a vase on the bed remove some bed tiles and replace them with a vase ....


i dunno how this would actually work i am just somewhat guessing about it ...
http://www.deceptiononline.f2s.com/nyghtdoll.gif

Jerom 08-20-2001 06:03 AM

Quote:

Originally posted by LiquidIce00
do u mean drag as in like u can pull the bed ?
thats kinda complicated

That would be kinda confusing...
I think only the onwall parts of the bed would be the places where you could push and pull at. Although if it were to work that way, it would be a nice thing to have(pull out beds that is).

LiquidIce00 08-20-2001 06:27 AM

Quote:

Originally posted by Jerom

That would be kinda confusing...
I think only the onwall parts of the bed would be the places where you could push and pull at. Although if it were to work that way, it would be a nice thing to have(pull out beds that is).

im still confused but does he mean like u can pull/push the bed around and sleep in it ?
that would be like making a ship . pretty confusing

homeless1 08-20-2001 07:35 AM

so it is possible to do it on a free server?

LiquidIce00 08-20-2001 07:44 AM

Quote:

Originally posted by homeless1
so it is possible to do it on a free server?
Code would be very complex


All times are GMT +2. The time now is 01:35 AM.

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