Welcome to
Mod The Sims
Online: 2237
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: 9 (Who?), Viewed: 1132 times.
Search this Thread
Old 2nd Nov 2010, 10:13 AM DefaultMaking an EA object increase other motives #1
claudiasharon
Original Poster

Scholar

Join Date: Dec 2004
Posts: 1,035
Thanks: 13846 in 222 Posts
21 Achievements

View My Journal


Okay, bad title is bad. Basically I want to have a sim use a certain object and have his/her social motive go up. But it's not a user created object, it's one already in the game. Is there a way to do this? I can't figure it out on my own (but I'm still working on it).

For crying out loud you frakking fekik!
Frelling trasta ko litbak!
Call me M-I-N-Z-Y (Minzy). ;)
Some More Sims made by me!
Last edited by claudiasharon : 3rd Nov 2010 at 05:07 AM.
Old 2nd Nov 2010, 12:30 PM #2
Shimrod101
Top Secret Researcher

Join Date: Jun 2009
Posts: 1,907
Thanks: 6803 in 54 Posts
11 Achievements


Use the ITUN (GameplayData file) associated with the item you want to change and type in something similar to the following, in the Output section.

<Change type="Social" advertised="100" locked="True" actual="100" updateType="ContinuousFlow" timeDependsOn="False" updateEvenOnFailure="False" updateAboveAndBelowZero="Either" />

You can examine these mods here http://ts3.tscexchange.com/index.php?topic=4255.0 as examples of how to do this. Open one of these in S3PE and compare it to the original ITUN.

MedievalMods and Sims3mods: Will O' Wisp fix, UI Sounds Disabled, No Cars, Gnome Family Planner, Townies Out on the Town, No Martial Arts Clothes, Fast Skilling, etc. http://simsasylum.com/tfm/
Old 2nd Nov 2010, 02:48 PM #3
claudiasharon
Original Poster

Scholar

Join Date: Dec 2004
Posts: 1,035
Thanks: 13846 in 222 Posts
21 Achievements

View My Journal


So is this an xml I'd be making or...something else I am not getting? Tuning file? Not sure the difference other than name.

For crying out loud you frakking fekik!
Frelling trasta ko litbak!
Call me M-I-N-Z-Y (Minzy). ;)
Some More Sims made by me!
Old 2nd Nov 2010, 02:54 PM #4
velocitygrass
Forum Resident

Join Date: Jun 2009
Posts: 666
Thanks: 17001 in 8 Posts
17 Achievements


Yes, the tuning file is also an xml file. It just has a different file extension.
Old 2nd Nov 2010, 03:02 PM #5
claudiasharon
Original Poster

Scholar

Join Date: Dec 2004
Posts: 1,035
Thanks: 13846 in 222 Posts
21 Achievements

View My Journal


So, for example, the smash dollhouse option, if i wanted to only have it enabled for certain ages, would I extract + edit the itun or the xml for it? Or would I have to do both?

For crying out loud you frakking fekik!
Frelling trasta ko litbak!
Call me M-I-N-Z-Y (Minzy). ;)
Some More Sims made by me!
Old 2nd Nov 2010, 04:17 PM #6
Shimrod101
Top Secret Researcher

Join Date: Jun 2009
Posts: 1,907
Thanks: 6803 in 54 Posts
11 Achievements


You're not forced to use both an _XML and an ITUN to make something work, no. You simply need to read through the relevant items and determine what you need to change. In this case the Smash_DollHouse ITUN is enough, just changing the ages up towards the top of the file should do it.

MedievalMods and Sims3mods: Will O' Wisp fix, UI Sounds Disabled, No Cars, Gnome Family Planner, Townies Out on the Town, No Martial Arts Clothes, Fast Skilling, etc. http://simsasylum.com/tfm/
Old 2nd Nov 2010, 09:19 PM #7
claudiasharon
Original Poster

Scholar

Join Date: Dec 2004
Posts: 1,035
Thanks: 13846 in 222 Posts
21 Achievements

View My Journal


I did the xml actually already, should I do the itun instead?

For crying out loud you frakking fekik!
Frelling trasta ko litbak!
Call me M-I-N-Z-Y (Minzy). ;)
Some More Sims made by me!
Old 3rd Nov 2010, 12:26 AM #8
Buzzler
1978 gallons of pancake batter



Join Date: May 2006
Posts: 2,211
Thanks: 28033 in 74 Posts
22 Achievements

View My Journal


Quote:
Originally Posted by claudiasharon
I did the xml actually already, should I do the itun instead?
_XML resources contain tunable values, anything you want, opening/closing times for the Restaurant, the completion rate of homework per minute, the lengths of aging stages, you name it. There are no rules to what an _XML resources has to contain or can't contain.

ITUN resources contain tunable values for interactions; they are XML files built to a specific "blueprint". If you want to restrict an interaction to a certain age or certain traits or want sims to gain/lose fun/social/athletic skill/whatever you usually do that with the ITUN resource. The latter one is the output Shimrod spoke of that will be applied while an interaction is running.

In a nutshell: Thresholds, "constants", start/end values of certain ranges, etc. are usually found in _XML resources. General restrictions and tradeoff like motive/skill gain/loss of interactions reside in ITUN resources.

Robot Armed With Down Comforter Levels Apartment Building, Holds Mayor Hostage.
Old 3rd Nov 2010, 12:55 AM #9
Shimrod101
Top Secret Researcher

Join Date: Jun 2009
Posts: 1,907
Thanks: 6803 in 54 Posts
11 Achievements


Quote:
Originally Posted by claudiasharon
I did the xml actually already, should I do the itun instead?


You have to do the ITUN, up towards the top, this part:

<Age Children="True" Adults="True" Toddlers="False" Teens="True" Elders="True" />

Changing one of these to "False" means that the age group isn't allowed to do this thing, in this case smashing the dollhouse. So Teens for example will never attempt to do it if you set them to False; they are locked out from doing this action.

I'm not sure which XML you're referring to, but there is nothing in the Dollhouse+Smash_XML or the other 2 Dollhouses_XMLs that can make this change.

MedievalMods and Sims3mods: Will O' Wisp fix, UI Sounds Disabled, No Cars, Gnome Family Planner, Townies Out on the Town, No Martial Arts Clothes, Fast Skilling, etc. http://simsasylum.com/tfm/
Old 3rd Nov 2010, 02:31 AM #10
claudiasharon
Original Poster

Scholar

Join Date: Dec 2004
Posts: 1,035
Thanks: 13846 in 222 Posts
21 Achievements

View My Journal


Hmm, well my package file says it's an itun, I thought it was an xml. So I guess I already did it.

For crying out loud you frakking fekik!
Frelling trasta ko litbak!
Call me M-I-N-Z-Y (Minzy). ;)
Some More Sims made by me!
Last edited by claudiasharon : 3rd Nov 2010 at 05:08 AM.
Reply


Section jump:


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