Mini-Tutorial: Marking Cars as Selectable by the Decorative Parking Space
Date Posted: 17th May 2009 at 11:34 PM Views: 2672
In order for BHAV code to find objects that are not currently on your lot, we found an instruction that allows the selection of objects with a particular value set (see this tutorial if you are interested in BHAV programming). This means that in order to have any specific car mesh found and used in your Decorative Parking Space, that car must be marked with a particular selector value. For custom cars, there is a very small step that anyone familiar with SimPEwiki could do for themselves, or, hopefully, car mesh owners will gradually update their cars to include.

How to mark a car with the correct selectable value
  1. Open the car's .package file in SimPE.
  2. In the Resource Tree pane of SimPE, select the 'Object Data (OBJD)' section.
  3. In the Resource List pane of SimPE, this will now show one item with a name something like 'Car Ownable - car name'. Select this item
  4. Ensure you are looking at the Plugin View tab.
  5. Select the 'RAW Data' tab.
  6. Scroll right to the bottom, and look for the field labelled '0x004B: Selector Category'
  7. Edit the 'Selector Category' field to have the value 3, and additionally the 'Selector Sub-Category field just below it to have the value 3 as well.
  8. Commit your change.
  9. File->Save
  10. File->Save Copy As... into your downloads directory.
To test it has been marked correctly
  1. Start up your Sims 2 game
  2. Place the decorative parking space in a lot
  3. Press <Ctrl>+<Alt>+<c> to bring up the cheats window
  4. Type boolProp testingCheatsEnabled true
  5. Hold down the <Shift> key and right-click on the parking space.
  6. Select the menu item labelled "*Show All Cars". This will cycle through all the cars that the code can find. If you have correctly made the update to the Selector Category, you will see your car in this cycle. This means that your car is available for the decorative car parking space to randomly select for use.
  7. If you have a Pets or newer Expansion pack there is an easier way - select the menu item labelled "Create Car..." which will have a sub-menu of all the cars and pick your one. If it isn't in the list to choose, it isn't correctly categorised.
Annoyingly Maxis have categorised two baby changing tables as Selector = 3, sub-selector = 1, which is why we are using a Sub-Selector here even though we are using the number Maxis assigned as the category for Vehicles!

Recent Comments for: Mini-Tutorial: Marking Cars as Selectable by the Decorative Parking Space
Mini-Tutorial: Marking Cars as Selectable by the Decorative Parking Space
By MogHughson (27th Sep 2009 at 5:54 PM)
jbeach34 - I have added the wiki link to SimPE to the journal entry for you to read.
Mini-Tutorial: Marking Cars as Selectable by the Decorative Parking Space
By jbeach34 (15th Sep 2009 at 2:27 AM)
What is SimPE? And how do you find it to open it?
Mini-Tutorial: Marking Cars as Selectable by the Decorative Parking Space
By mattc117 (17th Jul 2009 at 5:25 PM)
Thanks, I'll update my remesh I'm about to upload.
Mini-Tutorial: Marking Cars as Selectable by the Decorative Parking Space
By MogHughson (7th Jun 2009 at 9:54 PM)
Hi timoram - Just tried out that package and works fine for me. Which EPs do you have?
Mini-Tutorial: Marking Cars as Selectable by the Decorative Parking Space
By Diggrdude (7th Jun 2009 at 9:29 PM)
Cool, Thanks!
Mini-Tutorial: Marking Cars as Selectable by the Decorative Parking Space
By Jasumi (5th Jun 2009 at 3:59 AM)
Thank you for this quick, easy to do tutorial. My parking spaces are looking great now.
About the Decustomized Cars and the Decorative Parking Space
By timoram26 (1st Jun 2009 at 7:22 PM)
Well, I follow every step of this tutorial in ordre to update the decustomized cars by Richief (http://www.moreawesomethanyou.com/s...ic,13883.0.html) but it don't work...
Is there a problem with those particular packages ?
Mini-Tutorial: Marking Cars as Selectable by the Decorative Parking Space
By Aeros (24th May 2009 at 10:57 PM)
Sims PE won't corrupt it unless you mess with something you don't know how, to back your game up, copy paste your documents-sims2 to another location and delete the original if you screw it up.
Mini-Tutorial: Marking Cars as Selectable by the Decorative Parking Space
By MogHughson (20th May 2009 at 11:23 AM)
Hi Simsguy521 - the other way is to wait for the car makers to do these steps for you and download them again. You will have the Maxis cars with the Parking Space already.

Regarding backing up your game, if you plan to change a cars .package file, take a copy of that file and put it somewhere safe, then if you make any mistake you can simply put that copy back into your downloads folder to revert to the way it was before.
Mini-Tutorial: Marking Cars as Selectable by the Decorative Parking Space
By Simsguy521 (19th May 2009 at 7:01 AM)
Is there a way to use custom cars without sim PE as I don't want it to corrupt my game and I dont have a clue about backing my game up

vB Journal Version 1.5.0 Beta 3
vB Journal Copyright Anthony Scudese