Commit Graph

2356 Commits (b9c986b0b8846997926e4adf33eb7d0a22289d8f)

Author SHA1 Message Date
Mads Buvik Sandvei edb7081ea6 Lua: String overload for effects store index. 1 year ago
elsid bdb4808588
Remove unused local map hud widget size setting
Unused since d1a3cc98ff
1 year ago
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
1 year ago
psi29a 3032b340a2 Merge branch 'teleporting' into 'master'
A few Lua changes related to teleporting

See merge request OpenMW/openmw!3246
1 year ago
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.
1 year ago
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.
1 year ago
Petr Mikheev 2c212b18e4 Remove World::activate since all activation now goes trough LuaManager 1 year ago
elsid a5ba721eca
Fix typo 1 year ago
Petr Mikheev f2edf05a55 Move camera update after teleporting from worldimp to camera.lua 1 year ago
Petr Mikheev 95bce836ee Add non-carriable lights to nearby.items 1 year ago
psi29a 429e911da1 Merge branch 'lua_journal' into 'master'
Add Lua bindings for journal (second iteration of !3133)

See merge request OpenMW/openmw!3189
2 years ago
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
2 years ago
uramer bf7b39f214 Fix typos in Lua documentation 2 years ago
Joakim Berg c612c2a218 Last Swedish translations as of now (#7417) 2 years ago
Petr Mikheev a09fb8d8f8 Rework Lua bindings for journal 2 years ago
Tobias Tribble c792582376 Add Lua bindings for journal 2 years ago
psi29a b1e00b59f2 Merge branch 'lua_mwscript' into 'master'
Change MWScript Lua bindings (#7142)

See merge request OpenMW/openmw!2881
2 years ago
Petr Mikheev 866f67ed19 Change MWScript Lua bindings (#7142) 2 years ago
Petr Mikheev fa4cce7132 [Lua] Fix usage example of util.transform in documentation 2 years ago
psi29a e5e0787337 Merge branch 'fix_effect_spell' into 'master'
Lua: Fix documentation for type.ActiveEffect

See merge request OpenMW/openmw!3178
2 years ago
jvoisin a555519290 Merge branch 'The-abilities-are-inert' into 'master'
Typo: Inert -> Innate

See merge request OpenMW/openmw!3180
2 years ago
psi29a dd0d66513d Merge branch 'clickbait' into 'master'
Mostly dehardcode attributes

See merge request OpenMW/openmw!3164
2 years ago
Mads Buvik Sandvei 41d499f9f8 Inert -> Innate 2 years ago
Tobias Tribble b535e41164 Fix actorActiveSpells pairs, docs 2 years ago
psi29a e406b13233 Merge branch 'transjune23' into 'master'
More translations in Swedish

See merge request OpenMW/openmw!3165
2 years ago
Joakim Berg 6e54fbe9bc Update file sv.yaml 2 years ago
psi29a 6ff46bbb5d Merge branch 'lua-translate' into 'master'
Do not translate a Lua language name

See merge request OpenMW/openmw!3168
2 years ago
Andrei Kortunov a75c81ed54 Do not translate a Lua language name 2 years ago
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
2 years ago
psi29a abdd4f5207 Merge branch 'lua_potion_magic' into 'master'
Lua: Add effects to potionRecord, ingredientRecord

See merge request OpenMW/openmw!3160
2 years ago
Zackhasacat 611a6429a9 Lua: Add effects to potionRecord, ingredientRecord 2 years ago
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
2 years ago
Joakim Berg f276c8cbd8 Update 2 files
- /files/data/l10n/OMWEngine/sv.yaml
- /files/data/l10n/Interface/sv.yaml
2 years ago
Evil Eye abcebd49d2 Allow for more than 8 attributes 2 years ago
Petr Mikheev 57e028fcc9 Merge branch 'container_resolve_lua' into 'master'
Lua: Add functions to resolve inventories

See merge request OpenMW/openmw!3157
2 years ago
Zackhasacat f4980c178d Lua: Add functions to resolve inventories 2 years ago
psi29a bbfd906f08 Merge branch 'lua_effect_icon' into 'master'
Add icon path to core.MagicEffect

See merge request OpenMW/openmw!3154
2 years ago
Zackhasacat 835a67d876 Add icon path to core.MagicEffect 2 years ago
Mads Buvik Sandvei 5c32b32c58 Lua: ESM::Enchantment bindings 2 years ago
Evil Eye 8edbb9f005 Add attributes to the level up dialog dynamically 2 years ago
Evil Eye 9a4bfed852 Dynamically build the attribute list in the review dialog 2 years ago
Evil Eye 75f0ad4e95 Dynamically build the attribute selection dialog 2 years ago
Evil Eye ea2cedb5ea Build the attribute list in the stats window dynamically 2 years ago
Petr Mikheev 42f1cf9a07 Simplify cellhandlers.lua 2 years ago
Petr Mikheev 9d15629ae2 [Lua] Add `nearby.players` and `world.players` 2 years ago
Mads Buvik Sandvei 698316fd2e Lua bindings for modifying active effects/spells 2 years ago
psi29a 44c3c40058 Merge branch 'lua-world-to-viewport' into 'master'
[Lua] Add world to viewport function to camera

See merge request OpenMW/openmw!3139
2 years ago
psi29a 3a707d8b98 Merge branch 'herebedreugh' into 'master'
Spawn creatures in newly generated exteriors

Closes #7413

See merge request OpenMW/openmw!3126
2 years ago
psi29a 807893eb45 Merge branch 'clickbait' into 'master'
Mostly dehardcode skills

See merge request OpenMW/openmw!3112
2 years ago
Zackhasacat 3e52971a13 Add duration to core.MagicEffectWithParams 2 years ago
glassmancody.info c27904aa92 lua - add world to viewport function to camera 2 years ago
Petr Mikheev 17a544bdbb Update l10n/OMWEngine/fr.yaml (sort message and add "GmstOverridesL10n") 2 years ago
Evil Eye f02dd0ef03 Implement onNewExterior to spawn fish in generated exteriors 2 years ago
Petr Mikheev 718d5e4a71 Add setting "gmst overrides l10n" 2 years ago
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
2 years ago
Zackhasacat c108989b26 Allow Lua to access lock and trap data for doors and containers 2 years ago
psi29a 240cc73a8d Merge branch 'add_creature_type_type_prop' into 'master'
Lua: Add type property to types.Creature

See merge request OpenMW/openmw!3132
2 years ago
Kindi 43e92fa1c9 Add type prop for types.Creature 2 years ago
Arnaud Dochain 05bde3862f Add missing french localization ( #7417 ) 2 years ago
Petr Mikheev 3b43cc2aea Lua: change obj.rotation from Euler angles to Quaternion 2 years ago
Evil Eye 9772845f7b Address feedback 2 years ago
Evil Eye 66d9d7e585 Expose levelled creatures to Lua 2 years ago
psi29a 724d29aa63 Merge branch 'add_getBounty_to_types_Player' into 'master'
Lua: Add getCrimeLevel() to types.Player

See merge request OpenMW/openmw!3118
2 years ago
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
2 years ago
psi29a ca57bbe644 Merge branch 'debug_tgm_tcl' into 'master'
Lua commands debug.toggleGodMode and debug.toggleCollision

See merge request OpenMW/openmw!3113
2 years ago
Kindi 8962cb818c Add getCrimeLevel() to types.Player 2 years ago
Evil Eye 2cb77ed48f Dehardcode skill selection 2 years ago
Tobias Tribble 41a2c82f93 Added scale property and setScale function 2 years ago
Petr Mikheev e773b9d055 Lua commands debug.toggleGodMode and debug.toggleCollision 2 years ago
Petr Mikheev e84ef1d5d9 More Lua documentation about FormId 2 years ago
Petr Mikheev 3b5849add8 Move content files functions to `core.contentFiles` and add `obj.contentFile` 2 years ago
Petr Mikheev a778dff61d Add Lua functions to get the current load order and search objects by RefNum/FormId 2 years ago
Petr Mikheev 773669e69b Add Lua script to handler ESM4 doors with Flag_AutomaticDoor 2 years ago
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
2 years ago
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.
2 years ago
Kindi dfafac72e9 add startingPosition and startingRotation lua property to gameobject 2 years ago
Petr Mikheev 115f1e9800 Fix tree shadows when TreeAnim flag is used 2 years ago
Petr Mikheev 788a4d32aa Handle DoubleSided and TreeAnim flags in BSLightingShaderProperty. 2 years ago
Mads Buvik Sandvei 85a30c9ad0 Fix signature of MWMechanics::MagicEffects::get. Fix a mistake in the docs. 2 years ago
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
2 years ago
Zackhasacat ef004e5eba Allow creating Activator, Armor, Clothing, Misc, Weapon records via lua 2 years ago
Mads Buvik Sandvei b5aefc872b Document the optional attribute/skill parameter of getEffect. 2 years ago
Mads Buvik Sandvei 5f6bd5466f #number -> #string in documentation 2 years ago
Mads Buvik Sandvei 8ac7b04770 ActiveEffects / ActiveSpells documentation 2 years ago
Mads Buvik Sandvei c03c3c40d5 documentation of MagicEffectId enum 2 years ago
psi29a 1ce35fa9e7 Merge branch 'lua-bounding-box' into 'master'
Expose game object's bounding box in lua api

See merge request OpenMW/openmw!3009
2 years ago
glassmancody.info a7b7f99d72 Expose game object's bounding box in lua api 2 years ago
psi29a 5fba79ece3 Merge branch 'teleport' into 'master'
Additional Lua bindings for cells and fixes for teleporting

See merge request OpenMW/openmw!3017
2 years ago
Petr Mikheev e657874351 Lua commands getSelectedSpell/setSelectedSpell 2 years ago
Petr Mikheev ce7f6f31c9 Additional Lua bindings for cells 2 years ago
Petr Mikheev 2725a9d7f4 Add option "onGround=true/false" in Lua teleporting 2 years ago
psi29a c15710c35b Merge branch 'settings_values_index' into 'master'
Use typed settings storage for settings window (#6876)

See merge request OpenMW/openmw!2997
2 years ago
Petr Mikheev 067df2d07e Rename some functions in Lua API from `aaa` to `getAaa` (for consistency with `setAaa`) 2 years ago
elsid f41c087945
Use proper setting value types in layout file 2 years ago
Abdu Sharif 50076461ea Update openmw_postprocessor_hud.skin.xml 2 years ago
Tobias Tribble 15d940654d Fixed field error in documentation 2 years ago
Tobias Tribble b52ab04c43 Added soulValue to creatureRecord, added documentation 2 years ago
Zackhasacat f6fb05d1ca Add functionality for lua to view and modify ownership data for GameObjects 2 years ago
psi29a 88969d5725 Merge branch 'shaders_formatting' into 'master'
Improve shaders formatting

See merge request OpenMW/openmw!2950
2 years ago
Andrei Kortunov 6ce0d9e9b9 Localize testcells/testinteriorcells progress text 2 years ago
Andrei Kortunov 1be1f72f6c Improve shaders formatting 2 years ago
Petr Mikheev 90397662bc Lua bindings for magic. Based on the work made by @bharbich in !2765. 2 years ago
Petr Mikheev 480951207c Activation handler for ESM4 Door 2 years ago
psi29a 2a6e301925 Merge branch 'activation' into 'master'
Allow Lua scripts to extend or override standard activation mechanics

See merge request OpenMW/openmw!2935
2 years ago
psi29a cace3e6566 Merge branch 'fix_teleporting' into 'master'
Fix bugs related to Lua commands `obj:teleport` and `obj:moveInto`

See merge request OpenMW/openmw!2937
2 years ago
Petr Mikheev 00beb06391 Initial Lua bindings for ESM4 types; bindings for ESM4Door. 2 years ago
Petr Mikheev 60a8d08e66 Refactor teleporting in Lua; fix a bug in worldmodel.cpp 2 years ago
Petr Mikheev 61d207bd78 Allow Lua scripts to extend or override standard activation mechanics 2 years ago
Zackhasacat 224b7a0bf8 Allow Soul values on Misc Items to be set by Lua 2 years ago
psi29a d6d7746c9b Merge branch 'records' into 'master'
[Lua] Fix implementation of types.*.records

See merge request OpenMW/openmw!2918
2 years ago
Petr Mikheev 55c9cde2ed [Lua] Add missing `record.id` for NPC and Creature records. 2 years ago
Petr Mikheev 9279c3d3e1 [Lua] Fix implementation of types.*.records 2 years ago
Mitten.O d1fd6d77ca Document the records function for all record types 2 years ago
Mitten.O 11953a421b Document the records function 2 years ago
psi29a b0a129d6e4 Merge branch 'ripples' into 'master'
Implement shader-based water ripples

See merge request OpenMW/openmw!2877
2 years ago
Andrei Kortunov 909e301dc6 Increase distotion level 2 years ago
Andrei Kortunov 295f528f08 Use Allman brackets 2 years ago
Mads Buvik Sandvei e666f36b60 [Multiview] Fix transparent pass and vertex shader 2 years ago
Andrei Kortunov e17281ac67 Implement shader-based water ripples (feature 3537) 2 years ago
Andrei Kortunov 4ff9e1956f Localize messagebox about disabled postprocessor 2 years ago
Andrei Kortunov 31760da2a5 Fix a typo in GMST mapping 2 years ago
uramer 7f3926db3f Merge branch 'lua_ai' into 'master'
Expose the argument `cancelOther` of `AiSequence::stack` to Lua

Closes #7245

See merge request OpenMW/openmw!2865
2 years ago
uramer ee1551f02c Merge branch 'l10n' into 'master'
Dehardcode non-game-specific localization GMSTs

See merge request OpenMW/openmw!2855
2 years ago
Mitten Orvan 4744b1eeda Make API for creating potions 2 years ago
Petr Mikheev 3c5a9f55c5 Expose the argument `cancelOther` of `AiSequence::stack` to Lua 2 years ago
Petr Mikheev f442e2831e Fixes in calendar.lua 2 years ago
Petr Mikheev 618b912a20 Dehardcode non-game-specific localization GMSTs; Update l10n files. 2 years ago
psi29a db1b260323 Merge branch 'gmst_l10n' into 'master'
Support links to GMSTs in l10n files; extract Morrowind-specific l10n files to a separate directory

See merge request OpenMW/openmw!2822
2 years ago
elsid 5dfb70e8a7
Name ui elements 2 years ago
Alexander Olofsson 62750ae821
Update AppData summary to be more concise
This brings the AppData in line with the Debian package title
2 years ago
Petr Mikheev 685f86f19e Move Morrowind-specific l10n files to a separate data dir; dehardcode a few GMST names. 2 years ago
Krzysztof Antoniak ccdd381f96 Minor fixes to Lua documentation 2 years ago
Cody Glassman 6a64f352a4 fix shader compilation 2 years ago
psi29a 2b9f962f7c Merge branch 'minimal_element_leak' into 'master'
Minimal solution to UI Element leak

See merge request OpenMW/openmw!2770
2 years ago
uramer 9e22a5ac43 Add a note in the docs 2 years ago
Andrei Kortunov be488649c3 Add support for non-adaptive VSync (feature 7129) 2 years ago
psi29a 8651ea4412 Merge branch '7214-add-searching-to-ingame-console' into 'master'
Searching in the in-game console

Closes #7214

See merge request OpenMW/openmw!2759
2 years ago
psi29a 4faa1bf3e8 Merge branch 'moo-bitch-get-out-my-hay' into 'master'
Don't use FFP-friendly texture image units for shadow maps

Closes #7102

See merge request OpenMW/openmw!2682
2 years ago
Cody Glassman ac4787aeec shade refactor 2 years ago
Shihan42 b80556b5af Add buttons to search for next and previous occurrence 2 years ago
Shihan42 63659224fd Add new EditBox for searching to console layout 2 years ago
Alexei Kotov 2de81738c1 Implement the basics of BSEffectShaderProperty 2 years ago
Alexei Kotov 2b56ab327c Only attempt attacks in an attack stance 2 years ago
Petr Mikheev 0c3237ad78 Fix #7223 2 years ago
psi29a bfb6bab33b Merge branch 'luaclothingbinds' into 'master'
Lua API for Clothing records

See merge request OpenMW/openmw!2723
2 years ago
Kindi 1d35a83452 Update types.lua 2 years ago
Alexei Kotov 0142caacf7 Use falloff start and stop opacity in NoLighting shader 2 years ago
Kindi 4734504e2c Lua binding for Clothing 2 years ago
psi29a b385f27f86 Merge branch 'console_history' into 'master'
Remembering console commands between sessions

Closes #7125

See merge request OpenMW/openmw!2603
2 years ago
Kindi 044d82a842 Remembering console commands between sessions 2 years ago