View Issue Details

IDProjectCategoryView StatusLast Update
0005332Spring engineGeneralpublic2016-08-28 11:57
ReporterForboding Angel Assigned To 
PrioritylowSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version103.0 
Summary0005332: Hover units can't path over water that does lots of damage
DescriptionI can't decide if it's a bug or a feature. I think it's probably a bug, but it almost feels like a feature in some respects. That said, hover units really should be able to go over damaging water without taking damage. As it is now they can't even path over it.
Steps To ReproduceUse evo:test, load up map Volcanic Basin v04. /give 1 elighttank3 and try to move it over the lava.
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

lamer

2016-08-12 09:07

reporter   ~0016609

Last edited: 2016-08-12 19:36

Magic numbers:
https://github.com/spring/spring/blob/f5b80e199f2a490fdcc8bae1430bade9bc5188af/rts/Sim/MoveTypes/MoveDefHandler.cpp#L130
https://github.com/spring/spring/blob/f5b80e199f2a490fdcc8bae1430bade9bc5188af/rts/Sim/MoveTypes/MoveDefHandler.cpp#L63

A map has to have water damage < 1e+4f for hovers to path.
Also note:
https://github.com/spring/spring/blob/f5b80e199f2a490fdcc8bae1430bade9bc5188af/rts/Sim/Units/Unit.cpp#L1233

Maybe magic numbers should be a modoption?

Forboding Angel

2016-08-12 10:33

reporter   ~0016610

Oh? That's interesting. Then I don't consider this a bug and it clearly is a feature. Albeit a somewhat poorly thought out feature.

hokomoko

2016-08-26 19:24

developer   ~0016629

is this report calling for some action?

Forboding Angel

2016-08-28 11:52

reporter   ~0016631

This needs a mapinfo tag. Just randomly having this feature is unintuitive at best and a noobtrap at worst.

hokomoko

2016-08-28 11:57

developer   ~0016632

I'd say having your units just dying when you gave them a moveorder through damaging terrain is unintuitive and a noobtrap

Issue History

Date Modified Username Field Change
2016-08-12 03:10 Forboding Angel New Issue
2016-08-12 09:07 lamer Note Added: 0016609
2016-08-12 10:33 Forboding Angel Note Added: 0016610
2016-08-12 19:36 lamer Note Edited: 0016609
2016-08-26 19:24 hokomoko Note Added: 0016629
2016-08-26 19:24 hokomoko Status new => feedback
2016-08-28 11:52 Forboding Angel Note Added: 0016631
2016-08-28 11:52 Forboding Angel Status feedback => new
2016-08-28 11:57 hokomoko Note Added: 0016632