the Sim Settlements forums!

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Logic issue in PDF tutorial instructions '02_Your_First_Addon'

Firefox.jco

Active Member
Messages
163
I'm trying to follow the 02_Your_First_Addon PDF tutorial and I found a
information conflict in Basic Skin Form Creation section

--> In Step 26. it says: 'Double-click the LevelSkins property, then click Add on the far right, and find the lvl1 record you
created in step 15. Repeat for the level 2 and 3 records, ensuring that the 3 records are in order 1,
2, 3.'... but if we go back to Step 2, from that step through Step 13 we are taught how to create a duplicate of
a single item, named 'yourPrefix_BuildingSkin_BuildingMaterials01_Gold'.
And from 15 to 23 you are instructed to create 3 items titled 'yourPrefix_BuildingSkin_BuildingMaterials01_Gold_L1',
'yourPrefix_BuildingSkin_BuildingMaterials01_Gold_L2 and
'yourPrefix_BuildingSkin_BuildingMaterials01_Gold_L3', which DO NOT have the LevelSkins property, this same priority (LevelSkins) is only present in the item created from Step 2 to Step 13.

So, my question is the following: Is it to create 3 items following from Step 2 to Step 3, with the same titles being 'yourPrefix_BuildingSkin_BuildingMaterials01_Gold',
'yourPrefix_BuildingSkin_BuildingMaterials02_Gold' and 'yourPrefix_BuildingSkin_BuildingMaterials03_Gold'?
 
And from 15 to 23 you are instructed to create 3 items titled 'yourPrefix_BuildingSkin_BuildingMaterials01_Gold_L1',
'yourPrefix_BuildingSkin_BuildingMaterials01_Gold_L2 and
'yourPrefix_BuildingSkin_BuildingMaterials01_Gold_L3'
^^^ These are the items step 26 is asking for.
which DO NOT have the LevelSkins property
You likely copied the wrong form.

Basic Skin - Recoloring
Step 2 is to make a copy of these forms:
SS2_Industrial2x2_BuildingMaterials01_L1 -> mySkin_Industrial2x2_BuildingMaterials01_Gold_L1
SS2_Industrial2x2_BuildingMaterials01_L2 -> mySkin_Industrial2x2_BuildingMaterials01_Gold_L2
SS2_Industrial2x2_BuildingMaterials01_L3 -> mySkin_Industrial2x2_BuildingMaterials01_Gold_L3
Then change the material for each form to gold.

Basic Skin Form Creation
Step 2 is to make a copy of this form:
SS2_Template_BuildingSkin -> mySkin_BuildingSkin_BuildingMaterials01_Gold
This should have the BuildingSkin script on it.

Step 15 is to make a copy of BuildingLevelSkin for each level.
SS2_Template_BuildingLevelSkin -> mySkin_BuildingSkin_BuildingMaterials01_Gold_L1
SS2_Template_BuildingLevelSkin -> mySkin_BuildingSkin_BuildingMaterials01_Gold_L2
SS2_Template_BuildingLevelSkin -> mySkin_BuildingSkin_BuildingMaterials01_Gold_L3
Then set script properties.

Step 24 open mySkin_BuildingSkin_BuildingMaterials01_Gold and set properties to forms created in step 15.

Its easy to get confused as these forms have similar names.

You can find more info here for regular building plans:
 
Top