Welcome to
Mod The Sims
Online: 2111
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 22 (Who?), Viewed: 2925 times.
Search this Thread
Old 25th Feb 2012, 04:04 PM DefaultModeling Question #1
abd123
Original Poster

Test Subject

Join Date: Nov 2011
Posts: 54


I have used this on my rug alright
it seems to be working but my sim give a bubble talk picture that says: "can't walking throught there" how can I fix this problem ?

Code:
base.Actor.RouteToSlot(this.Target, this.Target .GetRoutingSlots ()); 



this is another code that seems to be working but my sim give a bubble talk picture that says :"can't walking throught there" how can I fix this problem ?


Code:
Route route = base.Actor .CreateRoute();
InteractionInstance currentInteraction = base.Actor.CurrentInteraction;
if (currentInteraction != null && currentInteraction.Target == this.Actor)
{
base.Actor.AddExitReason(ExitReason.ObjectInUse);
return false;
}

// add your data into the empty bar

route.SetOption(Route.RouteOption.IgnoreChildren, true);
route.PlanToSlot (this.Actor ,Slot.RoutingSlot_0);


base.Actor.ShowTNSIfSelectable(message + SlotInfo, StyledNotification.NotificationStyle.kSimTalking);

if(!base.Actor.DoRoute (route)){
return false;
}

if(this.Target.InUse)
{
base.Actor.AddExitReason (ExitReason .ObjectInUse );
return false;
}



When I get far to my rug it give this message:






When I get close to my rug it give the same message:


Screenshots
Click image for larger version

Name:  Screenshot-17_Edit.jpg
Views: 0
Size:  193.1 KB   Click image for larger version

Name:  Screenshot-19_Edit.jpg
Views: 0
Size:  193.5 KB  
Last edited by abd123 : 26th Feb 2012 at 07:57 PM. Reason: Adding Picture
Old 25th Feb 2012, 05:17 PM #2
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71560 in 78 Posts
25 Achievements


Do you have a ''RoutingSlot_0" for the sim tou route to?

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 25th Feb 2012, 05:38 PM #3
abd123
Original Poster

Test Subject

Join Date: Nov 2011
Posts: 54


Quote:
Originally Posted by cmomoney
Do you have a ''RoutingSlot_0" for the sim tou route to?

I don't know! maybe how do I know ?

I used :
Code:
this.Target .GetRoutingSlots ()); 


I Thought it may provide me the routing slot I need!
Last edited by abd123 : 25th Feb 2012 at 05:40 PM. Reason: Forgot to add something
Old 25th Feb 2012, 06:46 PM #4
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71560 in 78 Posts
25 Achievements


That gets the routing slots for the object, but they have to already exist in the object.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 25th Feb 2012, 06:58 PM #5
abd123
Original Poster

Test Subject

Join Date: Nov 2011
Posts: 54


Quote:
Originally Posted by cmomoney
That gets the routing slots for the object, but they have to already exist in the object.

ok ... how do I know they already exist ? because I don't know how to extract the RIG and look at it !




These is what I think are the slots that are used !

which one is used for my rug

Code:
None,
RoutingSlot_0 = 824351308u, // Used for an Easel
RoutingSlot_1,
RoutingSlot_2,
RoutingSlot_3,
RoutingSlot_4 = 824351304u,
RoutingSlot_5,
RoutingSlot_6,
RoutingSlot_7,
RoutingSlot_8 = 824351300u,
RoutingSlot_9,
RoutingSlot_10 = 2792941319u,
RoutingSlot_11 = 2792941318u,
RoutingSlot_12 = 2792941317u,
RoutingSlot_13 = 2792941316u,
RoutingSlot_14 = 2792941315u,
RoutingSlot_15 = 2792941314u,
RoutingSlot_16 = 2792941313u,
RoutingSlot_17 = 2792941312u,
RoutingSlot_18 = 2792941327u,
RoutingSlot_19 = 2792941326u,
RoutingSlot_Sentinel,
ContainmentSlot_0 = 2820733094u,
ContainmentSlot_1,
ContainmentSlot_2 = 2820733092u,
ContainmentSlot_3,
ContainmentSlot_4 = 2820733090u,
ContainmentSlot_5,
ContainmentSlot_6 = 2820733088u,
ContainmentSlot_7,
ContainmentSlot_8 = 2820733102u,
ContainmentSlot_9,
ContainmentSlot_10 = 1390898901u,
ContainmentSlot_11 = 1390898900u,
ContainmentSlot_12 = 1390898903u,
ContainmentSlot_13 = 1390898902u,
ContainmentSlot_14 = 1390898897u,
ContainmentSlot_15 = 1390898896u,
ContainmentSlot_16 = 1390898899u,
ContainmentSlot_17 = 1390898898u,
ContainmentSlot_18 = 1390898909u,
ContainmentSlot_19 = 1390898908u,
ContainmentSlot_20 = 1340566044u,
ContainmentSlot_21,
ContainmentSlot_22,
ContainmentSlot_23,
ContainmentSlot_41 = 1307010871u,
ContainmentSlot_42 = 1307010868u,
ContainmentSlot_43,
ContainmentSlot_62 = 1273455570u,
ContainmentSlot_Sentinel,
FXJoint_0 = 831137836u,
FXJoint_1,
FXJoint_2,
FXJoint_3,
FXJoint_4 = 831137832u,
FXJoint_5,
FXJoint_6,
FXJoint_7,
FXJoint_8 = 831137828u,
FXJoint_9,
FXJoint_Science_0 = 2632732107u,
FXJoint_Science_1 = 2632732106u,
FXJoint_Science_2 = 2632732105u,
FXJoint_Science_3 = 2632732104u,
FXJoint_SandsOfUnderstanding = 1563649546u,
FXJoint_Sentinel,
IKTarget_0 = 2730534067u,
IKTarget_1 = 2730534066u,
IKTarget_2 = 2730534065u,
IKTarget_3 = 2730534064u,
IKTarget_4 = 2730534071u,
IKTarget_5 = 2730534070u,
IKTarget_6 = 2730534069u,
IKTarget_7 = 2730534068u,
IKTarget_8 = 2730534075u,
IKTarget_9 = 2730534074u,
IKTarget_Sentinel,
PlacementSlot_N = 1555052449u,
PlacementSlot_S = 1555052476u,
PlacementSlot_E = 1555052458u,
PlacementSlot_W = 1555052472u,
PlacementSlot_Sentinel,
TransformBone = 3446206465u
Last edited by abd123 : 26th Feb 2012 at 08:05 PM. Reason: Adding the slot code
Old 28th Feb 2012, 02:48 PM #6
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71560 in 78 Posts
25 Achievements


Slots are in the RSLT resource of you package. Rugs don't have routing slots, so you are either going to have to add one, or replace the RSLT in your rug with one from an object with a routing.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 28th Feb 2012, 11:06 PM #7
orangemittens
Alchemist

Join Date: Mar 2005
Posts: 2,816
Thanks: 12908 in 46 Posts
13 Achievements


Iirc rugs don't have an RSLT resource...at least none of the base game ones I've used in the past have. I don't know if a routing slot can be added if an object doesn't have an RSLT but, if not, it may be the case that you need to add an RSLT resource to your rug or clone some other object that has one and change it into a rug. On the other hand maybe there is a rug that has one and I just haven't happened to stumble across it.
Old 28th Feb 2012, 11:14 PM #8
leesester
Flaily Fish



Join Date: Jul 2008
Posts: 3,928
Thanks: 75180 in 114 Posts
36 Achievements

View My Journal


In theory you can add an RSLT and reference it in the VPXY.
Screenshots
Click image for larger version

Name:  vpxy.jpg
Views: 0
Size:  103.8 KB  

More downloads by Leesester, BoilingOil and others at Leefish.nl | My Stuff at Leefish.nl | LeeFish RSS
Old 28th Feb 2012, 11:27 PM #9
orangemittens
Alchemist

Join Date: Mar 2005
Posts: 2,816
Thanks: 12908 in 46 Posts
13 Achievements


Yes...in theory that *should* work...I prolly shouldn't have mentioned it since I've never actually tested it

In reality I *know* you can change objects with an RSLT into a rug and the slots will still work

Please don't tell me EA really spelled windowslots "windoughslots"...lol.
Old 28th Feb 2012, 11:47 PM #10
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71560 in 78 Posts
25 Achievements


I don't know if rugs have one in the package, but there is one referenced in the VPXY.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 29th Feb 2012, 12:02 AM #11
leesester
Flaily Fish



Join Date: Jul 2008
Posts: 3,928
Thanks: 75180 in 114 Posts
36 Achievements

View My Journal


Quote:
Originally Posted by orangemittens

Please don't tell me EA really spelled windowslots "windoughslots"...lol.


Actually, that was me OM...

/me fails at spelling

More downloads by Leesester, BoilingOil and others at Leefish.nl | My Stuff at Leefish.nl | LeeFish RSS
Old 29th Feb 2012, 12:22 AM #12
whiterider
Oh, My!



Join Date: Jul 2005
Posts: 14,584
Thanks: 27743 in 63 Posts
30 Achievements

View My Journal


Clearly, you knead a speltcheck.

"On the page, punctuation performs its grammatical function, but in the mind of the reader it does more than that. It tells the reader how to hum the tune." - Lynn Truss, Eats, Shoots and Leaves
Old 29th Feb 2012, 12:53 AM #13
orangemittens
Alchemist

Join Date: Mar 2005
Posts: 2,816
Thanks: 12908 in 46 Posts
13 Achievements


Quote:
Originally Posted by leesester
Actually, that was me OM...
Well in that case I think it's a cute feature

None of the rugs I've seen have an RSLT in their .package. The RSLT the VPXY is referencing in several of them appears to be absent from Fullbuild0 unless I'm missing it. You could prolly just borrow that line and change it to match the new RSLT Instance if that's the way you chose to do it
Old 29th Feb 2012, 06:22 PM #14
abd123
Original Poster

Test Subject

Join Date: Nov 2011
Posts: 54


I managed to add a new one from an existing RSTL but the problem is how to use my
code which I wrote to work because it still give me a fail message:can't walking throught there"

I thought you may need the package so I send it to you to check it out !
Download - please read all instructions before downloading any files!
File Type: rar Abd123_Praying_Rug_0AF836FF.rar (38.5 KB, 3 downloads) - View custom content
Last edited by abd123 : 29th Feb 2012 at 06:36 PM. Reason: I thought you may need the package so I send it to you to check it out !
Old 29th Feb 2012, 06:42 PM #15
Kitabalibar
Test Subject

Join Date: Oct 2011
Posts: 39
Thanks: 2933 in 2 Posts
8 Achievements


For the Rug, I used a simple function: RouteToObjectRadius(this, 0.5f). It is not perfect but working
Old 29th Feb 2012, 06:48 PM #16
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71560 in 78 Posts
25 Achievements


1. The routing slot in your RSLT needs to be named as the FNV32 hash of 'RoutingSlot_0'.
2. The position of the routing slot needs to be where you want the sims to route to. Currently it is 1,1,1, which won't work. Try 0,0,0 if you are not sure.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 1st Mar 2012, 04:39 PM #17
abd123
Original Poster

Test Subject

Join Date: Nov 2011
Posts: 54


Quote:
Originally Posted by cmomoney
1. The routing slot in your RSLT needs to be named as the FNV32 hash of 'RoutingSlot_0'.
2. The position of the routing slot needs to be where you want the sims to route to. Currently it is 1,1,1, which won't work. Try 0,0,0 if you are not sure.


I tried it out still not work here it's it's still give me the false message which mean it's not working!

Quote:
Originally Posted by Kitabalibar
For the Rug, I used a simple function: RouteToObjectRadius(this, 0.5f). It is not perfect but working

I tried it but nothing happend at all ! :S
Download - please read all instructions before downloading any files!
File Type: rar Abd123_Praying_Rug_0AF836FF.rar (38.4 KB, 3 downloads) - View custom content
Last edited by abd123 : 1st Mar 2012 at 04:51 PM.
Old 1st Mar 2012, 04:51 PM #18
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71560 in 78 Posts
25 Achievements


You misunderstood. When I said change the name, I meant the name of the actual slot(SlotName in Grid), not the RSLT resource itself. You will need to change the RSLT's ID back to what it was.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 1st Mar 2012, 04:52 PM #19
abd123
Original Poster

Test Subject

Join Date: Nov 2011
Posts: 54


Quote:
Originally Posted by cmomoney
You misunderstood. When I said change the name, I meant the name of the actual slot(SlotName in Grid), not the RSLT resource itself. You will need to change the RSLT's ID back to what it was.


oh you mean that one ! how could I misunderstoond this ?
ok now what should the SlotName be 824351308u maybe?
Last edited by abd123 : 1st Mar 2012 at 04:57 PM. Reason: Want to add something
Old 1st Mar 2012, 05:13 PM #20
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71560 in 78 Posts
25 Achievements


0x31229a4c

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 1st Mar 2012, 05:25 PM #21
abd123
Original Poster

Test Subject

Join Date: Nov 2011
Posts: 54


Quote:
Originally Posted by cmomoney
0x31229a4c


Ok still fail message !
Download - please read all instructions before downloading any files!
File Type: rar Abd123_Praying_Rug_0AF836FF.rar (38.5 KB, 2 downloads) - View custom content
Old 1st Mar 2012, 05:33 PM #22
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71560 in 78 Posts
25 Achievements


You forgot to change the positions.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 1st Mar 2012, 05:40 PM #23
abd123
Original Poster

Test Subject

Join Date: Nov 2011
Posts: 54


Quote:
Originally Posted by cmomoney
You forgot to change the positions.

Oh ! yes I forgot to change it ! ok but still it give me the fail message when I made the correction the position !
Download - please read all instructions before downloading any files!
File Type: rar Abd123_Praying_Rug_0AF836FF.rar (38.5 KB, 3 downloads) - View custom content
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.