Author Topic: adding timescale effect to animations  (Read 3491 times)

0 Members and 1 Guest are viewing this topic.

BloodRayne

  • Old Forum Goer
  • Full Member
  • ***
  • Posts: 136
  • Karma: +13/-0
  • Doom Newbie
    • View Profile
    • Grimm Quest for the Gatherer's Key
Re: adding timescale effect to animations
« Reply #15 on: August 26, 2014, 05:58:31 PM »
No you don't use timescale, at all. If you have access to the SDK, simply use the slowdown commands, implemented in the ROE part of the code. That also slows down all mono sounds, according to the speed you slow down the game. This also allows the player animations to continue as normal.

This is implemented in Grimm, the source code is available on Moddb.

VGames

  • PD3 Beta Testers
  • Hero Member
  • *
  • Posts: 756
  • Karma: +17/-69
    • View Profile
Re: adding timescale effect to animations
« Reply #16 on: August 26, 2014, 09:18:12 PM »
I'll check that out for sure. Thanks.
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

VGames

  • PD3 Beta Testers
  • Hero Member
  • *
  • Posts: 756
  • Karma: +17/-69
    • View Profile
Re: adding timescale effect to animations
« Reply #17 on: August 30, 2014, 04:08:19 PM »
I have found nothing for the imp leaping at you in any of the map script files. I don't know what to do at this point.
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

BloodRayne

  • Old Forum Goer
  • Full Member
  • ***
  • Posts: 136
  • Karma: +13/-0
  • Doom Newbie
    • View Profile
    • Grimm Quest for the Gatherer's Key
Re: adding timescale effect to animations
« Reply #18 on: August 30, 2014, 04:11:16 PM »
Have you opened the actual maps? It's usually nothing more than a monster and a trigger. It doesn't happen in 'script', most of the time, but in map automation such as triggers and such, inside the map.

VGames

  • PD3 Beta Testers
  • Hero Member
  • *
  • Posts: 756
  • Karma: +17/-69
    • View Profile
Re: adding timescale effect to animations
« Reply #19 on: August 30, 2014, 07:00:07 PM »
I'll look in the maps next. Thanks for the heads up.
Get the latest on Perfected Doom 3 here - http://www.moddb.com/mods/perfected-doom-3-version-500

The Happy Friar

  • Happy Happy Joy Joy
  • Administrator
  • Hero Member
  • *****
  • Posts: 869
  • Karma: +42/-4
  • Semi-Newbie.
    • View Profile
    • EarthQuake
Re: adding timescale effect to animations
« Reply #20 on: August 31, 2014, 06:57:19 AM »
You might find it easier to load the map file in a text editor and search for the imp entity in question.   Or, load up the map in game & have a key bound to "g_stoptime 1", then when the imp jumps out hit that key.  Then use "g_showentityinfo 1" (?) to display that entity's name.  Then you can find out the exact animation it's using.

Zombie

  • Guest
Re: adding timescale effect to animations
« Reply #21 on: August 31, 2014, 01:38:24 PM »
It would've been a lot easier, and less frustrating if you just told him to look in the mars city underground map file.

There is is an imp that leaps at you when you open the door near a round shaped room. You could search for imps in the editor.

Then apply what ever you need to do that imp with scripting, etc.

BloodRayne

  • Old Forum Goer
  • Full Member
  • ***
  • Posts: 136
  • Karma: +13/-0
  • Doom Newbie
    • View Profile
    • Grimm Quest for the Gatherer's Key
Re: adding timescale effect to animations
« Reply #22 on: August 31, 2014, 04:48:36 PM »
It would've been a lot easier, and less frustrating if you just told him to look in the mars city underground map file.

There is is an imp that leaps at you when you open the door near a round shaped room. You could search for imps in the editor.

Then apply what ever you need to do that imp with scripting, etc.
The way a question is raised is always an issue. The thread evolved until it was clear what the end purpose was, which was when the advice started to be more tailored to the actual question. We're trying to help as best as we can. But it is always interesting to see how far such advice should go. Does it really help someone to give them step by step instructions, or does it really help someone if you learn him the thought process of how those steps came to be?

His problem doesn't only describe mars city, the Imp (and also other creatures have surprise attacks, which the TS might want to change also) are implemented in several different manners, some by simple mapping, a trigger and a trigger_anim set to a monster, others might very well be entirely scripted as some mapscripts for the original maps are very elaborate. Some other imps are even just cinematic entities, replaced by regular Imps.

Just giving a step by step instruction on how to edit that one Imp in mars city wouldn't provide a good enough answer, there's more to consider there if you want a solid solution to all those different types of surprise attacks.

The Happy Friar

  • Happy Happy Joy Joy
  • Administrator
  • Hero Member
  • *****
  • Posts: 869
  • Karma: +42/-4
  • Semi-Newbie.
    • View Profile
    • EarthQuake
Re: adding timescale effect to animations
« Reply #23 on: September 01, 2014, 08:13:58 AM »
It would've been a lot easier, and less frustrating if you just told him to look in the mars city underground map file.

You're assuming I actually know where the scripted imps are.  :)  Honestly, I remember the trailer better then the actual game.  O:-)