Add Any Lot Size (edited 01/16/2014)
SCREENSHOTS
Downloaded 197,803 times
6,765 Thanks
2057 Favourited
705,361 Views
Say Thanks!
Thanked!
Picked Upload!
This is a picked upload! It showcases some of the best talent and creativity available on MTS and in the community.
Uploaded: 11th Mar 2012 at 6:44 PM
Updated: 16th Jan 2014 at 6:24 PM - added note about patch 1.66
Updated: 16th Jan 2014 at 6:24 PM - added note about patch 1.66
01/16/2014: still works with 1.66
10/18/2013: still works with 1.63
09/04/2013: still works with 1.57
07/07/2013: added v1.0.3 in the uploads for those that aren't fully patched. If you have patch 1.50 or earlier download that version.
06/19/2013: v1.0.4 updated mod to fix code changes in patch 1.55. The patch added the ability to set the lot type and sub lot type for each preset and set a product version, though this function doesn't seemed to be used at the moment. For now the mod adds all new lot sizes as normal residential lots. Is there interest for (optionally) configuring the lot type when adding new lot sizes?
Note 02/20/2013: still works with 1.50
Note 01/22/2013: still works with 1.48
Note 01/09/2013: still works with 1.47
Note 10/31/2012: still works with 1.42
Note 09/27/2012: still works with 1.39
Note 09/11/2012: still works with 1.38
Updated 03/17/2012: v1.0.3 updated mod to allow optional removal of default EA lot sizes
Updated 03/12/2012 (again) : v1.0.2 fixes issue with loading/starting a world after switching back to main menu. I'm very sorry for the inconvenience. Many thanks to anie_1981 for the report!
Updated 03/12/2012: updated the mod to allow adding your own icons for the default sizes
EA adds new community and/or residential lots in every expansion. Unfortunately the sizes of those lots can be completely random. Or even if they're not random, they could be 40x30, which is not available in the World Editor.
This script mod will allow you to add any size (from 1x1 to 64x64) to the World Editor from the cheat console:
Usage
Press Ctrl + Shift + C to bring up the cheat console. Then type "AddLotSize [width] [height]", e.g. "AddLotSize 32 29" without quotation marks. When you now switch into the World Editor, you should see the new lot size with a lot symbol with a question mark. Hover over the symbol to see the size in a tooltip popup.
The additions to the World Editor are not persistent between game sessions. However, pre-configured lot sizes will be added every time the mod is loaded. By default these are the lot sizes 40x30 and 50x40.
Tuning Options
If you want to change the default sizes that should always be added and you know how to modify .xml resources, you can change the VelocitygrassAddAnyLotSizeTuning.xml (Instance: 0xE5953153E5365909) in the package.
You'll find the following line in the .xml which you can adapt to your needs:
You can also add your own icons for the default sizes:
Note: You can still add lot sizes via the cheat console, but they will always have the lot size icon with the question mark.
To remove the default EA lot sizes set the following to true:
Additional information
This is a scripting mod. It should not conflict with any other mods and should be safe to remove at any time.
This script was built for patch level 1.33, but a first version of it was done for patch 1.22, so it could also work in earlier versions, though I can make no guarantees.
Additional Credits:
Thanks to Peter and Inge Jones for S3PE, Inge Jones for the tuning mod to change lot sizes, armiel for Builder's Island - DIY, Buzzler for his mini-tutorial, which I shamelessly linked to, and the creators and maintainers of the XML Tuning mod tutorial.
10/18/2013: still works with 1.63
09/04/2013: still works with 1.57
07/07/2013: added v1.0.3 in the uploads for those that aren't fully patched. If you have patch 1.50 or earlier download that version.
06/19/2013: v1.0.4 updated mod to fix code changes in patch 1.55. The patch added the ability to set the lot type and sub lot type for each preset and set a product version, though this function doesn't seemed to be used at the moment. For now the mod adds all new lot sizes as normal residential lots. Is there interest for (optionally) configuring the lot type when adding new lot sizes?
Note 02/20/2013: still works with 1.50
Note 01/22/2013: still works with 1.48
Note 01/09/2013: still works with 1.47
Note 10/31/2012: still works with 1.42
Note 09/27/2012: still works with 1.39
Note 09/11/2012: still works with 1.38
Updated 03/17/2012: v1.0.3 updated mod to allow optional removal of default EA lot sizes
Updated 03/12/2012 (again) : v1.0.2 fixes issue with loading/starting a world after switching back to main menu. I'm very sorry for the inconvenience. Many thanks to anie_1981 for the report!
Updated 03/12/2012: updated the mod to allow adding your own icons for the default sizes
EA adds new community and/or residential lots in every expansion. Unfortunately the sizes of those lots can be completely random. Or even if they're not random, they could be 40x30, which is not available in the World Editor.
This script mod will allow you to add any size (from 1x1 to 64x64) to the World Editor from the cheat console:
Usage
Press Ctrl + Shift + C to bring up the cheat console. Then type "AddLotSize [width] [height]", e.g. "AddLotSize 32 29" without quotation marks. When you now switch into the World Editor, you should see the new lot size with a lot symbol with a question mark. Hover over the symbol to see the size in a tooltip popup.
The additions to the World Editor are not persistent between game sessions. However, pre-configured lot sizes will be added every time the mod is loaded. By default these are the lot sizes 40x30 and 50x40.
Tuning Options
If you want to change the default sizes that should always be added and you know how to modify .xml resources, you can change the VelocitygrassAddAnyLotSizeTuning.xml (Instance: 0xE5953153E5365909) in the package.
You'll find the following line in the .xml which you can adapt to your needs:
Code:
Note: Buzzler has short instructions for making such changes here in the description. If you need support for this, please check the tutorial on XML Tuning Mods and post in the thread that is linked at the end.<kVelocitygrassLotSizesForEditWorld value="40x30, 50x40" />
You can also add your own icons for the default sizes:
- Create a .png image of size 44x44 pixel for each of your default lot sizes
- Open the package in S3PE and add each of the lot images you created:
To import your .png images in S3PE, click Resource -> Import -> From file...
Then select your file and fill in the following dialog. You should select the proper type, copy the icon name into the Name field and then click the FNV64 button, which will generate the correct Instance for you. Please make sure that these are unique names. Best include your username and the lot size in the name of your icons.
- Edit the .xml with your default lot sizes and the names of your lot images
Code:becomes something like<kVelocitygrassLotSizesForEditWorld value="40x30, 50x40" /> <kVelocitygrassLotIconsForEditWorld value="velocitygrass_lot_custom, velocitygrass_lot_custom" />
Code:where "myname_lotsize_40x30" is the icon name of the icon for the size 40x30.<kVelocitygrassLotSizesForEditWorld value="40x30, 60x40" /> <kVelocitygrassLotIconsForEditWorld value="myname_lotsize_40x30, myname_lotsize_60x40" />
Note: You can still add lot sizes via the cheat console, but they will always have the lot size icon with the question mark.
To remove the default EA lot sizes set the following to true:
Code:
<kVelocitygrassClearExistingLotSizesForEditWorld value="false" />
Additional information
This is a scripting mod. It should not conflict with any other mods and should be safe to remove at any time.
This script was built for patch level 1.33, but a first version of it was done for patch 1.22, so it could also work in earlier versions, though I can make no guarantees.
Additional Credits:
Thanks to Peter and Inge Jones for S3PE, Inge Jones for the tuning mod to change lot sizes, armiel for Builder's Island - DIY, Buzzler for his mini-tutorial, which I shamelessly linked to, and the creators and maintainers of the XML Tuning mod tutorial.
MTS has all free content, all the time. Donate to help keep it running.
velocitygrass_AddAnyLotSize103.zip
| Package for patch 1.50 and earlier only!
Download
Uploaded: 7th Jul 2013, 4.4 KB.
24,483 downloads.
|
||||||||
velocitygrass_AddAnyLotSize.zip
| This is the package for patch 1.55 and later.
Download
Uploaded: 11th Mar 2012, 4.5 KB.
173,263 downloads.
|
||||||||
For a detailed look at individual files, see the Information tab. |
Install Instructions
Also Thanked - Users who thanked this download also thanked:
-
[{"0":"470223","threadid":"470223","1":"9","c":"9","2":"[New UPDATE] Yoga Rug","title":"[New UPDATE] Yoga Rug","3":"6963737","postuserid":"6963737","4":"Kitabalibar","postusername":"Kitabalibar"},{"0":"480744","threadid":"480744","1":"9","c":"9","2":"Cigarette\/Smoking Mod","title":"Cigarette\/Smoking Mod","3":"2545457","postuserid":"2545457","4":"cmomoney","postusername":"cmomoney"},{"0":"402950","threadid":"402950","1":"9","c":"9","2":"Weapons System","title":"Weapons System","3":"3457664","postuserid":"3457664","4":"desecrate","postusername":"desecrate"},{"0":"459967","threadid":"459967","1":"9","c":"9","2":"Gardener Service - v2.3 (4th May 2014)","title":"Gardener Service - v2.3 (4th May 2014)","3":"6962806","postuserid":"6962806","4":"douglasveiga","postusername":"douglasveiga"},{"0":"466990","threadid":"466990","1":"8","c":"8","2":"No Shopping from Fridge - update 18.8.2014","title":"No Shopping from Fridge - update 18.8.2014","3":"3002461","postuserid":"3002461","4":"ani_","postusername":"ani_"},{"0":"437344","threadid":"437344","1":"8","c":"8","2":"Moar Interactions","title":"Moar Interactions","3":"432522","postuserid":"432522","4":"Buzzler","postusername":"Buzzler"},{"0":"478307","threadid":"478307","1":"8","c":"8","2":"Remove stencils\/overlays from build\/buy\/CAS objects in game (edited 01\/16\/2014)","title":"Remove stencils\/overlays from build\/buy\/CAS objects in game (edited 01\/16\/2014)","3":"3045250","postuserid":"3045250","4":"velocitygrass","postusername":"velocitygrass"},{"0":"407111","threadid":"407111","1":"8","c":"8","2":"Storage *Compatible with 1.67*","title":"Storage *Compatible with 1.67*","3":"297866","postuserid":"297866","4":"treeag","postusername":"treeag"},{"0":"378416","threadid":"378416","1":"8","c":"8","2":"[UPDATE] 10 new CAS Sliders (Breast, Hip, Waist, Butt, Head and more)","title":"[UPDATE] 10 new CAS Sliders (Breast, Hip, Waist, Butt, Head and more)","3":"2393587","postuserid":"2393587","4":"jonha","postusername":"jonha"},{"0":"411634","threadid":"411634","1":"8","c":"8","2":"Housecleaning For All Sims","title":"Housecleaning For All Sims","3":"432522","postuserid":"432522","4":"Buzzler","postusername":"Buzzler"}]
About Me
Please feel free to pick apart and reuse anything of my mods that you find useful.
If you have a problem with/question about one (or more) of my mods, please post in the appropriate comment section of the download and don't PM me. Thank you.
If you have a problem with/question about one (or more) of my mods, please post in the appropriate comment section of the download and don't PM me. Thank you.