1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-21 07:53:53 +00:00
Commit graph

2619 commits

Author SHA1 Message Date
Zackhasacat
10030a55e0 Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data 2023-11-16 07:37:03 -06:00
Joakim Berg
624d6ce7d0 Update file sv.yaml 2023-11-14 21:11:27 +00:00
Joakim Berg
818cd8343f Update file sv.yaml 2023-11-14 10:52:28 +00:00
Joakim Berg
f62b43d2d6 Update file sv.yaml 2023-11-14 05:27:30 +00:00
uramer
435e9731df Render invalid 'select' setting renderer values instead of silent failure 2023-11-11 18:09:00 +01:00
jvoisin
d8cd465d61 Merge branch 'navmesh_doc' into 'master'
Reword navigation mesh related docs and tooltips

See merge request OpenMW/openmw!3569
2023-11-08 22:48:52 +00:00
jvoisin
60ec894d8a Merge branch 'lightitupbaby' into 'master'
Support point specular lighting (#6188)

Closes #6188

See merge request OpenMW/openmw!3559
2023-11-08 22:43:42 +00:00
Zackhasacat
279e9affa8 Merge branch 'docs-mwscript-variables' into 'master'
Fix MWScript variables documentation type

See merge request OpenMW/openmw!3572
2023-11-08 16:28:52 +00:00
Zackhasacat
72a5b50002 Merge branch 'interfaces-item-usage' into 'master'
Add ItemUsage to interfaces package type definition

See merge request OpenMW/openmw!3573
2023-11-08 00:05:31 +00:00
Zackhasacat
ae4eafdfd4 Move classes to types.NPC 2023-11-07 11:50:09 -06:00
Alexei Kotov
e1cd5250af Use sun visibility for sunlight scattering (bug #7309) 2023-11-07 10:30:26 +03:00
Alexei Kotov
bdc019647a Merge branch 'figure-skaters' into 'master'
Use accumulated movement when possible

Closes #5062

See merge request OpenMW/openmw!3549
2023-11-07 03:01:56 +00:00
uramer
afbfed78ad Add ItemUsage to interfaces package type definition 2023-11-06 21:57:49 +00:00
uramer
75c5ce5f31 Fix MWScript variables documetnation type 2023-11-06 21:38:40 +00:00
elsid
392218dde3
Reword navigation mesh related docs and tooltips
To explain the effect of the setting in a more user friendly language.
2023-11-06 10:52:52 +01:00
Cody Glassman
0f53088014 re-sync docs with postprocessing API 2023-11-05 10:22:22 -08:00
Zackhasacat
231803c6ea Merge branch 'sunvisibility' into 'master'
Make sun specularity behavior more intuitive (bug #6190)

Closes #6190

See merge request OpenMW/openmw!3535
2023-11-05 17:55:27 +00:00
jvoisin
e4c5c1bc43 Merge branch 'govna' into 'master'
Expose governing attributes to Lua

See merge request OpenMW/openmw!3556
2023-11-05 16:35:27 +00:00
jvoisin
44dc29e675 Merge branch 'forurm' into 'master'
Add types.Actor.isDead

See merge request OpenMW/openmw!3557
2023-11-05 16:35:09 +00:00
Alexei Kotov
820fc068d1 Support point specular lighting (#6188)
Fix passing light specular colors with shader lighting methods (with help from wazabear)
2023-11-04 17:58:51 +03:00
Mads Buvik Sandvei
4886d31d89 Language, bob -> sway 2023-11-04 13:37:23 +01:00
Alexei Kotov
d851eaa199 Merge branch 'fix_lua_sneak' into 'master'
Remember sneaking when game is saved and loaded(#7664)

See merge request OpenMW/openmw!3546
2023-11-03 20:36:15 +00:00
Zackhasacat
8d0d9a49c6 Remember sneaking when game is saved and loaded(#7664) 2023-11-03 20:36:14 +00:00
Evil Eye
eb0ddf72d8 Merge branch 'fix_my_errors' into 'master'
Fix minor doc error, throw error when attempting to assign a value to a non-existing global variable in lua

See merge request OpenMW/openmw!3548
2023-11-03 16:31:23 +00:00
Zackhasacat
dd87d01f06 Fix minor doc error, throw error when attempting to assign a value to a non-existing global variable in lua 2023-11-03 16:31:23 +00:00
Mads Buvik Sandvei
9c93d907dc Settings page entry for the "player movement ignores animation" setting. 2023-11-02 19:30:51 +01:00
Evil Eye
2d90176fe9 Add types.Actor.isDead 2023-11-02 19:29:26 +01:00
Evil Eye
a88f0ecc95 Expose governing attributes to Lua 2023-11-02 17:43:09 +01:00
uramer
abae5f031d Fix docs type 2023-11-02 16:05:52 +00:00
Mads Buvik Sandvei
f41de6b02d Use accumulated movement whenever possible. Apply diagonal movement by rotating accumulated movement and sliding based on that, rather than ignoring accumulated movement. 2023-11-01 20:31:57 +01:00
Zackhasacat
dbd7d34120 Add class Record 2023-11-01 13:27:37 -05:00
Zackhasacat
482d174ef2 Read only, add skill spec to docs 2023-11-01 13:21:14 -05:00
Zackhasacat
371eeddf85 Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data 2023-10-31 22:23:45 -05:00
Alexei Kotov
0b8739711e Merge branch 'settings_values_video' into 'master'
Use settings values for Video settings (#6876)

See merge request OpenMW/openmw!3527
2023-10-31 21:24:53 +00:00
Petr Mikheev
889ddc10d6 Enable openmw.input in menu scripts 2023-10-31 11:05:00 +01:00
Petr Mikheev
1dd7a15255 Draft: add new type of Lua scripts - menu scripts 2023-10-31 10:29:24 +01:00
Alexei Kotov
03c3818229 Place ESM4::ItemMod into the scene 2023-10-31 00:54:44 +03:00
Alexei Kotov
6d776ac833 Merge branch 'range' into 'master'
Use a dynamic falloff range for soft effect

See merge request OpenMW/openmw!3532
2023-10-29 22:03:05 +00:00
Alexei Kotov
12abd30e9f Make sun specularity behavior more intuitive (bug #6190)
Remove sun visibility influence on object specularity
Subdue sun visibility influence on water specularity
2023-10-29 04:11:40 +03:00
Cody Glassman
09928ba265 use a dynamic falloff range for soft effect and use shader flags 2023-10-28 10:23:55 -07:00
Alexei Kotov
3f4591eb3b Add movable static and ESM4 land texture stores 2023-10-27 22:53:40 +03:00
psi29a
f724b05c57 Merge branch 'teleport_block' into 'master'
Lua: Add isTeleportingEnabled and setTeleportingEnabled to types.Player

See merge request OpenMW/openmw!3519
2023-10-27 17:37:04 +00:00
elsid
dcd81d026f
Use settings values for Video settings
* Convert window mode, vsync mode into enums, screenshot type into a struct.
* Add missing doc for screenshot type.
2023-10-27 14:31:23 +02:00
Zackhasacat
2f16a104dc Revise record store, add specialization function 2023-10-25 21:38:42 -05:00
Zackhasacat
909be9cf35 Merge branch 'master' of gitlab.com:openmw/openmw into lua_class_data 2023-10-25 21:05:35 -05:00
Zackhasacat
f0640da21e Add character to core 2023-10-25 21:05:14 -05:00
Kindi
1bff02e3b0 add docs 2023-10-26 03:32:15 +08:00
psi29a
2e587c3379 Merge branch 'lua_effect_expire' into 'master'
Add notes about lua active effects technicality

See merge request OpenMW/openmw!3516
2023-10-25 12:35:35 +00:00
psi29a
f3931c8321 Merge branch 'lua_hud_hide' into 'master'
Add functions to lua ui library to toggle HUD visibility, and check current status.

See merge request OpenMW/openmw!3450
2023-10-25 12:34:56 +00:00
Zackhasacat
ac9cfc782a Add functions to lua ui library to toggle HUD visibility, and check current status. 2023-10-25 12:34:56 +00:00
Alexei Kotov
08da35704f Merge branch 'remove-obsolete-comment' into 'master'
Get rid of obsolete comment

See merge request OpenMW/openmw!3514
2023-10-24 21:49:56 +00:00
Zackhasacat
f4d349070c Add isTeleportingEnabled and setTeleportingEnabled 2023-10-24 13:51:12 -05:00
Petr Mikheev
f547cd5934 Merge branch 'lua_object_var' into 'master'
Add lua binding for gameObject globalVariable

See merge request OpenMW/openmw!3483
2023-10-24 13:55:51 +00:00
Zackhasacat
78e9a1753e Add lua binding for gameObject globalVariable 2023-10-24 13:55:50 +00:00
Petr Mikheev
31f5c8826b Merge branch 'lua_global_new' into 'master'
Add global variable access to world.mwscript (#7597)

See merge request OpenMW/openmw!3491
2023-10-24 09:23:25 +00:00
Zackhasacat
db42a91867 Add global variable access to world.mwscript (#7597) 2023-10-24 09:23:25 +00:00
Zackhasacat
5dd1f0332f Add notes about active effects 2023-10-23 23:44:54 -05:00
Zackhasacat
bd90ac2ed8 Add missing field in docs 2023-10-23 23:02:01 -05:00
Zackhasacat
254bf7c5d8 class -> classes 2023-10-23 22:23:30 -05:00
Zackhasacat
611f96ce65 Add class bindings 2023-10-23 22:19:16 -05:00
AnyOldName3
606a0eea8f Get rid of obsolete comment
The matrix in question was removed by !2682
2023-10-23 19:28:54 +00:00
Abdu Sharif
ee80f889b7 Make Per-Pixel Lighting option description a bit more neutral 2023-10-23 12:35:57 +00:00
Cody Glassman
5fc46b166a track debug window size and dimensions between sessions 2023-10-18 09:04:57 -07:00
Evil Eye
2ebd544dfb Fix #7624 2023-10-14 14:18:50 +02:00
Petr Mikheev
15306c7d49 [Lua] Add CONTROL_SWITCH functions to types.Player and deprecate them in openmw.input 2023-10-10 01:15:09 +02:00
psi29a
2c81220cf7 Merge branch 'book' into 'master'
Reading ESM4 books

See merge request OpenMW/openmw!3471
2023-10-05 17:24:50 +00:00
Petr Mikheev
54cc1f25a2 Mention in Lua documentation that default tag is an empty string 2023-10-04 10:36:54 +02:00
Petr Mikheev
fcc7b9bb9e Support tags in I.Camera.disable*, I.Camera.enable* in the same way as in world.pause; Update I.Camera docs. 2023-10-04 10:20:56 +02:00
Petr Mikheev
6161953106 Allow reading ESM4 books 2023-10-03 10:55:12 +02:00
AnyOldName3
15e6ababf1 Merge branch 'soft_particles' into 'master'
Apply soft effect to nifs marked with soft effect flag (originally developed by Cody Glassman)

See merge request OpenMW/openmw!3447
2023-10-02 21:38:14 +00:00
PharisMods
01aa67c792 Use thick border textures for thick border UI templates 2023-10-01 00:54:24 +00:00
psi29a
3ea14e904d Merge branch 'actors_range' into 'master'
Handle actors processing range in Lua

See merge request OpenMW/openmw!3458
2023-09-28 08:33:46 +00:00
psi29a
6c39e3f817 Merge branch 'draft' into 'master'
Treat teleportation out of the draft cell as object creation

Closes #7588 and #7453

See merge request OpenMW/openmw!3455
2023-09-28 08:33:10 +00:00
psi29a
bae8d585fe Merge branch 'lua/capacity_encum_bindings' into 'master'
Add more lua bindings for encumbrance and capacity

See merge request OpenMW/openmw!3462
2023-09-28 08:32:38 +00:00
glassmancody.info
9aa992eede add more lua bindings for encumbrance and capacity 2023-09-27 17:19:08 -07:00
Petr Mikheev
63d5bd6f8a Apply soft effect to nifs marked with soft effect flag (developed by Cody Glassman) 2023-09-27 20:41:52 +02:00
Andrei Kortunov
40c8783790 Handle actors processing range in Lua 2023-09-27 15:14:32 +04:00
Zackhasacat
6bfa3f78bd Fix AttributeRecord and SkillRecord documentation in OpenMW.core 2023-09-27 07:30:52 +00:00
Evil Eye
641f34a3c9 Treat teleportation out of the draft cell as object creation 2023-09-25 21:01:32 +02:00
Alexei Kotov
7e360df6c0 Place ESM4::Flora instances to the scene 2023-09-24 10:25:44 +03:00
Evil Eye
90ca8a2f4e Remove ATTRIBUTE, SKILL, and SCHOOL enums 2023-09-21 19:34:13 +02:00
Evil Eye
6ed5cbb7d0 Remove numeric magic school ids and deprecate the enum 2023-09-20 19:51:29 +02:00
psi29a
1c8198242e Merge branch 'toggleai' into 'master'
Add a way to toggle AI to Lua debug package

See merge request OpenMW/openmw!3429
2023-09-18 08:37:19 +00:00
psi29a
18b6eba709 Merge branch 'reloadlua' into 'master'
safe reloadlua on top of !3362

See merge request OpenMW/openmw!3412
2023-09-17 11:28:01 +00:00
Petr Mikheev
72b8ff82ff !3362 with safe reloadlua 2023-09-15 19:10:33 +02:00
Andrei Kortunov
6769d10203 Fix documentation error 2023-09-15 19:23:13 +04:00
Andrei Kortunov
56ea3e3879 Add a way to toggle AI to Lua debug package 2023-09-15 18:49:46 +04:00
psi29a
12159d95f3 Merge branch 'music' into 'master'
Rework music system

See merge request OpenMW/openmw!3372
2023-09-15 07:11:31 +00:00
psi29a
ed022a6c14 Merge branch 'fix_use' into 'master'
Fix regression added in  !3354: Set `force` to false when applying UseItem from inventory.

See merge request OpenMW/openmw!3422
2023-09-15 07:03:34 +00:00
Andrei Kortunov
db72a91180 Add a way to check if sound system is enabled 2023-09-14 13:02:20 +04:00
Andrei Kortunov
655c4442bc Implement isMusicPlaying 2023-09-13 17:48:49 +04:00
Andrei Kortunov
e25e867d77 Remove 'music' package 2023-09-13 09:11:07 +04:00
Andrei Kortunov
e1cae5a029 Rework music system 2023-09-13 09:11:07 +04:00
Andrei Kortunov
02dcf1fb31 Split setFactionRank to separate functions 2023-09-12 11:57:19 +04:00
Andrei Kortunov
6ee86dea82 Implement Lua API for factions (feature 7468) 2023-09-12 09:49:03 +04:00
Petr Mikheev
fb8ccf52d8 Add missing argument force in UseItem 2023-09-11 16:21:34 +02:00
psi29a
9791fae2db
Merge branch 'statrecords' into 'master'
Expose skill and attribute records to Lua and deprecate their enums

See merge request OpenMW/openmw!3407
2023-09-09 20:39:45 +00:00
Evil Eye
cd0e612cb7 Expose skill and attribute records to Lua and deprecate their enums 2023-09-07 21:30:08 +02:00
Petr Mikheev
42f2ece8b3 Fix bug: UI modes that are added not through Lua don't show windows that were hidden by Lua in other mode. 2023-09-07 02:16:22 +02:00
psi29a
938c487684
Merge branch 'time' into 'master'
[Lua] Ability to unpause the game when UI is opened.

See merge request OpenMW/openmw!3398
2023-09-06 08:16:49 +00:00
Zackhasacat
f287b2f436 Merge branch 'master' of gitlab.com:openmw/openmw into lua_record_services 2023-09-04 10:49:51 -05:00
psi29a
5faf56950b
Merge branch 'lua_files' into 'master'
Implement Lua API for VFS

Closes #6864

See merge request OpenMW/openmw!3373
2023-09-03 17:06:14 +00:00
psi29a
0b74146b05
Merge branch 'luautflib' into 'master'
Lua utf-8 support

Closes #6505

See merge request OpenMW/openmw!3327
2023-09-03 17:05:27 +00:00
Andrei Kortunov
66bf7be373 Preload new packages to console 2023-09-03 08:24:51 +04:00
Petr Mikheev
65cd518b44 Update camera logic related to paused game / opened UI 2023-09-03 04:21:18 +02:00
Petr Mikheev
23a7661d0b Control UI pause from Lua 2023-09-03 03:41:13 +02:00
Petr Mikheev
b4c8b8308f Lock actiovation when the game is paused; Lock movement controls when UI is opened. 2023-09-03 02:43:55 +02:00
Zackhasacat
ee5983f64a Docs fixes 2023-09-02 15:21:03 -05:00
Zackhasacat
7d0e140889 Merge branch 'master' of gitlab.com:openmw/openmw into lua_record_services 2023-09-02 14:55:57 -05:00
psi29a
b818414d82
Merge branch 'activate_and_use' into 'master'
Handle Use action in Lua in a similar way to Activate action

See merge request OpenMW/openmw!3354
2023-09-02 15:11:43 +00:00
Andrei Kortunov
65109b3822 Simplify VFS index iteration 2023-09-02 17:40:14 +04:00
Andrei Kortunov
c04a0ca3a5 Implement Lua API for VFS 2023-09-02 08:47:46 +04:00
Zackhasacat
9f80d68795 add servicesOffered to npc and creature records 2023-09-01 16:39:33 -05:00
psi29a
a1828eec29
Merge branch 'lua_spell_fix' into 'master'
Clear selected enchanted item and/or spell with actor.clearSelectedCastable()

See merge request OpenMW/openmw!3315
2023-09-01 20:33:42 +00:00
Zackhasacat
7113db8b97
Clear selected enchanted item and/or spell with actor.clearSelectedCastable() 2023-09-01 20:33:42 +00:00
psi29a
3e99103beb
Merge branch 'rtd' into 'master'
Show OpenMW version and Lua API revision in documentation

Closes #6149

See merge request OpenMW/openmw!3382
2023-09-01 08:06:58 +00:00
Zackhasacat
86c28921ae
Add function to get current disposition, add baseDisposition to NPC record 2023-09-01 08:06:34 +00:00
Petr Mikheev
d39552962f Validate version of resources 2023-08-31 20:56:02 +02:00
Petr Mikheev
f260fa006e Show OpenMW version and Lua API revision in documentation. 2023-08-31 20:56:02 +02:00
psi29a
5ba13f7aae Merge branch 'lua_template_new' into 'master'
Support 'template' field in createRecordDraft, to use an existing record as a base in lua

See merge request OpenMW/openmw!3387
2023-08-31 08:02:50 +00:00
Petr Mikheev
ea8692a534 Add usehandlers.lua (same approach as activationhandlers.lua) 2023-08-30 22:48:51 +02:00
psi29a
58aeb81e46 Merge branch 'container_ptr' into 'master'
Add `obj.parentContainer` in Lua. Refactor ContainerStore::mPtr, ContainerStore::mActor.

See merge request OpenMW/openmw!3381
2023-08-30 10:19:16 +00:00
Zackhasacat
4b7bf62671 Fix weapon table, and docs 2023-08-29 16:37:32 -05:00
Zackhasacat
45f25e3f14 Add in initial support 2023-08-29 11:19:11 -05:00
psi29a
4a46d772a1 Merge branch 'fix_createRecord' into 'master'
Add two missing record types to world.createRecord docs

See merge request OpenMW/openmw!3386
2023-08-29 09:19:11 +00:00
psi29a
a0d3313d8d Merge branch 'lua_restock' into 'master'
Add isRestocking to types.Item

See merge request OpenMW/openmw!3383
2023-08-29 07:07:06 +00:00
Zackhasacat
ecc89ed826 Add two missing record types 2023-08-28 21:20:12 -05:00
Zackhasacat
5fdaee093a add isRestocking 2023-08-28 08:30:54 -05:00
psi29a
65a15ff0b1 Merge branch 'container_inventory' into 'master'
[Lua] Add alias `types.Container.inventory` = `types.Container.content` for consistency with `types.Actor.inventory`

See merge request OpenMW/openmw!3314
2023-08-28 11:32:16 +00:00
Zackhasacat
84987450ee Add baseCount 2023-08-27 20:47:43 -05:00
Petr Mikheev
55a9ab4f52 Add obj.parentContainer in Lua. Refactor ContainerStore::mPtr, ContainerStore::mActor. 2023-08-27 23:45:19 +02:00
Kindi
532230254b add documentation 2023-08-28 02:37:52 +08:00
Zackhasacat
b571d8d050 Remove player quest name example 2023-08-25 14:25:25 -05:00
Zackhasacat
425076b8dd Fix types.LevelledCreature in docs 2023-08-25 17:44:34 +00:00
Evil Eye
ef6100f788 Start the game on Friday 2023-08-21 21:31:50 +00:00
psi29a
516108691d Merge branch 'record_gold' into 'master'
Add baseGold to NPC and creature lua records

See merge request OpenMW/openmw!3369
2023-08-21 11:33:11 +00:00
Zackhasacat
1320261eba Add baseGold to NPC and creature records 2023-08-20 14:55:23 -05:00
Petr Mikheev
c5ba289bc7 Handle UI modes open/close sounds in Lua 2023-08-20 17:49:56 +02:00
Petr Mikheev
36d22cff1c Improve GUI mode validation 2023-08-20 17:49:56 +02:00
Petr Mikheev
f1bcf64afb Dehardcode input.ACTION.Inventory, input.ACTION.Journal, input.ACTION.QuickKeysMenu 2023-08-20 17:49:56 +02:00
Petr Mikheev
87eacf774a Control GUI modes from Lua 2023-08-20 17:49:56 +02:00
psi29a
ab798be320 Merge branch 'fix_scrollbars' into 'master'
Do not use deprecated MyGUI properties

Closes #5896

See merge request OpenMW/openmw!3320
2023-08-20 11:04:23 +00:00
Zackhasacat
86e7863d9a Fix the docs 2023-08-18 22:18:34 -05:00
Petr Mikheev
4211665ede Merge branch 'sounds' into 'master'
Lua bindings for sound functions

See merge request OpenMW/openmw!3247
2023-08-18 09:15:24 +00:00
psi29a
861b9b215c Merge branch 'moveinto' into 'master'
[Lua] Accept GameObject as destination in obj:moveInto.

See merge request OpenMW/openmw!3318
2023-08-18 08:23:20 +00:00
psi29a
e21e3a0d46 Merge branch 'time' into 'master'
Pause/resume the game in Lua scripts

See merge request OpenMW/openmw!3317
2023-08-18 08:22:04 +00:00
Andrei Kortunov
d9c91ff3d9 Add bindings for ESM::Sound records 2023-08-16 20:26:55 +04:00
Andrei Kortunov
7ce9fc25c5 Implement Lua bindings for sound system 2023-08-15 10:28:29 +04:00
Zackhasacat
3e8a1cce7c Load ESM4 Terminal objects, add lua bindings for them 2023-08-15 06:23:38 +00:00
uramer
16ba35d63b Don't refer to local type by absolute path in docs 2023-08-12 21:17:11 +02:00
Zackhasacat
8f303f46dc Lua Documentation clarification/fixes 2023-08-11 21:16:32 +00:00
Petr Mikheev
b34930d3f2 Add missing 'local' in playercontrols.lua 2023-08-09 10:18:26 +02:00
Petr Mikheev
6c4e1f4e8f Lua commands world.pause / world.unpause 2023-08-08 22:57:28 +02:00
Petr Mikheev
1a53e9db5d [Lua] Accept GameObject as destination in obj:moveInto. 2023-08-08 22:56:42 +02:00
Petr Mikheev
ac9facabf5 [Lua] Add alias types.Container.inventory = types.Container.content 2023-08-08 22:56:16 +02:00
Andrei Kortunov
a2d509a4b5 Do not use deprecated MyGUI features for scrollbars 2023-08-08 09:30:22 +04:00
Andrei Kortunov
f3cf61627c Do not use deprecated MyGUI features for list boxes 2023-08-08 09:30:13 +04:00
Andrei Kortunov
370807281f Do not use deprecated MyGUI features for progress bars 2023-08-08 09:30:02 +04:00
psi29a
fadfffe22c Merge branch 'settings_values_map' into 'master'
Use settings values for Map settings (#6876)

See merge request OpenMW/openmw!3284
2023-08-06 16:14:09 +00:00
psi29a
e6cffa5494 Merge branch '7248-Extend_console_search_with_regex_and_case_sensitivity' into 'master'
Resolve "Extend searching in the console with regex and toggleable case-sensitivity"

Closes #7248

See merge request OpenMW/openmw!3248
2023-08-05 10:02:08 +00:00
Chris Vigil
996f5fd7ad Resolve "Extend searching in the console with regex and toggleable case-sensitivity" 2023-08-05 10:02:07 +00:00
Petr Mikheev
abde92e207 Merge branch 'active-spells-rework' into 'master'
Lua: active spell params and active spell effects

See merge request OpenMW/openmw!3179
2023-07-31 00:02:05 +00:00
Mads Buvik Sandvei
c18a7801ed Lua: active spell params and active spell effects 2023-07-31 00:02:05 +00:00
Mads Buvik Sandvei
edb7081ea6 Lua: String overload for effects store index. 2023-07-30 23:55:19 +00:00
elsid
bdb4808588
Remove unused local map hud widget size setting
Unused since d1a3cc98ff
2023-07-27 22:53:51 +02:00
psi29a
e76ce6b696 Merge branch 'fix_find_path' into 'master'
Remove stepping from findSmoothPath and other tweaks (#7241 , #7485)

Closes #7485 and #7241

See merge request OpenMW/openmw!3264
2023-07-27 09:34:50 +00:00
psi29a
3032b340a2 Merge branch 'teleporting' into 'master'
A few Lua changes related to teleporting

See merge request OpenMW/openmw!3246
2023-07-27 09:32:28 +00:00
elsid
e00eb50587
Remove stepping from findSmoothPath
This is not used anyway. There are features like smooth movement which remove
all redundant points.

Use single findStraightPath call instead of multiple.
2023-07-22 18:08:40 +02:00
elsid
9817f4ca9a
Find closest position on navmesh to start and end before poly path
Start and end might not be located on navmesh and findPath may give wrong
results.
2023-07-22 17:24:51 +02:00
Petr Mikheev
2c212b18e4 Remove World::activate since all activation now goes trough LuaManager 2023-07-22 17:22:43 +02:00
elsid
a5ba721eca
Fix typo 2023-07-20 20:24:38 +02:00
Petr Mikheev
f2edf05a55 Move camera update after teleporting from worldimp to camera.lua 2023-07-19 10:42:58 +02:00
Petr Mikheev
95bce836ee Add non-carriable lights to nearby.items 2023-07-12 22:26:06 +02:00
psi29a
429e911da1 Merge branch 'lua_journal' into 'master'
Add Lua bindings for journal (second iteration of !3133)

See merge request OpenMW/openmw!3189
2023-07-11 07:37:13 +00:00
Alexei Dobrohotov
52a16e0e93 BSEffectShader/NoLighting fixes
Don't hijack BSShader::NoLighting for BSEffectShader functionality
(Fallout meshes break if you use the actual emissive color as a base color)
Don't use falloff for textureless NoLighting objects
Use falloff flag for BSEffectShader
2023-07-09 14:44:09 +03:00
uramer
bf7b39f214 Fix typos in Lua documentation 2023-07-08 18:40:33 +02:00
Joakim Berg
c612c2a218 Last Swedish translations as of now (#7417) 2023-07-08 12:39:00 +00:00
Petr Mikheev
a09fb8d8f8 Rework Lua bindings for journal 2023-07-08 14:32:58 +02:00
Tobias Tribble
c792582376 Add Lua bindings for journal 2023-07-08 13:37:39 +02:00
psi29a
b1e00b59f2 Merge branch 'lua_mwscript' into 'master'
Change MWScript Lua bindings (#7142)

See merge request OpenMW/openmw!2881
2023-07-02 19:23:09 +00:00
Petr Mikheev
866f67ed19 Change MWScript Lua bindings (#7142) 2023-06-30 22:26:17 +02:00
Petr Mikheev
fa4cce7132 [Lua] Fix usage example of util.transform in documentation 2023-06-28 00:14:36 +02:00
psi29a
e5e0787337 Merge branch 'fix_effect_spell' into 'master'
Lua: Fix documentation for type.ActiveEffect

See merge request OpenMW/openmw!3178
2023-06-26 18:55:39 +00:00
jvoisin
a555519290 Merge branch 'The-abilities-are-inert' into 'master'
Typo: Inert -> Innate

See merge request OpenMW/openmw!3180
2023-06-25 20:14:54 +00:00
psi29a
dd0d66513d Merge branch 'clickbait' into 'master'
Mostly dehardcode attributes

See merge request OpenMW/openmw!3164
2023-06-25 20:11:19 +00:00
Mads Buvik Sandvei
41d499f9f8 Inert -> Innate 2023-06-25 18:30:27 +00:00
Tobias Tribble
b535e41164 Fix actorActiveSpells pairs, docs 2023-06-25 08:50:09 -05:00
psi29a
e406b13233 Merge branch 'transjune23' into 'master'
More translations in Swedish

See merge request OpenMW/openmw!3165
2023-06-23 20:09:19 +00:00
Joakim Berg
6e54fbe9bc Update file sv.yaml 2023-06-21 20:08:12 +00:00
psi29a
6ff46bbb5d Merge branch 'lua-translate' into 'master'
Do not translate a Lua language name

See merge request OpenMW/openmw!3168
2023-06-21 15:40:18 +00:00
Andrei Kortunov
a75c81ed54 Do not translate a Lua language name 2023-06-21 18:13:58 +04:00
psi29a
47b1247fa2 Merge branch 'l10n' into 'master'
Make configurable whether GMST strings have priority over built-in interface messages

See merge request OpenMW/openmw!3134
2023-06-21 06:52:30 +00:00
psi29a
abdd4f5207 Merge branch 'lua_potion_magic' into 'master'
Lua: Add effects to potionRecord, ingredientRecord

See merge request OpenMW/openmw!3160
2023-06-20 10:00:06 +00:00
Zackhasacat
611a6429a9 Lua: Add effects to potionRecord, ingredientRecord 2023-06-20 10:00:05 +00:00
psi29a
68415a952e Merge branch 'lua_quat' into 'master'
Breaking change in Lua API: change obj.rotation from Euler angles to Quaternion

See merge request OpenMW/openmw!3123
2023-06-20 09:59:06 +00:00
Joakim Berg
f276c8cbd8 Update 2 files
- /files/data/l10n/OMWEngine/sv.yaml
- /files/data/l10n/Interface/sv.yaml
2023-06-19 21:58:42 +00:00
Evil Eye
abcebd49d2 Allow for more than 8 attributes 2023-06-19 20:41:54 +02:00
Petr Mikheev
57e028fcc9 Merge branch 'container_resolve_lua' into 'master'
Lua: Add functions to resolve inventories

See merge request OpenMW/openmw!3157
2023-06-19 18:15:42 +00:00
Zackhasacat
f4980c178d Lua: Add functions to resolve inventories 2023-06-19 18:15:42 +00:00
psi29a
bbfd906f08 Merge branch 'lua_effect_icon' into 'master'
Add icon path to core.MagicEffect

See merge request OpenMW/openmw!3154
2023-06-18 20:58:06 +00:00
Zackhasacat
835a67d876 Add icon path to core.MagicEffect 2023-06-18 20:58:06 +00:00
Mads Buvik Sandvei
5c32b32c58 Lua: ESM::Enchantment bindings 2023-06-18 20:57:21 +00:00
Evil Eye
8edbb9f005 Add attributes to the level up dialog dynamically 2023-06-18 22:55:05 +02:00
Evil Eye
9a4bfed852 Dynamically build the attribute list in the review dialog 2023-06-18 20:08:10 +02:00
Evil Eye
75f0ad4e95 Dynamically build the attribute selection dialog 2023-06-18 19:55:33 +02:00
Evil Eye
ea2cedb5ea Build the attribute list in the stats window dynamically 2023-06-18 19:10:29 +02:00
Petr Mikheev
42f1cf9a07 Simplify cellhandlers.lua 2023-06-17 20:11:35 +02:00
Petr Mikheev
9d15629ae2 [Lua] Add nearby.players and world.players 2023-06-17 19:56:25 +02:00
Mads Buvik Sandvei
698316fd2e Lua bindings for modifying active effects/spells 2023-06-17 16:34:40 +00:00
psi29a
44c3c40058 Merge branch 'lua-world-to-viewport' into 'master'
[Lua] Add world to viewport function to camera

See merge request OpenMW/openmw!3139
2023-06-16 06:47:16 +00:00
psi29a
3a707d8b98 Merge branch 'herebedreugh' into 'master'
Spawn creatures in newly generated exteriors

Closes #7413

See merge request OpenMW/openmw!3126
2023-06-15 07:41:35 +00:00
psi29a
807893eb45 Merge branch 'clickbait' into 'master'
Mostly dehardcode skills

See merge request OpenMW/openmw!3112
2023-06-15 07:03:13 +00:00
Zackhasacat
3e52971a13 Add duration to core.MagicEffectWithParams 2023-06-14 22:28:45 +00:00
glassmancody.info
c27904aa92 lua - add world to viewport function to camera 2023-06-14 11:47:11 -07:00
Petr Mikheev
17a544bdbb Update l10n/OMWEngine/fr.yaml (sort message and add "GmstOverridesL10n") 2023-06-13 22:21:40 +02:00
Evil Eye
f02dd0ef03 Implement onNewExterior to spawn fish in generated exteriors 2023-06-13 17:04:22 +02:00
Petr Mikheev
718d5e4a71 Add setting "gmst overrides l10n" 2023-06-13 10:06:59 +02:00
psi29a
825d862f52 Merge branch 'lua_lock_trap' into 'master'
Allow Lua to access lock and trap data for doors and containers

See merge request OpenMW/openmw!2985
2023-06-13 07:37:33 +00:00
Zackhasacat
c108989b26 Allow Lua to access lock and trap data for doors and containers 2023-06-13 07:37:32 +00:00
psi29a
240cc73a8d Merge branch 'add_creature_type_type_prop' into 'master'
Lua: Add type property to types.Creature

See merge request OpenMW/openmw!3132
2023-06-13 07:36:28 +00:00
Kindi
43e92fa1c9 Add type prop for types.Creature 2023-06-13 03:55:44 +08:00
Arnaud Dochain
05bde3862f Add missing french localization ( #7417 ) 2023-06-12 19:48:43 +00:00
Petr Mikheev
3b43cc2aea Lua: change obj.rotation from Euler angles to Quaternion 2023-06-12 00:16:42 +02:00
Evil Eye
9772845f7b Address feedback 2023-06-11 21:13:34 +02:00
Evil Eye
66d9d7e585 Expose levelled creatures to Lua 2023-06-11 15:13:46 +02:00
psi29a
724d29aa63 Merge branch 'add_getBounty_to_types_Player' into 'master'
Lua: Add getCrimeLevel() to types.Player

See merge request OpenMW/openmw!3118
2023-06-10 08:48:33 +00:00
psi29a
3fcf9dc1d2 Merge branch 'set_scale' into 'master'
Allow Lua to set and get GameObject's in game scale

See merge request OpenMW/openmw!3114
2023-06-10 08:48:14 +00:00
psi29a
ca57bbe644 Merge branch 'debug_tgm_tcl' into 'master'
Lua commands debug.toggleGodMode and debug.toggleCollision

See merge request OpenMW/openmw!3113
2023-06-09 07:26:44 +00:00
Kindi
8962cb818c Add getCrimeLevel() to types.Player 2023-06-09 07:01:12 +08:00
Evil Eye
2cb77ed48f Dehardcode skill selection 2023-06-08 18:35:52 +02:00
Tobias Tribble
41a2c82f93 Added scale property and setScale function 2023-06-07 19:23:36 -05:00
Petr Mikheev
e773b9d055 Lua commands debug.toggleGodMode and debug.toggleCollision 2023-06-07 23:41:29 +02:00
Petr Mikheev
e84ef1d5d9 More Lua documentation about FormId 2023-06-07 22:20:35 +02:00
Petr Mikheev
3b5849add8 Move content files functions to core.contentFiles and add obj.contentFile 2023-06-07 20:57:48 +02:00
Petr Mikheev
a778dff61d Add Lua functions to get the current load order and search objects by RefNum/FormId 2023-06-07 20:57:48 +02:00
Petr Mikheev
773669e69b Add Lua script to handler ESM4 doors with Flag_AutomaticDoor 2023-06-07 20:57:48 +02:00
psi29a
95522de8e8 Merge branch 'antialiasing_sanitizer' into 'master'
Allow any integer number >= 0 for antialiasing level (#7414)

Closes #7414

See merge request OpenMW/openmw!3110
2023-06-06 13:17:15 +00:00
elsid
7d11a18907
Allow any integer number >= 0 for antialiasing level
There is wider support than just specific powers of two. The supported level
will be detected anyway.
2023-06-06 00:05:11 +02:00
Kindi
dfafac72e9 add startingPosition and startingRotation lua property to gameobject 2023-06-04 14:35:33 +08:00
Petr Mikheev
115f1e9800 Fix tree shadows when TreeAnim flag is used 2023-05-29 18:47:27 +02:00
Petr Mikheev
788a4d32aa Handle DoubleSided and TreeAnim flags in BSLightingShaderProperty. 2023-05-29 18:47:27 +02:00
Mads Buvik Sandvei
85a30c9ad0 Fix signature of MWMechanics::MagicEffects::get. Fix a mistake in the docs. 2023-05-25 18:12:18 +02:00
Petr Mikheev
4ed283bb15 Merge branch 'create_record_types' into 'master'
Allow creating Activator, Armor, Clothing, Misc, Weapon records via lua

See merge request OpenMW/openmw!2944
2023-05-25 08:00:13 +00:00
Zackhasacat
ef004e5eba Allow creating Activator, Armor, Clothing, Misc, Weapon records via lua 2023-05-25 08:00:12 +00:00
Mads Buvik Sandvei
b5aefc872b Document the optional attribute/skill parameter of getEffect. 2023-05-23 18:17:31 +02:00
Mads Buvik Sandvei
5f6bd5466f #number -> #string in documentation 2023-05-23 18:12:06 +02:00
Mads Buvik Sandvei
8ac7b04770 ActiveEffects / ActiveSpells documentation 2023-05-23 18:11:44 +02:00
Mads Buvik Sandvei
c03c3c40d5 documentation of MagicEffectId enum 2023-05-23 18:11:44 +02:00
psi29a
1ce35fa9e7 Merge branch 'lua-bounding-box' into 'master'
Expose game object's bounding box in lua api

See merge request OpenMW/openmw!3009
2023-05-19 09:33:44 +00:00
glassmancody.info
a7b7f99d72 Expose game object's bounding box in lua api 2023-05-18 11:10:10 -07:00