View Issue Details

IDProjectCategoryView StatusLast Update
0000951Spring engineGeneralpublic2008-10-14 21:21
ReporterEvil4Zerggin Assigned ToKloot  
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Summary0000951: Make Floating Structures Obey Maxslope on Land?
DescriptionPatch to make floating structures check maxslope on land. I'm not the most familiar with C++ and the engine so please check the code.
Additional InformationAs far as I can tell, giving a structure a waterline and removing minwaterdepth allows it to be built on land and water, and the structure floats when on the latter. However, it also appears to ignore the structure's slope tolerance, even on land. Would it be possible to make it not ignore slope tolerance on land (but still ignore it on water)? This would allow us to use the same structure on both land and water, saving space on buildlists.

See also:

http://spring.clan-sy.com/phpbb/viewtopic.php?f=21&t=15152
TagsNo tags attached.
Attached Files
FloatingSlopeTolerance.patch (Attachment missing)
FloatingSlopeTolerance_01.patch (Attachment missing)
FloatingSlopeTolerance_02.patch (Attachment missing)
Checked infolog.txt for Errors

Activities

Evil4Zerggin

2008-06-11 23:12

reporter   ~0002330

Added patch for ground flattening, although I think I did it wrong (should flatten ground under floating structures only on land, even if levelGround is true). New patch to come as soon as I figure out how to do that.

Evil4Zerggin

2008-06-11 23:31

reporter   ~0002331

Hopefully corrected patch.

lurker

2008-10-13 10:06

reporter   ~0002834

bump

Kloot

2008-10-14 21:21

developer   ~0002894

committed, thanks for your contribution :)

Issue History

Date Modified Username Field Change
2008-06-11 22:25 Evil4Zerggin New Issue
2008-06-11 22:25 Evil4Zerggin File Added: FloatingSlopeTolerance.patch
2008-06-11 23:08 Evil4Zerggin File Added: FloatingSlopeTolerance_01.patch
2008-06-11 23:12 Evil4Zerggin Note Added: 0002330
2008-06-11 23:30 Evil4Zerggin File Added: FloatingSlopeTolerance_02.patch
2008-06-11 23:31 Evil4Zerggin Note Added: 0002331
2008-10-13 10:06 lurker Note Added: 0002834
2008-10-13 13:00 Kloot Status new => assigned
2008-10-13 13:00 Kloot Assigned To => Kloot
2008-10-14 21:21 Kloot Status assigned => resolved
2008-10-14 21:21 Kloot Resolution open => fixed
2008-10-14 21:21 Kloot Note Added: 0002894