30th Dec 2009 at 5:34 AM
Last edited by imdareaper : 30th Dec 2009 at 5:47 AM.
I need help. I am trying to make Sims not work through an object, its a 1 tile object, I followed the Tutorial, but when I get to the :
Now you'll need to link the new command in to the rest of the Init function. You need to find the other line in the Init function that has "Return True" as its true target, then change it so that it is pointing to the line number of the command you just added.
I can find the first part, but I cant figure out how to point it to the command I added.
I have looked at all the tutorials I can find here, but it just gets more confusing.
There is a box labeled True Target, the last bhav has a value of Return True in it(value of FFFD in the bhav). Change what was the last bhav with that value from Return True to the line number of your newly added bhav. Then make sure the Return True value in your added bhav has a Return True value.
I apologise for resurrecting an old thread, but since this is a footprint-related problem, it made more sense to me to post about it here than to start a brand new thread. I hope I didn't make a mistake.
For any object where I've fixed the footprint, as soon as I've made the object "multi-tile friendly", the object's recols are no longer showing up in game and the game claims that "this object is not designable" - even though everything was perfectly fine before I changed the footprint. It doesn't matter whether the recol was made before or after the footprint was changed, or what kind of object it is. Also, in SimPE, the object still looks and behaves as if it were recolourable.
I've checked and double checked to see if If I've made a mistake somewhere, but if I have, it eludes me. I've attached a test object and a recol thereof, so you can have a look for yourself and hopefully maybe be able to tell me what I did wrong. (It's just a $5 version of the Museé Public vase that I made just to rule out that it was something else I did that was causing the problem. But even though the only change I've made to this object is to fix the footprint, the problem persists.)
Edit: Updated the file with one where the "do not use Maya model footprint" line in the init has been properly linked (shame on me for posting in a hurry). It should be noted, though, that this and all my other object have stopped being recolourable as soon as I've made them multi-tile friendly, before I've actually added any tiles or glanced at the BHAVs.
Lee, I love you and want to have your children!! (Well, that last part won't work since we're both girls. ) I thought I was going mad - and I was very, very upset at the thought that my object couldn't have both a one-tile and a two-tile version. THANK YOU!!! *runs off to fix MMATs*
Ok, I am trying to assign a unique instance number. According to the tutorial I need the 'packed file' tab. However, that isn't in the latest version of Simpe. The 'resource information' tab looks the closest to the picture, however I do not see a 'make all listed unique' anywhere. How do I change the instance number?
Edit: Ok, I fixed the unique instance # manually (although I still couldn't find any button to do it). I've got all my squares proper now. My main problem is fixing the bhav. I only have one 'init' which I added the next line and linked it as mentioned in the tutorial. Well, the Sim still walked through the corner of the object and then was given an error message (3D Object is not animatable). [This is a dressing room object that I am working on, so Sims need to be able to use it]. Not sure what I have done wrong at this point.
Sunni, re the error message it sounds to me like you've run into what's described in this thread (the first item). I'm not sure if that's also the reason why the Sim could still walk through part of the object, though, but it might be.
Unfortunately, this tutorial only really works well for deco objects, and objects where the sim does not need to get very close to the object to use it. This technique effectively blocks off the entire tile, including the places where the routing slots are.
There are alternatives though. You can fix the footprint directly in the CRES, or you can try moving the routing slots further away, or you can adjust the way the interaction works. Without knowing a bit more about your object though, I can't really give you much more specific advice.
Thanks for your responses NixNivis & Echo. Doing some research and experimenting with the object, I think Echo is right about usable/animatable objects. I wasn't successful in fixing the object via CRES, so it seems that the changing booth is a more complex item than I originally thought. For now I'll just leave it to the one tile.
Hi, I have an object that is cloned from an endtable - the final object is 16 tiles. I am working through the footprint tutorial and all is fine so far (5 tiles now - whoo) but I am having an unexpected side effect. I have stopped at 5 tiles at the moment until I have a way to fix this.
In the object there is a BHAV which is so the sim can "buy" an item. When it was just one tile sims could walk through it but all worked as expected with the bhav. However, I am now getting the effect that when I click on the object the sim can choose to buy from any tile...though the pick up point is correct.
This looks a bit stupid as in the whole "buy" BHAV there is a handing over of cash and an anim loop. Any suggestions on how I can make my sim ALWAYS go to the correct tile to buy? Given the nature of the object then I would like sims to hang about until it is their "turn".
My first thought was to suggest adding a routing slot where the intended tile is located...then instructing the Sim to route to the routing slot, but I'm not sure how the footprint might hinder that. Have you looked at the coffee Barista counter from Uni? That is a multi-tile object which seems to have a designated tile for payment/cashier-customer interaction. I don't recall off the top of my head everything about its inner-workings and I'm not sure how similar it is to what you want. But it may be worth investigating.
I don't mind if you call me "MSD" or something for short. Tumblr
Yea, I had the sims go to the routing slot - but then other sims who wanted to buy had a foot stomp (the object already has a routing slot to pick up the buy item)
I will look at the espresso - it was one of the first objects I tried to base this on, but I was aiming for base game.
MAYBE - I can have the buy run and then load the money loop etc in the pick up. Hmmm.
EDIT: Ok, I sort of found what I was looking for - I have used this expression:
[prim 0x0002] Expression (Local 0x0000 := Stack Object's 0x0013 (lead tile object ID)) so that the user can click anywhere on the object and it will send the sim to the routing slot. However, they are now either gonna be throwing tantrums or I will just have the event fail silently. Not sure which is best - best is to queue of course.
A queue may not be too bad if an array is used. You would treat it FIFO (First In, First Out). If the object is not in use, everything works as normal. But for as long as the object is in use, you can have any new Sim be added to the array, like through a "Get in line" interaction. Waiting customers could wait in an loop in which they idle, animate to show how patient they are being , and possibly check motives to see if they should leave (which would mean they should remove themselves from the array as well). Then once the current customer is finished, get the next customer from the array (at index 0), remove him/her from the array (moving everyone else up in the array), and push the normal interaction onto him/her.
I think the Standard Entry/Exit BHAVs handle the "In Use?" flag, but it can also be set manually if you want the object to remain "In Use" for as long as there is a line of customers waiting. If you want them to literally stand one behind the other, you can probably get the object ID of the last Sim in the array. Then set that value as the Stack Object in the "Get in Line" BHAV and tell the "soon-to-be-the-newest-last-in-line" Sim to route a relative position (which will be with respect to the Sim in line). Then update the array to have the newly added Sim.
I don't remember how much (if at all) my Surfing mod deviated from the Free Time Jogging interaction's array-related BHAVS, but certainly check out and make use of whichever would be the most helpful and convenient for you. Also, Wiki on 0x0076. I hope there's a chance of an indoor version of this mysterious object.
I don't mind if you call me "MSD" or something for short. Tumblr
Hi MSD - I will have a look at that. Well, the object is for the theme of course, I always loved these when I was a kid. I didn't really think of an indoors version, I think it was always either one of these or from the freezer at home. We didnt have a freezer until I was about 12, so. What I really wanted was to be able to make it arrive. Baby steps though
Re the problem - well, the first problem is sort of solved. However, solving THAT has created this problem. The other thing is that the object is not really suited for an NPC in it - but it does really need one, I tried a test run with an NPC and they dont really fit. I may be forced to put a mannequin in there
I shall look at the queue (ie wait in line) as this REALLY needs to have a queue.
If anybody still reads this thread, I have a problem and need help. I created a 16 tile fountain cloned from a one tile fountain (the M&G's Epic Font). I added all the tiles and edited the BHAV as described in the tutorial, but my sims still walk through the object. I've used this method several times before, but never on a fountain and it always worked. I even added another BHAV to disallow sims from intersecting the object and they still walk right through it. Any suggestions??? Thanks for any help.
"No Boom Today. Boom Tomorrow. Always Boom Tomorrow" - Ivanova (B5)
Having trouble with the Graphics card and Sims2? Feel free to pm me here, or on this thread at Leefish Sims 2 and Graphics Cards - the Fixes