Commit Graph

2383 Commits (520e65f82205480a6286d6c51129c0715ec13149)

Author SHA1 Message Date
Andrei Kortunov 8f255a6b72 Handle Trespassing crime differently from Theft (bug #4158) 7 years ago
Andrei Kortunov 30b05b557b ExtraSpell magic effect: a basic implementation 7 years ago
Andrei Kortunov e2afd3690c Remove item by id from InventoryStore 7 years ago
Andrei Kortunov 1cb7ed5db1 Use owned tooltips for items in containers correctly 7 years ago
scrawl b24fd77ea2 Merge pull request #1488 from akortunov/equipfix
AI: Autoequip armor when bound armor spell expires
7 years ago
Andrei Kortunov 21b6bd176f AI: Autoequip armor when bound armor spell expires 7 years ago
Andrei Kortunov c5fcb9684e Improve owned crosshair feature behaviour 7 years ago
Andrei Kortunov f26206b630 Make unconscious actors do not speak and do not track targets 7 years ago
Andrei Kortunov 3ebb18ce18 Make unconscious actors do not report about crimes 7 years ago
Andrei Kortunov 34895157f9 Consider taking items from unconscious NPC as a theft 7 years ago
Andrei Kortunov 668a947210 Inherit owner, if an item is in container (regression #4128) 7 years ago
Andrei Kortunov 9b04a7c1e6 Fix idle animations playing 7 years ago
scrawl 2a14af2e27 Merge pull request #1474 from akortunov/swimanimations
Implement missing swim animations
7 years ago
scrawl 22222f07ae Merge pull request #1475 from akortunov/wanderfix
AiWander: reset spawn position, if an actor was moved to another cell
7 years ago
scrawl 2494c22d66 Merge pull request #1470 from MiroslavR/convertmprj
ESS-Importer: Convert magic projectiles
7 years ago
Andrei Kortunov 91adfc9fc0 AiWander: reset spawn position, if an actor was moved to another cell (bug #4010) 7 years ago
Andrei Kortunov a57f6ac2af Fix a typo in attack animation name 7 years ago
Andrei Kortunov bcad431cc5 Implement SwimTurnLeft/Right animations 7 years ago
Andrei Kortunov 1c6cfad3cc Implement SwimHit animation 7 years ago
Andrei Kortunov 3eb1308c0d Implement SwimKnockdown/out animations 7 years ago
Andrei Kortunov 6260bb1366 Implement SwimAttack1-3 and SwimDeathKnockDown/Out animations 7 years ago
scrawl 75c047a6e0 Merge pull request #1472 from akortunov/equipfix
Do not play draw weapon animation when equip a new weapon
7 years ago
Andrei Kortunov 5da532a36c Do not play draw weapon animation when equip a new weapon (bug #4056) 7 years ago
MiroslavR f15de6d3ca ESS-Importer: Convert magic projectiles (Closes #2320) 7 years ago
scrawl 5ebb43a422 Merge pull request #1467 from akortunov/guifixes
Restack soulgems when use SoulTrap
7 years ago
Andrei Kortunov 9342a0254f Restack soulgems when use SoulTrap 7 years ago
scrawl 5688257837 Merge pull request #1462 from kcat/master
Minor animation fixes
7 years ago
scrawl ed5b6320f3 Merge pull request #1463 from akortunov/getdetected
Allow to use GetDetected without a reference
7 years ago
Andrei Kortunov 65d8e2ff5d Allow to use GetDetected without a reference (bug #3110) 7 years ago
Chris Robinson b770c1493f Don't spam about missing animations 7 years ago
scrawl d294d7e284 Fix possible fall damage when switching from falling to flying 7 years ago
scrawl fcb815f2c7 Move fall height reset into PhysicsSystem (Fixes #4049)
To avoid using onGround before it's actually set.
7 years ago
scrawl a560841705 Merge pull request #1460 from AnyOldName3/invalid-death-count-cleaning
Check death counts are for valid actors before loading them
7 years ago
AnyOldName3 0be7e2a5a5 Fix really obvious flaw with ignored records not being skipped that I missed 7 years ago
AnyOldName3 5a5cb1a160 Check death counts are for valid actors before loading them 7 years ago
scrawl f594eda574 Reset attackStrength when starting a new attack (Fixes #3935) 7 years ago
Chris Robinson 780e82480d Make the PlayMode and PlayType enums scoped
Also shorten them by putting them in the MWSound namespace
7 years ago
Andrei Kortunov 661232222f Allow guards to attack fighting creatures only in fAlarmRadius range 7 years ago
scrawl 8f1c8759e4 Merge pull request #1432 from akortunov/alchemyfix
Update alchemy effects after every created potion (#4079)
7 years ago
Andrei Kortunov dc0313a36f Use base skill value when calculating rank requirements 7 years ago
Andrei Kortunov 7559d25317 Update alchemy effects after every created potion (#4079) 7 years ago
Andrei Kortunov a5b01fefec Allow to interrupt an attack, if attack button is held 7 years ago
scrawl dc53573de4 Merge pull request #1405 from akortunov/stancechangefixes
Do not allow player to change weapon/spell during attack or spellcast
7 years ago
Andrei Kortunov 8003dbee12 Combat AI: use effective cast cost when rate enchanted weapon 7 years ago
Andrei Kortunov fb45995a41 Do not allow player to change weapon/spell during attack or spellcasting (bug #2445) 7 years ago
Andrei Kortunov e799cbdb51 Combat AI: allow only one summoned creature at time 7 years ago
scrawl 2611377081 Merge pull request #1350 from akortunov/deathanimationfix
Do not allow to loot fighting actors during death animation (bug #3528)
7 years ago
scrawl f277007b49 Merge pull request #1404 from akortunov/ownedcrosshair
Owned crosshair feature improvements [discussion]
7 years ago
Andrei Kortunov 7c80ddc9de Owned crosshair improvements (bug #2789) 7 years ago
Andrei Kortunov 641a6cd842 Added a delay before summoned creature corpse despawning 7 years ago
Capostrophic 6c8c883dc0 Making knownEffect aware that there can be more than 4 potion effects 7 years ago
scrawl b73ed5ccac Merge pull request #1391 from akortunov/aifollow
AiFollow: add a threshold when turning to target
7 years ago
Andrei Kortunov d8d47f081b AiFollow: add a threshold when turning to target 7 years ago
scrawl c231d20413 Merge pull request #1362 from akortunov/spellpriority
Combat AI: use WhenUsed enchantments [Feedback needed]
7 years ago
scrawl 306b58349e Merge pull request #1387 from akortunov/movementfix
Check actual movement for GetPCRunning and GetPCSneaking [Feedback needed]
7 years ago
scrawl d1161819bf Merge pull request #1396 from akortunov/dispelfix
Dispel only effects from spells
7 years ago
Andrei Kortunov bc7353f100 Check animation state for GetPCRunning and GetPCSneaking 7 years ago
Andrei Kortunov 1e983604db Dispel only effects from spells (bug #3995) 7 years ago
scrawl 8acf0ba633 Merge pull request #1394 from akortunov/followerattackfix
Prevent followers from attacking player if crime was reported
7 years ago
Andrei Kortunov 7a5645b35d Prevent followers from attacking player if crime was reported 7 years ago
Andrei Kortunov f84eb68b3d Confiscate an item when you try to sell it to its owner (bug #3944) 7 years ago
Andrei Kortunov ab391f17db Fixes regression in spell school detection (bug #4007) 8 years ago
scrawl ba72eb77f4 Merge pull request #1374 from akortunov/guardfix
Disable AiPursue package for player's followers
8 years ago
Andrei Kortunov 72ce118d02 Disable AiPursue package for player's followers 8 years ago
Andrei Kortunov cf7a6232d0 Combat AI: use WhenUsed enchantments 8 years ago
scrawl a63b9e33fd Merge pull request #1369 from akortunov/tauntfix
Take in account a temporary disposition in isAggressive check (bug #3…
8 years ago
Andrei Kortunov d1489f5b42 Take in account a temporary disposition in isAggressive check (bug #3987) 8 years ago
elsid 748f5225a9 Copy PathFinder::mPath back value when pass to MWMechanics::AiPackage::pathTo as dest
May become dangling reference because method may remove all elements from mPath.
8 years ago
Andrei Kortunov 604f9ee323 Split weapons and spells rating code from combat actions 8 years ago
Andrei Kortunov b7cfb1aaf4 Fixed DamageHealth and AbsorbHealth effects applying 8 years ago
scrawl eac2e52841 Merge pull request #1329 from akortunov/priorityfix
Combat AI: make default spell priority calculation formula close to vanilla
8 years ago
scrawl fde6e29628 Merge pull request #1326 from akortunov/spellpriority
Combat AI improvements [feedback needed]
8 years ago
scrawl 333648c975 Merge pull request #1324 from akortunov/doorfix
Improved doors detection
8 years ago
Andrei Kortunov 10eb6ec75f AI: Check angle between actor and door 8 years ago
Allofich dae19412f2 Fix problem with animations not looping
Fixes #3804
8 years ago
scrawl 631d79f1c8 Merge pull request #1346 from akortunov/aibreathe
AiBreathe AI package (feature #1374)
8 years ago
scrawl 4c2487d55f Merge pull request #1353 from akortunov/restfix
Update effects during rest (bug #3679)
8 years ago
Andrei Kortunov 920021c61b Update effects during rest (bug #3679) 8 years ago
scrawl d3be4769ea Merge pull request #1347 from akortunov/encumberancefix
Fixed encumberance check (bug #3963)
8 years ago
Andrei Kortunov 548814bfbc Added AiBreathe package (feature #1374) 8 years ago
Andrei Kortunov 325ea10594 Fixed encumberance check (bug #3963) 8 years ago
Andrei Kortunov 3ba0a336b7 Move spell magicka cost calculation to standalone function 8 years ago
Andrei Kortunov 98f161c7fd Combat AI: avoid enemy hits when casting Self-ranged spells (fixes #3922) 8 years ago
Andrei Kortunov 54b4d93f79 Added a special function for GUI sounds playing 8 years ago
Andrei Kortunov 37952c9a79 Added door detection based by ray casting 8 years ago
Andrei Kortunov 143fdae6fe Make spell priority calculation close to vanilla (bug #3937). 8 years ago
Andrei Kortunov 1a8f2bfc11 Combat AI: select target by priority 8 years ago
Andrei Kortunov a2be73295b Combat AI: take in account enemy weapon resistance 8 years ago
Andrei Kortunov 62b24eb078 Combat AI: do not use range weapons under water 8 years ago
Allofich 4f08084e79 Make stationary actors return to position on load
Also makes wandering actors resume their previous destination when an interrupting combat or pursuit ends.

(Fixes #3656)
8 years ago
Allofich 028762a7dc Make guards that are attacked try to arrest player
(Fixes #3706)
8 years ago
scrawl 53264f34b3 Merge pull request #1321 from akortunov/spellpriority
Use mRange to check spell range instead of mArea.
8 years ago
Andrei Kortunov 87939bf3b1 Use mRange to check spell range instead of mArea. 8 years ago
scrawl dd3f612e88 Merge pull request #1316 from akortunov/doorfix
Doors usage improvements
8 years ago
scrawl 80eb2ea35d Merge pull request #1313 from akortunov/spellpriority
Make combat AI to do not cast target spells under water
8 years ago
Andrei Kortunov e9d0bf7c12 Added missed return statement 8 years ago
Andrei Kortunov 9fdfb2a83f Spell priority: make AI do not cast target spells when enemy is under water 8 years ago
Andrei Kortunov 188424d5d3 Allow AI to use keys to open doors 8 years ago
Andrei Kortunov 4600f24e27 Playing sound when AI is opening a door 8 years ago
Bret Curtis c781d1f8ed purge unnecessary imports
add fstream back

add fstream back

add fstream back

add fstream back

add fstream back

add fstream back

add fstream back
8 years ago
Bret Curtis d785344fad purge all instances of <boost/shared_ptr.hpp>, clean up unused headers 8 years ago
Ewan Higgs 38a2de3c51 convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis 8 years ago
Andrei Kortunov 3190f28710 Spell priority: make AI do not cast target spells under water 8 years ago
Andrei Kortunov 00402b7154 Removed unused variable 8 years ago
Andrei Kortunov 42f3c73c75 Spell priority: dispel usage improvements 8 years ago
Andrei Kortunov f6c3d4935e Spell priority: feather and burden 8 years ago
Andrei Kortunov 6c21e4ed31 Spell priority: ignore some effects useless in battle 8 years ago
Andrei Kortunov 46c8842808 Fixed enchant points calculations formula 8 years ago
scrawl f9cdc2da94 Merge pull request #1293 from akortunov/spellpriority
aicombataction.cpp: implement some spell priority TODO's
8 years ago
Andrei Kortunov 4d927439ca Spell priority: item wearing check when disintegrate weapon/armor 8 years ago
Andrei Kortunov d598809ac6 Spell priority: check spell resistance, check if actor is already has a non-magnitude effect 8 years ago
Andrei Kortunov f484ef8ffb Fixed jump fatigue loss formula (fixes #3843) 8 years ago
scrawl 1956602aa2 Merge pull request #1262 from Allofich/warnings
Fix more warnings
8 years ago
Allofich ff3cb18d4f Fix shadowing warnings 8 years ago
scrawl bfdde0262f Merge pull request #1260 from akortunov/levitationfix
Purge existing levitation effects when levitation is disabled (fixes #3766)
8 years ago
Allofich ff3e307059 Pass parameters by const reference 8 years ago
Allofich 2e5fd74db0 Fix invalid iterator warning 8 years ago
Allofich 60a2625b89 Add parentheses to clarify calculations 8 years ago
Allofich 5a00b239ac Reduce scope of variables 8 years ago
Andrei Kortunov 04eb4ea6b6 Check for disabled levitation (fixes #3766) 8 years ago
Andrei Kortunov 3c4c47d1e6 Reduced scope of fHoldBreathTime variable 8 years ago
Andrei Kortunov c3fd327bb2 Fixed drowning widget initialization 8 years ago
Andrei Kortunov dc036e96d4 fixed magicka calculation on chargen (bug #3694) 8 years ago
scrawl d8943d911c Merge pull request #1254 from Allofich/warning
Remove unnecessary line
8 years ago
Allofich 470988f9ef Minor changes to getActorsSidingWith 8 years ago
Allofich 6272e1c674 Cache allies found while iterating engageCombat
(Fixes #3814)
8 years ago
Allofich 5020d03c78 Remove unnecessary line 8 years ago
scrawl 8f335b3484 Merge pull request #1245 from akortunov/tgm
Vanilla-like tgm
8 years ago
Andrei Kortunov 31bd70f334 Added missed recharge and repair sounds 8 years ago
scrawl 2a74f79bf1 Merge pull request #1240 from Allofich/follow
Adjust AI follow distances
8 years ago
Allofich 6253a5218e Adjust AI follow distances
(Fixes #3225)
8 years ago
Andrei Kortunov 14b59e0e4b Vanilla-like tgm (fixes #3798) 8 years ago
MiroslavR da6b28eb40 Fix selling success chance (Fixes #3802) 8 years ago
scrawl 97dbd07ed2 Merge pull request #1236 from akortunov/guifixes
Minor GUI fixes
8 years ago
Andrei Kortunov 7bd0c74aa8 Fixes mWatchedTimeToStartDrowning initialization (fixes bug #3801) 8 years ago
Andrei Kortunov e383e4d023 Disabled hit overlay for damage/absorb mana/fatigue spells 8 years ago
scrawl 373bd78cf3 Merge pull request #1233 from akortunov/guifixes
Vanilla style drowning widget
8 years ago
Andrei Kortunov b89fdcfd27 Vanilla style drowning widget (partially fixes bug #3801). 8 years ago
scrawl 338592b99b Don't clear the animation queue when turning (Bug #3581)
Otherwise, the turnAnimationThreshold would make it difficult to estimate when we can start playing the animation.
8 years ago
scrawl a5d7b36c28 Don't clear idle animation when movement ends (Bug #3581)
This caused problems when AiWander tried to start an idle animation in the frame after movement stops.
8 years ago
scrawl c611ddba8d Remove stray term 8 years ago
Allofich 57aeec59d5 Change bounds behavior of stat script commands
Fixes (#3776)
8 years ago
scrawl 29556a1802 More consistent wording of errors/warnings
A Warning indicates a potential problem in the content file(s) that the user told OpenMW to load. E.g. this might cause an object to not display at all or as intended, however the rest of the game will run fine.

An Error, however, is more likely to be a bug with the engine itself - it means that basic assumptions have been violated and the engine might not run correctly anymore.

The above mostly applies to errors/warnings during game-play; startup issues are handled differently: when a file is completely invalid/corrupted to the point that the engine can not start, that might cause messages that are worded as Error due to the severity of the issue but are not necessarily the engine's fault.

Hopefully, being a little more consistent here will alleviate confusion among users as to when a log message should be reported and to whom.
8 years ago
scrawl 1692b7f38e Merge pull request #1209 from dhustkoder/master
Added ConstContainerStoreIterator (Task #3092)
8 years ago
Rafael Moura 7fa2703715 Porting more ContainerStoreIterator usage to const version #3 8 years ago
Rafael Moura 18a4b64f1a Porting more ContainerStoreIterator usage to const version #2 8 years ago
scrawl 6f4c03aa32 Avoid retrieving setting every frame 8 years ago
scrawl eefe1ed1a8 Fix being affected by Silence in god mode 8 years ago
scrawl 7e02bb7348 Preload summoned creature models before the spell is cast 8 years ago
Rafael Moura ecbde7b11e Added ConstContainerStoreIterator
using base template for ContainerStoreIterators

less template arguments for ContainerStoreIteratorBase
8 years ago
Allofich 3897c49e30 Fix loading 0-duration Follow and Escort packages
(Fixes #3755)
8 years ago
scrawl c4a89065a2 Preload VFX of spells selected by AI actors 8 years ago
scrawl 183c46b0ef Fix summoning effects 8 years ago
scrawl 051b4038d9 Merge pull request #1203 from Allofich/magic
Make AI not go hostile when absorbing/reflecting
8 years ago
scrawl cdf65ef681 Merge pull request #1201 from Allofich/hit
Prevent AI actors from hitting unintended targets
8 years ago
Allofich 72c3ee0a3d Make AI not go hostile when absorbing/reflecting 8 years ago
Allofich 6b53541571 Prevent AI actors from hitting unintended targets
(Fixes #3254)
8 years ago
scrawl 9fa8e88366 Revert "Don't create a CharacterController for objects with no animations"
This reverts commit cce42b6e9d.
8 years ago
scrawl 03a10f217a Catch exceptions in AiSequence::execute 8 years ago
scrawl 5a12407436 Revert "Rearranged check for better performance"
This reverts commit 332ceb51a2.
8 years ago
Allofich e047679595 Fix trying to access stats on non-actors 8 years ago
scrawl 332ceb51a2 Rearranged check for better performance 8 years ago
scrawl 8752ae9c6a Fix include 8 years ago
scrawl bbcba57495 Disable hitAttemptActorId saving code for now 8 years ago
Allofich 5d2090684a Store mHitAttemptActorId in save files 8 years ago
Allofich 25c64dbb0f Make combat engagement logic more like vanilla
(Fixes #2678, Fixes #3705)
8 years ago
scrawl bc29a99a53 Fix broken timer 8 years ago
scrawl cce42b6e9d Don't create a CharacterController for objects with no animations 8 years ago
scrawl fe0cf5be05 StatsWindow: don't rebuild all skill widgets when one skill changes 8 years ago
scrawl 3065600a86 Skip expensive visitEffectSources call if no summoned creatures or summon effects are active 8 years ago
scrawl a2cede8f34 Add timer for updateEquippedLight 8 years ago
scrawl 1eb3384043 Avoid rotating by zero in CharacterController 8 years ago
NeveHanter e82d542d89 Merge remote-tracking branch 'upstream/master' into bugfix-3617 8 years ago
NeveHanter 811e9ad9f3 Fixed bug https://bugs.openmw.org/issues/3617 by allowing touch and target enchantments from ranged weapons and their projectiles to explode even when colliding with non-activable objects, terrain, water slab or when shoot underwater.
Also allowed projectiles to fly through the dead bodies as in vanilla.
8 years ago
Allofich f2240dde9c Allow command spells to work when cast by AI on AI
(Fixes #3723)
8 years ago
Allofich e825010107 Apply command spell effects on impact
Command spells should apply their effects, including taking an actor out
of combat, every time a spell successfully hits, even if a previous
command effect is still active.
8 years ago
Allofich a46c4de918 Stop combat when adding an AI package to an actor
(Fixes #3722)
8 years ago
scrawl 73aa07b81b Merge pull request #1189 from Allofich/attack
Match best attack selection to vanilla behavior
8 years ago
Allofich 2322ab3125 Don't make Command spells cancel AI packages
(Fixes #3649)
8 years ago
Allofich c10585fb07 Match best attack selection to original MW
(Fixes #3721)
8 years ago
Assumeru 1a073ca642 Fix teleportation being unreachable 8 years ago
Allofich eee49b7ea7 Make dispel an instant effect again (Fixes #3695) 8 years ago
scrawl 212e85e810 Merge pull request #1174 from Allofich/combat
Adjustments to AI combat engaging and disengaging
8 years ago
MiroslavR c9dd63af8d Merge pull request #1171 from NeveHanter/travel-followers-cost
Implemented "paying" for travelling followers
8 years ago
Allofich 54fa921dad Change some AI combat engagements to not need LOS 8 years ago
Allofich 6fa0354a17 Make AI attack player also if it attacks follower 8 years ago
Allofich 5a6ea4e84e Cleanup 8 years ago
Allofich e10c4d8814 Stop combat between AI when canFight is false 8 years ago
Allofich e8c7ad2f4b Change environment check to canFight check
Instead of just checking that combatants are in compatible environments,
allow combat if in attack range using canFight. Together with previous
commit, fixes #3690.
8 years ago
Allofich 588442b6cc Make enemies start combat with player followers
Recreates vanilla behavior of enemies starting combat with player
followers and escorters. (Fixes #3691)
8 years ago
NeveHanter 8902bb5b13 Player now pays for the following actors when travelling, with the exception of the first follower who travels for free, refactored getFollowers to getActorsFollowing/getActorsSidingWith 8 years ago
Aussiemon 2f66b91ac5 Added check to prevent attempted wandering of empty paths 8 years ago
Leon Krieg 12c8c3276a Disable NPC collision only when death animation has finished (#3666) 8 years ago
Leon Krieg 739cd5ba45 Fixed more spelling mistakes 8 years ago
Leon Krieg c7b4b2cdd7 Fixed multiple spelling mistakes 8 years ago
MiroslavR 76ee5845ac Fix swish sound ID and play swish sound effects for all creatures (Fixes #3653) 8 years ago
mrohrlach 9624d8aade Added new method and variable to track float remainders of disintegration effections 8 years ago
scrawl 876d9c6a84 Merge pull request #1148 from Allofich/aicombat
Require line of sight for AI attacks
8 years ago
Allofich a6dae51d87 Require line of sight for AI attacks (Fixes #3646) 8 years ago
Allofich 6816e935f1 Fix fortify maximum magicka expiration (Fixes #3648) 8 years ago