![]() |
Couch?
How do I make a couch? Like so you can sit on the middle, but not the sides and top. Can't use chair tiles because the couch is furniture that can be moved.
|
There are some examples.
Also, see the wiki. You need to use setshape2. http://wiki.graal.net/index.php/Spec...etshape2&go=Go There is some information on that search page. |
PHP Code:
|
You can't have a chair that's 1.5 in height. I mean... graphically you could, but you can't have a TILE that's 1.5 in height, and that's exactly what you're trying to do.
PHP Code:
|
It actually does work as 1.5, believe it or not.
Anyway to include the arm rests on the couch on the setshape2? Cause setshape2 only works with rectangles.. couch looks like this: ------------ |xxxxxxxxxx| |xxxxxxxxxx| x is where the player sits |
http://www.youtube.com/v/2fcLcG-EVu8
The script in the video is pretty blurry, so here: //#CLIENTSIDE function onPlayerTouchsMe(){ dontblock(); drawunderplayer(); } |
He wanted the furniture to be moveable, which isn't possible if you do it that way. Setshape2 is the way forward with this one ^_^
|
Quote:
|
setshape only works as a rectangle though i want it work with couch
only the x part should be where he should be able to sit, everything else should be blocking ------------ |xxxxxxxxxx| |xxxxxxxxxx| |
PHP Code:
|
Quote:
Most likely, you it's just rounding to 2. |
Quote:
|
Thanks Chompy, it works :D
|
Quote:
|
| All times are GMT +2. The time now is 04:08 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.