dteviot
45b6538820
fixed MSVC 2013 warning C4800
...
forcing value to bool 'true' or 'false'
10 years ago
dteviot
407cd50890
fixed warning C4099:
...
type name first seen using 'class' now seen using 'struct'
10 years ago
scrawl
239c0071f5
Armor tooltip should show the effective armor rating
10 years ago
scrawl
75db4d6473
Merge remote-tracking branch 'upstream/openmw-35' into HEAD
10 years ago
scrawl
dfaab1188f
Fix for broken levelled creature spawning ( Fixes #2365 )
10 years ago
Alexander "Ace" Olofsson
df5a08b6de
Move manualref code out of header
10 years ago
scrawl
bea88c3643
Stolen item tracking overhaul part 2 ( Fixes #2338 )
10 years ago
scrawl
7e33471edb
Fix code duplication
10 years ago
scrawl
7542fb5cd9
Show map notes on door marker leading to the cell with the note ( Fixes #2284 )
10 years ago
scrawl
0497a40d09
Fix incorrect sound for thrown weapons
10 years ago
scrawl
431f540791
ESSImport: fix NPC factions
10 years ago
scrawl
c7d15e6f74
Revert "Revert "Light charge handling fix""
...
This reverts commit b95748d044
.
10 years ago
scrawl
b95748d044
Revert "Light charge handling fix"
...
This reverts commit 5e0428243b
.
10 years ago
scrawl
5e0428243b
Light charge handling fix
10 years ago
scrawl
9014dc48ee
Don't require the object type id for reading references from savegames
...
This is redundant, since we can look it up from the RefID.
10 years ago
scrawl
235683e449
Remove LightState from openmw save format to streamline inventory loading
10 years ago
scrawl
41b3a9dba9
Rewrite animated collision shape support ( Fixes #2123 )
10 years ago
dteviot
7aa0f887c0
Minor changes to ESM::RefNum
...
1. Changed mIndex to unsigned, to solve potential implementation defined behavior with right shift.
2. Refactoring to minimize use of magic number -1 to indicate "no Content File".
10 years ago
dteviot
7fe2f86d06
Slaughter fish attacks when player only knee deep in water ( Fixes #2076 )
10 years ago
scrawl
bc686c93b5
Potential fix for thrown weapons being regarded as broken
10 years ago
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
363d1f9207
Merge remote-tracking branch 'upstream/master'
10 years ago
scrawl
6c9875969a
Stop idle animations for non-biped creatures when attacking/moving
...
The idle animation wouldn't be visible anyway, since these creatures don't have animation layers. However sounds tagged in the animation would still play.
10 years ago
scrawl
377b79d5ba
Use SoundGen fallback for type Land only ( Fixes #2228 )
10 years ago
scrawl
d55fe43fc9
Support animation groups for Light and Door objects ( Fixes #2039 )
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
Alexander "Ace" Olofsson
462b41a3a8
Missing files, aka; Why you shouldn't stresscommit
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
3c747195ae
Add fall damage for creatures ( Fixes #2201 )
10 years ago
scrawl
e313ed3cef
Support animated container models
10 years ago
scrawl
14ae6d28b0
Fix being able to jump when overencumbered
10 years ago
scrawl
e48dc45ede
Fix creatures not being able to move with 0/0 encumbrance
10 years ago
MiroslavR
fa746b8e54
Do not display weight or value in tooltip for zero-weight items ( Fixes #2047 )
10 years ago
Marc Zinnschlag
aefe8cd4ae
Merge remote-tracking branch 'lgro/issue1887_equipped_items_doesnt_emit_sound'
...
Conflicts:
apps/openmw/mwworld/class.cpp
10 years ago
Lukasz Gromanowski
a6a3eca930
Fixes #1887 : Equipped items do not emit sounds
...
Corrected wrong return type of Class::getSound() method.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
Lukasz Gromanowski
e1663de7cf
Fixes #1887 : Equipped items do not emit sounds
...
Added getSound() method to MWClass class and implementation
into Light class.
Also added additional bool parameter responsible for enabling/disabling
of playing items sounds into NpcAnimation class constructor.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
10 years ago
MiroslavR
29f5cb46ac
Merge branch 'master' of github.com:OpenMW/openmw
10 years ago
Marc Zinnschlag
744c56943a
Merge remote-tracking branch 'jordan-ayers/topic/misc-cleanup'
10 years ago
MiroslavR
0e19c3fdeb
Silence werewolves' footstep sounds when they are running with their claws sheathed
10 years ago
MiroslavR
b6abfb0145
Do not display hit fader if the player wasn't damaged
10 years ago
MiroslavR
ff74d54e98
Merge branch 'master' of github.com:OpenMW/openmw
10 years ago
Jordan Ayers
2f5721bf61
Fix typo in comments.
10 years ago
scrawl
d9165593d9
Fix footstep sounds played during water-walking
10 years ago
MiroslavR
de2cb8926a
Feature #1697 : Queue fade operations, implement hit fader & werewolf overlay
10 years ago
scrawl
c4fa671381
Don't allow raising faction rank if the next rank has no name ( Fixes #1975 )
10 years ago
scrawl
fe4d74a6cb
Fix not being able to move with 0/0 encumbrance ( Fixes #1979 )
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
7252cb63a6
Fix cppcheck issues
10 years ago
scrawl
40587f984d
Implement price-based mercantile skill progress ( Fixes #1947 ), thanks Hrnchamd
...
Correct barter formula (removed erroneous clamping)
10 years ago
scrawl
62ab35881e
Don't advance skills in werewolf mode (thanks Hrnchamd)
10 years ago
scrawl
fb26c2c2de
Fix autocalculated NPCs not having health/magicka/fatigue set correctly ( Fixes #1943 )
10 years ago
scrawl
c05874e1ff
Reset CreatureLevList spawning flag if levelled list returned no creature
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
99c276baa9
Set weapon Magical flag when enchanting a weapon
10 years ago
Marc Zinnschlag
b5d5eadf79
Merge remote-tracking branch 'scrawl/master'
10 years ago
scrawl
f3d4b63aaf
Fix AI moving load doors and throw an exception when trying to do this ( Fixes #1907 )
10 years ago
MiroslavR
86c286c24e
Fix werewolf globals
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
6b06ab23aa
Don't play sound for torches with OffDefault flag ( Fixes #1884 )
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
59720b7dc6
Implement MagicItems flag for vendors ( Fixes #1861 )
10 years ago
scrawl
10a0e2434e
Open inventory when activating an unconscious actor ( Fixes #1848 )
11 years ago
scrawl
d8943aef2f
Encapsulate magic effect magnitude (Feature #1489 )
11 years ago
scrawl
6ddd9cc5a2
Don't show weight or value for keys ( Fixes #1815 )
11 years ago
scrawl
177de58884
Use fWereWolfRunMult only when no weapon is drawn
11 years ago
scrawl
cf22d2fa36
Make Potions reveal two effects for every fWortChanceValue of alchemy skill ( Fixes #1792 )
11 years ago
scrawl
28fe81df90
Make Lights with OffDefault flag not emit light nor particles when placed in a cell ( Fixes #1796 )
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
0f1451babd
Add epsilon to armor class calculation
11 years ago
scrawl
45af34d189
Merge branch 'master' of https://github.com/OpenMW/openmw
11 years ago
scrawl
4773d754c6
Remove redundant isHostile flag ( Fixes #1652 )
11 years ago
scrawl
d69ed78ccd
Don't add combat AI to player
11 years ago
Marc Zinnschlag
7991dfb907
Merge remote-tracking branch 'scrawl/master'
11 years ago
Marc Zinnschlag
c9cd7fb6b7
Merge branch 'scripts'
11 years ago
scrawl
d81e9cfefd
Implement actors fighting for the actor they are following ( Fixes #1141 )
11 years ago
scrawl
75366b2e37
Implement CellRef's faction rank (rank requirement to use item)
11 years ago
scrawl
ca45a63cf7
Close doors instantly when using Lock instruction
11 years ago
scrawl
2b57c7fa67
Use CellRef's global variable to disable owner ( Fixes #1677 )
11 years ago
scrawl
d43c21a9fc
Make NPCs react to being attacked by other actors ( Fixes #1588 )
11 years ago
scrawl
127add7623
Don't allow dialogue with werewolf NPCs
11 years ago
scrawl
5629803a08
Implement correct armor mitigation mechanics
11 years ago
scrawl
804f1a5e59
Adjust combat mechanics
...
- Projectiles can not trigger critical hits
- Critical hits are only possible if the target is not in combat (Fixes #1669 )
- Hand-to-hand deals damage to health during entire duration of knockdown animation (including standing up)
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
Marc Zinnschlag
4fb897f2f8
added missing getId functions to classes derived from MWWorld::Class
11 years ago
scrawl
123157b216
Implement elemental shield damage to attacker (Feature #1121 )
11 years ago
scrawl
fd3f109362
Fix underflow for NPCs with level 0
11 years ago
scrawl
a1639371d3
Fix rounding for skill/attribute autocalc
11 years ago
scrawl
83819b2894
Traverse spells in record order from content files. bronrod_the_roarer is perfect now. Other NPCs have some differences.
11 years ago
scrawl
1c41ce9b9d
Implement Hrnchamd's player and NPC autocalc spells (Some unclarities remaining, XXX)
11 years ago
scrawl
048d07b299
Show owner of doors in tooltip
11 years ago
scrawl
4aab4e1c26
Ignore item condition when determining value, except in trade ( Fixes #1557 )
11 years ago
scrawl
869fa08a32
Fix disarming a trap when key is used ( Fixes #1556 )
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
1dc9e151cb
Count werewolf kills ( Fixes #1525 )
11 years ago
scrawl
2477456f99
Implement Murder crimes and OnMurder instruction ( Fixes #1315 )
11 years ago
scrawl
8ac019611d
Fix Potion use action removing the potion even when the action is not executed ( Fixes #1521 )
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
31a4e10c6f
Fix incorrect trigger of change flag for static doors
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
91ed5183c8
Show base item value in tooltip, not real value ( Fixes #1469 )
11 years ago
scrawl
881ae33b74
Don't allow Creatures with no movement abilities to move ( Fixes #1457 )
11 years ago
scrawl
823ccb1b3d
Don't batch statics that have "references persist" set (temporary fix for Arkngthand door - Fixes #1386 )
11 years ago
scrawl
0063b63ae4
Don't use armor mitigation for fall damage
11 years ago
scrawl
00775035af
Add missing hasItemHealth for lockpicks/probes ( Fixes #1385 )
11 years ago
scrawl
a6788cfb0e
Support lights that do not have a model ( Fixes #1361 )
11 years ago
scrawl
039398c8ae
Basic RefData and CellRef change tracking
...
Wrapped item charge handling in getItemHealth function
11 years ago
scrawl
a05c8fd3ce
Make applyEnchantment return the record ID instead of modifying Ptr
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
868e38a07c
Fix Assault crimes being reported when striking in self-defense
...
Last missing fix for Bug #1134 .
11 years ago
scrawl
a76e391ad0
Savegame: store door movement state ( Closes #747 )
11 years ago
scrawl
471bbd0021
Savegame: store levelled creature state and move to actorIds
...
(Closes #1332 )
11 years ago
scrawl
9052cc4a57
Savegame: store ActiveSpells
11 years ago
scrawl
67e942e733
Bug #869 : Some fixes to the previous fix
11 years ago
scrawl
6cc691115b
Savegame: store most of CreatureStats
11 years ago
scrawl
312dc84fa4
Fix a bug where the player's inventory could be opened as a container
...
If an NPC uses AiActivate on the player (i.e. to activate dialogue) precisely in the frame where the player just died, the player's inventory would be opened as a container instead.
11 years ago
scrawl
1c8c26072d
Crime and self defense fixes
...
- NPCs should still shout messages such as "thief" even if they did not report the crime
- Fixed self defense for NPCs (they no longer attack the player when they were attacked by a non-player actor)
- Fixed self defense for creatures (Fixes #1203 )
11 years ago
scrawl
1b074e5524
Call setAttacked even if the attack missed. Unsuccessful hits should also evoke a response.
11 years ago
mrcheko
82121e0401
some checks reworked
11 years ago
Thomas
f6deca7c80
Fixed various issues caused by late-night coding. Also added "unlock" message to unlocked doors
11 years ago
Thomas
61341d4206
Removed mLocked, kept it as "Negative lock level means unlocked"
11 years ago
Thomas
cac8e52154
Seperated locked and lock level, to allow for relocking doors to previous lock level.
...
The data is stored in the esm as -lockLevel if unlocked; lockLevel if locked. While not tested, it should not present any problems.
11 years ago
Jeffrey Haines
6733a1541e
Fixes to Crime System
...
Victimless crimes were removed because victims may not exist in the
case of stealing items.
Is class now uses case insensitive comparison.
Fixed issue with confiscation of stolen items.
11 years ago
Jeffrey Haines
50dac98a2b
Feature 1154 & 73: Crime and NPC reactions
11 years ago