Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
BadCompany

Hovercraft Player

Recommended Posts

A simple question: How I take the DoomPlayer to more drifting moves like Hovercraft or on friction ice? (independent to sector action!)

Share this post


Link to post
kristus said:

I'm fairly certain it can be done in ports like Zdoom, but it's hardly simple.


Hmm...I tried finding a property that governs how much friction affects a player but I thought maybe it's hard-coded, and the sector properties just affect it or whatever

Share this post


Link to post

If using ZDoom, then yeah there doesn't seem to be actor properties for friction. (at least as far as I could find..)

but if you don't mind affecting friction for all actors, then you could use a TERRAIN lump with a DefaultTerrain block (requires zdoom 2.4.1)

this would affect all flats that have no terrains defined to them.

terrain lowfriction
{
	friction 1.70
}

defaultterrain lowfriction
EDIT2:fixed the code.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×