Commit Graph

33 Commits (6cb5ac6e63fb9bf6b27e827a227161f6dbc82f0a)

Author SHA1 Message Date
David Cernat 6cb5ac6e63 Merge pull request #457 from OpenMW/master while resolving conflicts
Conflicts:
	CMakeLists.txt
	apps/openmw/engine.cpp
	apps/openmw/main.cpp
	apps/openmw/mwgui/windowmanagerimp.cpp
	apps/openmw/mwmechanics/character.cpp
	components/CMakeLists.txt
6 years ago
David Cernat b86155dc11 [Client] Allow AiFollow package to have infinite distance when desired 6 years ago
Andrei Kortunov ee45f54b53 Refactor AiTemporaryStorage usage 6 years ago
Andrei Kortunov fed10e87aa Store integer actor ID in AI packages (bug #4036) 6 years ago
Allofich 2322ab3125 Don't make Command spells cancel AI packages
(Fixes #3649)
7 years ago
Allofich b1be3596dc Cleanup of #include statements 8 years ago
Allofich 3bebbab78e Duration fixes for Follow and Escort 8 years ago
scrawl c4d38bb42d Fix clang analyzer warnings 8 years ago
scrawl 53f4b92426 AiEscort do not follow target through doors
Testing revealed a problem where the guard on the prison ship would incorrectly follow the player outside. Upon further investigation in vanilla MW, it appears that with AiEscort the actor only follows the target through doors once the AiEscort package has completed, *and* no new AI package is running yet.
9 years ago
scrawl 965bea45c0 AiEscort makes the actor side with target in fights (Bug #2697)
Also will follow the player through teleport doors.
9 years ago
scrawl 59db9664ba Pass the CharacterController to AiPackage::execute 9 years ago
scrawl e0c6f84546 AiFollow: target has to be seen in order to start following (Fixes #1637) 10 years ago
scrawl 109a3f78a1 Adjust AiFollow distance for groups of multiple followers (Fixes #1637) 10 years ago
terrorfisch 0871d45790 Draft how to move temporary package state to CharacterController.
Example for a few values shown in AiWander.
10 years ago
scrawl d649c19790 Cache ActorId in AiFollow::getTarget (Fixes #1804) 10 years ago
scrawl 22d7d8a466 Implement Command creature/humanoid magic effects (Fixes #1120) 10 years ago
scrawl d81e9cfefd Implement actors fighting for the actor they are following (Fixes #1141) 10 years ago
scrawl a54ac579a5 Savegame: Store AiSequence 10 years ago
scrawl 36d9ae17cc Revert "Change all AI packages (except AiActivate) to use ActorIds"
Causes potential infinite loops (AiSequence::fill -> AiPackage() -> getCreatureStats -> ensureCustomData -> ..)

This reverts commit 2e9985c1a3.
10 years ago
scrawl 2e9985c1a3 Change all AI packages (except AiActivate) to use ActorIds
More robust in case the target changes cell or there are multiple targets with the same RefId
10 years ago
Thomas ee36ace00b Undid some code clean up changes, and changed how some includes work 10 years ago
Thomas cbfa282f8d Changed implementations of aifollow/pursue/activate slightly, added ability for NPCs to go through unlocked doors (They even try locked ones), and step back from opening doors (Although it still needs some work)
Notes - When the door hits them while it's about to finish closing they will try to walk through the door.
      - Considerably more works is needed in making the NPC work out troublesome areas where they get stuck
10 years ago
Thomas 2c74ea381e Moved pathfinding code to aiPackage, implemented it's use with aiFollow and aiPursue 10 years ago
Thomas 10a5bb9464 Made code a bit more standardized and added a good bit of documentation. 10 years ago
gus f4879dacd5 add AIfollow to summoned creatures 10 years ago
gus 1ae62665d6 get all actors following a given actor 10 years ago
gus ccf07f9406 Bugfix 10 years ago
gus 2d66b2c4fa AiFollow. Npc get stuck often (no stuck dtection yet) 10 years ago
gus 650a112e2e better timer 11 years ago
rpopovici 7079b9062f add AI script functions 12 years ago
Marc Zinnschlag a092deaee8 various fixes 12 years ago
marcin 51027c541e Feature #391 Dummy AI package classes 12 years ago
marcin 99ddc63e2c Feature #391 Dummy AI package classes 12 years ago