View Issue Details

IDProjectCategoryView StatusLast Update
0000661Spring engineGeneralpublic2007-10-28 14:27
ReporterKDR_11k Assigned Totvo  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Summary0000661: [patch]scrolling lasers
DescriptionCurrently lasers stretch to their length, the laser always has the full texture, no matter what its length is. That worked back when lasers had no texture but now with custom graphics it looks silly. This patch changes it so the texture always remains the same size and the laser just shows the part that its length can contain. It also adds proper handling for when a laser impacts before it extends to full size by making the laser stay that size but scrolling the visible part of the texture before the laser contracts again (and preventing the laser from fading out if it has already hit). This greatly improves the look of very long laser shots with textures.

This also adds the tag "hardStop" (bool, default 0) which, if used, makes the laser not fade if it doesn't hit before hitting its range limit and instead has the laser stop immediately and contract, as if it had hit something. This looks better with really long lasers, especially those that are longer than their range.
Additional InformationForb seriously needs to reduce the duration on the armmanni weapon in FunTA...
TagsNo tags attached.
Attached Files
scrollinglaser.patch (Attachment missing)
Checked infolog.txt for Errors

Activities

tvo

2007-10-28 14:27

reporter   ~0001371

Committed, thanks!

Issue History

Date Modified Username Field Change
2007-10-19 18:38 KDR_11k New Issue
2007-10-19 18:38 KDR_11k File Added: scrollinglaser.patch
2007-10-28 14:26 tvo Status new => assigned
2007-10-28 14:26 tvo Assigned To => tvo
2007-10-28 14:27 tvo Status assigned => resolved
2007-10-28 14:27 tvo Resolution open => fixed
2007-10-28 14:27 tvo Note Added: 0001371