TimeOfDeath666 Posted May 14, 2021 I'm wondering if it's possible to make replica -fast monsters in dehacked without using the -fast / "fast monsters" option. 1 Quote Share this post Link to post
Terraformer9x Posted May 14, 2021 It is possible, but I don't understand why you would do that when you can just use -fast. To answer the question in the topic subject, -fast makes monsters move faster but more importantly it makes them fire way more often and projectiles are twice as fast as well. 0 Quote Share this post Link to post
omx32x Posted May 14, 2021 you can make everything faster on deh even your guns so yea you can i dunno if it will be precisely how it works with the fast- parameter 0 Quote Share this post Link to post
TimeOfDeath666 Posted May 14, 2021 I need to know EXACTLY what -fast / "fast monsters" does to monsters' speeds and durations, etc. The "fast monsters" doomwiki article isn't detailed enough. 0 Quote Share this post Link to post
alLAN95th Posted May 14, 2021 (edited) I'm pretty sure it almost EXACTLY replicates monster behaviors from the Nightmare difficulty, minus respawn/nightmare obj placement. The monsters on nightmare tend to attack right away when they see you, while with this parameter they usually attack more like they normally would, only they move faster and their attacks are faster and occur more often, but it's just like how they act on nightmare in terms of speed. That's about all there is to it as far as I can tell. Edited April 13, 2023 by alLAN95th 0 Quote Share this post Link to post
Bauul Posted May 14, 2021 It'd be quite time consuming, but the ZDoom Wiki lists out the ZScript replication of every monster and projectile, including the exact impact of -fast on each. The two keywords to look for are: Actor property "FastSpeed": Defines the monster/projectile's new travel speed if -fast is enabled (for example, it's 20 for the Imp's fireball, rather than the default 10) State keyword "Fast": Halves the duration of any state if -fast is enabled (for example, the Demon's SEE, MELEE and PAIN states are all halved in duration) 0 Quote Share this post Link to post
DuckReconMajor Posted May 14, 2021 (edited) This may or may not help at all but super quick search of the original doom source release for 'fastparm' I see these g_game.c starting at line 1415 if (skill == sk_nightmare || respawnparm ) respawnmonsters = true; else respawnmonsters = false; if (fastparm || (skill == sk_nightmare && gameskill != sk_nightmare) ) { for (i=S_SARG_RUN1 ; i<=S_SARG_PAIN2 ; i++) states[i].tics >>= 1; mobjinfo[MT_BRUISERSHOT].speed = 20*FRACUNIT; mobjinfo[MT_HEADSHOT].speed = 20*FRACUNIT; mobjinfo[MT_TROOPSHOT].speed = 20*FRACUNIT; } else if (skill != sk_nightmare && gameskill == sk_nightmare) { for (i=S_SARG_RUN1 ; i<=S_SARG_PAIN2 ; i++) states[i].tics <<= 1; mobjinfo[MT_BRUISERSHOT].speed = 15*FRACUNIT; mobjinfo[MT_HEADSHOT].speed = 10*FRACUNIT; mobjinfo[MT_TROOPSHOT].speed = 10*FRACUNIT; } Also a bit less clear these bits from A_Chase in p_enemy.c: lines 715 and 735 // do not attack twice in a row if (actor->flags & MF_JUSTATTACKED) { actor->flags &= ~MF_JUSTATTACKED; if (gameskill != sk_nightmare && !fastparm) P_NewChaseDir (actor); return; } // check for missile attack if (actor->info->missilestate) { if (gameskill < sk_nightmare && !fastparm && actor->movecount) { goto nomissile; } My off-hand guess is maybe you can replicate the firing frame times of the demons from -fast but not the changes to their tracking and aggression Edited May 14, 2021 by DuckReconMajor 1 Quote Share this post Link to post
Dark Pulse Posted May 14, 2021 Fast mode is basically Nightmare without the respawning, double ammo, immediate attacking, and not disabling cheats. In a nutshell: Monsters have a greatly reduced "cooldown" before attacking again (if you're in sight when they can do a new attack, they almost always will after barely moving) Most monster fireballs are about 50% faster; Baron/Hell Knight projectiles are 33% faster. What this really is is just making projectiles move at 20 map units per tic - Imp/Cacodemon fireballs are normally 10; Baron/HKs are normally 15. Demons and Spectres both move and attack 2x faster than usual. 0 Quote Share this post Link to post
Shepardus Posted May 14, 2021 (edited) 39 minutes ago, DuckReconMajor said: Also a bit less clear these bits from A_Chase in p_enemy.c: lines 715 and 735 Both these are covered in decino's "How Doom's Enemy AI Works" video. The former is what allows fast/nightmare monsters to attack again right after they've attacked (4:20 in the video), and the latter also governs more aggressive attack behavior (4:58 in the video). I recommend watching that video, though the information specific to fast/nightmare is scattered throughout it. The other bit of code you quoted (from g_game.c) governs the increased projectile speed and the fast pinky/spectre movement/attacks. I think you can replicate the faster projectiles and pinkies with DeHackEd, but not the enemy aggression. Edited May 14, 2021 by Shepardus 1 Quote Share this post Link to post
TimeOfDeath666 Posted May 15, 2021 (edited) Thanks @Bauul @DuckReconMajor @Shepardus. Since the extra aggression is hardcoded in, I abandoned the idea. My problem was that I have some custom flying monsters that barely flew anymore and were easier to kill with "fast monsters" enabled, but adding the SkullAttack action to their attack states has fixed the problem and lets them fly again. Edited May 15, 2021 by TimeOfDeath666 2 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.