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
Jeffrey Haines
4037f3705e
Feature 1154 & 73: NPCs react to crime
11 years ago
Jeffrey Haines
9efef31bb8
Feature #953 Trader Gold - Unused code/warning resolved
...
Removed unused code
getBaseGold throws proper error
11 years ago
Jeffrey Haines
401d21b4ee
getBaseGold implemented in MWWorld::Class for NPC and Creature
...
Implemented a getBaseGold() to get the vendor gold base
NPC gold base now can come from mNpdt12 and mNpdt52
11 years ago
Jeffrey Haines
895748f18d
Gold Pool implemented for Vendors
...
It appears that my solution breaks persuasion gold for some reason. I
may be wrong. I can’t see where this could be happening as the files
I’ve changes should not affect persuasion at all.
11 years ago
Jeffrey Haines
6896142db1
Trader Gold Reset Delay
...
Trade Time initialized to 0
Gold pot set correctly for npc’s and creatures
11 years ago
Jeffrey Haines
2a8bf46607
Trader Gold Reset Delay
...
Implemented traded gold reset delay.
Note:
Traders gold pool is still in inventory.
11 years ago
scrawl
c8c0e5de38
Fixed code issues found with unity build. Missing include guards, duplicated functions, ...
11 years ago
Marc Zinnschlag
8b36de6c67
Merge remote-tracking branch 'cc9cii/Slaughterfish-fix'
11 years ago
cc9cii
43757efdc4
Feature #1030 - partial fix to stop creatures unable to walk/fly to come out of water. Does not necessarily handle situations where they are already out of water, however.
11 years ago
scrawl
d08394bf78
Fixes #1205 : apparently creature and hand-to-hand (health) attacks should also level up armor skill (tested in vanilla)
11 years ago
scrawl
072dc6d438
Feature #50 : Implement marksman mechanics.
11 years ago
scrawl
12de0afb03
Feature #50 : Spawn projectiles
...
Fix a bug in copyObjectToCell.
Make actor rotations more consistent.
11 years ago
Marc Zinnschlag
83ded18af0
encapsulated reference collections
11 years ago
Marc Zinnschlag
367919200f
moved CellRefList into a separate file
11 years ago
Marc Zinnschlag
ea16f79d77
Merge remote-tracking branch 'gus/AIFix2'
11 years ago
gus
e5b19cf3c6
clean up
11 years ago
Marc Zinnschlag
9788bbcab9
partially store creature state in saved game files (only attributes and dynamics for now)
11 years ago
Marc Zinnschlag
b0532e0c85
store NPC state in saved game files
11 years ago
gus
a315d5cc2b
aiactivate works. Bug when you try to use it on a reference that doesn't exist. Need to clran up door.cpp
11 years ago
scrawl
e1e7a492e2
Fix movement speed formula for flying creatures
11 years ago
Marc Zinnschlag
1b5301eec0
Merge branch 'savedgame'
...
Conflicts:
apps/openmw/mwbase/mechanicsmanager.hpp
apps/openmw/mwbase/soundmanager.hpp
apps/openmw/mwgui/mapwindow.hpp
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
apps/openmw/mwsound/soundmanagerimp.hpp
components/esm/loadcell.cpp
11 years ago
Marc Zinnschlag
5b04c10e1d
added creature/NPC state to saved games (only container/inventory for now)
11 years ago
Marc Zinnschlag
dd674566a2
store content of containers in saved game files
11 years ago
Marc Zinnschlag
900532a6ca
store additional state of lights in saved game files
11 years ago
scrawl
2b15b8b484
Fix gold bugs ( Fixes #1145 , Fixes #1146 )
11 years ago
scrawl
305e78c981
Fix creature attack bug
11 years ago
scrawl
190512156d
Use some more GMSTs for enchanting
11 years ago
scrawl
ea7e0abdc2
Move WhenStrikes skill success to a more appropriate place
11 years ago
scrawl
b8db151da7
Add missing skill increases for armor hits
11 years ago
mrcheko
5ee1dc6be8
attacktypes error fix
11 years ago
scrawl
194413c955
Feature #1119 : Implement Resistance/Weakness to normal weapons magic effect. Handle fWereWolfSilverWeaponDamageMult.
11 years ago
scrawl
16f5f5862d
Feature #956 : Implement blocking melee attacks
11 years ago
scrawl
82a07af72c
Fix typo (should be Strength, not Luck). Use GMSTs for strength damage.
11 years ago
scrawl
1617a4f7d9
Use fCombatDistance
11 years ago
scrawl
a4404054bb
Feature #1130 : Add race power spells for NPCs as well, not just the player
11 years ago
scrawl
5de8c7fe29
Feature #1130 : Add auto-calculated NPC spells
11 years ago
scrawl
851a7d5014
Feature #957 : Handle area effects for "on touch" range
11 years ago
scrawl
0adc0f56ed
Issue #777 : Consider weapons in Creature::hit
11 years ago
scrawl
9723263730
Bug #1126 : Tweak creature attack distance a bit (still no idea where this should come from)
11 years ago
scrawl
198bb0de60
Issue #777 : Add CreatureAnimation variant for creatures with weapons/shields
11 years ago
scrawl
589fbbd871
Issue #777 : Create InventoryStore for creatures with weapons/shields
11 years ago
scrawl
947b6c9645
kOgrePi unused
11 years ago
scrawl
9653355cf1
Feature #701 : Spawn levelled creatures in cells
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
5fc38e7ac4
Don't use blood effects for fatigue damage
11 years ago
scrawl
805843d7ff
Closes #1086 : Implement blood effects
11 years ago
scrawl
ddc432c7ef
Fix stealing bug
11 years ago
scrawl
f070d9966d
Implement movement speed formula for creatures. Still moving a bit too slow.
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
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
cd06b2177d
Automatically knock down when fatigue goes 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
scrawl
fb778f8ecd
Use fEncumbranceStrMult
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
3db299f1b2
Fix fall damage crash
11 years ago
scrawl
9ddee8fd8c
Autocalculate NPC reputation as according to research wiki
11 years ago
scrawl
909494ff35
Implement Assault crimes. In other words, NPCs now fight back!
11 years ago
scrawl
d9d6f37619
Use iVoiceHitOdds
11 years ago
Marc Zinnschlag
85707b5e3e
Merge remote-tracking branch 'scrawl/master'
11 years ago
scrawl
baf55df7a1
Gold fixes (when did this break?)
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
Marc Zinnschlag
a7be755db0
Merge remote-tracking branch 'mrcheko/master'
11 years ago
scrawl
098f9712f1
Add getPlayerPtr() utility method. Reduces dependencies a lot.
11 years ago
mrcheko
46519062d3
hit recoils/knockdowns feature
11 years ago
scrawl
0285d18fc2
Respect items belonging to a faction
11 years ago
scrawl
ea3ee4407f
oops, didn't mean to commit this
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
ce013315ba
Nothing to see here, move along.
...
Fine... it's flying cliff racers. But did you really want to know?
11 years ago
scrawl
14b70a3ce6
Implement AI related magic effects (calm, frenzy, rally, demoralize, turn undead)
11 years ago
mrcheko
7002412760
resolve conflict in character.cpp
11 years ago
scrawl
be2ebc5cac
Closes #1081 : Implement disease contraction
11 years ago
scrawl
b22dd40b41
Implement Paralyze magic effect
11 years ago
scrawl
b42240be6d
Implement Damage/restore skill/attribute effects. Use dedicated classes for skill and attribute values (instead of Stat<T>) since there are some important differences.
11 years ago
scrawl
623cdef69f
Code cleanup
11 years ago
scrawl
12de351feb
Check if levitation is enabled before levitating
11 years ago
scrawl
e6c0e187bc
Closes #1073 : Check for all gold types in canSell. For containers, only gold_001 is relevant, but items in the world can be sold as well.
11 years ago
scrawl
590c8cb4a0
Implement Disintegrate effects. When an armor/weapon breaks, unequip it and do not allow equipping it again.
11 years ago
scrawl
5729672262
Show marked position on map. Implement Detect X magic effects.
11 years ago
mrcheko
d6345bce91
added npc hit reactions
11 years ago
scrawl
b8ac37347c
Code cleanup for Class::canBeEquipped
11 years ago
scrawl
2a8ab932ef
Bug #951 : Only recalculate derived stats when attributes change
11 years ago
scrawl
19e5978a01
Merge branch 'master' of https://github.com/zinnschlag/openmw
...
Conflicts:
apps/openmw/main.cpp
11 years ago
scrawl
cd756a8a39
Fix incorrect value for partially used items (missing float casts). Make sure the correct value is displayed in tooltips.
11 years ago
Marc Zinnschlag
0890fa66b0
Merge remote-tracking branch 'mrcheko/master'
11 years ago
mrcheko
8b3a393a6b
bug fix at http://bugs.openmw.org/issues/985
11 years ago
Emanuel Guevel
fc8bd1aacb
Allow fatigue stat to become negative when fatigue damages are taken
11 years ago
Lukasz Gromanowski
594cc693b2
Fixes #1006 : Many NPCs have 0 skill
...
Added calculation of skill values for NPC with mNpdtType
set to NPC_WITH_AUTOCALCULATED_STATS (their NPDT is 12).
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
11 years ago
scrawl
14c9a4e1d3
Cap enchantment casting cost to 1 as displayed in enchanting window. Display current enchantment charge in spell window.
11 years ago
scrawl
07408a4652
Don't allow selling gold (again - when did this get broken?)
11 years ago
scrawl
61ab6e1739
Use fWortChanceValue for making ingredient/potion effects visible
11 years ago
scrawl
6451b687d9
Adjust value for several item types as according to wiki
11 years ago
scrawl
b6c22ad5d9
Add starting gold for NPCs and creatures. Refactor gold removal in some gui windows (use containerstore method instead of a dependency on TradeWindow). Use real gold amount in trade window, not refill amount.
11 years ago
scrawl
6641fd4635
Fix bug when enchanting: only the mBase pointer was updated, not the CellRef mRefID, which is used for container stacking. The new (enchanted) item was stacking with the old item when it was added, so the enchantment completely disappears.
11 years ago
scrawl
74e42a2d02
Add missing skill increases for Enchant skill
11 years ago
scrawl
0dc2e829dd
Lots of cleanup. Implemented Absorb and Resist. Implemented several instant effects. Added hand VFX.
11 years ago
scrawl
b1a29eb27e
Implement Resist & Weakness effects
11 years ago
scrawl
992a8e9c36
Refactor NpcAnimation: get rid of delayed update (no longer required), make sure that the Animation is set up *before* the inventory store is accessed anywhere (which now triggers auto equip and animation update). Allows better tracking of magic VFX for permanent enchantments in InventoryStore.
11 years ago
scrawl
9b0e82a37f
Projectile models are now spawned (no movement or impact yet). Refactored trap activation to apply range types properly. Handle ContinuousVFX for magic effects (note they aren't stopped yet when the effect ends)
11 years ago
scrawl
60bec03987
Rename variables called 'slots' to work around wrong code parsing in QT Creator.
11 years ago
scrawl
0dab7031c0
Make sure effects are destroyed with the animation
11 years ago
scrawl
eccb8f38ba
Apply "cast when strikes" enchantments when hitting with a weapon
11 years ago
Emanuel Guevel
aefa54d72d
Pass item count to ManualRef constructor
...
This remove the need to call setCount in multiple places.
11 years ago
Emanuel Guevel
10abb9d297
Call ContainerStore::remove() to remove items from inventory
...
Make placeObject() and dropObjectOnGround() in MWWorld to copy objects
(and indicate it clearly).
Enchanting an item now unequips it.
11 years ago
Marc Zinnschlag
8c139783b7
silenced a warning
11 years ago
Marc Zinnschlag
19bd0f90b9
Merge remote-tracking branch 'rainChu/torches'
11 years ago
Alex "rainChu" Haddad
e11da5c0a3
Added a constructor to Light CustomData
11 years ago
Alex "rainChu" Haddad
2643214ca6
Lights extinguish underwater
11 years ago
Alex "rainChu" Haddad
30ee3c5cf6
Equipped torches and lights run out of fuel
11 years ago
Marc Zinnschlag
458c752425
Merge remote-tracking branch 'mckibbenta/tgm'
11 years ago
Emanuel Guevel
4860514865
Acrobatics: cosmetic changes
11 years ago
mckibbenta
073f64c8bb
stop weapon condition degredation (for the player) with tgm on
11 years ago
Emanuel Guevel
b8c60dabb3
Reintroduce Acrobatics changes made by Glorf
...
Advance Acrobatics skill on jump and on landing,
apply fall damage on landing.
11 years ago
Chris Robinson
e589d0ec91
Werewolves can't activate activators
12 years ago
Chris Robinson
f5d03a16c1
Rename getFacedObject and getFacedHandle for melee hits
12 years ago
scrawl
22d5598082
Fix bad_cast exception when hitting creatures
12 years ago
Chris Robinson
dca599b8c5
Add NPC landing sounds for soundgen keys
12 years ago
Emanuel Guevel
a47c76001c
Apply trap magic effects
12 years ago
Chris Robinson
6fd4cdb5fb
Play randomized werewolf sounds
12 years ago
Chris Robinson
00d6690b4d
Ignore encumbrance in werewolf form
...
According to UESP, inventory weight is ignored. Not sure if this
includes feather and burden effects.
12 years ago
Chris Robinson
c2d8eb377f
Play some appropriate sounds in werewolf form
12 years ago
Chris Robinson
72a399054f
Don't assume only players activate doors
12 years ago
Chris Robinson
46bc7bd9c8
Some cleanup since NpcStats is now also CreatureStats
...
This isn't a thorough cleaning, so keep an eye out for more
12 years ago
Chris Robinson
75b6515915
Inherit NpcStats from CreatureStats
12 years ago
Chris Robinson
89c7f5bc70
Handle object activation as a werewolf
12 years ago
Chris Robinson
946ca7f931
Return the appropriate name for werewolf NPCs
12 years ago
Chris Robinson
dfdd2dc308
Handle swimleft and swimright soundgen keys
12 years ago
Chris Robinson
109df46590
Fix werewolf claw damage multiplier
12 years ago
Chris Robinson
076e7d8e16
Make insertBegin internal
12 years ago
Chris Robinson
0458fd5531
Remove unused/unneeded parameters
12 years ago
Chris Robinson
3555476dfd
Use Animation-derived objects for generic objects
12 years ago
Chris Robinson
2c03fec4bb
Use the fatigue term for jumping
12 years ago
Chris Robinson
b70975a74d
Move getEvasion to CreatureStats
12 years ago
Marc Zinnschlag
5cafe65cd7
Merge remote-tracking branch 'scrawl/cppcheck'
12 years ago
Marc Zinnschlag
25917b00ec
Merge remote-tracking branch 'scrawl/master'
12 years ago
scrawl
7dc30a01cd
Some changes suggested by cppcheck
12 years ago
scrawl
43e0df479e
Make NPCs auto-equip after their inventory is loaded, this fixes NPCs that start as dead not auto-equipping
12 years ago
PLkolek
f297c21e4d
Old door sound fades out on door open/close. Door sound is synchronised to angle on action.
12 years ago
Marc Zinnschlag
6ce2b962e1
Merge remote-tracking branch 'scrawl/inventory'
12 years ago
scrawl
16cacb338a
Initialize MWMechanics::AiSequence from ESM::AiPackageList
12 years ago
scrawl
45006ea193
Fix inventory/container content loading so that it's done for dynamically spawned objects as well
12 years ago
scrawl
472a381263
Fix health meter (again)
12 years ago
scrawl
426e3ec6c6
Fix enemy health meter for creatures
12 years ago
scrawl
3961c276b8
Added enemy health meter
12 years ago
Chris Robinson
3744850545
Fix hand-to-hand health damage reduction
12 years ago
Chris Robinson
39507e3f0f
Decrease armor condition on successful hits
12 years ago
Chris Robinson
1af48ab6e0
Decrease weapon condition on successful hits
12 years ago
Chris Robinson
54f91d4b3a
Implement hand-to-hand attacks
12 years ago
Chris Robinson
a34f0de3e1
Play the correct medium armor foot sounds
12 years ago
Chris Robinson
db4f34b332
Play hit sounds when hitting creatures and NPCs
12 years ago
Chris Robinson
1a40d01afa
Fix NPC armor rating calculation and reduce redundant lookups
12 years ago
Chris Robinson
3298eb1b37
Implement HitOnMe script function
12 years ago
Chris Robinson
5379e607cb
Handle the OnPCHitMe script variable
12 years ago
Chris Robinson
f215d2cc30
Only raise weapon skills for the player
12 years ago
Chris Robinson
bec420c69b
Add Class::onHit for creatures
12 years ago
Chris Robinson
dd6edd21f8
Add a separate on-hit method to handle objects being hit
12 years ago
Chris Robinson
a569ae367e
Fix hit chance calculation
12 years ago
Chris Robinson
6195062d72
Try to figure out what gets hit
...
This isn't the greatest. The distance multiplier is a guess, and a sphere cast
may be better.
12 years ago
Chris Robinson
b3a057d679
Handle hit chance and damage calculation
...
Math is based on what the UESP describes, with some tweaks (using
fatigue term, and the fCombatCriticalStrikeMult GMST):
http://www.uesp.net/wiki/Morrowind:Combat
12 years ago
Chris Robinson
1dcc893703
Merge remote-tracking branch 'zini/master' into combat
12 years ago
Chris Robinson
92cc566fdc
Rename the Class::attack method to Class::hit
12 years ago
Chris Robinson
d9a9c3d6bd
Handle the "land" soundgen type
12 years ago
Chris Robinson
d8ec813939
Say something from the "hit" dialog topic when losing health
12 years ago
Chris Robinson
cc8e8c1272
Use the attack strength as determined by how long the attack was held
12 years ago
Chris Robinson
0c8d4d9be2
Add beginnings of melee hits
12 years ago
Emanuel Guevel
70a5a83419
Change the formula used to calculate initial NPC health
12 years ago
Emanuel Guevel
1c330fc899
Use the correct formula for NPC health initialization
12 years ago
Emanuel Guevel
7837dcdc19
Calculate NPC health on loading instead of updating it continually
...
Only NPC with auto-calculated stats are concerned.
12 years ago
Chris Robinson
14e0c182f3
Allow specifying the sound type to playSound and playSound3D
12 years ago
Chris Robinson
ac4dfd3b39
Play the appropriate foot sound based on footwear
12 years ago
Chris Robinson
9ea6b22a83
Handle soundgen animation keys
12 years ago
scrawl
94d45e1518
Fix twohanded weapons not unequipping when equipping a torch
12 years ago
scrawl
0c7f48ec8a
Implement movement for creatures (formula is a stub)
12 years ago
scrawl
d3effdf34c
Fix exception when trying to equip a shield while a lockpick is equipped
12 years ago
scrawl
d096b19307
Fix not being able to equip arrows/bolts
12 years ago
scrawl
8a3d3f954b
NPC/creature persistence flag
12 years ago
scrawl
0c4a963132
Container UI rewrite
12 years ago
Marc Zinnschlag
95eeea2a27
Revert "Merge remote-tracking branch 'glorf/acrobatics'"
...
This reverts commit 089ef7a2a0
, reversing
changes made to 67422c397c
.
12 years ago
Marc Zinnschlag
6f0ccb6e38
Merge remote-tracking branch 'scrawl/insertrecords'
12 years ago
scrawl
40a0969055
Insert records that may not exist in vanilla MW
12 years ago
Glorf
5a8c1661be
Jump acrobatics working, started falling acrobatics implementation
12 years ago
scrawl
6c5ea1ea7a
Fix incorrect weapon health meter for fully repaired weapons, fix exception when equipping lockpicks or probes
12 years ago
scrawl
867c7db014
Fix wrong door sounds
12 years ago
scrawl
78596cad83
Fix enchantment points value
12 years ago
scrawl
9343b4459e
Opening doors
12 years ago
scrawl
ef9afeb53e
Auto calculate attributes if there are not specified in the NPC record
12 years ago
scrawl
2693b78536
Add initial player inventory when new game is started
12 years ago
Marc Zinnschlag
beb1858a57
Merge remote-tracking branch 'glorf/bugfix'
12 years ago
Glorf
ad49d1ecab
Sixth minor fix
12 years ago
Glorf
46925e93a6
Second minor fix
12 years ago
Glorf
7c22e123f4
Bugfix #691 changes
12 years ago
Glorf
50932a7a6b
Finished bugfix #691
12 years ago
scrawl
f3c8cd2065
Don't buy/sell keys which are set to open a lock
12 years ago
Glorf
48d9885554
Started bugfix #691
12 years ago