Make a monster walk faster in its "See" state
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Make a monster walk faster in its "See" state
Is it possible to make a monster walk faster in its states? For example I have a See state and by chance, the monster walks about 20% faster... or speed 12 instead of speed 10. Can something like that be done? Change the monster speed on the fly?
Re: Make a monster walk faster in its "See" state
AFAIK you can't dynamically change the speed property (but i could be wrong; maybe there's some ACS function or something idk), but you could always just have it jump to an alternate state (See2 or something), which would call A_Chase more (or less, if you so desire) rapidly.
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Re: Make a monster walk faster in its "See" state
So calling A_Chase more often makes it automatically move faster?
Re: Make a monster walk faster in its "See" state
Yes. A_Chase moves calling actor the specified Speed in map units every time it's called.
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Re: Make a monster walk faster in its "See" state
Thanks, that works
- .+:icytux:+.
- Posts: 2661
- Joined: Thu May 17, 2007 1:53 am
- Location: Finland
Re: Make a monster walk faster in its "See" state
not only does it move faster with A_Chase called more often. it moves forward soooo muuuuch more smooth. *hint torm for the tcotd3 actors*
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Re: Make a monster walk faster in its "See" state
Smooth means in this context?
Re: Make a monster walk faster in its "See" state
Try these two methods:Tormentor667 wrote:Smooth means in this context?
Speed 16
SPRT ABCD 12 A_Chase
Speed 4
SPRT AAAABBBBCCCCDDDD 3 A_Chase
They both move at the same speed, but the second one 'jumps' less each time A_Chase is called. The second one is what IcyTux means by smoother. You'll have to fiddle around with MinMissileChance or A_Chase("Melee", "") (<No chance of a missile attack, for this frame), because monsters that call A_Chase faster are a lot more aggressive.
Re: Make a monster walk faster in its "See" state
Yeah, I first noticed the difference that this makes years ago. You may have noticed that the original Doom monsters usually have a walking cycle something like this AABBCCDD. In an effort to get some extra frames for DEHACKED, I tried changing a few monsters to use ABCD and their movement became noticably jerky. Experimenting, I noticed that decreasing the frame duration and adding in more frames (and adjusting the monster speed) significantly smoothed their movement.
Re: Make a monster walk faster in its "See" state
Of course, depending on how the actor is supposed to move, 'smooth' might not be what Torm is looking for in this case. 

- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Make a monster walk faster in its "See" state
Let's not forget that the attack probability also increased unless you add some A_Chase calls with no valid attack states.
Re: Make a monster walk faster in its "See" state
Hence the comment at the end of my post.Graf Zahl wrote:Let's not forget that the attack probability also increased unless you add some A_Chase calls with no valid attack states.

- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Make a monster walk faster in its "See" state
It can't be stated clearly enough because it's the thing that is easiest forgotten.
- Cutmanmike
- Posts: 11353
- Joined: Mon Oct 06, 2003 3:41 pm
- Operating System Version (Optional): Windows 10
- Location: United Kingdom
- Contact:
Re: Make a monster walk faster in its "See" state
It's easy to remember when you actually fight the monster to find it as agressive as a Nightmare monster 

- DOOMERO-21
- Posts: 1423
- Joined: Wed Jan 02, 2008 10:02 pm
- Location: Chile
Re: Make a monster walk faster in its "See" state
the a_fastchase increase the speed?
only i know the a_fastchase only can make "strafe" , hhmmm.....
only i know the a_fastchase only can make "strafe" , hhmmm.....
Last edited by DOOMERO-21 on Thu Feb 12, 2009 11:21 am, edited 2 times in total.