[gurps] Building a VehicleML
Zan Lynx
zlynx at acm.org
Wed Feb 18 13:27:40 CST 2009
Onno Meyer wrote:
>> all <size>/<aspeed> and like need a measurement attribute
>> <size measurement="USinch" >123x82x30</size>
>
> If it is not interpreted as text field, we should also
> make it length/width/height.
>
>> <aspeed measurement="USmph">2,360</aspeed>
How about:
<speed medium="air" value="2360" units="miles/hour"/>
<acceleration medium="air" direction="forward" value="2" units="g"/>
<acceleration medium="air" direction="backward" value="6" units="g"/>
It's a kind of toss-up between putting the value as an element attribute
or as a text node of its own. Opinions differ.
It could be like this instead:
<medium type="air">
<speed .../>
<accel .../>
</medium>
Or:
<medium>
<air>
<speed .../>
<accel .../>
</air>
<space>
...
</space>
</medium>
Or:
<motion>
<forward>
<speed />
<accel />
</forward>
<backward>
<speed />
<accel />
</backward>
<pitch>
<speed />
<accel />
</pitch>
<roll>
<speed />
<accel />
</roll>
<yaw>
<speed />
<accel />
</yaw>
</motion>
Or replace forward,backward,pitch,roll with x,y,z ax,ay,az.
Or even replace speed and accel with Δx,Δy,Δz, ΔΔx,ΔΔy,ΔΔz.
Yes, XML lets you use Unicode characters anywhere that you like. :-)
(-: ˙ǝʞıʃ noʎ ʇɐɥʇ ǝɹǝɥʍʎuɐ sɹǝʇɔɐɹɐɥɔ ǝpoɔıu∩ ǝsn noʎ sʇǝʃ ⅂WX 'sǝ⅄
--
Zan Lynx
zlynx at acm.org
"Knowledge is Power. Power Corrupts. Study Hard. Be Evil."
More information about the GurpsNet-L
mailing list