View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004000 | Spring engine | General | public | 2013-09-12 01:35 | 2013-09-12 09:34 |
| Reporter | silentwings | Assigned To | jK | ||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 94.1.1+git | ||||
| Summary | 0004000: uDef.canfly is always nil in unitdefs post | ||||
| Description | (so is uDef.isAirUnit & likely more tags), tested with -1128 | ||||
| Steps To Reproduce | put the following code into unitdefs_post for name, ud in pairs(UnitDefs) do Spring.Echo(ud.isAirUnit, ud.canFly) end it will return "nil,nil" for all units, but when placed in some gadget:Initialize it will give the right results. | ||||
| Additional Information | what i'm trying to do here is counterbalance the change in scaling for aircraft brakerate | ||||
| Tags | No tags attached. | ||||
| Checked infolog.txt for Errors | |||||
|
|
_post.lua get what _you_ send to the engine: no default inserts, no scalings done, ... just pure lua tables with random strings in it |
|
|
FYI: all the "raw" tags are accessible in _post but you must use LOWERCASE keys (ud.canfly) |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-09-12 01:35 | silentwings | New Issue | |
| 2013-09-12 06:20 | jK | Note Added: 0011591 | |
| 2013-09-12 06:20 | jK | Status | new => closed |
| 2013-09-12 06:20 | jK | Assigned To | => jK |
| 2013-09-12 06:20 | jK | Resolution | open => no change required |
| 2013-09-12 09:34 | Kloot | Note Added: 0011592 | |
| 2013-09-12 09:34 | Kloot | Status | closed => feedback |
| 2013-09-12 09:34 | Kloot | Resolution | no change required => reopened |
| 2013-09-12 09:34 | Kloot | Status | feedback => closed |
| 2013-09-12 09:34 | Kloot | Resolution | reopened => no change required |