This is an archived, read-only instance of the CortUI Trac. This site is no longer actively maintained. Registration and login have been disabled. Content is preserved for reference only.

Opened 17 years ago

Last modified 16 years ago

#19 closed defect

LessHUD and JelloShot targetview fails to render — at Initial Version

Reported by: MrWabbit Owned by: FlingPu
Priority: minor Milestone: 1.77
Component: HUD: lessHUD Version: 1.76
Keywords: Jelloshot, lesshud, targeting view, geoimage Cc:

Description

Both the targetviews in LessHUD and JelloShot? fail to render correctly.
the geo -thing is there, as well as the shield and hull indicators.

checked dialog mdl; everything after the lines for the geo appears to be ignored. Confirmed by testing hypothesis by changing code like so:

(line 2996 and onwards)
fpTargetDisplayGroup1 =

GroupImage?([

TranslateImage?(fpTargetShieldImage, Point(119, 0)),
TranslateImage?(fpTargetHullImage, Point(0, 0)),
TranslateImage?(fpTargetExperienceImage, Point(280, 120)),
TranslateImage?(fpTargetOvalColor, Point(6, 17)),
TranslateImage?(TargetName?, Point(6, 108)),
TranslateImage?(fpTargetRange, Point(166, 16)),
TranslateImage?(fpTargetSpeed, Point(-142, 16)),
TranslateImage?(fpTargetInRange, Point(6, 14))
]);

fpTargetGeo =

GeoImage?(

targetGeo,
Rect(0, 0, 96, 96),
targetCamera,
true
);


fpTargetDisplay =
VisibleImage?(

TranslateImage?(

GroupImage?([

TranslateImage?(fpTargetGeo,Point(36, -8)),
TranslateImage?(fpTargetDisplayGroup1, Point(0, 0))
])

,Point(234, 27)

),

IsNotNull?(Target, OnEveryFrame?)

);

Change History (1)

Changed 17 years ago by MrWabbit

Attachment: dialog.mdl added

dialog mdl containing fix for jelloshut and lesshud targetview not rendering bug

Note: See TracTickets for help on using tickets.