Commit Graph

54 Commits (move)

Author SHA1 Message Date
scrawl d7c7bb850b ToggleAI cleanup 9 years ago
scrawl 65b5cbe3f7 AiEscortCell complains if no cell was given or cell does not exist 9 years ago
scrawl 14b143231c Don't crash OpGetTarget when the target disappeared (Fixes #3048) 9 years ago
scrawl 67bd6cd708 Remove empty line at the beginning of files
git ls-files -z | xargs -0 sed -i '1{/^$/d}'
10 years ago
scrawl 47758c11cd Readded collision objects and movement physics 10 years ago
dteviot 36141b0c53 Merge remote-tracking branch 'OpenMW/master' into FixWarnings
Conflicts:
	apps/openmw/mwinput/inputmanagerimp.cpp
	apps/openmw/mwmechanics/actors.cpp
	extern/sdl4ogre/sdlcursormanager.cpp
10 years ago
dteviot e197f5318b fixing MSVC 2013 warning C4244: & C4305
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
scrawl 8931ddf428 Remove unneeded casts 10 years ago
scrawl 4773d754c6 Remove redundant isHostile flag (Fixes #1652) 11 years ago
scrawl b52977e44c Add dummy Face implementation for now (Bug #1541) 11 years ago
scrawl 4648524df4 Improve getLOS (use eye level). Also, don't crash when used with non-actors. 11 years ago
scrawl a54ac579a5 Savegame: Store AiSequence 11 years ago
Emanuel Guevel 1e4a854433 Remove static method MWWorld::Class::get(&Ptr)
It was just adding a level of indirection to Ptr.getClass().
All the call were replaced by that instead. The number of lines changed
is important, but the change itself is trivial, so everything should be
fine. :)
11 years ago
Marc Zinnschlag 56c4367c1a Merge remote-tracking branch 'mrcheko/master' 11 years ago
mrcheko e1249f6a31 actor handle and id confusing fix 11 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.
11 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
11 years ago
scrawl dd9117809d Say an attack phrase when combat starts
Move combat start to a helper method

Added some todo comments
11 years ago
scrawl 9b36a13821 Feature #1289: NPCs return to default position
Make stationary NPCs return to their previous position once combat/crime AI finishes.
11 years ago
scrawl 793649c854 ToggleAI: Report current status on toggle 11 years ago
scrawl 23ffb8a4dc Fixes #1143: Make getCurrentAiPackage return the package that was run last, not the package that will be run in the next frame.
This makes the Mehra Milo script work properly.
11 years ago
mrcheko fe0268062d merge with master 11 years ago
scrawl b1066de81d Revert "Merge remote-tracking branch 'mrcheko/master'"
This reverts commit 4e360136b1, reversing
changes made to 047bbe43b2.

Conflicts:

	apps/openmw/mwmechanics/aicombat.cpp
11 years ago
scrawl ea21d8fec3 Fix CreatureTargetted function 11 years ago
mrcheko 969340d61b fixed StartCombat script 11 years ago
mrcheko df4df5b094 fixed weapRange for creatures/startcombat script(?) 11 years ago
mrcheko f2ad1c18f2 fix merging problem/some logic fixes 11 years ago
scrawl dff67bb0b6 StopCombat: mark as non-hostile 11 years ago
Marc Zinnschlag 3e58eb34e4 Merge remote-tracking branch 'sergeyshambir/startcombat'
Conflicts:
	apps/openmw/mwscript/docs/vmformat.txt
11 years ago
Sergey Shambir 5c7e39a92f Implemented script commands StartCombat, StopCombat, GetTarget.
Also renamed one field of AIWander class because it's not longer
unknown.
11 years ago
scrawl 29c823b9d4 Implement awareness check function. Use this for combat AI and GetDetected instruction. 11 years ago
scrawl 14b70a3ce6 Implement AI related magic effects (calm, frenzy, rally, demoralize, turn undead) 11 years ago
gus dff3cf162d ToggleAI script instruction 11 years ago
gus 46a734852b adding script instruction getLOS + some test about AI 11 years ago
vorenon 3bf3bd4b8c Silenced some warnings 12 years ago
Alex de1f423bd7 initial move of script opcodes and registerExtensions functions to components/compiler 12 years ago
Marc Zinnschlag b1a8dc35e0 minor adjustments 12 years ago
Torben Carrington 1cfe037d6b AIWander - Added support for the Repeat parameter to mimic vanilla. 12 years ago
Torben Carrington 4d10a1c407 Fixed an additional 0 being sent into the AIWander idle parameters vector (Thanks to Chris) 12 years ago
Marc Zinnschlag af191c7382 fixed AiWander arguments 12 years ago
Chris Robinson 1d934e3112 Reduce some stdout spam 12 years ago
Marc Zinnschlag 3053440462 Issue #539: fixed AiWander 12 years ago
scrawl a5ef669eb6 Merge branch 'master' of git://github.com/zinnschlag/openmw into HEAD
Conflicts:
	apps/openmw/mwscript/aiextensions.cpp
	apps/openmw/mwscript/docs/vmformat.txt
12 years ago
rpopovici 7079b9062f add AI script functions 12 years ago
scrawl d418e21371 <Mod|Get><Flee|Fight|Hello|Alarm> 12 years ago
Marc Zinnschlag ceaf1677ce Issue #219: rewrote AI settings and implemented AI settings filters 12 years ago
greye 32b1350b63 CreatureStats class 13 years ago
Marc Zinnschlag 4c39fefd1e Issue #107: World is accessed only through the interface class from now on; some include cleanup 13 years ago
Marc Zinnschlag 8283f5f135 added setHello/Fight/Flee/Alarm instructions 13 years ago
Marc Zinnschlag 7454713a9b addet provisional implementation of AiWander (doesn't do anything yet) 13 years ago