Commit Graph

182 Commits (moveref)

Author SHA1 Message Date
scrawl e0d083f702 Add hand-to-hand combat mechanics for bipedal creatures
You can now have a fistfight with vivec, if you so desire.
10 years ago
scrawl 377b79d5ba Use SoundGen fallback for type Land only (Fixes #2228) 10 years ago
scrawl 3912ee2b1d Fix faction rank not being set on items in faction-owned containers 10 years ago
scrawl 1b9209df4a Allow blocking of hand-to-hand attacks 10 years ago
scrawl d642512f71 Error message fix 10 years ago
scrawl 4e0d16da8c Take Scale field in creature record into account (Fixes #2214) 10 years ago
scrawl 2b78e9795d Implement Calm effect removing combat packages (Fixes #1985) 10 years ago
scrawl 4acc25f59c Use SoundGen with no creature field as fallback
This fixes the adorable "thump" sounds in the Scrib's idle animation not playing.
10 years ago
scrawl 192626c6f5 SoundGen fix: use Original Creature field only if non-empty 10 years ago
scrawl 88a2e4c043 Graceful error handling for missing spells/factions (Fixes #1825, Bug #2176, Bug #2203) 10 years ago
scrawl f42420bc19 Use the Original Creature field for SoundGen lookups 10 years ago
scrawl 886903d70e Implement HitAttemptOnMe function (Bug #2078) 10 years ago
scrawl e48dc45ede Fix creatures not being able to move with 0/0 encumbrance 10 years ago
scrawl d9165593d9 Fix footstep sounds played during water-walking 10 years ago
scrawl 5c3bc6563b Fix divisions by zero in normalizedEncumbrance 10 years ago
scrawl e868a48a63 Don't trigger OnPcHitMe for friendly hits (Fixes #1950)
Don't consider actors as followers if they are also in combat with the follow target
10 years ago
scrawl be7839873a Don't trigger dynamic stats recalculation when setting up actor initial stats (Fixes #1927)
This caused the magicka value set in the CS to be ignored completely, so flame atronachs were spawning with 50 magicka instead of 105.
10 years ago
scrawl 157c53bed4 Handle spellcasting for creatures with no casting animation (Fixes #1856) 10 years ago
scrawl 1270dada34 Don't set Attacked flag when the actor is already in combat with the attacker (Fixes #1909) 10 years ago
scrawl cb916594d9 Always show tooltips for dead actors 10 years ago
scrawl f18d4b4ac4 Don't show crosshair tooltips for actors in combat 10 years ago
scrawl c54ab2e846 Don't allow talking to creatures that are in combat 10 years ago
scrawl adbc50366b Use random attack strength for creatures (Bug #1876)
Determining the attack strength from the time the wind-up animation was held will not work properly, as most creatures don't have this animation.

This fixes another balancing issue with Rieklings (they were previously using an attack strength of 1 every time).
10 years ago
scrawl d8943aef2f Encapsulate magic effect magnitude (Feature #1489) 11 years ago
scrawl accab47724 Don't knock down from fall damage in onHit (CharacterController is doing that already) 11 years ago
scrawl 639ae7e06c Implement friendly hits on followers (Fixes #1139) 11 years ago
scrawl 216ebac2e9 Implement weapon condition damage for ranged weapons (Fixes #1746) 11 years ago
scrawl b58b8c6f8f Adjust player position to ground when using a door marker, even if the player is levitating (Fixes #1737) 11 years ago
scrawl d81e9cfefd Implement actors fighting for the actor they are following (Fixes #1141) 11 years ago
scrawl 5629803a08 Implement correct armor mitigation mechanics 11 years ago
scrawl 1636fd66db Don't add creature base damage to weapon damage (UESP was wrong) 11 years ago
scrawl 28a0899d2b Implement difficulty scaling (Fixes #1505) 11 years ago
scrawl 5bbf07976f Consider Shield spell effect for creature armor rating 11 years ago
scrawl 691ba02115 Reduce wepaon condition even if attack misses 11 years ago
scrawl 123157b216 Implement elemental shield damage to attacker (Feature #1121) 11 years ago
scrawl 3d9bdad8ba Correct run speed for creatures (by Hrnchamd - Fixes #1136) 11 years ago
scrawl cc3c6ae7b8 Fix very slow movement on some creatures, e.g. rats (Bug #1136)
Neither fAthleticsRunBonus, fBaseRunMultiplier or the creature's athletics skill (i.e. Combat stat) have any effect on the run speed (tested by setting those to absurd values). The new formula is just a guess and doesn't seem to be completely accurate.
11 years ago
scrawl 6760f4c897 Make cached GMSTs in MWClass::Npc/Creature safer 11 years ago
scrawl 4234c70232 Savegame: Disable CustomData load optimization for npcs and creatures for now to preserve compatibility (still enabled for containers) 11 years ago
scrawl 2193977eec Savegame: Don't fill CustomData from ESM records if the savegame overwrites it anyway
This gets rid of some junk in ContainerStores (since clear() only sets count to 0 and doesn't really delete references), and significantly speeds up loading savegames (by about 80% in my test)
11 years ago
scrawl 28feb260eb Implement disposition/distance based aggression (Fixes #1520) 11 years ago
scrawl 3b7119ba0d Make Bipedal creatures always able to walk and swim (Fixes #1509)
This is necessary since the vanilla CS greys out the walk/swim checkboxes when Bipedal is checked.
11 years ago
scrawl 395f98e476 Fix triggering changed flag for all references when cell is visited
The InsertFunctor for cells was calling localRotateObject() for all references which set the mChanged flag in RefData to true.

Also clean up RefData interface slightly.
11 years ago
scrawl 881ae33b74 Don't allow Creatures with no movement abilities to move (Fixes #1457) 11 years ago
scrawl 039398c8ae Basic RefData and CellRef change tracking
Wrapped item charge handling in getItemHealth function
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
scrawl a872c9f83a Feature #1323: handle restocking levelled items 11 years ago
scrawl b4ed828e21 Feature #1323: Implement restocking items (does not handle levelled lists yet) 11 years ago
scrawl ae66d28c87 Feature #32: Implement respawn for containers, creatures and NPCs 11 years ago
scrawl 67e942e733 Bug #869: Some fixes to the previous fix 11 years ago