View Full Version : Metric units
Jorik
Apr 9th, '03, 05:34 AM
Two questions:
1. Is there a way to export the Metric units of Height and Weight? HD displays them in the interface but I couldn't find the parameter which prints them.
2. Can you perform mathematical operations on the parameters at the XML/HTML export file? For instance, you'd like to add a new Characteristic that is figures from EGO+CON - I don't know enough HTML or whatever language it is written in... how do you add/subtract/multiply them?
Thanks in advance,
Roy.
Simon
Apr 9th, '03, 05:39 AM
1. If needed, I could create the appropriate tags
2. To do that, you'd need to have some JavaScript in your export template. It would be easy enough to do, really....just a JavaScript block which would contain the tag as the value of a variable, process the variable in whatever way you wanted, and then do a "document.write()" to put the result into the HTML.
Jorik
Apr 9th, '03, 05:42 AM
I guess I can try to create metric based units using the javascript you suggested (eeek).
But if you add such tags it will be helpful :)
Thanks,
Roy.
Jorik
Apr 9th, '03, 06:15 AM
Ooops. Tried to convert the HEIGHT/WEIGHT tags to metric units (even asked help from one of the developers where I work) but failed. But while trying to do it I found that the HEIGHT/WEIGHT are strings, i.e. Ht is 6' 2" and Wt is "225 lbs"
so I guess you can't really perform mathematical operations on them - or can you?
If not so I resubmit my request for Metric units in HEIGHT/WEIGHT. (or, at least, some way to extrapolate them).
Thanks very much!
Roy.
Heroman
May 14th, '03, 06:58 AM
I too, would like this fix. Considering everything in the book is in meters and kg including sizing powers like growth, feet and pounds is kind of out of place....
Rigel
May 14th, '03, 10:33 AM
It's done already. Update 1.35 introduced two new tags for export templates: <!--HEIGHT_METRIC--> and <!--WEIGHT_METRIC-->. I don't know if anyone has modified any export templates online to display the metric values, but it wouldn't be too hard to do.
Powered by vBulletin® Version 4.2.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.