Welcome to
Mod The Sims
Online: 1984
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: 171 (Who?), Viewed: 53798 times.
Search this Thread
Old 27th Jun 2009, 02:01 PM DefaultTutorial: Sims 3 XML Tuning Modding #1
HystericalParoxysm
Original Poster

Administrator



Join Date: Tommorow
Posts: 21,337
Thanks: 332022 in 214 Posts
46 Achievements

View My Journal


Tutorial Link

This tutorial may be found here: Sims 3 XML Tuning Modding

Questions?

If you have questions relating to this tutorial, please post them in this thread. I or another modder will do what we can to help with any questions.
5 users say thanks for this.
[ Click here to view a longer list ]
Old 29th Jun 2009, 07:07 PM Where do I find how to change the moodlets? #2
Amion
Test Subject

Join Date: Jun 2008
Posts: 6


Great tutorial, it helped me quite a bit!

So here's my problem:
I have been trying to change the outcoming moodlet for a certain action, eg: Sim drinks juice from the bar but instead of getting the "Sugar Rush" moodlet I want him to get the "Nausious" moodlet. I am thought not sure how to do that. It seems that there is one or more files that control what moodlet goes to what action but I can't find it.

Does anyone else know where to look?
Old 1st Jul 2009, 08:40 AM #3
Godofgame1st
Test Subject

Join Date: Jun 2009
Posts: 26


i'm unable to download the S3PE because in the download page there is actually no download button

I'm the GOD so take a bow
Old 1st Jul 2009, 09:07 AM #4
Inge Jones
Mad Poster

Join Date: Sep 2004
Posts: 6,878
Thanks: 7430 in 17 Posts
18 Achievements


Sourceforge may be being stupid again at the moment...

simlogical
Please do not PM me with questions about modding. Please post in an appropriate forum and send me a link to the thread if you would like me to try and help.
Old 1st Jul 2009, 01:37 PM #5
snowy345
Test Subject

Join Date: Jun 2009
Posts: 2


Gameplaydata.package isnt showing up in S3PE when I try to open it.
Old 1st Jul 2009, 11:31 PM #6
MickieJames
Test Subject

Join Date: Jun 2007
Posts: 56


This helped loads!
Last edited by Delphy : 2nd Jul 2009 at 12:12 AM. Reason: This is not your personal ad space.
Old 2nd Jul 2009, 08:34 PM #7
anikan1233
Test Subject

Join Date: Jun 2009
Posts: 2


"Unhandled exception has occurred in your application.
If you click Continue, the application will ignore this error
and attempt to continue.
If you click Quit, the appplication will close immediatley

Access to path 'C:\Program Files\Electronis Arts\The Sims 3\Game\Bin\Gameplay\GamplayData.Package' is denied."

And then under " Details " I get this:

"See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Electronic Arts\The Sims 3\Game\Bin\Gameplay\GameplayData.package' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode)
at s3pi.Package.Package.OpenPackage(Int32 APIversion, String PackagePath)
at S3PIDemoFE.MainForm.MainForm_PackageFilenameChanged(Object sender, EventArgs e)
at S3PIDemoFE.MainForm.OnPackageFilenameChanged(Object sender, EventArgs e)
at S3PIDemoFE.MainForm.set_Filename(String value)
at S3PIDemoFE.MainForm.menuBarWidget1_MRUClick(Object sender, MRUClickEventArgs filename)
at S3PIDemoFE.MenuBarWidget.OnMRUClick(Object sender, Int32 i)
at S3PIDemoFE.MenuBarWidget.tsMRU_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
---------------------------------------- S3PE Assembly Version: 906.30.16.27753
Win32 Version: 906.30.16.27753
CodeBase: file:///C:/Program%20Files/s3pe/s3pe.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
s3pi.Interfaces
Assembly Version: 906.30.14.23845
Win32 Version: 906.30.14.23845
CodeBase: file:///C:/Program%20Files/s3pe/s3pi.Interfaces.DLL
----------------------------------------
vusnhnlz
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.1434 (REDBITS.050727-1400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
s3pi.Package
Assembly Version: 906.30.14.23848
Win32 Version: 906.30.14.23848
CodeBase: file:///C:/Program%20Files/s3pe/s3pi.Package.DLL
----------------------------------------
s3pi.Settings
Assembly Version: 906.30.14.23845
Win32 Version: 906.30.14.23845
CodeBase: file:///C:/Program%20Files/s3pe/s3pi.Settings.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box. "


That's what it says....What do I do?
It happens whenever I try to open GamplayData.Package in S3PE.
I just don't get it.
Old 3rd Jul 2009, 01:15 AM #8
Srikandi
Pattern Pusher



Join Date: Aug 2006
Posts: 5,397
Thanks: 11424 in 63 Posts
13 Achievements


S3PE support questions should probably be posted over at http://www.simlogical.com/Sims3Tool....php?board=19.0, after you've scanned the other threads there first of course
Old 3rd Jul 2009, 03:35 AM
anikan1233
This message has been deleted by anikan1233.
Old 3rd Jul 2009, 03:36 AM #9
anikan1233
Test Subject

Join Date: Jun 2009
Posts: 2


Thank you Srikandi, you saved me :D
Old 3rd Jul 2009, 05:03 AM #10
WolFox
Test Subject

Join Date: May 2005
Posts: 6


If I click File-Save instead of File-Save as..., will I be saving over the original game file?
Old 5th Jul 2009, 05:57 PM #11
Nandonalt
Lab Assistant

Join Date: Sep 2008
Posts: 176
Thanks: 17513 in 38 Posts
16 Achievements


Yes, Wol.

I am NOT accepting requests right now, sorry!

Visit Nando Sims for my Sims2 Creations!
Visit Nando Sims 3 for my Sims3 Creations(PTBR)!
Old 6th Jul 2009, 03:16 AM #12
Kolipoki
The Attack Cat



Join Date: Jul 2008
Posts: 617
Thanks: 15287 in 154 Posts
18 Achievements

View My Journal


In the editing part of the tutorial it says that you can make it so you just have tags. Does that make it so it conflicts with less mods? Is there a tutorial on how to make it just tags or can someone tell me how? I'd like to know. Thanks.
Old 6th Jul 2009, 10:42 AM #13
bella3lek4
Field Researcher

Join Date: Nov 2008
Posts: 420
Thanks: 5791 in 43 Posts
10 Achievements


Hey everybody i want to ask about how to add new interactions in main pie menu (the menu with .friendly../romantic.../mean...etc..)
because the tutorial didn't help me so much in this sorry , do any one knows how to add new interactions to the main pie menu please help! am waiting!
Old 6th Jul 2009, 05:07 PM #14
Kolipoki
The Attack Cat



Join Date: Jul 2008
Posts: 617
Thanks: 15287 in 154 Posts
18 Achievements

View My Journal


I believe that pie menus are part of the core part of the game and not the gameplay package so you can't do anything using this tutorial.
Old 8th Jul 2009, 12:16 AM #15
Ashleigh825
Lab Assistant

Join Date: Nov 2008
Posts: 88
Thanks: 982 in 6 Posts
8 Achievements

View My Journal


When I try to open the gameplay package, I just get an error message, saying the specified path is denied.

This will happen occasionally when I try to install mods to The Sims 3 with Delphy's Helper Monkey, but the problem is always resolved by installing the mod manually, instead; however, I have no clue how to get around this issue when opening .package files in a program.

(I'm running Vista, if that matters at all).
Old 9th Jul 2009, 03:42 PM #16
Keram
Test Subject

Join Date: Jun 2008
Posts: 6


What does "Time value="1" addRoute="True" " mean?
What is "1"?
What is "True"?
Old 9th Jul 2009, 04:21 PM #17
gnid69
Test Subject

Join Date: Jul 2009
Posts: 2


I would really appreciate some help. Only thing I'm after is slowing in-game clock speed, while keeping normal animation speeds, so all actions will take less in-game time. So far i couldnt find parameter responsible for it. Its an absurd that to walk few steps takes 1 minute, as with most other things. unplayable for my taste
Old 9th Jul 2009, 04:42 PM #18
jadaytime
Lab Assistant

Join Date: Jun 2009
Posts: 133
Thanks: 749 in 8 Posts
4 Achievements


Quote:
Originally Posted by Ashleigh825
When I try to open the gameplay package, I just get an error message, saying the specified path is denied.

This will happen occasionally when I try to install mods to The Sims 3 with Delphy's Helper Monkey, but the problem is always resolved by installing the mod manually, instead; however, I have no clue how to get around this issue when opening .package files in a program.

(I'm running Vista, if that matters at all).


I'm running Vista as well and I got this problem. My way of fixing? Un-installing and re-installing in Program files.
Old 12th Sep 2009, 06:35 AM #19
Realizer
Test Subject

Join Date: Aug 2009
Posts: 2


Quote:
Originally Posted by Keram
What does "Time value="1" addRoute="True" " mean?
What is "1"?
What is "True"?


Hi there, i believe I know where you saw this, just a guess, you where trying to see the upgrade times and change them?

If i am right i think "Time value="1" means that it can get the value from other place, addroute="True" means that it allows the sim to plan a route to the place to start the action.

Now if i was right about the upgrade i found out that in reality the upgrade time is associated with the object in question, not with the action.
For example try to filter the resource type to 0x0333406C and find the showers and look at the code.

Now, i got a problem i Copied the TGI's and got a big list ( the attachment, sorry 4 the name was uninspired) now my question is, what do i do with this, must i export one by one or having the said list i can do like a "find only these items"
Download - please read all instructions before downloading any files!
File Type: txt XML Hacking.txt (2.5 KB, 119 downloads)
Description: Hexadecimal combinations for items to change upgrade time.
Old 2nd Oct 2009, 09:19 PM #20
Immortellemuse
Test Subject

Join Date: Apr 2007
Posts: 9


Quote:
Originally Posted by Ashleigh825
When I try to open the gameplay package, I just get an error message, saying the specified path is denied.

This will happen occasionally when I try to install mods to The Sims 3 with Delphy's Helper Monkey, but the problem is always resolved by installing the mod manually, instead; however, I have no clue how to get around this issue when opening .package files in a program.

(I'm running Vista, if that matters at all).


You just have to 'Run as Administrator'
Considering the Gameplay package is in the Program Files, and you need administrator permission to do so.

Just wanted to note that so people know. I had the problem with Vista too.
Old 14th Oct 2009, 12:55 AM #21
Dead-EV
Test Subject

Join Date: Oct 2008
Posts: 22


I tried to open the gameplay file, but it came up with this message:

Could not open package:
C: \ Program Files \ Electronic Arts \ The Sims 3 \ Game \ Bin \ Gameplay \ GameplayData.package

Access to the path 'C: \ Program Files \ Electronic Arts \ The Sims 3 \ Game \ Bin \ Gameplay \ GameplayData.package' was denied.
----
Stack trace:
by System.IO.__Error.WinIOError (Int32 errorCode, String maybeFullPath)

by System.IO.FileStream.Init (String path, File Mode Mode, File Access access, Int32 rights, Boolean useRights, File Share share, Int32 Buffer Size, File option option, SECURITY_ATTRIBUTES secAttrs, msgPath String, Boolean bFromProxy)

at System.IO.FileStream .. ctor (String path, File Mode Fashion, Access File Access, File Share share)

by s3pi.Package.Package.OpenPackage (Int32 APIversion, PackagePath String, Boolean readwrite)

by S3PIDemoFE.MainForm.MainForm_PackageFilenameChanged (Object sender, EventArgs e)


What can i do then? I'm running vista btw
Old 14th Oct 2009, 01:31 AM DefaultNo Running #22
kfeekanne
Test Subject

Join Date: Jun 2009
Posts: 4


I wanted my Sims to walk more instead of running at short distances, e.g. in their house. I searched and found, but my changes don't have any effect at all, the Sims still run at the smallest distances.

I extracted the xml, altered the values and saved it to a package, which is placed correctly (/Mods/Packages)).

S3_0333406C_00000000_E360EF92B8233FCA

DEFAULT CODE:
<kWalkStyleAdultDistanceThresholds value="10, 18, -1, 999999999">
<!--Description: The maximum distance in meters for Adults to which each individual basic walk style is used from slowest walk to fastest walk. The walk styles are: (1) Walk, (2) FastWalk, (3) Fast Jog, (4) Run. Note that only three values are specified; no value is specified for Run since it is used for any route farther than a Fast Jog. The max distances can be debug drawn using the cheat command 'showwalkdist' (Black = Walk, Blue = FastWalk, Green = Fast Jog.-->
</kWalkStyleAdultDistanceThresholds>

ALTERED CODE:
<kWalkStyleAdultDistanceThresholds value="1000, 1800, -1, 999999999">
<!--Description: The maximum distance in meters for Adults to which each individual basic walk style is used from slowest walk to fastest walk. The walk styles are: (1) Walk, (2) FastWalk, (3) Fast Jog, (4) Run. Note that only three values are specified; no value is specified for Run since it is used for any route farther than a Fast Jog. The max distances can be debug drawn using the cheat command 'showwalkdist' (Black = Walk, Blue = FastWalk, Green = Fast Jog.-->
</kWalkStyleAdultDistanceThresholds>

I also tried "value="1000, 1800, 2000, 999999999">", "value="10, -1, -1, -1">", ... and more combinations, but nothing changes anything.

Thanks for any help in advance, kfeekanne
Old 14th Oct 2009, 11:17 AM #23
Shimrod101
Top Secret Researcher

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


Quote:
Originally Posted by kfeekanne
I wanted my Sims to walk more instead of running at short distances, e.g. in their house. I searched and found, but my changes don't have any effect at all, the Sims still run at the smallest distances.


I suggest changing the values on your Adults to exactly the same values as the ones on Elders, just to test it out, to see if it works. These may not be the values you want permanently, but they should work on adults so you can check to see if it's moddable.

Often there is a range of values which is valid, you've probably seen this in other XMLs. Possibly your 1000 or 1800 values aren't valid numbers, they simply haven't stated what the valid range is in the description.

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 29th Nov 2009, 04:39 PM #24
Anaria
Test Subject

Join Date: Dec 2006
Posts: 26


Hi

Can I change the number of sims that can live in one household with this? If yes, how?

Thanks
Last edited by Anaria : 29th Nov 2009 at 05:33 PM.
Old 29th Nov 2009, 09:31 PM #25
Shimrod101
Top Secret Researcher

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


Quote:
Originally Posted by Anaria
Hi
Can I change the number of sims that can live in one household with this? If yes, how?
Thanks


No, you can't do it with XML. Supposedly the NRaas Super Computer will do this now, but I haven't tried this function on 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/
Reply


Section jump:


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