Evil Eye
592b648c3e
Pass ammo to Hit handler by record id
2025-08-23 21:56:38 +02:00
uramer
7560229f1f
Fix type and name conflicts
2025-08-17 14:11:39 +02:00
Andrew Lanzone
8e76a0ab06
Merge branch 'master' of https://gitlab.com/OpenMW/openmw
2025-08-04 16:44:12 -07:00
Mads Buvik Sandvei
978d8668f4
Bring jail time skill changes over to lua
2025-08-02 08:39:13 +00:00
Andrei Kortunov
645eb81133
Run onUpdate when the game is paused
2025-08-01 04:18:03 +03:00
Andy Lanzone
59aba3ae7e
Merge branch openmw:master into master
2025-07-31 18:02:10 -07:00
Mads Buvik Sandvei
34eb3d485d
[Lua] Partially dehardcode onHit
2025-07-30 20:21:15 +00:00
Andrew Lanzone
bf327adc93
Bump OPENMW_LUA_API_REVISION and gamepad controls versions
2025-07-18 17:53:29 -07:00
Andy Lanzone
d46f034e5d
Merge branch openmw:master into master
2025-07-08 19:46:37 -07:00
Petr Mikheev
10dba7cda7
Initial support of ESM4 sounds; play opening sound of ESM4 doors.
2025-07-08 11:14:13 +02:00
Andrew Lanzone
b170500183
Merge branch 'master' of https://gitlab.com/OpenMW/openmw
2025-07-06 23:00:28 -07:00
Mads Buvik Sandvei
c7e3f9b0cf
Add some events from the dehardcode spellcasting MR, that do not need to be specific to that MR.
2025-07-05 21:30:51 +02:00
Andrew Lanzone
ce0ae47478
Expose controller menus setting to Lua
2025-07-04 11:53:36 -07:00
Mads Buvik Sandvei
ec3357ff3f
Bump UI interface version number
2025-07-04 20:30:31 +02:00
Mads Buvik Sandvei
b1f32c8cee
isWindowVisible must handle replaced windows' visibility
2025-07-03 22:11:21 +02:00
Mads Buvik Sandvei
7f34e52a11
lua interface for window visibility
2025-07-03 22:10:56 +02:00
Cody Glassman
21cf7bb397
docs - add context tags to interfaces and aux packages
2025-06-16 16:32:51 -07:00
Cody Glassman
302d92561d
docs - begin restructing docs
2025-06-16 15:36:43 -07:00
Evil Eye
c05d2d1d38
Restrict openmw.animation to local scripts
2025-06-05 20:15:40 +02:00
Alexei Kotov
6aed2d8284
Bump Crimes interface version
2025-04-13 14:05:07 +03:00
Chronolegionnaire
ed62f9b12b
Lua api demands a boolean for victim aware but crimes.lua looks for a number. Which makes scripts that call the crime interface unable to provide a value other than nil for victim aware.
2025-04-06 06:27:40 +00:00
Evil Eye
c691917172
Distinguish between I.Controls and I.GamepadControls
2025-03-10 16:37:13 +01:00
Alexei Kotov
cd53cbbea2
Don't disable automove when the player can't move ( #8358 )
2025-02-21 01:38:08 +03:00
Evil Eye
5534aeb30e
Only set use when holding a weapon
2024-11-16 14:13:58 +01:00
uramer
ad1c2a0e9f
Fix table-valued settings
2024-10-28 16:46:14 +01:00
Calandiel Elende
9248e37156
add OFFENSE_TYPE and commitCrime to lua
2024-10-20 09:37:27 +00:00
Evil Eye
82cd151b4c
Start combat music for fleeing actors that haven't drawn a weapon
2024-09-16 16:38:26 +02:00
psi29a
527fa053c5
Merge branch 'actions_patchup' into 'master'
...
Lua Actions patchup
See merge request OpenMW/openmw!4311
2024-08-18 10:02:03 +00:00
Mads Buvik Sandvei
7f0f2373ea
Use sol::optional for optional table instead of function overloading.
2024-08-12 21:24:50 +02:00
Mads Buvik Sandvei
09f6daf155
Rewrite addvfx and spawnvfx to take a model path instead of a static. Mode vfx from core to world. Add event handlers for AddVfx and SpawnVfx.
2024-08-10 14:56:35 +02:00
uramer
2df8c13525
Lua triggers to cover remaining deprecated actions
2024-08-08 00:08:48 +02:00
psi29a
488a05d14c
Merge branch 'lua-add-is-fleeing' into 'master'
...
lua - add isFleeing() to AI interface
See merge request OpenMW/openmw!4256
2024-08-01 09:55:50 +00:00
Sebastian Fieber
234476bdae
lua - add isFleeing() to lua AI interface
2024-07-31 20:29:33 +02:00
Hristos N. Triantafillou
fe18c279ac
Add the AiWander Lua API MR to changelog, fix Lua docs typo
2024-07-23 18:26:05 -05:00
Kindi
576850279b
add missing package to lua console
2024-07-15 12:26:51 +08:00
psi29a
bfcdc16ca5
Merge branch 'move360-fix-no-zoom' into 'master'
...
Add Camera.isZoomEnabled check to move360 zooming
Closes #8064
See merge request OpenMW/openmw!4247
2024-07-11 09:02:24 +00:00
psi29a
a0e3b2ce85
Merge branch 'cleanup_logs' into 'master'
...
Clean up a debug log
See merge request OpenMW/openmw!4246
2024-07-09 21:33:18 +00:00
trav
0d14464fdf
Merge branch openmw:master into move360-fix-no-zoom
2024-07-09 18:58:32 +00:00
trav5
d4e6dd9f8c
Add Camera.isZoomEnabled check to move360 zooming
...
Early return in the processZoom3rdPerson function at move360.lua
extended with a check for disabled zoom in the Camera interface.
This fixes #8064 - prevents from switching between 1st and 3rd person
camera by pressing zoom in/out inputs when zooming is disabled.
2024-07-08 23:30:05 +02:00
uramer
dbbcbaa4c5
Clean up a debug log
2024-07-08 21:41:31 +02:00
Evil Eye
0342a299cc
Require Pursue packages to target a player
2024-07-07 15:05:19 +02:00
Evil Eye
91bcd0a556
Add a showInDialogue parameter to ui.showMessage and use it for level up messages
2024-06-27 17:16:49 +02:00
Alexei Kotov
950d65a382
Merge branch 'rollback_music_interface' into 'master'
...
Rollback a Muisc interface
See merge request OpenMW/openmw!4129
2024-05-25 15:31:16 +00:00
Andrei Kortunov
aa07dc0312
Rollback a Muisc interface
2024-05-24 10:16:28 +04:00
Alexei Kotov
462818c304
Make paralysis cancel camera mode changes ( #7997 )
2024-05-23 12:29:10 +03:00
Andrei Kortunov
5a1ec8ce87
Implement Lua-based music
2024-05-19 22:10:54 +04:00
Zackhasacat
921ee8ffe6
Merge branch 'master' of gitlab.com:openmw/openmw into doc_has_more_probls
2024-05-07 15:57:30 -05:00
Hristos N. Triantafillou
686fdb057d
Idle is optional and could be nil
2024-05-03 15:21:48 -05:00
Zackhasacat
d150a6611d
Minor doc changes
2024-05-03 11:59:43 -05:00
Hristos N. Triantafillou
63a27bbf99
Expose Wander option values to the Lua API ( #7916 )
2024-05-03 09:40:30 +00:00