Page 1 of 1

Sector changing players speed

Posted: Sat Nov 09, 2013 10:24 pm
by Fabysk
How do you make a sector slow the player down? Just want to experiment with something within GZDoom Builder. I highly doubt that this is possible.

RE: Sector changing players speed

Posted: Sat Nov 09, 2013 10:30 pm
by Ænima
Use "actor enters sector" and "actor leaves sector" things, and make the things execute a script that uses SetActorProperty(0,"APROP_Speed", scalar amount).

RE: Sector changing players speed

Posted: Sat Nov 09, 2013 10:54 pm
by Fabysk
Alright thanks

RE: Sector changing players speed

Posted: Thu Nov 28, 2013 9:19 pm
by TheMisterCat
or if you want a less intrusive approach

http://zdoom.org/wiki/Sector_SetFriction

RE: Sector changing players speed

Posted: Thu Nov 28, 2013 9:20 pm
by Ænima
Forgot about that, lol.

RE: Sector changing players speed

Posted: Thu Nov 28, 2013 9:29 pm
by Klofkac
Additive air control can hack through slowdown, while changing actor's speed cannot. Would have to use compat_limited_airmovement for this.

RE: Sector changing players speed

Posted: Thu Nov 28, 2013 9:36 pm
by TheMisterCat
True, this will break anyway with repeated jumping without the compatflag regardless of player speed/sector friction