TUTORIAL - Very basic XML tutorial
Added 2019-10-06 15:26:23 +0000 UTCXML is not really a programming language, if you want to know in details how it works, there are plenty tutorials and information you can find around. I'm just going to focus on something that can make you panic in case you never looked at it before in your life, but you want, for example, fix a mod you have in your folder that broke and you can't play without... so you open it in S4S, and, let's say, you want to remove something like this:

you do this:

and Sims 4 Studio tells you this:


"the initial tag on the line xxx. position x..." etc....
Then you close the mod without saving and never try it again.
What did you do? You simply left a tag open.
The structure is the same as:
{ [ (-22 +5) - (-5 + 3) ] - 2 }
This is something we all saw at school...
So, the simplest one in the code we have is:
<T>96885<!--loot_Commodity_HygieneHands_ReduceLow--></T>
<T> is the opening tag
96885 is what's inside the tag
<!--loot_Commodity_HygieneHands_ReduceLow--> is a comment the game will ignore
</T> is the closing tag
All of this is inside <L n="loot_list"> </L>
<L n="loot_list">
<T>96885<!--loot_Commodity_HygieneHands_ReduceLow--></T>
</L>
all of this is inside <U n="actions"> </U>
<U n="actions">
<L n="loot_list">
<T>96885<!--loot_Commodity_HygieneHands_ReduceLow--></T>
</L>
</U>
all of this is inside <V n="outcome" t="single"> </V>
<V n="outcome" t="single">
<U n="actions">
<L n="loot_list">
<T>96885<!--loot_Commodity_HygieneHands_ReduceLow--></T>
</L>
</U>
</V>
When you open a tag, you need to close it. And you can close it like this:
<V n="outcome" t="single" />

Comments
Yes. You need to follow the start to finish tutorials to get a better idea of this and how it works but very quickly, L stands for Tunable List, U is a Tunable Tuple, T is a Tunable, V is a Tunable Variant. You'll need this only when you'll need to use the TDESC to add functions.
Zero_
2020-02-12 03:44:08 +0000 UTCDo those letters (L,T,U,and V) of the tag mean anything?
Sirena
2020-02-11 23:26:38 +0000 UTCI'm not sure why either.... there are the features tags, if you go on one of them it should give you the list of all the tags... try to see if it lets you see all the posts that way
Zero_
2019-10-06 18:47:51 +0000 UTCHey, thanks for all your mods and tutorials. Just wanted to let you know that I can only see 10 of your posts. When I scroll to the bottom it asks me if I want to see all 68 posts, but when I select that it sends me to a 404 error page. Not sure what to do.
LadyEdgelord
2019-10-06 18:14:24 +0000 UTC