Page 1 of 1

Ice

Posted: Mon Jun 21, 2004 8:47 am
by The Ultimate DooMer
I don't know if it's been posted before, but you can actually go faster on ice than on normal ground. It's also a lot easier to speed up and slow down than on Heretic's ice (which IMO has the right behaviour) - are these intentional or just coded differently?

Posted: Mon Jun 21, 2004 9:21 am
by Graf Zahl
Ice is not always the same. As the friction for ice is customizable there can be ice with a little friction and ice with almost no friction at all. You probably just set an incorrect value.
Heretic ice should be equivalent to a friction value of 170.
Both versions of ice use exactly the same code.

Posted: Tue Jun 22, 2004 10:21 am
by The Ultimate DooMer
I was using 175 (now 170) and it still seems totally different to Heretic's. Movement seems almost normal and the top speed is higher, compared to the slow acceleration/deceleration and increased bobbing of Heretic. (I've got both of them running right now)

Posted: Tue Jun 22, 2004 10:45 am
by Graf Zahl
Then use Heretic's ice sector special. It's sector type 79 and freely available in all games!


But you are right. The movefactor (responsible for acceleration) is higher with Boom's algorithm.

So how about an extension to Sector_SetFriction? Add an option to specify both a friction and a movefactor value! I always thought it was a bas idea to generate both values out of a single parameter. With Boom it was the only way possible but with Hexen's map format it shouldn't be a problem at all to make them independent of each other.

In short: There is no bug but more options would definitely be appreciated!

Posted: Tue Jun 22, 2004 4:21 pm
by The Ultimate DooMer
Got it working, but only through editing the sector's raw data. What's the hex equivalent so I can stick it in WA's sector properties list?

Posted: Tue Jun 22, 2004 4:45 pm
by Graf Zahl
79 decimal is 0x49 hex.

Posted: Tue Jun 22, 2004 5:13 pm
by The Ultimate DooMer
It's actually 0x4f (as 0x49 is 73), but it's working now. Thanks.