Sergey Shambir
|
5c7e39a92f
|
Implemented script commands StartCombat, StopCombat, GetTarget.
Also renamed one field of AIWander class because it's not longer
unknown.
|
2014-01-07 04:43:06 +04:00 |
|
scrawl
|
29c823b9d4
|
Implement awareness check function. Use this for combat AI and GetDetected instruction.
|
2014-01-07 00:51:09 +01:00 |
|
scrawl
|
62774fcc4a
|
Merge branch 'master' into HEAD
Conflicts:
apps/openmw/mwbase/world.hpp
apps/openmw/mwinput/inputmanagerimp.cpp
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwworld/worldimp.cpp
apps/openmw/mwworld/worldimp.hpp
components/esm/loadtes3.cpp
|
2014-01-06 00:23:17 +01:00 |
|
scrawl
|
b3764c504a
|
Implement GetPcJumping instruction
|
2014-01-05 19:08:12 +01:00 |
|
scrawl
|
14b70a3ce6
|
Implement AI related magic effects (calm, frenzy, rally, demoralize, turn undead)
|
2014-01-05 01:34:35 +01:00 |
|
scrawl
|
2a7d610f87
|
Implement GetSpellReadied instruction
|
2014-01-03 22:55:17 +01:00 |
|
scrawl
|
55c5d7cee4
|
Implement Resurrect instruction
|
2014-01-03 15:54:23 +01:00 |
|
scrawl
|
b4230f716e
|
Implement RemoveEffects instruction
|
2014-01-03 05:19:10 +01:00 |
|
scrawl
|
7d8ca91286
|
Implement RemoveSpellEffects instruction
|
2014-01-03 05:18:44 +01:00 |
|
scrawl
|
366801f3d5
|
Implement explodeSpell instruction (like Cast, with caster = target)
|
2014-01-03 04:44:50 +01:00 |
|
scrawl
|
93e1a2df73
|
Implement Cast script instruction (shrines work now)
|
2014-01-03 04:09:52 +01:00 |
|
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.
|
2014-01-03 03:48:43 +01:00 |
|
scrawl
|
32ff3b530c
|
Change all instances of skill/attribute values to use an appropriate typedef.
|
2014-01-03 01:59:15 +01:00 |
|
Marc Zinnschlag
|
a6e6411686
|
Merge remote-tracking branch 'scrawl/master'
|
2014-01-02 12:12:52 +01:00 |
|
scrawl
|
c558e12212
|
Don't try to move objects that are not in a cell
|
2014-01-02 03:06:48 +01:00 |
|
Marc Zinnschlag
|
e1355be47c
|
Merge remote-tracking branch 'lgro/valgrind_warnings'
|
2014-01-01 19:41:52 +01:00 |
|
Marc Zinnschlag
|
c3482b6f24
|
Merge remote-tracking branch 'scrawl/master'
Conflicts:
apps/openmw/mwmechanics/spellcasting.cpp
|
2014-01-01 15:05:42 +01:00 |
|
Marc Zinnschlag
|
5fa9aa5d1e
|
Merge remote-tracking branch 'lgro/issue417_apply_weather_instantly_when_teleporting'
Conflicts:
apps/openmw/mwworld/weather.cpp
apps/openmw/mwworld/worldimp.cpp
|
2014-01-01 14:57:14 +01:00 |
|
Lukasz Gromanowski
|
e9844e1b37
|
Fixes #417: Apply weather instantly when teleporting
Changed teleporting detection from "position tracking" to manually
setting "teleportation" flag ( player->setTeleported(true) ).
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
|
2013-12-31 20:40:23 +01:00 |
|
scrawl
|
b02b966c44
|
Closes #994: Don't cap skills to 100 when set via console (except for modX variants)
|
2013-12-31 19:11:16 +01:00 |
|
Lukasz Gromanowski
|
1ce4663065
|
Updated compiler opcodes for COE, and setHello.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
|
2013-12-31 18:13:38 +01:00 |
|
scrawl
|
2a8ab932ef
|
Bug #951: Only recalculate derived stats when attributes change
|
2013-12-28 17:19:35 +01:00 |
|
Marc Zinnschlag
|
3590fa40bd
|
store global script state in saved game files
|
2013-12-15 16:16:50 +01:00 |
|
Marc Zinnschlag
|
2a35c7d33a
|
fixed running global scripts a second time after they have been stopped
|
2013-12-12 13:16:32 +01:00 |
|
Marc Zinnschlag
|
74793c1c2f
|
globals script cleanup; fixed potential case folding bug
|
2013-12-12 13:15:38 +01:00 |
|
Marc Zinnschlag
|
b38bfe1f21
|
removed a redundant function for listing global variables
|
2013-12-10 15:22:38 +01:00 |
|
Lukasz Gromanowski
|
8d63f8eea2
|
Fixes #998: Setting the max health should also set the current health
Added setting current value of dynamic stat in OpSetDynamic class.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
|
2013-12-07 21:00:46 +01:00 |
|
Marc Zinnschlag
|
030c733e2d
|
Merge branch 'master' into savedgame
Conflicts:
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwworld/worldimp.cpp
files/settings-default.cfg
|
2013-12-07 12:27:06 +01:00 |
|
Marc Zinnschlag
|
e818d43bc3
|
removed an outdated typedef and some dead code
|
2013-12-05 13:21:26 +01:00 |
|
scrawl
|
bb4bd999ba
|
PlaceAt: Copy the rotation when placing a non-actor. Don't modify placement position by bounding box for non-actors. Fixes placement in Graphic Herbalism mod.
|
2013-11-30 08:29:22 +01:00 |
|
Marc Zinnschlag
|
b0eb5938bf
|
removed some redundant code
|
2013-11-28 09:13:54 +01:00 |
|
Marc Zinnschlag
|
71436b1160
|
changed interface for global variable access
|
2013-11-28 09:10:38 +01:00 |
|
Marc Zinnschlag
|
bc6fe682c9
|
replaced getCurrentCellName function with a more general getCellName function
|
2013-11-26 11:39:58 +01:00 |
|
scrawl
|
b490e56ba1
|
Remove redundant setLocals (already done by ContainerStore::add)
|
2013-11-21 17:19:41 +01:00 |
|
scrawl
|
bab657fe2b
|
Add a utility function to add items to a ContainerStore by RefID
|
2013-11-21 17:14:30 +01:00 |
|
Marc Zinnschlag
|
11e254aac8
|
Merge remote-tracking branch 'gus/AICombat'
Conflicts:
apps/openmw/CMakeLists.txt
apps/openmw/mwbase/mechanicsmanager.hpp
apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
apps/openmw/mwmechanics/mechanicsmanagerimp.hpp
|
2013-11-19 09:10:48 +01:00 |
|
gus
|
dff3cf162d
|
ToggleAI script instruction
|
2013-11-18 23:03:44 +01:00 |
|
scrawl
|
00af6b5617
|
Use an inventory store listener for animation parts and VFX update instead of updating them directly. Slightly more flexible, reduces InventoryStore dependencies and solves a crash during character creation due to the preview doll's animation not being registered in World.
|
2013-11-15 02:08:36 +01:00 |
|
Emanuel Guevel
|
aefa54d72d
|
Pass item count to ManualRef constructor
This remove the need to call setCount in multiple places.
|
2013-11-10 02:45:16 +01:00 |
|
Emanuel Guevel
|
f4f2586e8c
|
Remove duplicate code for PlaceAtMe/PlaceAtPC using a template
|
2013-11-10 02:45:16 +01:00 |
|
Emanuel Guevel
|
8ff747fbef
|
Move some deleteObject logic from OpDelete to MWWorld::deleteObject
|
2013-11-10 02:45:16 +01:00 |
|
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.
|
2013-11-10 02:45:16 +01:00 |
|
gus
|
d587f3c946
|
Merge branch 'master' of https://github.com/zinnschlag/openmw.git into AICombat
Conflicts:
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwscript/docs/vmformat.txt
|
2013-10-31 09:51:17 +01:00 |
|
Emanuel Guevel
|
496f786c2a
|
Implement Disable/EnableLevitation script functions
Totally copied on Disable/EnableTeleporting implementation.
Thanks KittyCat!
|
2013-10-02 15:33:20 +02:00 |
|
gus
|
46a734852b
|
adding script instruction getLOS + some test about AI
|
2013-09-10 16:16:13 +02:00 |
|
mckibbenta
|
eef9df504a
|
fiddlings
|
2013-08-29 20:25:36 -04:00 |
|
mckibbenta
|
60fa69139e
|
minor changes
|
2013-08-25 19:20:14 -04:00 |
|
mckibbenta
|
8998b90e8b
|
initial do-nothing implementation; registered opcode
|
2013-08-24 21:19:12 -04:00 |
|
vorenon
|
3bf3bd4b8c
|
Silenced some warnings
|
2013-08-21 13:53:49 +02:00 |
|
Chris Robinson
|
73437dfdca
|
GetEffect can accept an effect ID string as well
|
2013-08-13 19:18:21 -07:00 |
|
Chris Robinson
|
c1dfa980bf
|
Combine ShowVarsImplicit and ShowVarsExplicit
Also removes an unnecessary else statement
|
2013-08-13 17:31:15 -07:00 |
|
Chris Robinson
|
30973352e8
|
Implement ShowVars (SV) console function
|
2013-08-13 04:54:41 -07:00 |
|
Chris Robinson
|
2353ac1739
|
Properly implement SetWerewolfAcrobatics
|
2013-08-13 04:54:41 -07:00 |
|
Chris Robinson
|
db1036e5e5
|
Handle SetWerewolfAcrobatics
|
2013-08-09 05:37:56 -07:00 |
|
Chris Robinson
|
75b6515915
|
Inherit NpcStats from CreatureStats
|
2013-08-08 23:28:02 -07:00 |
|
Chris Robinson
|
2bac4566c0
|
Merge remote-tracking branch 'PotatoesMaster/werewolf' into werewolf
Conflicts:
apps/openmw/mwmechanics/actors.cpp
apps/openmw/mwscript/statsextensions.cpp
|
2013-08-08 00:09:29 -07:00 |
|
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.
|
2013-08-07 15:17:55 +02:00 |
|
Emanuel Guevel
|
fd0a159a64
|
MWScript: update first unused opcode number
|
2013-08-07 12:05:53 +02:00 |
|
Alex
|
de1f423bd7
|
initial move of script opcodes and registerExtensions functions to components/compiler
|
2013-08-06 20:38:41 -04:00 |
|
Emanuel Guevel
|
c59ad62c57
|
Fix UndoWerewolf script instruction
|
2013-08-06 14:30:01 +02:00 |
|
Emanuel Guevel
|
5188a1c2cd
|
Implement script instructions Become/UndoWerewolf
|
2013-08-06 12:34:35 +02:00 |
|
scrawl
|
7dc30a01cd
|
Some changes suggested by cppcheck
|
2013-07-31 18:46:32 +02:00 |
|
Chris Robinson
|
c94653dc49
|
Implement the ModRegion script function
|
2013-07-27 07:10:18 -07:00 |
|
Chris Robinson
|
1174b85ac8
|
Implement Disable/EnableTeleporting script functions
|
2013-07-27 00:14:55 -07:00 |
|
Chris Robinson
|
3298eb1b37
|
Implement HitOnMe script function
|
2013-07-26 10:50:23 -07:00 |
|
Chris Robinson
|
14e0c182f3
|
Allow specifying the sound type to playSound and playSound3D
|
2013-07-18 21:50:11 -07:00 |
|
greye
|
f3d54a7ba4
|
move finding default cell positions to World
|
2013-07-07 15:03:06 +04:00 |
|
greye
|
6bb3942288
|
use Land height data for position in coc
|
2013-07-07 13:47:58 +04:00 |
|
greye
|
a3094b808e
|
update coc behaviour for interior cells
|
2013-07-07 13:47:58 +04:00 |
|
Marc Zinnschlag
|
b1a8dc35e0
|
minor adjustments
|
2013-05-24 15:03:46 +02:00 |
|
Torben Carrington
|
1cfe037d6b
|
AIWander - Added support for the Repeat parameter to mimic vanilla.
|
2013-05-24 04:49:20 -07:00 |
|
Miroslav Puda
|
3cebb41459
|
missing break
|
2013-05-21 21:04:15 +02:00 |
|
Marc Zinnschlag
|
9fee99d56c
|
Merge remote-tracking branch 'scrawl/master'
|
2013-05-15 22:43:00 +02:00 |
|
scrawl
|
c41f119ba6
|
Added new game button
|
2013-05-15 17:54:18 +02:00 |
|
Torben Carrington
|
4d10a1c407
|
Fixed an additional 0 being sent into the AIWander idle parameters vector (Thanks to Chris)
|
2013-05-13 02:57:52 -07:00 |
|
Marc Zinnschlag
|
af191c7382
|
fixed AiWander arguments
|
2013-05-13 11:27:36 +02:00 |
|
kpp
|
24d619d6b4
|
Changes the logic of WindowManager::messageBox()
Fixes removeItem
Fixes addItem
|
2013-05-10 14:06:25 +04:00 |
|
scrawl
|
6cd28d1156
|
Fix a bug in getPCNextRank
|
2013-05-04 12:28:12 +02:00 |
|
scrawl
|
67422c397c
|
GetWindSpeed
|
2013-05-01 11:42:24 +02:00 |
|
scrawl
|
5063d90dda
|
GetStartingAngle was implemented, but not registered
|
2013-05-01 11:22:46 +02:00 |
|
scrawl
|
627c3fdb6b
|
Added GetStandingPC, GetStandingActor; Fixed GetStartingPos
|
2013-05-01 11:15:43 +02:00 |
|
Chris Robinson
|
24e503330b
|
Merge remote-tracking branch 'zini/master' into animations
|
2013-04-28 09:41:31 -07:00 |
|
scrawl
|
7d61459ccd
|
Added stub implementation for 'Fall'. There is no use for this function because our physics controller applies gravity constantly anyway.
|
2013-04-28 11:13:21 +02:00 |
|
Chris Robinson
|
ab52e68c05
|
Merge remote-tracking branch 'zini/master' into animations
|
2013-04-27 05:16:15 -07:00 |
|
Chris Robinson
|
137017b325
|
Don't allow forcing vanity mode
|
2013-04-27 01:24:36 -07:00 |
|
Glorf
|
ade871ce12
|
Corrected unused opcodes
|
2013-04-26 17:31:58 +02:00 |
|
Glorf
|
89f7ef2472
|
Move, moveworld script instructions
|
2013-04-26 17:28:19 +02:00 |
|
scrawl
|
7821610ec6
|
Make OnDeath work with explicit reference
|
2013-04-26 02:08:53 +02:00 |
|
scrawl
|
a373f53988
|
Added SetAtStart
|
2013-04-26 02:02:51 +02:00 |
|
Glorf
|
7cd4dd0c91
|
Improved local rotations
|
2013-04-25 19:14:10 +02:00 |
|
Glorf
|
53fb17da10
|
Rotation system fixes
|
2013-04-24 21:42:04 +02:00 |
|
Glorf
|
e3a9f73eb6
|
Improved getangle script behaviour
|
2013-04-16 21:40:34 +02:00 |
|
Glorf
|
1e92ffc314
|
Added rotation layer
|
2013-04-16 21:17:19 +02:00 |
|
Glorf
|
763308868d
|
Fixed rotation speed
|
2013-04-15 17:45:18 +02:00 |
|
Glorf
|
972481f63f
|
Working rotate, rotateworld
|
2013-04-15 16:45:53 +02:00 |
|
Glorf
|
4e0233cf06
|
Base local rotations implementation
|
2013-04-14 21:42:37 +02:00 |
|
Glorf
|
106ef4c936
|
Rotate script
|
2013-04-10 22:53:03 +02:00 |
|
Chris Robinson
|
41e410347e
|
Merge remote-tracking branch 'zini/master' into nifogre
|
2013-04-06 10:35:01 -07:00 |
|
scrawl
|
1f3df4df0f
|
Perform a sanity check on count arguments
|
2013-04-06 19:25:29 +02:00 |
|
Chris Robinson
|
1d934e3112
|
Reduce some stdout spam
|
2013-04-06 04:46:28 -07:00 |
|