In order for a roof truss load to be stable you need to assign two of your nodes on each truss to be support nodes.
Roof load distribution.
For dead loads you are correct.
Live loads and total loads which are dead load live load.
Roof uniform load distribution these examples use an assumed load of 40 psf.
A fixed node will provide support in both directions down the length of the roof truss members often called the x and y directions.
Here each square foot of roof system delivers 50 pounds of live load and 15 pounds of dead load 65 psf total to the structural support system.
You will be designing with two sets of loads.
Remember these loads are distributed uniformly over the entire surface of the roof.
A clay tiled roof may have a dead load.
The dead load of a typical asphalt shingled wood framed roof is about 15 pounds per square foot.
However in my practice i typically use the horizontal run of the roof for both types of load.
The load increases with the use of heavier roofing material.
This means that one is a fixed node and the other is a rolling node.
Technically you should use the actual rafter length when adding up the weight of roofing materials.