Friction ?

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
User avatar
Lioyd_Irving
Posts: 122
Joined: Sun Dec 30, 2007 15:44
Location: Where ?

Friction ?

Post by Lioyd_Irving »

Hey, Lioyd here. I'd like to know if there is any command to reduce the friction between the player and the ground. There is no "sv_friction" variable like in Quake, but I'd like to put something to slide on tables...you know, ala John Woo.
Jack the Ripper, Charles Manson and Adolf Hitler all drank water. You criminal scum !
User avatar
Enjay
Developer
Developer
Posts: 4748
Joined: Tue Aug 30, 2005 23:19
Location: Scotland
Contact:

Post by Enjay »

User avatar
Lioyd_Irving
Posts: 122
Joined: Sun Dec 30, 2007 15:44
Location: Where ?

Post by Lioyd_Irving »

Thanks, but is there anything for weapon mods ? See, like alias +slide "thingy 1, whatever 1, randomcvar 1", and alias -slide "thingy 0, whatever 0, randomcvar 0", etc. ?
Actually I'd like to find a way to:

-decrease friction
-disable bobbing
-disable swaying
-crouch

all at the same time. Is it possible ?
Jack the Ripper, Charles Manson and Adolf Hitler all drank water. You criminal scum !
User avatar
Blade Nightflame
Posts: 31
Joined: Sun Dec 04, 2005 22:35

Post by Blade Nightflame »

Think Friction can also be controlled via the Terrain lump.
Disable bobbing, I think there's a CVAR for that, not sure, or you could make a decorate file that disables the bobbing for weapons. (You can replace the DoomWeapon base for that.)
Crouching can be disabled with Mapinfo.
User avatar
Lioyd_Irving
Posts: 122
Joined: Sun Dec 30, 2007 15:44
Location: Where ?

Post by Lioyd_Irving »

What I need is something to control the friction between the PLAYER and the GROUND, via a KEY. :(
Jack the Ripper, Charles Manson and Adolf Hitler all drank water. You criminal scum !
Extreme
Posts: 15
Joined: Sun Mar 30, 2008 15:50

Post by Extreme »

key connected to script that controls the friction.
Extreme
Posts: 15
Joined: Sun Mar 30, 2008 15:50

Post by Extreme »

http://forum.drdteam.org/viewtopic.php? ... t=keyboard here how to bind key to script.

The u can set 2 keys, 1 to decrase the friction and one for increase it.
User avatar
Lioyd_Irving
Posts: 122
Joined: Sun Dec 30, 2007 15:44
Location: Where ?

Post by Lioyd_Irving »

Extreme wrote:u can set 2 keys, 1 to decrase the friction and one for increase it.
In fact i can even use one using the +command and -command so it will only have effect when the key is depressed.

The problem is, I don't know if it'll work properly - some of the players use different defaults, it'd be weird to slide, kill everyone, stop sliding and then end up with different settings. :?
Jack the Ripper, Charles Manson and Adolf Hitler all drank water. You criminal scum !
Locked

Return to “GZDoom”