View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003943 | Spring engine | Unit Scripting | public | 2013-08-17 19:29 | 2013-08-18 01:52 |
| Reporter | FLOZi | Assigned To | abma | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 94.1.1+git | ||||
| Summary | 0003943: Unit must have maxvelocity > 0 to be transportable | ||||
| Description | As 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? | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
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. |
|
|
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? |
| 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 |