View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003913 | The Dark Mod | Animation | public | 15.11.2014 15:04 | 30.12.2020 21:42 |
Reporter | Springheel | Assigned To | |||
Priority | normal | Severity | normal | Reproducibility | have not tried |
Status | feedback | Resolution | open | ||
Product Version | TDM 2.03 | ||||
Summary | 0003913: SetRate frame command | ||||
Description | This frame command is listed in the wiki twice: "Sets the anim rate, used for speeding up/slowing down walking and crouchwalking animations to get correct footstep sounds. " " If the animation itself has a setRate frame command (which accomplishes the same effect as [anim_rate]) in the modelDef where it's defined, then the frame command will override this spawnarg." It does not appear to work, however. Adding it to an animation causes the catch-all "no joint found" error. This frame command would be much more convenient than the anim_rate spawnarg, since it could be used on particular parts of the animation, rather than the whole. For example, the animation where the character leans against the wall could have the middle slowed down so he leans longer or short periods. | ||||
Tags | No tags attached. | ||||
related to | 0000540 | resolved | Obsttorte | Add entity scriptfunctions for getting/setting animation rates |
parent of | 0003907 | closed | Springheel | SetRate frame command |
@Springheel Do you still have an animation where you attempted this? I've never set one up so that would save me a lot of prep work figuring out how to do it. | |
Anim.h "FC_SETRATE" Anim_Blend.cpp idAnim::AddFrameCommand else if (token == "setRate" ) { if( !src.ReadTokenOnLine( &token ) ) { DM_LOG(LC_MISC, LT_ERROR)LOGSTRING("ANIMRATE: Did not find rate, exiting\r"); return "Unexpected end of line"; } fc.type = FC_SETRATE; fc.string = new idStr( token ); } |
|
Date Modified | Username | Field | Change |
---|---|---|---|
15.11.2014 15:04 | Springheel | New Issue | |
15.11.2014 15:05 | Springheel | Relationship added | parent of 0003907 |
03.10.2015 15:30 | SteveL | Note Added: 0007837 | |
03.10.2015 15:30 | SteveL | Assigned To | => Springheel |
03.10.2015 15:30 | SteveL | Status | new => feedback |
11.08.2017 17:53 | Springheel | Assigned To | Springheel => |
17.10.2017 13:46 | nbohr1more | Relationship added | related to 0000540 |
30.12.2020 21:42 | nbohr1more | Note Added: 0013322 |