Commit Graph

6733 Commits (3b990795c4da85fcbf7373b47ff4914aa17b5635)

Author SHA1 Message Date
scrawl 047bbe43b2 Don't complain about missing jump animations 11 years ago
scrawl 13646a651b Issue #777: Handle creatures with weapons in CharacterController. Move attack strength to CreatureStats. 11 years ago
scrawl 198bb0de60 Issue #777: Add CreatureAnimation variant for creatures with weapons/shields 11 years ago
Marek Kochanowicz b3e45c55bc progressing with the cloning 11 years ago
scrawl 589fbbd871 Issue #777: Create InventoryStore for creatures with weapons/shields 11 years ago
scrawl 69ca03c308 Issue #777: Move DrawState to CreatureStats. All creatures can cast spells, and some creatures have weapons. 11 years ago
scrawl 947b6c9645 kOgrePi unused 11 years ago
scrawl 4c0045b418 Bug #1109: Do not reset water level when loading a plugin with no water level record (for real this time) 11 years ago
Marc Zinnschlag 14e64c180f on load check player record for dangling ID references 11 years ago
Marc Zinnschlag 6584a01d01 reset reference to player NPC record during cleanup 11 years ago
mrcheko 969340d61b fixed StartCombat script 11 years ago
scrawl 525ce2f042 Some cleanup - move definitions to implementation file 11 years ago
scrawl c04a8afc8b Make sure onPcEquip is also set for Equip script instruction 11 years ago
scrawl 9653355cf1 Feature #701: Spawn levelled creatures in cells 11 years ago
mrcheko df4df5b094 fixed weapRange for creatures/startcombat script(?) 11 years ago
scrawl 5049f3b134 Fix the group for creature attack animations 11 years ago
mrcheko a11a6b616b Merge remote-tracking branch 'upstream/master' 11 years ago
mrcheko 435bbdd530 one more mismatch fixed 11 years ago
mrcheko 46a4790cb1 final warnings removal 11 years ago
mrcheko 7df8273d71 fix for everybody 11 years ago
scrawl 3dcb292bc1 Do not soul trap creatures without a soul (which apparently exist) 11 years ago
mrcheko 5357f569e6 fix for scrawl 11 years ago
scrawl 149d77dedf Feature #960: Add knockdown and hit recovery for creatures 11 years ago
scrawl 9b32b1403b Feature #960: Implement Creature::hit 11 years ago
scrawl 228254c890 Handle creature attack animations in character controller 11 years ago
scrawl c76a0448a3 Closes #1123: Implement SlowFall magic effect 11 years ago
scrawl 27d0d9c592 Fix exception when clicking on statics when in the inventory window 11 years ago
scrawl 5fc38e7ac4 Don't use blood effects for fatigue damage 11 years ago
scrawl c548dcee13 Quick keys menu: make sure selected spell still exists 11 years ago
Marc Zinnschlag 1b7697a4b2 handle missing player specific state during load/save 11 years ago
scrawl 805843d7ff Closes #1086: Implement blood effects 11 years ago
scrawl 240d96a0f1 Renamed AnimationValue to AnimationTime 11 years ago
scrawl 11394d83c5 Feature #1086: Import blood models/textures in MWIniImporter 11 years ago
scrawl ddc432c7ef Fix stealing bug 11 years ago
scrawl e410eb5273 Play 'Idle' voiced dialogue entries in AIWander. Tweak voice max distance. 11 years ago
scrawl 2836c7c927 Do not set owner when adding items to a container, as opposed to NPC/creatures 11 years ago
scrawl fe66012bcd Closes #1115: Fix a bug causing number of AI packages to grow exponentially when adding an AI package. Not sure if adding the same package twice should even be allowed. 11 years ago
scrawl f070d9966d Implement movement speed formula for creatures. Still moving a bit too slow. 11 years ago
mrcheko f2ad1c18f2 fix merging problem/some logic fixes 11 years ago
Alexander "Ace" Olofsson ddf72c06de Update statswindow.cpp
Fixes a build issue on MSVC ('floor' : ambiguous call to overloaded function)
11 years ago
Marc Zinnschlag c300cd9375 loading/saving of some player state (cell/coordinates and some other bits) 11 years ago
mrcheko d5f794d4fb update to combat ai behaviour 11 years ago
scrawl ea8f60eddf Implement movement speed formula for creatures. Still moving a bit too slow. 11 years ago
scrawl d544551f61 Added getSkill to Class interface, since creatures also have skills (which are provided by generalized Combat, Magic and Stealth attributes which substitute for the specific skills, in the same way as specialization)
Information provided by Hrnchamd.
11 years ago
scrawl 7534fc968d Minor acrobatics fixes 11 years ago
scrawl 28a2585106 Unsheath weapon in AiWander 11 years ago
scrawl dff67bb0b6 StopCombat: mark as non-hostile 11 years ago
scrawl da3295d69c Closes #1106: Move stance to CreatureStats, since creatures also have separate run/walk animations. 11 years ago
scrawl 03b2e99802 Remove unused Combat stance 11 years ago
scrawl d0500e8124 Some unneeded includes cleanup 11 years ago
scrawl 0c4b6ea89f Minor fix 11 years ago
scrawl a432661b8a Minor correction 11 years ago
scrawl de64c57179 Fix some typos and accidental commit 11 years ago
Marc Zinnschlag bf1a37dc38 Merge remote-tracking branch 'sirherrbatka/referencables_verifer' 11 years ago
Marek Kochanowicz 6224344957 Being any idiot is hard. 11 years ago
Marek Kochanowicz 3d722ba104 Corrected brackets. 11 years ago
Marek Kochanowicz fbcb1a14fc ooops, using search id 11 years ago
Marek Kochanowicz 89d4a90c06 Localised version of morrowind will no longer spam false positives. Don't check diff, please. 11 years ago
Marek Kochanowicz 344cae8f99 added new entry to the context menu 11 years ago
greye 61707694e8 fix memory leak in AISequence 11 years ago
Marek Kochanowicz 6397d9d40e Added mCloneAction member 11 years ago
greye 15d946415e minor cleanup
Removed case folding via std::transform, excessive lowerCase()
replaced with ciEqual().
11 years ago
Marek Kochanowicz c981a2a6f8 Removed boost in favor of #include <components/misc/stringops.hpp>. Hopefully this will make scrawl happy. :P 11 years ago
Marek Kochanowicz 2c1ef610b9 Moving back to boost for case insensitive comparsion. 11 years ago
scrawl 52b9ebff9d Closes #1092: Implement sleep interruption. Fix levelled list flags for creatures. Change World::copyObjectToCell to search for the correct cell. 11 years ago
scrawl 69381c49c7 Added a todo comment 11 years ago
scrawl b8583124e0 Correction for RemoveSoulgem instruction 11 years ago
scrawl 90b92a8f41 Move levelled list code out of ContainerStore 11 years ago
scrawl 6aa56354c0 Revert "Bug #991: Don't autoequip items with harmful permanent enchantments"
This is no longer needed, since merchants no longer equip items sold to them (2f35e5a04e). Also, items with harmful enchantments that are initially in the NPCs inventory *must* be equipped (e.g. slave bracers)

This reverts commit 71d9755ef1.
11 years ago
scrawl 9de3abcb5f Closes #1105: Do not reduce magicka if unable to cast 11 years ago
scrawl 396efd580b Fix a leftover of the old coordinate system 11 years ago
scrawl 2196ce427a Closes #556: Link movie volume to 'master' volume slider, instead of 'music'. 11 years ago
scrawl 95651857f3 Fix code duplication 11 years ago
scrawl 0d0005c433 Fix fatigue not restoring when waiting 11 years ago
Marek Kochanowicz e34cb9e931 changed according to the scrawl sugestion 11 years ago
Marek Kochanowicz 59de794e58 Creature check was not invoked. 11 years ago
Marek Kochanowicz 17cc6a695c fixed bug resposnsible for exception throwed. 11 years ago
scrawl ba27b693f8 Increase sneak skill on successful pickpocket 11 years ago
scrawl 73268a8606 Fix skill progress not working 11 years ago
scrawl cd06b2177d Automatically knock down when fatigue goes below zero 11 years ago
scrawl 413bf127de Allow drain fatigue effect to reduce below zero 11 years ago
scrawl 3a1b6dd354 Handle fCombatKODamageMult and fCombatCriticalStrikeMult. Fix SelectWrapper Function_Detected. 11 years ago
scrawl 83872f6bf5 Knockdown / hit recovery improvements. Use formula and GMSTs from research wiki for knockdown determination. Hand-to-hand automatically knocks out when fatigue empty. 11 years ago
Marc Zinnschlag 3e58eb34e4 Merge remote-tracking branch 'sergeyshambir/startcombat'
Conflicts:
	apps/openmw/mwscript/docs/vmformat.txt
11 years ago
Marc Zinnschlag 63cd70f810 some junk removal 11 years ago
scrawl 7983b07b10 Get bk_treasuryreport script to work properly:
- OnPcEquip needs to be set on *using* any item, not just equipping
 - Handle PcSkipEquip
 - Execute item's script once immediately after setting OnPcEquip
 - Do not set OnPcEquip when an item that has skipped equipping sets pcskipequip back to 0 and gets equipped
11 years ago
gus 5d4e148063 some clean up 11 years ago
gus 5d038423ec attempt to solve Bug #1009 by not building graph every frame 11 years ago
Marc Zinnschlag 9025210965 Merge branch 'refnum' into savedgame
Conflicts:
	apps/openmw/mwworld/cellstore.cpp
	apps/openmw/mwworld/manualref.hpp
	components/esm/cellref.hpp
11 years ago
gus 0e46c40cb5 Make ACtionTeleport non player specific and teleport actors following the teleporting actor 11 years ago
gus 1ae62665d6 get all actors following a given actor 11 years ago
gus dd870e35db get all actors following a given actor 11 years ago
gus 2446abe076 Allow getting current active package 11 years ago
gus 7e96a391da FollowCell duration = 0 -> infinite time 11 years ago
gus 7066844e52 Follow you until a certain cell is reached 11 years ago
scrawl f78b846f9e Handle CasterLinked magic effect flag 11 years ago
scrawl 767c72e619 Fix diagonal movement being faster than forward movement 11 years ago
scrawl fb778f8ecd Use fEncumbranceStrMult 11 years ago
scrawl 1d19d36bd6 Remove unused magic effect flags and update esmtool output 11 years ago
scrawl 921ef6cd9c Closes #1093: Show weapon when initializing the character controller with a weapon equipped 11 years ago
scrawl 10ddea45e9 Move crime from onHit to hit, since failed hits are apparently also a crime 11 years ago
scrawl 44b2380874 Closes #947: Decrease fatigue when running, swimming and attacking 11 years ago
scrawl dddc0979a2 Fix another fatigue cap issue 11 years ago
scrawl 224f288359 Don't attempt to change disposition for creatures 11 years ago
scrawl 3db299f1b2 Fix fall damage crash 11 years ago
gus 051d7141be check position to stop AIFollow 11 years ago
Marc Zinnschlag 5ea25dc269 player state cleanup 11 years ago
Marc Zinnschlag b1ffb64a1f Merge remote-tracking branch 'gus/AIFix2' 11 years ago
gus ccf07f9406 Bugfix 11 years ago
gus 2d66b2c4fa AiFollow. Npc get stuck often (no stuck dtection yet) 11 years ago
gus f41f08c352 Wrong logic... should improve performances 11 years ago
gus 0609b71df9 fix pathfinding 11 years ago
Marc Zinnschlag a0872b2646 Merge remote-tracking branch 'gus/AIFix2' 11 years ago
Marc Zinnschlag 1b03eec63e Merge remote-tracking branch 'scrawl/master' 11 years ago
gus 828e5841d8 Windows SDL fix 11 years ago
scrawl a2ba0dde31 Implemented GoToJail 11 years ago
scrawl 3896c88403 Use VFX_DefaultCast / VFX_DefaultHit if the magic effect does not specify any 11 years ago
scrawl 9ddee8fd8c Autocalculate NPC reputation as according to research wiki 11 years ago
scrawl 9127839cc1 Add a searchPtr method as required for getting an owner, which may already be dead and disposed of. 11 years ago
scrawl bf6d302fba Confiscate stolen items when caught 11 years ago
scrawl 909494ff35 Implement Assault crimes. In other words, NPCs now fight back! 11 years ago
scrawl 12944f2459 Fix an auto equipping bug that allowed twohanded weapon and shield at the same time 11 years ago
scrawl d4a98ffc27 Increase fight rating when being the victim of a crime 11 years ago
scrawl aba72ffefe Fix up the merge a bit 11 years ago
scrawl 727aa30347 Dead actors are unaware of everything 11 years ago
scrawl d01f89b153 Rewrite some awful code 11 years ago
scrawl e9f63270d9 Speed fix for "on target" spells 11 years ago
scrawl 621e52f09d Play "attack" voiced dialogue entries randomly based on iVoiceAttackOdds. 11 years ago
scrawl d9d6f37619 Use iVoiceHitOdds 11 years ago
scrawl 15e48107f7 Use i1stPersonSneakDelta + some cleanup 11 years ago
scrawl 2744cde40f Use a few additional GMSTs 11 years ago
scrawl 3bf36515d5 Implement Trespassing crime 11 years ago
scrawl f5a70dccf0 Fix title of buttons in generate class result dialog 11 years ago
scrawl 627dcddb33 Do not allow training skills above their governing attribute 11 years ago
Marc Zinnschlag f62497dfdc Merge remote-tracking branch 'mrcheko/master' 11 years ago
mrcheko ffcb7fb280 fix for bug scrawl mentioned 11 years ago
Marek Kochanowicz cb0d3794f7 Final check is not performed with just +1! Something is not right. 11 years ago
Marek Kochanowicz 688488de62 replaced == operator for string comparsion in npc check with boost algorithm to get case insensitive check. 11 years ago
Marek Kochanowicz 31c59db71c Splited another long line in the header. 11 years ago
Marek Kochanowicz 468b9d7340 camel case in the header 11 years ago
Marek Kochanowicz e4d637fd64 splited long lines in the header. 11 years ago
Marek Kochanowicz b98cdabe89 Shameful bug fixed. 11 years ago
mrcheko d41f27451b appropriate camera vanity<>preview mode switch + hit recoils fix 11 years ago
scrawl 546b0cee76 Closes #1077: Replace tags before trying to get the message length 11 years ago
scrawl aa855e9524 Include some required Ogre headers explicitely 11 years ago
Marc Zinnschlag 5e2eb8caf8 Merge remote-tracking branch 'swick/master' 11 years ago
Marc Zinnschlag 85707b5e3e Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl 768d9f7237 Scripting: Add an optional 'required' parameter to getReference (default: true). If required=false, it will not throw an exception if there's no reference. Fixes PcExpell not working without a reference like it's supposed to, and makes the code nicer for some others (use required=false instead of catching the exception) 11 years ago
scrawl 223c1d5a38 Use GMSTs for crime bounty 11 years ago
scrawl 6f9113fe88 Add preliminary implementation of PayFine, PayFineThief and GoToJail instructions 11 years ago
scrawl baf55df7a1 Gold fixes (when did this break?) 11 years ago
Sebastian Wick 925d28e4a7 crashcatcher uname error checking 11 years ago
scrawl 9bf7bf529c Implement crime-related dialogue globals as they are described in MSFD 11 years ago
scrawl d7f69205f6 Don't play "Menu Click" sound for disabled (= cannot receive input) buttons, plus some redundancy fixes 11 years ago
scrawl 0f5dc59176 Remove useless dependencies on InventoryWindow for getting player gold. Don't use string literals for gold_001 id, just to be sure. 11 years ago
scrawl 372cd437d1 Add a utility function for counting items in a container 11 years ago
scrawl c55f9bd0aa GetWaterLevel fix (similar to MCP): if there is no water in the cell, return -FLT_MAX to prevent mods from incorrectly thinking the player is underwater. 11 years ago
Marc Zinnschlag a7be755db0 Merge remote-tracking branch 'mrcheko/master' 11 years ago
scrawl bf02b77c1d Closes #1090: Don't throw an exception if a cell has no region in GetPCCell 11 years ago
scrawl 154fae9f25 Don't suppress exceptions thrown while running scripts 11 years ago
scrawl 9baa1bef78 Expell player from faction when committing a crime against a faction member 11 years ago
scrawl 19d63f392f Clean up the NpcStats expelled interface. Show message box when expelled. 11 years ago
scrawl 098f9712f1 Add getPlayerPtr() utility method. Reduces dependencies a lot. 11 years ago
scrawl 7b33f6f2ac Detect crime of sleeping in other NPC's beds. ShowRestMenu needs to support an explicit/implicit reference for this. 11 years ago
scrawl b99ca92fee Add missing line of sight check 11 years ago
mrcheko 46519062d3 hit recoils/knockdowns feature 11 years ago
scrawl 2bb21f2f76 Don't copy NpcStats/CreatureStats unnecessarily. Fixes a bug: taunt actions would not correctly increase the target's fight rating. 11 years ago
scrawl c85c2cff4e Fix disposition changes from trades not applying properly 11 years ago
scrawl 728365b48d Remove an unused hook 11 years ago
scrawl 03b6334ceb Get rid of a hack 11 years ago
scrawl 0285d18fc2 Respect items belonging to a faction 11 years ago
scrawl 3c0080d2c1 Implement theft detection 11 years ago
scrawl d2d76f4f47 Fix disintegration bug 11 years ago
scrawl c4ab2f417a Fix exception closing container window 11 years ago
scrawl 90b55c8d4b Use Ogre's asin/acos functions which will protect against NaNs 11 years ago
Marc Zinnschlag 48a08c4c4d Merge remote-tracking branch 'endorph/master' 11 years ago
Dmitriy 'Endorph' Shkurskiy 9afa8e952e tabs -> spaces 11 years ago
Marc Zinnschlag 72a81a2381 Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl 780bf5a2cd Implement pickpocket detection. Play a voiced dialogue entry when detected. 11 years ago
scrawl ea3ee4407f oops, didn't mean to commit this 11 years ago
Sergey Shambir d5a0ff17fd MWScript: updated vmformat.txt, changed opcodes to fix sequence.
Opcodes for StartCombat, StopCombat, GetTarget now follow the last
previous opcode.
11 years ago
Sergey Shambir d536ff3cdc printAIPackage: changed field name from Unknown to ShouldRepeat too. 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 887db76ed2 Don't consider swimming or in-air characters as sneaking 11 years ago
scrawl 29c823b9d4 Implement awareness check function. Use this for combat AI and GetDetected instruction. 11 years ago
scrawl 4a3d148a48 Fixes #1089 (skill increases) 11 years ago
Marek Kochanowicz b85fe2becf Changes according to the comment. 11 years ago
Marc Zinnschlag fefaec5804 Merge remote-tracking branch 'scrawl/savedgame' into savedgame 11 years ago
scrawl 68b87714bb Addition to 2f35e5a04ef828d: companions should still auto equip 11 years ago
mrcheko 2591ff2d5a bug repairing 11 years ago
Marek Kochanowicz 06f8537087 added final check for player npc. Removed useless includes. However, this code spams exceptions and I can't figure out why. 11 years ago
Marc Zinnschlag 43dd3b8ef2 removed redundant deletion flag from CellRef 11 years ago
Marc Zinnschlag 0ad7aa1f53 Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl 62774fcc4a Merge branch 'master' into HEAD
Conflicts:
	apps/openmw/mwbase/world.hpp
	apps/openmw/mwinput/inputmanagerimp.cpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwworld/worldimp.cpp
	apps/openmw/mwworld/worldimp.hpp
	components/esm/loadtes3.cpp
11 years ago
scrawl 2f35e5a04e Stop merchants from autoequipping items sold to them 11 years ago
Marc Zinnschlag e63b4964b2 Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl dde2cd5d5a Fix some code that still used setCount directly instead of using the ContainerStore interface. Also fix a related annoyance with the interface. 11 years ago
scrawl 73f8161d1e Fix spell deletion not resetting the selected spell correctly 11 years ago
scrawl b3764c504a Implement GetPcJumping instruction 11 years ago
scrawl 45847c67ad Lock NIF cache when loading an interior cell as well. Should improve load performance. 11 years ago