PART TWO: Making your Prop Exemplar
OK, now the prop that I was looking for is actually called "Street 2x2x1_DirtCircle" and I want to make it a T-21 prop.But we also want to make sure that our new prop doesn't interfere with any other Lot/Mod that has the same prop , This is how you do it.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader09.jpg&hash=9ef058013420af0e9df37f205884e5facd24c699)
Right click the exemplar and select"Generate new instance" and then save your .Dat again.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader10.jpg&hash=50920cf9e5ca649051fcb83f57a2af5401447492)
Now there is one important step that needs to be done. Since this prop is going to be placed on curves, we need to make sure that the prop will rotate accordingly to the piece that it is being added. Looking at the exemplar we have created , locate the property "
Resource Key Type 1". Now we need to add a "mirrored"resource key so , right click somewhere in the right pane of reader and select "
Add Property" , then scroll down to "
Resource Key Type 1xm"....(Some times , instead of Resource Key Type 1 , you may see 3 or 4 after the type, so you would select the "xm" property accordingly)
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader_sup2.jpg&hash=7740bdd94f858797320584c5fe134f4e16941ba7)
Next, we need to copy the values from the original Resource Key over to our new one by :Right clicking the original Resource Key and selecting "Edit Property". Then we want to copy all the info at the bottom and then open our new "xm" property and paste to that one. Click Apply and we're done.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader_sup3.jpg&hash=df23134718332d12bc9b8b6973578a649e5e0e61)
OK,so lets copy this exemplar to the T-21 .dat we created earlier,and making sure that we put it in our plugins folder , lets check it out in LE.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader12.jpg&hash=54927f9d76462c62f61501258ef0e9c6aab74976)
As you can see , the original Maxis prop IID of 0x2a8a0000 is accompanied by our new one ,0xb68498dc. We now have a new prop.
OK now that you ,
- Have textures to create a template in LE
- Have a T-21 exemplar as a basis
- Have a new prop exemplar
Its time to start creating a visual in order to see what we will end up with in-game. make sure that the texture.dat that was created earlier along with the .dat that has your new prop exemplars is loaded into your plugins folder and open LE.(This part is all thanks to Swampers excellent tutorial, as it makes it so much easier to T-21 these!)
Open up any of the 1x1 park lots , and remove all props and textures. Now, select your base texture.I am showing the 45 degree Avenue base texture ID#0x542bf120. You will notice that LE loads textures differently than you might expect.It also loads the number of the first zoom level numbers...ie 0x542bf120 would correspond to 0x542bf124(the largest zoom).
Place your props accordingly as this is somewhat trial and error , but at least you can see what you are doing. I would recommend a naming practice that also corresponds to exactly what this piece is(Texture # and props)in the name.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader13.jpg&hash=71c83e2a25fa5a485c4c26172681fb045100972a)
Just to help you out , I created a "mock-up"pic of both the 45 & 90 degree ave.curves,and since this was for my own use the numbering may be confusing.However ,it did come in quite handy!
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2F45Degreemockup2.jpg&hash=13b7065b66cfd0b7dcf650dbd473b06ac4f42c92)
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FMockup902.jpg&hash=04ef13193a7b057dadcf0414acf3c277106a958a)
Now that you have a lot with the props you want , lets fire reader back up and see what we need to do.
Setting up the new Exemplar
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader14.jpg&hash=17c5b7a25f8801dc5281bcc461314f28d85722e7)
OK, you remember the .dat we created with our prop information and the T-21 exemplar we extracted out of Simcity_Dat1...lets open that up and then open our new "mock-up"lot .You will see , 2 exemplars in this mock-up lot. One is for the Building info and the other is for the lot info. We need to create an exemplar with the prop info so we select the one with the lot info and navigate down to where we see the "LotConfigPropertyLotObject" and the "LotConfigPropertyLotObjectData" values. We only want the prop info so we will highlight the values that end in
01. We right click and select "copy properties".
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader15.jpg&hash=952134ce5b6e1954d48ff12a6c4a6843a10fc7ce)
Now open up your T-21 exemplar , and remove the LotConfigPropertyLotObject & LotConfigPropertyLotObjectData and then paste the data from the lot.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader16.jpg&hash=0497cb2e38abc427e13e59a30a2d949aac52e921)
This is what we should have now:
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader17.jpg&hash=38af5b7cfc087cfcfa40538a17225961b043e564)
OK , now we need to know what IID our T-21 should be , so lets open up NetworkAddonMod_WideRadiusCurves_Avenues_Plugin.dat in reader and scroll down to 0x542bf120.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader18.jpg&hash=3dac624fd7ed18d8da69f80b4b131a539941c59d)
As we can see , there aren't any other T-21 exemplars associated with this piece , so we can safely re-number our exemplar 542bf120 , since the only other associated exemplar has a different Group ID.
So lets change our IID for the new exemplar we are creating. Open the exemplar you have been working with and navigate over to "Tools" and then "Info File"
A new window opens and click "Edit"
Navigate down to "Instance" and put our IID # (without the 0x prefix") and then click "Apply"
Now it may look like nothing has changed , but if you right click the exemplar and then select "Reindex",you will see the changes as well as the creation of a .dir file.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader19.jpg&hash=a97a7611ac47ef4f751cbaccc4f4fd22e67d3c07)
Now we need to change some values for our exemplar , namely the "Exemplar Name","Exemplar ID",and "kPropertyID_LotConfigNetworkTileId".
To do so , right click Exemplar Name and select "edit". Enter a name that you can remember as you may need to come back to this exemplar to do some edits , then click "apply".Do the same for "Exemplar ID and kPropertyID_LotConfigNetworkTileId except we want to enter the actual piece number "0x542BF120".
Now comes the hard part...we need to figure out how we want the props to appear , at what wealth we want the props to appear and how frequent.
I chose the easiest path with my mods as it can get kinda confusing , but very rewarding when it works when messing with these values:
"kPropertyID_NetworkPlacementPattern","LotConfigPropertyZoneTypes","LotConfigPropertyWealthTypes", "Pattern Size","kPropertyID_FlipsAllowed",and "kPropertyID_RotationsAllowed"
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader20.jpg&hash=3223079e6fe9a8c7e343552fd948ff825a100d4a)
Here are some links that cover this more in depth:
LotConfigPropertyLotObject (http://www.sims2wiki.info/wiki.php?title=LotConfigPropertyLotObject)
How to create T21 exemplars (Swamper77's way) (http://sc4devotion.com/forums/index.php?topic=70.msg1905#msg1905)
How To Create and Modify T21s (Xyloxadoria's Way) (http://sc4devotion.com/forums/index.php?topic=7049.msg224353#msg224353)
As I said before , there are other tutorials on T-21ing , but I am trying to get as much info in one place so that anyone who wants to , can make their own Curve mods.So lets save our .dat , I recommend placing a few "zzz" in front of the name and make sure that it loads after the Wide radius curves. Remove any of your "mock-up" lots from your plugins , and try in-game.
As I said before , the Avenue and Road curves are set up differently. Both are model based , but that is where it ends. Some road curve pieces have at least one "mirrored" model with a "mirrored"texture (and the same texture is referenced multiple times by different exemplars) ,so it can get quite confusing when setting these up , namely because the textures are "mirrored" and this means you usually will make two "mock-ups"for each piece...for simplicity.
As you have seen with the Avenue curves , there was only one texture for each piece,thus only one exemplar was needed for each piece. Looking at the NetworkAddonMod_WideRadiusCurves_Roads_Plugin.dat , you can see what I mean.
Using the S curve as an example , scroll down to IID #50460005. This is the preview piece and it shows all the textures associated with it.(0x504600f4,0x504601f4 & 0x504602f4)
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FReader6.jpg&hash=f4803dbef47b63ee9bf7deb75f4d6a113fdb4ed6)
But wait a minuet...there are only 3 textures referenced .....actually if you continue scrolling down to IID#50460200 , you will see that it is also referencing the S curve. So we need to figure out the other 3 pieces .
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FRoad1.jpg&hash=e56b7d3ecfcd23b288ea2d063a1f3e8db1ab3cc8)
So if you look at the next exemplars...50460210 & 50460310 we see that they also reference the S curve. Here is something different from the avenue curves...with those we used the
texture IID numbers to create the exemplars. But , with the road curves , we choose whatever IID that corresponds to the exemplar.
Example:we want to put a light onto piece #0x504600f4. When we create the exemplar , it needs to be 50460000 , since it is the main exemplar that is referencing the puzzle piece , not the texture.
I created a "cheat sheet" for doing the road curves mod to make things easier.
S curve[tabular type=2]
[row][head]
Texture IID[/head][head]
Exemplar IID[/head][/row]
[row][data]
0x504600f4[/data][data]
50460000 [/data][/row]
[row][data]0x504601f4[/data][data]50460100 [/data][/row]
[row][data]0x504602f4[/data][data]50460110[/data][/row]
[row][data]0x504602f4 (mirrored)[/data][data]50460200[/data][/row]
[row][data]0x504601f4 (mirrored)[/data][data]50460210[/data][/row]
[row][data]0x504600f4 (mirrored)[/data][data]50460310[/data][/row]
[/tabular]
45 Degree Curve
[tabular type=2]
[row][head]Texture IID[/head][head]Exemplar IID[/head][/row]
[row][data]0x50461504[/data][data]50461000 [/data][/row]
[row][data]0x50461604[/data][data]50461100 [/data][/row]
[row][data]0x50461704[/data][data]50461200[/data][/row]
[row][data]0x50461804 [/data][data]50461110[/data][/row]
[row][data]0x50461904 [/data][data]50461210[/data][/row]
[row][data]0x50461a04 [/data][data]50461310[/data][/row]
[/tabular]
90 Degree Curve
[tabular type=2]
[row][head]Texture IID[/head][head]Exemplar IID[/head][/row]
[row][data]0x50462504[/data][data]50462000 [/data][/row]
[row][data]0x50462604[/data][data]50462100 [/data][/row]
[row][data]0x50462704[/data][data]50462200[/data][/row]
[row][data]0x50462804 [/data][data]50462210[/data][/row]
[row][data]0x50462904 [/data][data]50462300[/data][/row]
[row][data]0x50462a04 [/data][data]50462310[/data][/row]
[row][data]0x50462504 (Mirrored)[/data][data]50462440 [/data][/row]
[row][data]0x50462604 (Mirrored)[/data][data]50462430 [/data][/row]
[row][data]0x50462704 (Mirrored)[/data][data]50462420[/data][/row]
[row][data]0x50462804 (Mirrored)[/data][data]50462320[/data][/row]
[row][data]0x50462904 (Mirrored) [/data][data]50462410[/data][/row]
[/tabular]
FAR Straight
[tabular type=2]
[row][head]Texture IID[/head][head]Exemplar IID[/head][/row]
[row][data]0x5046300e[/data][data]50463000 [/data][/row]
[row][data]0x5046310e[/data][data]50463100 [/data][/row]
[row][data]0x5046320e[/data][data]50463010[/data][/row]
[row][data]0x5046300e (Mirrored) [/data][data]50463210[/data][/row]
[row][data]0x5046310e (Mirrored) [/data][data]50463100[/data][/row]
[row][data]0x5046320e (Mirrored) [/data][data]50463200[/data][/row]
[/tabular]
Straight to FAR
[tabular type=2]
[row][head]Texture IID[/head][head]Exemplar IID[/head][/row]
[row][data]0x5046300e [/data][data]50463610[/data][/row]
[row][data]0x5046310e[/data][data]50463500 [/data][/row]
[row][data]0x5046320e[/data][data]50463410 [/data][/row]
[row][data]0x5046330e[/data][data]50463300[/data][/row]
[row][data]0x5046340e [/data][data]50463400[/data][/row]
[row][data]0x5046310e (Mirrored) [/data][data]50463510[/data][/row]
[row][data]0x5046320e (Mirrored) [/data][data]50463600[/data][/row]
[/tabular]
FAR 67.5 Degree
[tabular type=2]
[row][head]Texture IID[/head][head]Exemplar IID[/head][/row]
[row][data]0x5046370e[/data][data]50463700[/data][/row]
[row][data]0x5046380e[/data][data]50463800 [/data][/row]
[row][data]0x5046381e[/data][data]50463810 [/data][/row]
[row][data]0x5046390e[/data][data]50463900[/data][/row]
[row][data]0x5046391e[/data][data]50463910[/data][/row]
[row][data]0x5046392e[/data][data]50463920[/data][/row]
[row][data]0x50463a1e[/data][data]50463a10[/data][/row]
[row][data]0x50463a2e[/data][data]50463a20[/data][/row]
[/tabular]
Small 90 Degree Curve
[tabular type=2]
[row][head]Texture IID[/head][head]Exemplar IID[/head][/row]
[row][data]0x5046400e[/data][data]50464000[/data][/row]
[row][data]0x5046401e[/data][data]50464010 [/data][/row]
[row][data]0x5046410e[/data][data]50464100 [/data][/row]
[row][data]0x5046400e (Mirrored)[/data][data]50464110[/data][/row]
[/tabular]
45 to FAR
[tabular type=2]
[row][head]Texture IID[/head][head]Exemplar IID[/head][/row]
[row][data]0x5046600a[/data][data]50466000[/data][/row]
[row][data]0x5046610a[/data][data]50466010 [/data][/row]
[row][data]0x5046611a[/data][data]50466110 [/data][/row]
[row][data]0x5046620a[/data][data]50466020[/data][/row]
[row][data]0x5046621a[/data][data]50466120[/data][/row]
[/tabular]
PART FOUR: Other useful information
Sometimes , especially with the road curves , you will have props not going where you want.It could be that the exemplar is set up wrong or you need to "tweak" the prop placement. Instead of having to completely re-do or copy and paste multiple entries into your exemplar,you simply need to copy one entry.After you make your mock up and decide to move a prop on it , simply open up whichever LotConfigPropertyLotObjectData entry you need to change and copy the 4th entry in the list.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi180.photobucket.com%2Falbums%2Fx262%2Fsithlrd98%2FTutorial_Reader21.jpg&hash=ff953c4a217d2683e32555d3ffd252dba37cff33)
Also , if you plan on using an off-set prop ...such as a tree or light , you will need to create a new prop , and exemplars for that prop. Not to mention permission from the original creator to re-distribute the props with your mod.For more information , this tutorial should help.
Tutorial: MODding rendered SC4Models (http://sc4devotion.com/forums/index.php?topic=4093.msg128642#msg128642)
I hope I didn't forget anything,but please feel free to add to this if needed. Have fun!
Jayson