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

Closed 16 years ago

#19 closed defect (worksforme)

LessHUD and JelloShot targetview fails to render

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

Description (last modified by Henrik Heimbuerger)

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)
);

Attachments (2)

dialog.mdl (125.5 KB) - added by MrWabbit 17 years ago.
dialog mdl containing fix for jelloshut and lesshud targetview not rendering bug
dialog.mdl.ticket19.against_r74.patch (2.9 KB) - added by Henrik Heimbuerger 16 years ago.
patch of the attached dialog.mdl against r74 (the revision dialog.mdl was at at the time)

Download all attachments as: .zip

Change History (6)

Changed 17 years ago by MrWabbit

Attachment: dialog.mdl added

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

comment:1 Changed 17 years ago by Henrik Heimbuerger

Description: modified (diff)

comment:2 Changed 17 years ago by Henrik Heimbuerger

Milestone: 1.77

Changed 16 years ago by Henrik Heimbuerger

patch of the attached dialog.mdl against r74 (the revision dialog.mdl was at at the time)

comment:3 Changed 16 years ago by Henrik Heimbuerger

Owner: changed from FlingPu to Henrik Heimbuerger
Status: newaccepted

comment:4 Changed 16 years ago by Henrik Heimbuerger

Resolution: worksforme
Status: acceptedclosed

Can't reproduce this in R5. Please reopen with description and/or screenshots if you can still reproduce this.

BW's patch has *not* been applied.

Note: See TracTickets for help on using tickets.