Member Controls

How to... > hangable on walls?
thefuzmximanLink to postposted: Thu Mar 31, 2005 4:48 am

Member since:
 2005-03-31
Posts:
 6
Hi guys... what do i need to modify to place a custom object against a wall? Suprised it hasn't been asked before and i did a do a search.
NumenorLink to postposted: Thu Mar 31, 2005 10:55 am
Avator for Numenor

Member since:
 2005-03-07
From:
 Italy
Posts:
 380
It's not the easiest thing in the TS2 modding world tweaking the placement options... Doing that involves editing the Object Data *and* the Init BHAVs.
I've done this for horizontal placing, but I don't know what parameters allow an object to be placed on walls. Take a look at the Init BHAVs for the Soma flat screen TV, for instance.

My suggestion is to clone an object that originally can be placed on walls.
EchoLink to postposted: Thu Mar 31, 2005 1:45 pm
Avator for Echo

Member since:
 2005-03-06
From:
 Melbourne, Australia
Posts:
 83
Well to force things to stick to walls, you need to set the "Wall adjacency flags" (my 0xD) in the object's init behaviour. From memory it's something along the lines of:
My 0xD Set Flag Literal Value 0x7 (it might have been a different literal... At the time I was trying to *stop* an object from wall-clinging, so I was fiddling with a lot of different values!)

There's no guarantee that it work on diagonal walls either, diagonal things are pains in the behind.

If wall clinging is an important thing for your object, you're better off cloning from an object that already clings. Paintings are excellent, they have a minimum of their own interfering behaviours to deal with. :)
MotokiLink to postposted: Thu Mar 31, 2005 5:24 pm

Member since:
 2005-03-12
Posts:
 88
Blinds and curtains are good too. ;) And they don't give you that view option which I think is a little bit odd with things like overhead counters.


viewthread, 0, 0, hangable-on-walls