scrawl
768c4a5757
Update crime response to pickpocket attempts (thanks Hrnchamd)
10 years ago
scrawl
7f0d71f8f4
Swap use of iDispAttackMod/fDispAttacking (thanks Hrnchamd)
10 years ago
scrawl
edc128572d
Add MWMechanics::Actor class for temporary actor state, move AiState there
10 years ago
scrawl
9e5dfb6e98
Update crime system according to research wiki for more accurate attack responses
10 years ago
scrawl
2410d79410
Fix iFightAttack and iFightAttacking being swapped
...
Looks like the research wiki page was incorrect, the higher value (iFightAttack) being for the victim makes more sense, is consistent with iDispAttackMod/fDispAttacking, and seems to be how the original game behaves as well.
10 years ago
scrawl
f3738e9a98
Say an "intruder" voice dialogue for trespassing crimes ( Fixes #1082 )
...
Seems to be broken in the original engine, but according to the TES-CS help this is how the intruder voices should be used. There are legitimate entries for "intruder" in the game's files, so we might as well use them.
10 years ago
scrawl
866fdfe8bd
Crime system improvements
...
- If someone saw the crime, they will notify everyone else in range, even if the Alarm rating of the witness is 0.
- Pickpocket and selling stolen items now works properly, i.e. honors the victim's Alarm rating instead of always being reported.
10 years ago
scrawl
1910327469
Implement disposition changes due to crimes
10 years ago
scrawl
35d2bfabca
Adjust NPC response to pickpocket attempts ( Fixes #2219 )
10 years ago
scrawl
2b78e9795d
Implement Calm effect removing combat packages ( Fixes #1985 )
10 years ago
scrawl
d034a079e6
Allow equipping twohanded weapon and shield at the same time ( Fixes #1785 )
...
The shield can be equipped, meaning armor rating and item enchantments apply, but can not be blocked with.
10 years ago
scrawl
109a3f78a1
Adjust AiFollow distance for groups of multiple followers ( Fixes #1637 )
10 years ago
scrawl
83dcf9ce4b
Overwrite existing records in IndexedStore ( Fixes #2182 )
10 years ago
scrawl
46d93f1b08
Crime update: NPCs can report crimes if they didn't see the crime, but were alerted by someone who saw it and did not report it themselves.
10 years ago
scrawl
507cbcfae3
Remove incorrect implementation of the iAlarm* GMSTs, not used by vanilla MW ( Fixes #2064 )
...
According to Hrnchamd, these are unused. The real mechanics are not fully documented, but from a quick test only NPCs with an alarm value of 100 will report crimes.
10 years ago
scrawl
45f14f0704
Fix stolen faction-owned items not being confiscated
10 years ago
scrawl
7f18f85a1d
Forgot const
10 years ago
scrawl
02dec787fd
Cache GMSTs in getDerivedDisposition
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
40ce5add59
Don't report crime for attacking an NPC that is already in combat with another NPC ( Fixes #1908 , Fixes #1821 )
10 years ago
Marc Zinnschlag
2a48c377a8
Merge remote-tracking branch 'miroslavr/master'
10 years ago
scrawl
c19f89976e
Add missing Hit voice dialogue for friendly hits
10 years ago
MiroslavR
23e6d52844
Fix UI not updating initially for zero stats
10 years ago
MiroslavR
007404e17f
Merge branch 'master' of github.com:OpenMW/openmw
10 years ago
MiroslavR
c1cc66985d
Werewolf: only NPCs should have modified fight and react to your transformation
10 years ago
scrawl
282c93ccc5
Handle death in actor update rather than instantly ( Fixes #1866 )
10 years ago
MiroslavR
9e0d5dc28a
Werewolf: can't sleep in beds anymore, actors will attack you on sight, and if you are seen transforming, you will be marked for death
10 years ago
Corporama
ccca6db865
Compile fixes for Linux
10 years ago
scrawl
2db50da8dd
Implement magic effect script instructions (Feature #1489 )
11 years ago
scrawl
d8943aef2f
Encapsulate magic effect magnitude (Feature #1489 )
11 years ago
scrawl
639ae7e06c
Implement friendly hits on followers ( Fixes #1139 )
11 years ago
scrawl
2d74388a76
Don't report crime if we are in combat with the victim
11 years ago
scrawl
4773d754c6
Remove redundant isHostile flag ( Fixes #1652 )
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
2b57c7fa67
Use CellRef's global variable to disable owner ( Fixes #1677 )
11 years ago
scrawl
c0645d4978
Increase death count immediately on death (Bug #1588 )
...
This is required for scripts using getDeadCount as reaction to onDeath that rely on the increased value.
11 years ago
scrawl
d63dd88113
Apply autocalc corrections to player starting spells
11 years ago
scrawl
1c41ce9b9d
Implement Hrnchamd's player and NPC autocalc spells (Some unclarities remaining, XXX)
11 years ago
scrawl
7f1d0fc2a2
Fix disposition for npcs in same faction, by Hrnchamd
11 years ago
scrawl
320ab1b2c1
Don't say voice when using startcombat for a dead actor ( Fixes #1542 )
11 years ago
scrawl
cbec0ffaee
Exception fix
11 years ago
scrawl
a3ea7cb956
Ignore distance when considering aggression due to crime (seems to work better, all balmora mages guild members now come to help when one is attacked)
11 years ago
scrawl
2477456f99
Implement Murder crimes and OnMurder instruction ( Fixes #1315 )
11 years ago
scrawl
ffb6f5d555
Use fFight<Crime> GMSTs to control attacks in response to crimes
11 years ago
scrawl
28feb260eb
Implement disposition/distance based aggression ( Fixes #1520 )
11 years ago
scrawl
f935cfc6c9
Fix crash when stealing items with the owner not around ( Fixes #1512 )
11 years ago
Marc Zinnschlag
01c90a3434
Merge remote-tracking branch 'mrcheko/master'
11 years ago
mrcheko
a6ee4272aa
fix bug when you were able to kill somebody from large distance without
...
being spotted
11 years ago
mrcheko
6da061fd96
fix http://bugs.openmw.org/issues/1340
...
Did I understand right that guards trigger combat after refusing pay
gold/go to jail via script?
11 years ago
scrawl
e458cf1df2
Savegame: Store death counter ( Fixes #1477 )
11 years ago
scrawl
1bab74a98d
Fix punishment for stealing 0 value items ( Fixes #1435 )
11 years ago
scrawl
56ff399f30
Say attack voiced dialogue *after* the target is set up
...
Required for the CreatureTargetted filter to function properly
11 years ago
scrawl
e266c39c5d
Implement modFactionReaction instruction ( Closes #1347 )
11 years ago
Marc Zinnschlag
f0d0a31a19
Merge remote-tracking branch 'mrcheko/master'
11 years ago
mrcheko
8fa7fcdbee
fix bug http://bugs.openmw.org/issues/1335 (1304 as well)
...
though fish detects if actor is swimming, but in MW it attacks even if
the player is knee-deep in water
11 years ago
scrawl
039398c8ae
Basic RefData and CellRef change tracking
...
Wrapped item charge handling in getItemHealth function
11 years ago
scrawl
b47b2b84f3
Merge branch 'master' of https://github.com/OpenMW/openmw
...
Conflicts:
apps/openmw/mwdialogue/filter.cpp
apps/openmw/mwgui/waitdialog.cpp
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
3380e1e1c5
Fix ShouldAttack filter
...
This makes NPCs exit dialogue properly when they should attack as a result of taunting actions.
11 years ago
scrawl
b6a7aee42e
Fix player not being allowed to use his own items
11 years ago
scrawl
2f13a17a39
Add some more safety checks to spellcasting
11 years ago
scrawl
e591d23880
Fixes #894 : Make sure the player's CharacterController is updated when the player is rebuilt. Necessary if the race is changed while we are still in a GUI (e.g. in the review dialog), and an update normally wouldn't occur.
11 years ago
scrawl
6cc691115b
Savegame: store most of CreatureStats
11 years ago
scrawl
731bc9c275
Fix broken isClass check and renamed variable for clarity
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
d2beb814e7
Remove superfluous attack phrases (already done by startCombat)
11 years ago
scrawl
dd9117809d
Say an attack phrase when combat starts
...
Move combat start to a helper method
Added some todo comments
11 years ago
Jeffrey Haines
a65e8393bb
Merged files
11 years ago
Jeffrey Haines
14ebd8b110
Fixed logic in commit crime
11 years ago
Marc Zinnschlag
af322a9f77
Merge remote-tracking branch 'scrawl/master'
11 years ago
Marc Zinnschlag
ca097e146b
Merge remote-tracking branch 'jeffreyhaines/master'
11 years ago
Jeffrey Haines
edbc319c42
fixed logic. ||
11 years ago
Jeffrey Haines
52bb7c3f69
fixed logic. !
11 years ago
Jeffrey Haines
7599b26d30
Fixed: creatures won't witness crimes
...
and potential crash.
11 years ago
Jeffrey Haines
0409e18a0e
revert
11 years ago
Jeffrey Haines
b9bd4bc126
broken
11 years ago
Jeffrey Haines
ce106d3bec
Revert "NPCs detect crime exclusively"
...
This reverts commit 54d9615d85ae856ad4fdd2c130ac9cb0cd847c72.
Conflicts:
apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
11 years ago
scrawl
e42855d522
Minor fix for spell icon
11 years ago
scrawl
e8210c92c6
Fixes #1240 : Don't hardcode drowning time
11 years ago
scrawl
04964595ef
Fixes #1270 , Fixes #1201 : Update active weapon/spell icons every frame
11 years ago
Marc Zinnschlag
c63d6437c0
Merge remote-tracking branch 'jeffreyhaines/master'
...
Conflicts:
apps/openmw/mwbase/mechanicsmanager.hpp
11 years ago
Thomas
f3272c941f
Fix for bug #1080 , can't read/repair/make potions/use soul gems/rest/sleep while in combat.
...
The radius for being in combat with the player is fAlarmDistance, which looked like the only pertinent thing.
11 years ago
Jeffrey Haines
42b879a9a5
Reworked the accusation of actors
11 years ago
Jeffrey Haines
c3e08916da
Sneak: Added support for state checking
...
I need advice one what I should do in order to pass mActors over to the
player. Particularly line 139 in player.cpp
11 years ago
Marc Zinnschlag
a91b386381
Merge remote-tracking branch 'jeffreyhaines/master'
11 years ago
Jeffrey Haines
3484df0743
Fixed garage value found in beta's static analysis
...
Source: https://forum.openmw.org/viewtopic.php?f=6&t=2059#p23844
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
scrawl
b3916e7744
Crime: mark witnesses as alarmed.
...
Fixes guard dialogue to properly detect if the player turned himself in.
11 years ago
Marc Zinnschlag
86e65944b8
Merge remote-tracking branch 'jeffreyhaines/master'
...
Conflicts:
apps/openmw/CMakeLists.txt
11 years ago
Jeffrey Haines
a274b48f2f
States are saved. Crime is reacted to.
...
Issues where some crime is ignored. Needs a lot more work
11 years ago
Jeffrey Haines
940c88d2ec
Cleaned up code, implemented crime ids
...
There is a problem with my game freezing. ToggleAi stops my character
11 years ago
Jeffrey Haines
df5cbe5dec
Minor changes
11 years ago
Jeffrey Haines
70919ba60a
Removed witnesses and minor changes
11 years ago
Jeffrey Haines
0c957a3cde
Added witnesses to the mix
11 years ago
Jeffrey Haines
b1abef7a38
Cleaned up code
11 years ago
Jeffrey Haines
58b135a2be
Crime is now checked every frame call
11 years ago
Jeffrey Haines
6f1211dd8d
Moved mWitnesses into Player. resetCrime for paying fine.
11 years ago
Jeffrey Haines
7c0b51fb7e
Ai pursue now controls guards pursuit of crimes
...
Should extend AiActivate in the future
11 years ago
Jeffrey Haines
50dac98a2b
Feature 1154 & 73: Crime and NPC reactions
11 years ago