9 years ago
Adding seating positions - "Adjacent" and "Overlapping" tuning values?
@SimGuruModSquad - or anyone who has any ideas - I'm playing with making a "L" shaped couch. I've duplicated the appropriate subroot bone chain and all of it's children, duplicated the "part_sit_all" bit of tuning script and updated it to match my new subroot index so that the seating position is working fine:
http://i.imgur.com/daF278v.png
I have seating position 0, 1, 2, and 3, from left to right. All four positions can only be occupied if my sims sit in them in order, 0, 1, 2, and then 3. That's all well and good until the sims in position 0 and/or 1 decide to get up, at which point they become unusable if there is still a sim in position 2. The problem then complicates itself that if a sim is still seated in position 3, position 2 becomes the default, no matter which spot I manually tell my sim to sit in, thus turning it into a 2-seat couch.
Once a sim leaves position 0 or 1, all four sims on the couch must get up before anyone can sit back down in the first two spots.
I'm guessing this has to do with the "adjacent_parts" and "overlapping_parts" - I tried adjusting them and royally messed up the seating positions. I originally assumed they were referring to the subroot index for the spots they were next to ("adjacent," which I thought would have been to used to indicate if a sim could scoot over into that spot, wrong) and the spots that would be overlapping if a sim was laying down napping in two spots. Apparently wrong again.
The couch I used as a base has position 0 "adjacent" to 1 and 3. "3" what? There wasn't a position 3 until I added it. "Overlapping" is 3 and 4. Again, there was no position 3, nor is there a position 4. Skip over to position 2, and the values are going all of the way up to 6.
For the position I added, position 3, it's "adjacent" to 1 and 6, and overlapping 5 and 6. - the same as position 0 that I copied the code from.
I've made all kinds of lists and diagrams and I can't figure out what these values represent, or find any kind of correlation between them that tells me they are determined. Does it represent grid tiles? Other bones? Other scripts? What would be the correct values to use for a 4th seating position - and more importantly, how are they determined? What do they represent? (Is there something elsewhere that specifies couches can only have a max of 3 positions?)
http://i.imgur.com/daF278v.png
I have seating position 0, 1, 2, and 3, from left to right. All four positions can only be occupied if my sims sit in them in order, 0, 1, 2, and then 3. That's all well and good until the sims in position 0 and/or 1 decide to get up, at which point they become unusable if there is still a sim in position 2. The problem then complicates itself that if a sim is still seated in position 3, position 2 becomes the default, no matter which spot I manually tell my sim to sit in, thus turning it into a 2-seat couch.
Once a sim leaves position 0 or 1, all four sims on the couch must get up before anyone can sit back down in the first two spots.
I'm guessing this has to do with the "adjacent_parts" and "overlapping_parts" - I tried adjusting them and royally messed up the seating positions. I originally assumed they were referring to the subroot index for the spots they were next to ("adjacent," which I thought would have been to used to indicate if a sim could scoot over into that spot, wrong) and the spots that would be overlapping if a sim was laying down napping in two spots. Apparently wrong again.
The couch I used as a base has position 0 "adjacent" to 1 and 3. "3" what? There wasn't a position 3 until I added it. "Overlapping" is 3 and 4. Again, there was no position 3, nor is there a position 4. Skip over to position 2, and the values are going all of the way up to 6.
For the position I added, position 3, it's "adjacent" to 1 and 6, and overlapping 5 and 6. - the same as position 0 that I copied the code from.
I've made all kinds of lists and diagrams and I can't figure out what these values represent, or find any kind of correlation between them that tells me they are determined. Does it represent grid tiles? Other bones? Other scripts? What would be the correct values to use for a 4th seating position - and more importantly, how are they determined? What do they represent? (Is there something elsewhere that specifies couches can only have a max of 3 positions?)