PDA

View Full Version : couplers


BigPeter
02-29-2008, 06:15 PM
After trying to position couplers without much success due to very poor eyesight, I found that in my wagon XML I now have 4 entries , 2 for each coupler pivot point and 2 for each coupler receiving point. Is it possible to find out what each line does and enter the coupler position manually with the correct figures. I have determined the 14th and 15th lines are height of coupler and distance from center.
The entry below shows other figures, but I think I twisted the coupler when trying to place the coupler in asset editor.


<FrontCouplingPivot>
<cHcRMatrix4x4>
<Element>
<e d:type="sFloat32">0.979002</e>
<e d:type="sFloat32">0.200856</e>
<e d:type="sFloat32">0.034825</e>
<e d:type="sFloat32">0.000000</e>
<e d:type="sFloat32">-0.198169</e>
<e d:type="sFloat32">0.977861</e>
<e d:type="sFloat32">-0.067214</e>
<e d:type="sFloat32">0.000000</e>
<e d:type="sFloat32">-0.047696</e>
<e d:type="sFloat32">0.058871</e>
<e d:type="sFloat32">0.997126</e>
<e d:type="sFloat32">0.000000</e>
<e d:type="sFloat32">0.059413</e>
<e d:type="sFloat32">0.784166</e>
<e d:type="sFloat32">3.368955</e>
<e d:type="sFloat32">1.000000</e>
</Element>
</cHcRMatrix4x4>
</FrontCouplingPivot>

sniper297
03-01-2008, 07:47 PM
Dunno the answer to your question, but thanks for answering mine;

http://forums.flightsim.com/vbts/showthread.php?t=267444

Changed the pivot height to the same as the US couplers and that works. Only question is, if the coupler height is in the pivot points datablocks, what exactly are the receiving points for?

One thing does look odd tho, for yours;


<e d:type="sFloat32">0.784166</e>


Looks like some code is missing and you have 0.784166 for the height.


<e d:type="sFloat32" d:alt_encoding="000000606666F03F" d:precision="string">1.0250</e>


That's the European, random sampling shows 1.0250 as the height for all the ones I looked at, the US couplers are 0.8763, not 0.784166.

BigPeter
03-02-2008, 12:46 AM
yes, NZ couplers are .760 centres from rail level

The receiving point would be the point where the hook joins the other coupler, or with bull head (AAR) it be the point were heads are connected. At a guess, thats what I working on anyway.

I roughly place those couplers in asset editor, so the figures are way out, not sure about the missing bit of code, as it does not appear to have d:alt_encoding="000000606666F03F"
in the XML file.

peter

sniper297
03-02-2008, 01:40 AM
Well, might be something to do with alternates, who knows. First problem with blueprints asset editors is you gotta be a rocket scientist to even figure out how to load something, and I ain't one. Second problem is you can't do anything without a source file from a 3D cad program, another thing that requires a rocket scientist to use, so as screwy as all these internal aliasing rat's maze paths in all these interconnected files are, it's easier for me to just hack existing ones. Only thing I can suggest at this point, register at www.UKtrainsim.com and post this question over there, lot more 3D cad guys on that side of the big pond.

BigPeter
03-02-2008, 02:08 AM
Yes thanks, I am a mod at UKTS, so know it well. yes maybe I should cross post to get as much input as possible. I am converting so,e my many TS models over to start.

I not sure why it shows me as a Jnr member with 7 posts, as I been a member of this forum for 2 years this month and posted a lot more then 7 times, oh well.
Thanks for answering.