MapHardness=0;

MapHardness=0;

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
emmanuel
Posts: 952
Joined: 28 May 2005, 22:43

MapHardness=0;

Post 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
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post 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.
User avatar
emmanuel
Posts: 952
Joined: 28 May 2005, 22:43

Post 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
Egarwaen
Posts: 1207
Joined: 27 Feb 2006, 21:19

Post 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)
User avatar
Neddie
Community Lead
Posts: 9406
Joined: 10 Apr 2006, 05:05

Post 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.
User avatar
Noruas
XTA Developer
Posts: 1269
Joined: 24 Feb 2005, 02:58

Post by Noruas »

Have u tried 0.0001 yet?
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Post by Das Bruce »

Noruas wrote:Have u tried 0.0001 yet?
Still has to recalc paths.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Even with it at 10000000, still has to recalc paths. It's a bug :P
User avatar
emmanuel
Posts: 952
Joined: 28 May 2005, 22:43

Post by emmanuel »

i tried maphardness=1
it s impressiv
to see water in a 3x more deep than large hole
usless too
Post Reply

Return to “Feature Requests”