Commit Graph

5404 Commits (ae183cb3e4808834c5a5704ee7f24103aa14f06a)

Author SHA1 Message Date
Chris Robinson ae183cb3e4 Handle werewolf stats 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 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
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
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
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
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