Different movement speeds depending on the equiped weapon?

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
Lord_of_D:
Posts a lot
Posts: 691
Joined: Sun Aug 26, 2012 5:31 am
Location: Mexico
Contact:

Different movement speeds depending on the equiped weapon?

#1

Post by Lord_of_D: » Mon Jun 20, 2016 10:27 pm

I have seen this on some mods like All Out War 2 and Who Dhun It, however i cant find the code that says how the movement of a player is affected by the equiped weapon(or inventory item or whatever), can somebody tell me out how this works?

User avatar
Combinebobnt
Retired Staff / Community Team Member
Posts: 1905
Joined: Mon Jun 04, 2012 3:37 am
Location: Earth
Contact:

Re: Different movement speeds depending on the equiped weapon?

#2

Post by Combinebobnt » Mon Jun 20, 2016 10:33 pm

acs
http://zdoom.org/wiki/SetActorProperty
APROP_SPEED

call scripts in the weapon decorate code

Catastrophe
Retired Staff / Community Team Member
Posts: 2569
Joined: Sat Jun 02, 2012 2:44 am

Re: Different movement speeds depending on the equiped weapon?

#3

Post by Catastrophe » Mon Jun 20, 2016 11:37 pm

AoW 2 doesn't adjust your speed based on weapon, fyi.

Post Reply