View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0000641 | Spring engine | General | public | 2007-09-21 10:43 | 2007-10-29 21:57 | ||||
Reporter | KDR_11k | ||||||||
Assigned To | imbaczek | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0000641: set HEADING doesn't seem to update piece positions for emit-sfx | ||||||||
Description | A unit that is turned with a set HEADING command and uses an emit-sfx effect will have the effect appear at the position and orientation the piece had before the unit was turned. The position gets corrected a moment later (probably at slowupdate) but it's enough to make e.g. fixedlauncher missiles fire off in the wrong direction. | ||||||||
Additional Information | I've attached a WIP version of Lolimod that often has the error, units are turned in their AimWeapon function (and don't shoot while moving). When a unit moves, stops and fires the first few shots will often exhibit this issue. The bunny unit is the most affected. Try spawning a few units for the enemy team and run a bunny around them. | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Notes | |
imbaczek (reporter) 2007-09-27 18:18 |
Failed to load armorDefs error = 2, gamedata/defs.lua, [string "gamedata/defs.lua"]:36: [string "gamedata/defs.lua"]:24: error = 2, gamedata/armorDefs.lua, [string "gamedata/armorDefs.lua"]:19: Error parsing armor.txt: missing file will try to put a dummy armor.txt in, hopefully there are no more errors. |
imbaczek (reporter) 2007-09-27 18:29 |
after adding [FOO] {} it worked, i don't know what's wrong and what's right. |
tombom (reporter) 2007-10-10 15:28 |
This happens because direction is only updated from the heading in SlowUpdate. I've attached a patch which forces an update whenever heading is changed in COB. |
imbaczek (reporter) 2007-10-11 20:55 |
applied the patch in r4543, KDR please test. |
KDR_11k (reporter) 2007-10-29 21:14 |
it works |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2007-09-21 10:43 | KDR_11k | New Issue | |
2007-09-21 10:43 | KDR_11k | File Added: Lolimod_Mantis.sd7 | |
2007-09-27 18:18 | imbaczek | Note Added: 0001315 | |
2007-09-27 18:29 | imbaczek | Note Added: 0001316 | |
2007-10-10 15:28 | tombom | Note Added: 0001334 | |
2007-10-10 15:28 | tombom | File Added: cobheadingissuepatch.patch | |
2007-10-11 20:55 | imbaczek | Note Added: 0001340 | |
2007-10-29 20:56 | tvo | Status | new => feedback |
2007-10-29 21:14 | KDR_11k | Note Added: 0001380 | |
2007-10-29 21:57 | imbaczek | Status | feedback => resolved |
2007-10-29 21:57 | imbaczek | Resolution | open => fixed |
2007-10-29 21:57 | imbaczek | Assigned To | => imbaczek |