View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002431 | The Dark Mod | AI | public | 21.11.2010 01:02 | 10.10.2017 14:42 |
Reporter | Springheel | Assigned To | |||
Priority | normal | Severity | normal | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | SVN | ||||
Target Version | TDM 2.04 | Fixed in Version | TDM 2.04 | ||
Summary | 0002431: Feature Reqest: Cower Behaviour needs to be added | ||||
Description | We have two cowering animations, but need some code to make use of them. Level 1 behaviour: AI should player cowering animation (possibly looped, possibly at random intervals) for a set amount of time once they reach their final flee destination. Level 2 behaviour: Once cower is completed, and until the AI resumes his business, he should play his cower animation again if the player comes within X distance of the AI. | ||||
Tags | No tags attached. | ||||
FleeDoneState::Think has a cower behavior: else if (gameLocal.time >= _turnEndTime) { // We didn't find a friend, stop looking for them after some time _searchForFriendDone = true; owner->movementSubsystem->ClearTasks(); owner->SetTurnRate(_oldTurnRate); // Play the cowering animation owner->SetAnimState(ANIMCHANNEL_TORSO, "Torso_Cower", 4); owner->SetAnimState(ANIMCHANNEL_LEGS, "Legs_Cower", 4); } |
|
Date Modified | Username | Field | Change |
---|---|---|---|
21.11.2010 01:02 | Springheel | New Issue | |
21.11.2010 01:05 | Springheel | Summary | Cower Behaviour needed to be added => Cower Behaviour needs to be added |
11.12.2010 16:14 | Springheel | Summary | Cower Behaviour needs to be added => Feature Reqest: Cower Behaviour needs to be added |
11.12.2010 16:14 | Springheel | Description Updated | |
10.10.2017 14:40 | nbohr1more | Note Added: 0009450 | |
10.10.2017 14:42 | nbohr1more | Status | new => closed |
10.10.2017 14:42 | nbohr1more | Resolution | open => fixed |
10.10.2017 14:42 | nbohr1more | Product Version | => SVN |
10.10.2017 14:42 | nbohr1more | Fixed in Version | => TDM 2.04 |
10.10.2017 14:42 | nbohr1more | Target Version | => TDM 2.04 |