Chris Robinson
76b812f75f
Improve actor movement collision handling
12 years ago
Chris Robinson
584eec3743
Store the object class in the LiveCellRef
12 years ago
scrawl
e27437f8ed
New terrain renderer - improvements:
...
- Consistent triangle alignment, fixes a noticable crack near the census and excise office. Note that alignment is still not the same as vanilla. Vanilla uses a weird diagonal pattern. I hope there aren't more trouble spots that will force us to replicate vanilla, but at least we can do that now.
- Fixes several blending issues and cell border seams
- Fix map render to use the terrain bounding box instead of an arbitrary height
- Different LODs are now properly connected instead of using skirts
- Support self shadowing
- Normals and colors are stored in the vertices instead of a texture, this enables per-vertex lighting which should improve performance, fix compatibility issues due to the PS getting too large and mimic vanilla better
- Support a fixed function fallback (though the splatting shader usually performs better)
- Designed for distant land support - test: https://www.youtube.com/watch?v=2wnd9EuPJIY - we can't really enable this yet due to depth precision issues when using a large view distance
12 years ago
Chris Robinson
cf6e3ab933
Fix a potential divide-by-zero
12 years ago
Chris Robinson
dca599b8c5
Add NPC landing sounds for soundgen keys
12 years ago
Chris Robinson
2ec39f3622
Don't start the jump animation until after the actor is airborn
...
A bit counter-intuitive, but otherwise certain jump animations will improperly
add an offset to the initial inertia.
12 years ago
Chris Robinson
ac3d3df9fc
Implement jumping animations
12 years ago
Chris Robinson
48e594b7c4
Improve stepping down when starting on the ground
12 years ago
Chris Robinson
3ca4d54bf9
Better handle animations with a 0-length loop
12 years ago
Chris Robinson
1aa92067c2
Fix tracing down
12 years ago
Chris Robinson
6e9f15793d
Implement a jumping state
12 years ago
Marc Zinnschlag
c87a279444
added error reporting in the filter edit widget (change the text colour for now)
12 years ago
Marc Zinnschlag
c7e97a83e1
automatically build column map on filter change
12 years ago
Chris Robinson
7770203dff
Some physics cleanup
...
Gets rid of some unneeded/unused variables, and halves the 'on ground'
offset.
12 years ago
Marc Zinnschlag
ea8b9ce45b
apply filter to table after filter text change
12 years ago
Marc Zinnschlag
470f890a9a
fixed BooleanNode constructor
12 years ago
Chris Robinson
b0f8045c72
Improve mid-air control
12 years ago
Chris Robinson
8c3564326e
Improve movement inertia
...
Handles all 3 axis. Incoming velocity is only added to inertia when
leaving the ground, and does not continually add to it.
12 years ago
Marc Zinnschlag
c38860fa72
added parser and custom filter edit widget (parser not functional yet; always returns a false boolean node)
12 years ago
Chris Robinson
9d56e2d86d
Apply movement by queueing it to do later
12 years ago
Chris Robinson
96bab88da6
Add physics methods to queue and apply movements
12 years ago
Chris Robinson
0481e64b02
Fix tracing down
12 years ago
Chris Robinson
8bcce0fb55
Clean up the trace struct
12 years ago
Chris Robinson
62c7b3698d
Get rid of the old newtrace method
12 years ago
Chris Robinson
65ce3c6ba5
Use a better method to do actor physics traces
12 years ago
Chris Robinson
d82f54c771
Improve actor movement collision handling
12 years ago
Marc Zinnschlag
236dc9fc43
replaced binary filter node with a n-ary node
12 years ago
Marc Zinnschlag
528e047fd5
repalced std::auto_ptr with boost::shared_ptr in filter nodes
12 years ago
Chris Robinson
21121d5ba5
Store the object class in the LiveCellRef
12 years ago
Chris Robinson
08d1d486a4
Merge remote-tracking branch 'zini/master' into ptr-improvements
12 years ago
Marc Zinnschlag
d122699b2f
and another fix for the same issue :(
12 years ago
Chris Robinson
58481ec7c3
Merge remote-tracking branch 'zini/master' into ptr-improvements
12 years ago
Marc Zinnschlag
7b4d8afde7
fix to previous commit
12 years ago
Chris Robinson
fdbf09ed40
Merge remote-tracking branch 'zini/master' into ptr-improvements
...
Conflicts:
apps/openmw/mwworld/containerstore.cpp
12 years ago
Marc Zinnschlag
e94fcce622
accessing references via their ID now also works for references in containers in active cells
12 years ago
Chris Robinson
2853b56ed5
Throw an exception when trying to get an empty Ptr's type
12 years ago
Chris Robinson
0f2b2ff1ce
Small header cleanup
12 years ago
Chris Robinson
86f2cd5848
Use dynamic_cast to get the LiveCellRef
12 years ago
Chris Robinson
48c07fbd98
Remove some unnecessary fields from Ptr
12 years ago
Chris Robinson
74f855e948
Move common LiveCellRef fields to the base class
12 years ago
Chris Robinson
11166a1a17
Don't store the type name string in the Ptr
...
This should get rid of all heap allocations caused by constructing or copying
Ptr objects.
12 years ago
Chris Robinson
b6d2888c48
Avoid using boost::any in MWWorld::Ptr
...
Reduces dependency on Boost, and should improve performance a bit when
copying or constructing Ptr objects.
12 years ago
Marc Zinnschlag
aee0336780
Merge remote-tracking branch 'kcat/script-functions'
12 years ago
Chris Robinson
73437dfdca
GetEffect can accept an effect ID string as well
12 years ago
Chris Robinson
c1dfa980bf
Combine ShowVarsImplicit and ShowVarsExplicit
...
Also removes an unnecessary else statement
12 years ago
Marc Zinnschlag
e2e76147c8
Merge remote-tracking branch 'potatoesmaster/magic'
12 years ago
Chris Robinson
30973352e8
Implement ShowVars (SV) console function
12 years ago
Chris Robinson
2353ac1739
Properly implement SetWerewolfAcrobatics
12 years ago
Emanuel Guevel
ad3646cb15
Fix spell icons displayed when effect ended
12 years ago
Emanuel Guevel
a47c76001c
Apply trap magic effects
12 years ago
Emanuel Guevel
37ea0f3fb9
Display refusal message when weapon/magic icons are clicked as werewolf
12 years ago
Emanuel Guevel
997f37700d
Display HUD icons for hidden windows
12 years ago
Emanuel Guevel
c27c33f542
Fix pinned windows hiding
...
They were always displayed in console mode and in game (even if they
were force hidden).
12 years ago
Marc Zinnschlag
789a66eaa7
added filter box and basic record filter UI (not functional yet; only supporting on-the-fly filters for now)
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
180f0d0fe9
Restart from the loop point if replaying the same animation
12 years ago
Chris Robinson
5968165de0
Merge remote-tracking branch 'zini/master' into werewolf
...
Conflicts:
apps/openmw/mwgui/windowmanagerimp.cpp
12 years ago
Chris Robinson
a28c36de17
Don't count as running if not actually moving along (local) X/Y
12 years ago
Chris Robinson
c2d8eb377f
Play some appropriate sounds in werewolf form
12 years ago
Marc Zinnschlag
f5b06d5d52
basic filter tree structure
12 years ago
Chris Robinson
db1036e5e5
Handle SetWerewolfAcrobatics
12 years ago
Chris Robinson
ae183cb3e4
Handle werewolf stats
12 years ago
Marc Zinnschlag
a95715b61d
added description field to filter record
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
Marc Zinnschlag
fb0b57efaa
Merge remote-tracking branch 'vorenon/bug876'
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
6110a0ee3b
Don't allow resting as a werewolf
12 years ago
Chris Robinson
75131e6a48
Rebuild the actor after switching between werewolf forms
12 years ago
Chris Robinson
5fbfce6d1e
Don't show WerewolfRobe objects in the inventory
...
Pretty ugly hard-coding, but this is likely what vanilla does since it
has no option to mark clothes or armor as unplayable like Oblivion does.
12 years ago
Chris Robinson
d77d60cbc2
Remove an unneeded forceUpdate method
12 years ago
vorenon
a718a62ef5
Fix for bug 876
12 years ago
PLkolek
86020ad94d
Added underwater and drowning sounds.
12 years ago
Marc Zinnschlag
f6226e4859
added Creator class for filters
12 years ago
Chris Robinson
e3d5a1b38d
Dialog function 72 is not player-specific
...
It's used to force any NPC in werewolf form to play the appropriate
growls for combat.
12 years ago
Chris Robinson
960ea3d96c
Add/remove a WerewolfRobe when werewolf form is toggled
12 years ago
Chris Robinson
3cff7b1e42
Don't assume icons have a period in their filename
12 years ago
Chris Robinson
1f6055d54b
Don't try to apply body skins for werewolves
...
They instead use a hidden WerewolfRobe object for their body
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
9694b18d1b
Update part skeletons immediately when added
12 years ago
Chris Robinson
f73578a832
Remove unnecessary mBodyPrefix field
12 years ago
Chris Robinson
5051544144
Remove some duplicate code
12 years ago
Chris Robinson
ceed2e30b8
Handle NPCs being a werewolf in NpcAnimation
...
Note that the body mesh comes from having a WerewolfRobe force-equipped.
12 years ago
Chris Robinson
5ac82a50b7
Remove unused function
12 years ago
Marc Zinnschlag
e9521dc8f1
Merge remote-tracking branch 'potatoesmaster/pinning'
12 years ago
Marc Zinnschlag
bf839d19cf
Merge branch 'columns'
12 years ago
Marc Zinnschlag
0944338c27
avoid the use of hardcoded column numbers
12 years ago
Emanuel Guevel
1cbfcc3910
Fix HUD weapon icon when turning from werewolf to normal
...
The werewolf hand icon remained until the inventory menu was opened.
12 years ago
Chris Robinson
2bac4566c0
Merge remote-tracking branch 'PotatoesMaster/werewolf' into werewolf
...
Conflicts:
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwscript/statsextensions.cpp
12 years ago
Chris Robinson
4985e17865
Fix werewolf claw damage multiplier
12 years ago
Chris Robinson
4641737fc4
Update part skeletons immediately when added
12 years ago
Chris Robinson
dc0360b1f6
Remove unnecessary mBodyPrefix field
12 years ago
Chris Robinson
0f52ed9a9b
Remove some duplicate code
12 years ago
Chris Robinson
deee14ccfd
Handle NPCs being a werewolf in NpcAnimation
...
Note that the body mesh comes from having a WerewolfRobe force-equipped.
12 years ago
Chris Robinson
ab44cd63a1
Remove unused function
12 years ago
Emanuel Guevel
b2e5e8dd0d
Saner inventory window pinning/hiding
...
Hide inventory window pin button in container, companion and barter mode.
Restore the pinned inventory window position when exiting these modes.
Allow toggling windows visibility in inventory mode only.
12 years ago
Alex
b9579e085f
cleanup
12 years ago
Alex
a0931b01fe
Merge branch 'master' of https://github.com/zinnschlag/openmw into compiler-reorg
12 years ago
Alex
c3ca5b7c32
mild cleanup
12 years ago
PLkolek
8f4506f5b6
Implemented drowning.
...
Currently no visual effects on losing health, the breathing sound doesn't change (we don't have one),
the breath bar doesn't turn red when no breath left and it doesn't pulse from black to red.
12 years ago
Emanuel Guevel
48d2554ac3
Auto-equip when items are added to the inventory
...
We limit that to armor pieces and clothing items.
No auto-equiping for the player nor werewolves.
12 years ago
Emanuel Guevel
e0d0cdd18a
Do not auto-equip items continuously
...
This was called every couple of frames.
12 years ago
Chris Robinson
076e7d8e16
Make insertBegin internal
12 years ago
Chris Robinson
2b2101958d
Destroy the scene node we create
12 years ago
Chris Robinson
0458fd5531
Remove unused/unneeded parameters
12 years ago
Emanuel Guevel
fd0a159a64
MWScript: update first unused opcode number
12 years ago
Emanuel Guevel
47b8a31317
Fixes suggested by KittyCat
12 years ago
Marc Zinnschlag
932fffd1a7
Merge remote-tracking branch 'kcat/light-objects'
12 years ago
Chris Robinson
b4b095ca72
Don't try to get the center of a null bounding box
12 years ago
Chris Robinson
80d271aeb1
Remove unused stuff
12 years ago
Marc Zinnschlag
76b9d3dbc1
columns are now identified via an enum instead the name string
12 years ago
Chris Robinson
3555476dfd
Use Animation-derived objects for generic objects
12 years ago
Chris Robinson
a9dca21d05
Create the Animation SceneNode in the constructor
12 years ago
Chris Robinson
48784c7e2f
Use for_each and functors to avoid some for loops
12 years ago
Chris Robinson
de95926e9f
Use controllers to animate lights in ObjectLists
12 years ago
Chris Robinson
8984d8f8ee
Use a map to simplify NPC part referencing
12 years ago
Chris Robinson
e976bb16c5
Add a light for torches
12 years ago
Chris Robinson
57fb065a86
Add Ogre::Light objects to the object list
...
Note that NIFs actually have NiLight-based light records which could be
used to create Ogre::Light objects. However, no Morrowind NIF uses them,
as far as I can tell.
12 years ago
Chris Robinson
a9cc3a2844
Ensure a valid CellStore for Ptr::isInCell
12 years ago
Chris Robinson
1f436f9886
Render torches
12 years ago
Chris Robinson
8f69c51b24
Avoid some unnecessary references
12 years ago
Chris Robinson
2c03fec4bb
Use the fatigue term for jumping
12 years ago
Chris Robinson
eab4e09566
Handle the pick/probe in the character controller
12 years ago
scrawl
3f7daa4884
Forgot to change initTerrainTextures
12 years ago
Alex
de1f423bd7
initial move of script opcodes and registerExtensions functions to components/compiler
12 years ago
scrawl
76e538c22a
Unused variable fix
12 years ago
scrawl
726c93c365
Terrain fixes to match vanilla better - vertices need to be mapped directly to texels for colormap and blendmap (this also caused seams at cell borders), layer uv scale appears to be 8 not 10
12 years ago
Marc Zinnschlag
03af7175dd
Merge remote-tracking branch 'potatoesmaster/bug-839'
12 years ago
Emanuel Guevel
c59ad62c57
Fix UndoWerewolf script instruction
12 years ago
Emanuel Guevel
5188a1c2cd
Implement script instructions Become/UndoWerewolf
12 years ago
Emanuel Guevel
20d40c4368
Implement MWWorld::World::setWerewolf()
12 years ago
Emanuel Guevel
aa563e947e
Implement MWWorld::InventoryStore::unequipAll()
12 years ago
Emanuel Guevel
ddc92d1fbd
Set appropriate weapon icon when player is a werewolf
12 years ago
Emanuel Guevel
d054366460
Permit to force hiding GUI windows
12 years ago
scrawl
4caac0d859
Fix idle animations repeating
12 years ago
vorenon
76a1abe9fa
Don't allow the use of the "jump" key while sneaking - Update
12 years ago
vorenon
56cb36caf1
Don't allow the use of the "jump" key while sneaking
12 years ago
Emanuel Guevel
71da2f0a12
Do not allow magic/combat stance unless magic/inventory window are accessible
12 years ago
Marc Zinnschlag
41b2fa985b
silenced some warnings
12 years ago
Marc Zinnschlag
9123afa863
Merge remote-tracking branch 'gus/MeleeCombat2'
12 years ago
Marc Zinnschlag
3170490a8e
silenced some warnings
12 years ago
Marc Zinnschlag
253e00e3a0
Merge remote-tracking branch 'gus/MeleeCombat2' into columns
12 years ago
Marc Zinnschlag
501753c01b
Merge remote-tracking branch 'scrawl/master' into columns
12 years ago
gus
a23e7fac93
clean up
12 years ago
scrawl
982f743ddd
Fix wrong idle animations played
12 years ago
gus
c8bb32c40d
small maths correction
12 years ago
gus
a25ee360dc
use angles and GMST. not sure this work as it should
12 years ago
Marc Zinnschlag
8f330e7e3c
Merge remote-tracking branch 'potatoesmaster/sneak'
12 years ago
gus
830762722d
first attempt: hit detection with a sphere (not finished)
12 years ago
Emanuel Guevel
a9483dbdf1
Show sneak indicator when sneaking
...
Temporary solution, as the indicator should be shown only when the
player is not detected by any other actor.
12 years ago
Emanuel Guevel
8f8362d2c4
Expose sneak indicator widget through WindowManager
12 years ago
Emanuel Guevel
9757694060
Update sneaking indicator position with other widgets
12 years ago
Emanuel Guevel
4685aea2a1
mwiniimport: ignore empty values
12 years ago
vorenon
aa45127895
Adjusted swish sounds
...
Sorry Chris, I was wrong. The game actually uses SwishM for every attack, but at a different pitch depending on the force of the attack. I realized it after testing your changes.
12 years ago
Marc Zinnschlag
d2f96deb98
renamed columns.hpp to columimp.hpp
12 years ago
Chris Robinson
f57c829cba
Play the appropriate swish sound and follow-up animation
12 years ago
Chris Robinson
b70975a74d
Move getEvasion to CreatureStats
12 years ago
Chris Robinson
9e7d670745
Inline Class::get(const Ptr& ptr)
12 years ago
Marc Zinnschlag
ca94d1a2fb
Merge remote-tracking branch 'swick/inventorypos'
...
Conflicts:
apps/openmw/mwgui/inventorywindow.cpp
12 years ago
Marc Zinnschlag
24273f338b
Merge remote-tracking branch 'scrawl/master'
12 years ago
Sebastian Wick
7ed763262f
GUI mode dependent position
12 years ago
scrawl
fe51a00112
Fix the initial player inventory being added twice when starting a new game
12 years ago
scrawl
f1f6336a4a
Fixed screenshot keybinding, and make it bindable
12 years ago
Marc Zinnschlag
5cafe65cd7
Merge remote-tracking branch 'scrawl/cppcheck'
12 years ago
scrawl
d106ed3b08
Fixed alchemy
12 years ago
Marc Zinnschlag
4dfd5282ab
Merge remote-tracking branch 'kolek/enchantingwindow'
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
PLkolek
8bc8c38f2d
Spell cost is updatedon every change in enchanting and spellmaking.
12 years ago
PLkolek
7fd7621458
Fixed area slider in self enchantments.
12 years ago
Marc Zinnschlag
6ce2b962e1
Merge remote-tracking branch 'scrawl/inventory'
12 years ago
Marc Zinnschlag
eedced729f
Merge remote-tracking branch 'scrawl/master'
12 years ago
Marc Zinnschlag
7639506e49
Merge remote-tracking branch 'scrawl/ai'
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
90a5d8b6f5
Fix uninitialized AL listener position/orientation when the game is paused during the first frame
12 years ago
Marc Zinnschlag
958b0c4915
Merge remote-tracking branch 'scrawl/untilhealed'
12 years ago
scrawl
da01ec4f52
Only show the "Rest until healed" button when stats are not full
12 years ago
scrawl
04b90b7d14
Other actors no longer collide with an actor that has collision disabled
12 years ago
scrawl
472a381263
Fix health meter (again)
12 years ago
Marc Zinnschlag
adb05737ee
Merge branch 'master' into filter
...
Conflicts:
apps/opencs/model/world/universalid.cpp
apps/opencs/view/doc/view.cpp
apps/opencs/view/world/subviews.cpp
12 years ago
Marc Zinnschlag
2e667f1d94
Merge branch 'bottombar'
12 years ago
Marc Zinnschlag
434f97c95c
fixed two missing icons
12 years ago
Marc Zinnschlag
102700a498
added specialised Creator for references
12 years ago
Marc Zinnschlag
57be764cce
added specialised Creator for referenceable records
12 years ago
Marc Zinnschlag
3642562959
Merge remote-tracking branch 'scrawl/master'
12 years ago
scrawl
426e3ec6c6
Fix enemy health meter for creatures
12 years ago
scrawl
3961c276b8
Added enemy health meter
12 years ago
Marc Zinnschlag
e27ba55541
Merge remote-tracking branch 'swick/countdialog'
12 years ago
Sebastian Wick
40d3efc671
use cancel methid
12 years ago
Sebastian Wick
7b40e57ba1
Allow the 'Activate' key to close the countdialog window; cleanups
12 years ago
Marc Zinnschlag
90ab7b2bf5
Merge remote-tracking branch 'swick/viewmodetransission'
12 years ago
Sebastian Wick
7c24c0a64e
fix uninitialized variables
12 years ago
Sebastian Wick
d2b7cb5bb2
First/Third person transitions with mouse wheel
12 years ago
Marc Zinnschlag
34c825ce52
added icons and type listing to UniversalId class
12 years ago
Marc Zinnschlag
661b290c49
automatically scroll table to the position of a newly created record
12 years ago
Sebastian Wick
1b310c5c5b
use SDL resolutions in the ingame settings
12 years ago
Marc Zinnschlag
3fa4a194a7
Merge remote-tracking branch 'scrawl/master'
12 years ago
scrawl
6164e5bae6
Restored window resizing
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
465f4d2063
Properly handle starting an animation at the end
12 years ago
Marc Zinnschlag
82958e6514
added custom creator for cell records
12 years ago
Chris Robinson
54f91d4b3a
Implement hand-to-hand attacks
12 years ago
Marc Zinnschlag
899e18b2cf
report ID errors also via input field tool tips
12 years ago
Marc Zinnschlag
5ec9d370cb
check if ID is already in use when creating new IDs
12 years ago
Marc Zinnschlag
124a70906f
added creator edit lock
12 years ago
Marc Zinnschlag
32c697abc6
validate IDs entered by the user
12 years ago
Marc Zinnschlag
4f6e99c391
more compact layout for the bottom box
12 years ago
Marc Zinnschlag
00fcb79f08
moved record creation to GenericCreator class (now taking ID from user instead of using a procedurally generated one)
12 years ago
Marc Zinnschlag
2d46a1db2f
changed CreateCommand to work directly on the model instead of the proxy
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
f73008546f
Keep a sound updated with its object's position
12 years ago
Chris Robinson
c94653dc49
Implement the ModRegion script function
12 years ago
Marc Zinnschlag
f93af52486
handling down a reference to Data and the undo stack to the creators
12 years ago
Chris Robinson
1174b85ac8
Implement Disable/EnableTeleporting script functions
12 years ago
Marc Zinnschlag
fee748d4b5
added creator bar UI and cancel button
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
Marc Zinnschlag
b8ac45defe
added creator to bottom box layout and re-routed add record event to bottom box
12 years ago
Marc Zinnschlag
d899cbb449
removed some junk
12 years ago
Marc Zinnschlag
ed83e2e70a
added creator to bottom box; more cleanup
12 years ago
Marc Zinnschlag
6c4bdc0101
minor cleanup; less pointer usage
12 years ago
Marc Zinnschlag
ba5ca5beed
replaced createAndDelete flag with a new class hierarhy (Creator)
12 years ago
Emanuel Guevel
aa14656ff2
esmtool: fix swapped comparison operators
12 years ago
Marc Zinnschlag
3fbbbdc64b
Merge remote-tracking branch 'scrawl/master'
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
Marc Zinnschlag
4327b81bc3
fixed column handling in table (had problems with filtered out columns before)
12 years ago
Marc Zinnschlag
55e7e71c11
added optional per-subview status bar
12 years ago
Chris Robinson
1dcc893703
Merge remote-tracking branch 'zini/master' into combat
12 years ago
Chris Robinson
4ad28ed369
Don't play a weapon-down sound when unreadying a spell
12 years ago
Chris Robinson
92cc566fdc
Rename the Class::attack method to Class::hit
12 years ago
Chris Robinson
0db02af807
Set up the weapon state in the CharacterController constructor
12 years ago
Chris Robinson
d9a9c3d6bd
Handle the "land" soundgen type
12 years ago
Chris Robinson
705498ec24
Play a swish sound when attacking
12 years ago
Chris Robinson
d8ec813939
Say something from the "hit" dialog topic when losing health
12 years ago
Chris Robinson
59f1bc7542
Use time values for the aniamtion's start, stop, and loop points
...
This seems to be closer to the expected behavior. This more cleanly handles 0-
length animations, especially where the start marker comes after the stop
marker while still being on the same time key.
12 years ago
Chris Robinson
bf1d907d07
Don't play casting animations for enchantments
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
Chris Robinson
45302f9e25
Handle controllers in the NPC's bound object parts
12 years ago
Marc Zinnschlag
a80e80dd94
added layout to table sub view
12 years ago
Chris Robinson
11b094559f
Play the appropriate casting animation sound
12 years ago
Emanuel Guevel
70a5a83419
Change the formula used to calculate initial NPC health
12 years ago
Chris Robinson
17282c69b1
Handle spell-casting animation sequences
12 years ago
Chris Robinson
4d157cb19a
Handle marksmen weapon attack sequences
12 years ago
Chris Robinson
fecb8c1cc4
Fix the completion amount for 0-length anims
12 years ago
Chris Robinson
d5d832846e
Rename the follow-up upper character state enum
12 years ago
Chris Robinson
537d5c4934
Avoid trying to play animations without any animation sources
12 years ago
Chris Robinson
ad6d663e09
Remove some unnecessary debug messages
12 years ago
Chris Robinson
24567294ff
Move NPC state update handling into a separate method
12 years ago
Chris Robinson
22e07968af
Store the current weapon group name
12 years ago
Chris Robinson
0240efa6cf
Improve weapon attack logic to better handle picks, probes, and h2h
12 years ago
Chris Robinson
ef17fdeb15
Remove some unused methods
12 years ago
Marc Zinnschlag
ec575200e3
Merge remote-tracking branch 'gus/MeleeCombat2'
...
Conflicts:
apps/openmw/mwrender/animation.cpp
12 years ago
Marc Zinnschlag
7600d6c04b
basic filter table
12 years ago
Marc Zinnschlag
66534a45da
replaced double click in table with a context menu item (edit) because double click was interfering with basic table functionality
12 years ago
Emanuel Guevel
48f0e64ec3
Fix health calculation at character creation
12 years ago
Emanuel Guevel
1c330fc899
Use the correct formula for NPC health initialization
12 years ago
Emanuel Guevel
2356e6218e
Complete health increase on level up
12 years ago
Emanuel Guevel
2a0644a7c3
Move some levelup logic from mwgui to mwmechanics
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
Emanuel Guevel
074e241c32
MWMechanics::DynamicStat: fix members initialization
12 years ago
Marc Zinnschlag
a8168c58c2
Merge remote-tracking branch 'kolek/thirdpersonzoom'
12 years ago
Kolzi
d12bac2d9e
Third person zoom - fixed code review issues.
12 years ago
Marc Zinnschlag
0fad2e7f40
restructured main menu
12 years ago
Marc Zinnschlag
2497c18702
replaced settings change notifications for columns with a more robust implementation
12 years ago
Kolzi
1b7966ca27
Can zoom in and out in third person view.
12 years ago
Chris Robinson
0cb7d186e7
Use Play_TypeFoot for 'left' and 'right' soundgen keys
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
scrawl
bf332b633e
Make VideoPlayer::playVideo block until the video finishes
12 years ago
Marc Zinnschlag
365ea11e86
Merge remote-tracking branch 'graffy76/RefIdTypeDelegate'
12 years ago
Marc Zinnschlag
fdd47e5b73
silenced a warning
12 years ago
graffy76
0ae254f6a8
Fixed segfault opening tables
12 years ago
Chris Robinson
9c13568bb7
Remove idles from the state list and rename it
12 years ago
Chris Robinson
e803cdbe7f
Handle swimdeath and missing death animations
12 years ago
Chris Robinson
f01b0b48cc
Don't start with an idle state if dead
12 years ago
Chris Robinson
e78bdd2a5d
Clear 'swim' from the animation name as a backup instead of 'sneak'
12 years ago
Chris Robinson
9ea6b22a83
Handle soundgen animation keys
12 years ago
Chris Robinson
d6324d71bf
Ensure mechanics actors/objects are cleared before adding them
12 years ago
Chris Robinson
c7692acb79
Update the player's Ptr in mwrender when changing cells
12 years ago
graffy76
6486f342b5
Fixed setting synchronization issue
...
Moved default settings to CSMSettings::UserSettings.
Other minor code changes / cleanup
12 years ago
Marc Zinnschlag
1b4cd787a5
Merge remote-tracking branch 'kcat/animation-state'
12 years ago
Chris Robinson
0cd4df3edf
Stop playing idles on death
12 years ago
Chris Robinson
e2e278d06d
Fix some animations not playing properly
...
Default movement animation speed multiplier should be 1, not 0. Only
randomize death1...death5 for NPCs.
12 years ago