- Messages
- 27
- Country

I’m kinda stumped here. I’ve programmed a custom waypoint system that works great with my HSI. My next step is to allow the user to input a sequence string (flight plans, airspace boundaries, etc). The aircraft I’m modelling for displays these sequence strings with dotted, solid, or dashed lines on the HSI. Does anyone have any idea how I can implement this?
My initial idea was to have long, thin BMPs of line styles with an accompanying mask BMP. Place one end of the line BMP at a waypoint, and make it face the next waypoint. Then, mask the line according to the distance between the waypoints. This works great until the distance between the waypoints is longer in pixels than the line BMP. You could get really complicated with dynamically adding lines but XML doesn’t seem flexible enough to do that.
My initial idea was to have long, thin BMPs of line styles with an accompanying mask BMP. Place one end of the line BMP at a waypoint, and make it face the next waypoint. Then, mask the line according to the distance between the waypoints. This works great until the distance between the waypoints is longer in pixels than the line BMP. You could get really complicated with dynamically adding lines but XML doesn’t seem flexible enough to do that.


