View Issue Details

IDProjectCategoryView StatusLast Update
0003943Spring engineUnit Scriptingpublic2013-08-18 01:52
ReporterFLOZi Assigned Toabma  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version94.1.1+git 
Summary0003943: Unit must have maxvelocity > 0 to be transportable
DescriptionAs description.

This may be due to being classed as a structure otherwise... What was the problem with using yardmap and only yardmap to determine if something is a structure?
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

FLOZi

2013-08-17 19:33

reporter   ~0011323

Sorry I skimped on details, I was annoyed.

The passenger in question has a movementclass defined, and mass and footprint are within tolerances for the transport, but it will not load if maxvelocity is 0.

FLOZi

2013-08-17 19:45

reporter   ~0011324

Last edited: 2013-08-17 19:56

This can probably be closed, it is due to the default behaviour of cantBeTransported unitdef tag, and the fact that the RequireMoveDef function https://github.com/spring/spring/blob/94.1/rts/Sim/Units/UnitDef.h#L69 requires speed > 0

perhaps it should use IsBuildingUnit instead?

Issue History

Date Modified Username Field Change
2013-08-17 19:29 FLOZi New Issue
2013-08-17 19:33 FLOZi Note Added: 0011323
2013-08-17 19:45 FLOZi Note Added: 0011324
2013-08-17 19:46 FLOZi Note Edited: 0011324
2013-08-17 19:56 FLOZi Note Edited: 0011324
2013-08-17 19:56 FLOZi Note Edited: 0011324
2013-08-18 01:52 abma Status new => closed
2013-08-18 01:52 abma Assigned To => abma
2013-08-18 01:52 abma Resolution open => no change required