View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004660 | Spring engine | Lua | public | 2015-01-31 21:35 | 2015-01-31 23:44 | ||||
Reporter | zoggop | ||||||||
Assigned To | Kloot | ||||||||
Priority | low | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 98.0 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004660: Spring.GetGroundExtremes unresponsive to in-game heightmap changes | ||||||||
Description | Spring.GetGroundExtremes() returns the extremes of the heightmap when it's first loaded only. If the heightmap is changed with lua functions such as Spring.AdjustHeightMap(), or deformed by explosions in such a way as to create a new minimum or maximum, Spring.GetGroundExtremes() will return the same values as it did when the map loaded. | ||||||||
Steps To Reproduce | create a gadget with the code: if gadgetHandler:IsSyncedCode() then function gadget:UnitCreated() Spring.Echo(Spring.GetGroundExtremes()) end end add this gadget to a map play BA /cheat /give armpw blow up commander in lowest part of the map /give armpw | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
zoggop (reporter) 2015-01-31 21:39 |
Sorry about the first screenshot, it doesn't show you anything useful. Second screenshot (the jpg) shows elevation at cursor of 92 and Spring.GetGroundExtremes() returning a minimum elevation of 108. |
jK (developer) 2015-01-31 22:40 |
just not true |
zoggop (reporter) 2015-01-31 22:53 |
what does that mean? |
jK (developer) 2015-01-31 23:25 |
that Spring.GetGroundExtremes() works period you are doing either something wrong or you think wrong |
zoggop (reporter) 2015-01-31 23:30 |
okay, i guess i'll this make a forum post |
Kloot (developer) 2015-01-31 23:35 Last edited: 2015-01-31 23:38 |
No need for that, the only one wrong here is jK. |
Kloot (developer) 2015-01-31 23:44 |
because it was too much goddamn effort for jK: https://github.com/spring/spring/commit/45c6f627662935a0261892c566f0c7ef4aa37337 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-01-31 21:35 | zoggop | New Issue | |
2015-01-31 21:35 | zoggop | File Added: Screenshot from 2015-01-31 12:30:12.png | |
2015-01-31 21:37 | zoggop | File Added: Screenshot from 2015-01-31 12:36:11.jpg | |
2015-01-31 21:39 | zoggop | Note Added: 0013971 | |
2015-01-31 22:40 | jK | Note Added: 0013972 | |
2015-01-31 22:53 | zoggop | Note Added: 0013973 | |
2015-01-31 23:25 | jK | Note Added: 0013974 | |
2015-01-31 23:30 | zoggop | Note Added: 0013975 | |
2015-01-31 23:35 | Kloot | Note Added: 0013976 | |
2015-01-31 23:38 | Kloot | Note Edited: 0013976 | View Revisions |
2015-01-31 23:44 | Kloot | Note Added: 0013977 | |
2015-01-31 23:44 | Kloot | Status | new => resolved |
2015-01-31 23:44 | Kloot | Resolution | open => fixed |
2015-01-31 23:44 | Kloot | Assigned To | => Kloot |