Welcome to
Mod The Sims
Online: 1977
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: 3 (Who?), Viewed: 1998 times.
Search this Thread
Old 10th Mar 2012, 10:03 PM DefaultHow To Disable Sims From Changing Clothes For A Specific Object? #1
gesimz
Original Poster

Field Researcher

Join Date: Nov 2011
Posts: 273
Thanks: 6496 in 18 Posts
13 Achievements

View My Journal


The Object in question i'm referring to here is the Mechanical Bull introduced in Showtime. In the later stages of the Skill (Level 7 I think), any Sim that goes to ride it will spin into a Cowboy/Cowgirl outfit. Tuning the MechanicalBull XML does nothing to stop the change clothes spin. I've looked at the Mechanical Bull in Reflector but can't quite identity what has to actually be done/changed to prevent Sims from changing into Cowboy clothing when using the Mechanical Bull. So my question is basically the thread title, how do you (generally) disable Sims from changing clothes for a specific object, in this case, the Mechanical Bull?
Last edited by gesimz : 19th Mar 2012 at 02:47 AM.
Old 10th Mar 2012, 10:56 PM #2
nonamena
Instructor

Join Date: Feb 2011
Posts: 553
Thanks: 2581 in 14 Posts
10 Achievements

View My Journal


Sims3.Gameplay.Objects.Entertainment.MechanicalBull.RideBull.Run()

Look at protected override bool Run()

but, you could also set the skill required in the XML to 11.
Old 10th Mar 2012, 11:14 PM #3
gesimz
Original Poster

Field Researcher

Join Date: Nov 2011
Posts: 273
Thanks: 6496 in 18 Posts
13 Achievements

View My Journal


Setting it to 11 didn't work, but setting it to 12 did.

Thanks Nonamena!

EDIT: Weird, now 11 is working as well. Not sure what was happening exactly, but I got the desired result, that's the main thing.
Old 19th Mar 2012, 02:51 AM #4
gesimz
Original Poster

Field Researcher

Join Date: Nov 2011
Posts: 273
Thanks: 6496 in 18 Posts
13 Achievements

View My Journal


I am bumping this thread as a result of a request I received for disabling the Lab Outfit change when using the Chemistry Table in Generations and relates to the original query.

Unlike the mechanical bull, this appears to not be tunable via XML and requires an object script mod.

Within the protected bool SwitchToLabOutfit I located the Actor.SwitchToOutfitWithSpin(outfit.Key);
return true
; and changed that to false while keeping the rest of the SwitchToLabOutfit in tact,

The final script did not work in-game.

Any ideas on what needs to be changed specifically to disable spin changing into Lab Coats in-game when using the Generations Chemistry Table?
Reply


Section jump:


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