Quote:
Originally Posted by Benno4
Sounds good man but I don't quite understand how it would all work, but it would be amazing to have community cars to look the way they do after purchase. If you can clarify further, I would really appreciate it.
|
Before I can really explain this further, I am going to add a modded car to the dealer along with a basket for it as well.
To me, how I understand the way the presetride hash and the basket file and it's hash work together to show and preview the car in dealer. In theory, if you are creating a new basket for the car it should show a preview of the car based off the presetride pointing to that specific basket.. in theory it should.. but the hash number used for the presetride needs to represent the actual car and the basket PhysicsProfileHash will be the car shown in dealer.
So if I use a stock Silvia to build my ride, it will have the presetride hash (from BAMBIE's list = presetcar SILVIAS15_base_0 3106232841 White_64x64 ) that is what I would use in the presetride cat file, then the basket file will be maybe this = 3703742235=Nissan Silvia S15 so it will show the stock white Silvia because of the PhysicsProfileHash used in the basket file and the presetride hash number... But in theory what ever mods added to that basket should also show (I would think it would anyway because the change to the basket file that is the actual car file being used to represent the car in dealer- like the Ach-Lambo).
So I am not sure if I helped in any further explanation but It is something I have to test now to see if changes made to a car's basket can be seen in the dealer...
:handsdown:
EDIT: I will do a simple basic build with varied stuff..
EDIT2: When we added the Ach Lambo we made a new basket file with the correct info and in the dealer I used this but the hash was from the blue lambo originally until I was pointed to BAMBIE's list and that is how we changed it to its normal preview...
<ProductTrans><BundleItems i:nil="true"/><CategoryId i:nil="true"/><Currency>CASH</Currency><Description/><DurationMinute>0</DurationMinute><Hash>3608146753</Hash><Icon>ArtDirector_64x64</Icon><Level>0</Level><LongDescription/><Price>1400000.0000</Price><Priority>0</Priority><ProductId>SRV-CAR376</ProductId><ProductTitle>ACHIEVEMENT EDITION</ProductTitle><ProductType>PRESETCAR</ProductType><SecondaryIcon/><UseCount>1</UseCount><VisualStyle/><WebIcon/><WebLocation/></ProductTrans>
The basket info was added
<OwnedCarTrans><CustomCar><BaseCar>837621662</BaseCar><CarClassHash>-405837480</CarClassHash><Id>25122236</Id><IsPreset>false</IsPreset><Level>0</Level><Name/><Paints><CustomPaintTrans><Group>1773701481</Group><Hue>496032328</Hue><Sat>0</Sat><Slot>0</Slot><Var>0</Var></CustomPaintTrans><CustomPaintTrans><Group>-1480403439</Group><Hue>496032328</Hue><Sat>0</Sat><Slot>1</Slot><Var>0</Var></CustomPaintTrans><CustomPaintTrans><Group>-1480403439</Group><Hue>496032328</Hue><Sat>0</Sat><Slot>2</Slot><Var>0</Var></CustomPaintTrans><CustomPaintTrans><Group>17737014 81</Group><Hue>496032328</Hue><Sat>0</Sat><Slot>3</Slot><Var>0</Var></CustomPaintTrans><CustomPaintTrans><Group>17737014 81</Group><Hue>496032328</Hue><Sat>0</Sat><Slot>4</Slot><Var>0</Var></CustomPaintTrans><CustomPaintTrans><Group>17737014 81</Group><Hue>496032328</Hue><Sat>0</Sat><Slot>5</Slot><Var>0</Var></CustomPaintTrans><CustomPaintTrans><Group>17737014 81</Group><Hue>496032328</Hue><Sat>0</Sat><Slot>6</Slot><Var>0</Var></CustomPaintTrans><CustomPaintTrans><Group>17737014 81</Group><Hue>496032328</Hue><Sat>0</Sat><Slot>7</Slot><Var>0</Var></CustomPaintTrans></Paints><PerformanceParts/><PhysicsProfileHash>-1999453860</PhysicsProfileHash><Rating>713</Rating><ResalePrice>425000</ResalePrice><RideHeightDrop>0</RideHeightDrop><SkillModParts/><SkillModSlotCount>5</SkillModSlotCount><Version>0</Version><Vinyls><CustomVinylTrans><Hash>1626924581 </Hash><Hue1>-799662188</Hue1><Hue2>-799662411</Hue2><Hue3>0</Hue3><Hue4>0</Hue4><Layer>0</Layer><Mir>false</Mir><Rot>0</Rot><Sat1>0</Sat1><Sat2>0</Sat2><Sat3>0</Sat3><Sat4>0</Sat4><ScaleX>5407</ScaleX><ScaleY>4096</ScaleY><Shear>0</Shear><TranX>0</TranX><TranY>-28</TranY><Var1>255</Var1><Var2>0</Var2><Var3>0</Var3><Var4>0</Var4></CustomVinylTrans><CustomVinylTrans><Hash>-538165389</Hash><Hue1>0</Hue1><Hue2>-799662188</Hue2><Hue3>0</Hue3><Hue4>0</Hue4><Layer>1</Layer><Mir>false</Mir><Rot>0</Rot><Sat1>0</Sat1><Sat2>255</Sat2><Sat3>0</Sat3><Sat4>0</Sat4><ScaleX>1474</ScaleX><ScaleY>999</ScaleY><Shear>0</Shear><TranX>-369</TranX><TranY>41</TranY><Var1>0</Var1><Var2>255</Var2><Var3>0</Var3><Var4>0</Var4></CustomVinylTrans><CustomVinylTrans><Hash>-538158855</Hash><Hue1>0</Hue1><Hue2>-799662188</Hue2><Hue3>0</Hue3><Hue4>0</Hue4><Layer>2</Layer><Mir>false</Mir><Rot>0</Rot><Sat1>0</Sat1><Sat2>255</Sat2><Sat3>0</Sat3><Sat4>0</Sat4><ScaleX>1474</ScaleX><ScaleY>999</ScaleY><Shear>0</Shear><TranX>369</TranX><TranY>41</TranY><Var1>0</Var1><Var2>255</Var2><Var3>0</Var3><Var4>0</Var4></CustomVinylTrans><CustomVinylTrans><Hash>634444429 </Hash><Hue1>0</Hue1><Hue2>0</Hue2><Hue3>0</Hue3><Hue4>0</Hue4><Layer>3</Layer><Mir>false</Mir><Rot>0</Rot><Sat1>0</Sat1><Sat2>0</Sat2><Sat3>0</Sat3><Sat4>0</Sat4><ScaleX>1457</ScaleX><ScaleY>943</ScaleY><Shear>0</Shear><TranX>-3</TranX><TranY>325</TranY><Var1>0</Var1><Var2>0</Var2><Var3>0</Var3><Var4>0</Var4></CustomVinylTrans><CustomVinylTrans><Hash>634444761 </Hash><Hue1>0</Hue1><Hue2>0</Hue2><Hue3>0</Hue3><Hue4>0</Hue4><Layer>4</Layer><Mir>false</Mir><Rot>0</Rot><Sat1>0</Sat1><Sat2>0</Sat2><Sat3>0</Sat3><Sat4>0</Sat4><ScaleX>2375</ScaleX><ScaleY>1638</ScaleY><Shear>0</Shear><TranX>-2</TranX><TranY>-130</TranY><Var1>0</Var1><Var2>0</Var2><Var3>0</Var3><Var4>0</Var4></CustomVinylTrans><CustomVinylTrans><Hash>992680692 </Hash><Hue1>-799662320</Hue1><Hue2>0</Hue2><Hue3>0</Hue3><Hue4>0</Hue4><Layer>5</Layer><Mir>false</Mir><Rot>64</Rot><Sat1>0</Sat1><Sat2>0</Sat2><Sat3>0</Sat3><Sat4>0</Sat4><ScaleX>245</ScaleX><ScaleY>327</ScaleY><Shear>0</Shear><TranX>61</TranX><TranY>12</TranY><Var1>16</Var1><Var2>0</Var2><Var3>0</Var3><Var4>0</Var4></CustomVinylTrans><CustomVinylTrans><Hash>-883491363</Hash><Hue1>-799662418</Hue1><Hue2>0</Hue2><Hue3>0</Hue3><Hue4>0</Hue4><Layer>6</Layer><Mir>false</Mir><Rot>0</Rot><Sat1>0</Sat1><Sat2>0</Sat2><Sat3>0</Sat3><Sat4>0</Sat4><ScaleX>327</ScaleX><ScaleY>327</ScaleY><Shear>0</Shear><TranX>-486</TranX><TranY>-486</TranY><Var1>205</Var1><Var2>0</Var2><Var3>0</Var3><Var4>0</Var4></CustomVinylTrans></Vinyls><VisualParts><VisualPartTrans><PartHash>-665238181</PartHash><SlotHash>2106784967</SlotHash></VisualPartTrans></VisualParts></CustomCar><Durability>100</Durability><ExpirationDate i:nil="true"/><Heat>1</Heat><Id>237</Id><OwnershipType>CustomizedCar</OwnershipType></OwnedCarTrans>
Now at one point we used a second Blue Lambo to be the Ach, but changing that presetride hash number changed the preview of the car in the dealer to represent the actual car...
So in other words the hash numbers in the presetride file will be the preview for the car. Sorry!