Sector changing players speed

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
Fabysk
Forum Regular
Posts: 469
Joined: Sat Sep 22, 2012 8:17 pm
Location: In a house...duhh

Sector changing players speed

#1

Post by Fabysk » Sat Nov 09, 2013 10:24 pm

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.
Image Image Image

User avatar
Ænima
Addicted to Zandronum
Posts: 3583
Joined: Tue Jun 05, 2012 6:12 pm

RE: Sector changing players speed

#2

Post by Ænima » Sat Nov 09, 2013 10:30 pm

Use "actor enters sector" and "actor leaves sector" things, and make the things execute a script that uses SetActorProperty(0,"APROP_Speed", scalar amount).
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

User avatar
Fabysk
Forum Regular
Posts: 469
Joined: Sat Sep 22, 2012 8:17 pm
Location: In a house...duhh

RE: Sector changing players speed

#3

Post by Fabysk » Sat Nov 09, 2013 10:54 pm

Alright thanks
Image Image Image

TheMisterCat
 
Posts: 79
Joined: Mon Jun 04, 2012 2:21 pm
Location: NZ

RE: Sector changing players speed

#4

Post by TheMisterCat » Thu Nov 28, 2013 9:19 pm

or if you want a less intrusive approach

http://zdoom.org/wiki/Sector_SetFriction

User avatar
Ænima
Addicted to Zandronum
Posts: 3583
Joined: Tue Jun 05, 2012 6:12 pm

RE: Sector changing players speed

#5

Post by Ænima » Thu Nov 28, 2013 9:20 pm

Forgot about that, lol.
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

Klofkac
Forum Regular
Posts: 481
Joined: Sat Jun 09, 2012 1:31 pm
Location: Ask Grandvoid servers

RE: Sector changing players speed

#6

Post by Klofkac » Thu Nov 28, 2013 9:29 pm

Additive air control can hack through slowdown, while changing actor's speed cannot. Would have to use compat_limited_airmovement for this.
𝕂𝕝𝕠𝕗𝕜𝕒𝕔

TheMisterCat
 
Posts: 79
Joined: Mon Jun 04, 2012 2:21 pm
Location: NZ

RE: Sector changing players speed

#7

Post by TheMisterCat » Thu Nov 28, 2013 9:36 pm

True, this will break anyway with repeated jumping without the compatflag regardless of player speed/sector friction

Post Reply