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

ZDoom "APROP_Speed" problem

Recommended Posts

Exactly what do I have to do, to make some of my monsters move at various speeds? Translation works fine, so does the APROP_Health command, but speed doesn't want to change. What should I do?

Share this post


Link to post

How do you change a monster's speed, short of dehacked? I don't see any specials that can do that, and there's one part of a map I'm making in which sped up monsters would help a LOT.

Share this post


Link to post

speed needs to be multiplied by 65536

oh and

setactorproperty(tid, aprop_speed, speed);

Share this post


Link to post
Cyb said:

speed needs to be multiplied by 65536

oh and

setactorproperty(tid, aprop_speed, speed);



you can also specify the speed as a floating point value which is probably more intuitive.


So instead of

setactorproperty(tid, aprop_speed, 8*65536);

you could write

setactorproperty(tid, aprop_speed, 8.0);

Share this post


Link to post

Damn! Now you're talking!

Great thanks, this'll help me to mount some more deadly monsters in DRD.

Share this post


Link to post
ellmo said:

Damn! Now you're talking!

Great thanks, this'll help me to mount some more deadly monsters in DRD.



If you are interested, with the lastest version of ZDoom (2.0.62) you can create custom monsters. (including stuff like giving particular monsters a stronger attack etc.) Take a look at the ZDoom forums to find out more.

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  
×