The International Simutrans Forum

Simutrans Extended => Simutrans-Extended paksets => Pak128.Britain-Ex => Topic started by: PJMack on April 06, 2022, 12:30:03 AM

Title: Pak128.Britain-Ex Specific Pier Documentation.
Post by: PJMack on April 06, 2022, 12:30:03 AM
Attached in a 7zip file is an Libreoffice Drawing containing the diagrams and charts to what the pier system bits are specific to Pak128.Britain-Ex.  It is a digitized version of the paper I had on my desk while designing the piers for the pakset.
Title: Re: Pak128.Britain-Ex Specific Pier Documentation.
Post by: jamespetts on April 15, 2022, 12:56:18 PM
Thank you for this - now set sticky for reference.
Title: Re: Pak128.Britain-Ex Specific Pier Documentation.
Post by: Matthew on April 27, 2022, 01:50:22 AM
Thank you for posting this, PJMack. But I don't understand how to interpret it.

The diagrams are labelled with numbers between 1 and 7. What does this mean? I take it they do not relate to the numbers between 1 and 10 under the heading "Autogroup", because I don't really see how the construction materials would determine the layout of the supports in that way. The "sub_obj_mask" items fit better as a legend to the diagrams, but don't explain the numbers above 5.

I'm sure it's perfectly logical when you know how it works, but I don't!  :-[
Title: Re: Pak128.Britain-Ex Specific Pier Documentation.
Post by: PJMack on April 27, 2022, 08:53:33 PM
If you have not done as already, you should read https://forum.simutrans.com/index.php/topic,21271.0.html (https://forum.simutrans.com/index.php/topic,21271.0.html) first.

The numbers in the diagrams represent the bit numbers for the field, 0 being the LSB.  (The exception is the RIBI diagram which uses the values in decimal.)  For the mask diagrams, numbers prefixed with "2_" are the bit fields for the masks suffixed with "_2".  As each byte (8 bits) of the 32 bit (4 byte) masks are designed to be rotated, only the lower 8 bits are labeled in the diagram.  The remaining slots can be computed by adding 8 to each 90° rotation of the labels in the direction on the arrows.  For example, in the Middle Mask, bit 15 is the lower triangle in the diagram.  The numbers in the lists also represent the bit numbers for their respective fields.