Developed and tested on game version 1.67.
This mod allows to have custom cellphones (backpacks too, see below) and assign them to specific Sims.
WARNING: This is just the script, it will require third party objects to work.
I'm no mesher, so I just created a red recolored version of the default phone (no UL and no ITF)
to be used as example/reference to clone and remesh more that to be used directly.
You'll find that object in the first comment (#2).
In the tutorial below I left instructions on how to clone directly the original smartphone (UL) and futurephone (ITF).
Anyway, you'll find my custom cellphone in the BuyCatalog/ByFunction/Electronics/Misc.
The price is 0, I didn't specify one, I leave that job to the potential re-meshers.
After buying the custom cellphone and before -and-dropping it into a Sim,
use the CONFIG-tagged interactions to:
remove the current cellphone from the selected Sim; WARNING: you will lose the photos (and maybe other settings and data) stored in that cellphone!
specify what object will be used with the phone animations (the obvious choice is to associate the custom phone itself).
The default value will point to the existing, official, cellphones of the game (regular, smart or future,
depending on what you cloned - i.e. the script used).
So, yeah, our old friends NGMP's entries are needed once again.
The name for my example object is:
- ArsilPhoneCell for the regular cellphone (no University Life installed)
These names could also be used to make/sell them with the Generic Food Maker or adding them to the
shopping list of grocery-type Rabbit Holes, but they are primarily needed to make this mod work.
Scratch that, for how the mod works you can't really make/sell cellphones that way (the object will
go directly to the Sim's inventory without giving you the chance to use the 2 CONFIG interactions).
NOTE: You can give a smartPhone or a futurePhone to a Sim without having UL or ITF installed
(my mod doesn't add the related extra features), but when you save and reload the game that Sim will
have the default cellPhone again.
And if you give a regular cellphone to a Sim with UL (and maybe also with ITF) installed, when
you save and reload the game that Sim will have a smartphone (or possibly a futurephone) again.
NOTE: If you end up with a big white cube instead of a cellphone it means you have used
a name not associated with any object. Don't panic, just buy another custom cellphone from the
Catalog and use the CONFIG interaction to remove the current cellphone.
How to make a custom cellphone
Some of the operations can probably also be executed with TSRW but I'm not familiar with it.
[S3OC] Clone with renumbering my custom cellphone or clone directly the original ones:
- phoneSmartPhone in FullBuild_p18.package (UL)
- phoneSmartFuture in FullBuild_p21.package (ITF)
Additional steps to do ONLY If cloning the original smartPhone or the original phoneFuture:
[S3PE] Make the object visible in the Catalog, S3PE's Grid, CommonBlock, BuildBuyProductStatusFlags = 61
[S3PE] Assign the object to the right categories: RoomCategoryFlags, RoomSubCategoryFlags, FunctionCategoryFlags, FunctionSubCategoryFlags
[S3PE] Set LiveDraggingEnabled as true in the ObjectType field of the OBJD
[OPTIONAL] [S3PE] Remove the flags that disallow the handtool operations in the MovementFlags field of the OBJD
Don't be tempted to put 0 (0x00000000) for the GroupId of the OBJD (to get rid of the EP icon while browsing
the BuyCatalog): for how the mod works smartphones need the UL related GroupdID and futurephones need the
ITF related GroupdID.
Assign one of my scripts to the OBJK (you just replace Electronics with Arsil):
ReMesh/ReTexture it. Keep in mind that, I think, smartphones and futurephones use materialstates to change the phone skin
Create a new NGMP resource and add a new entry in it (S3PE's GRID)
Assign the FNV64 hashing of a unique name as Name and the InstanceId of the OBJD as Instance in the NGMP entry
In game, use that same unique name (that generated the hashing for the NGMP entry name) with the CONFIG interaction to set the handset name of the cellphone
This works in the same vein of a custom cellphone, but I've put the interaction to set the
name of the prop in the Buy/Build Mode so it's not in the way when playing normally.
I've also added an inventory to the backpack, the number of objects it can contain is
xml tunable (default is 10).
The script for the custom backpack is: Sims3.Gameplay.Objects.Arsil.Backpack
The default name of the prop is the one used by the official UL backpack,
but you can change it to point to the custom backpack itself using an NGMP entry name.
See the instructions to make a custom cellphone, no need to explain that again.
Keep the GroupId related to the University Life EP (0x88000000) for the OBJD of the custom backpack.
I suggest to create thumbnails for the custom backpack, because the one automatically generated
by the game is so and so in my opinion (too small).
I don't have a custom backpack I can share. The one in the screenshot is simply one of the NPC
backpacks (it uses the same mesh of the default one but a different preset), cloned and renumbered
to verify that - when "worn" - it uses the specified object instead of the default prop.
You could probably create a default replacement (just overriding its OBJK) for the default backpack
so that too has an inventory.
Note: the inventory window of the backpack automatically closes when you try to grab
the backpack to avoid to put the backpack inside itself (the world would implode otherwise).
I know that having to manually insert the name of the prop isn't very appealing,
but this is how it works. An alternative would be to create 10 or even 100 different
scripts with the name of the prop hard-coded or xml tunable, but that way you'd
have a limited number of choices and the risk of conflicts.
All respective authors and contributors of the tools and tutorials for modding TS3.
MTS and all modders who made the game much more enjoyable.