Page 1 of 1

MapHardness=0;

Posted: 07 Aug 2006, 15:26
by emmanuel
- ???
To disable terrain deformation:
Mapmakers: Put 'NotDeformable=1' in the .smd.
script.txt: Put 'DisableMapDamage=1' in with the other properties.
don t understand why this...

map.smd/MapHardness=0; =>crash taspring
why not use this tag for disabling deformation

Posted: 08 Aug 2006, 05:46
by Argh
Emmanuel:

Notdeformable=1 || Disablemapdamage=1 == No map damage.

Actually, the above is a false statement- map damage still occurs on maps where MapHardness isn't very, very high. This part of Spring doesn't work right, and hopefully will work right in the new map format.

Maphardness=0 crashes Spring because it results in divide-by-zero errors.

Posted: 08 Aug 2006, 08:36
by emmanuel
can they code a special rule for maphardness=0; ?
i talk only about syntax...
multipl tags added for same result is recurent it seems
your mod threat about lag is a little related if i remind

Posted: 08 Aug 2006, 17:14
by Egarwaen
emmanuel wrote:can they code a special rule for maphardness=0;?
Actually, wouldn't maphardness = 0 be infinitely deformable? (As higher hardness values = harder)

Posted: 08 Aug 2006, 22:13
by Neddie
Egarwaen wrote:
emmanuel wrote:can they code a special rule for maphardness=0;?
Actually, wouldn't maphardness = 0 be infinitely deformable? (As higher hardness values = harder)
Probably why we get a divide by zero and a crash.

Posted: 08 Aug 2006, 23:26
by Noruas
Have u tried 0.0001 yet?

Posted: 09 Aug 2006, 04:03
by Das Bruce
Noruas wrote:Have u tried 0.0001 yet?
Still has to recalc paths.

Posted: 09 Aug 2006, 04:30
by Argh
Even with it at 10000000, still has to recalc paths. It's a bug :P

Posted: 09 Aug 2006, 23:17
by emmanuel
i tried maphardness=1
it s impressiv
to see water in a 3x more deep than large hole
usless too