25 May 2023 |
Foal (Mads) | (it's best to use the enum when you can to avoid typos) | 16:13:22 |
26 May 2023 |
zackhasacat | The other day, the bindings for creating records was merged. However, for the moment it’s not all that useful for clothing and armor, since body parts can’t be set yet. I hope to add that to the record type next month. I’m guessing it can be a lua part type? Only it won’t be for the actual part, just a reference to the part(male and female) I think it can be used for armor and clothing. | 21:21:47 |
zackhasacat | Unless it would be better to just have a “base clothing/armor” item | 21:21:50 |
27 May 2023 |
Mikhail#8429 | Hi, could someone help me, what's changed between 0.48 and latest dev build for lua openmw.postprocessing ?
It's look like providing uniform just stopped works (everything else works as expected)
this is my uniform definition
uniform_float uPower {
default = 0.0;
min = 0.0;
max = 1.0;
step = 0.05;
static = false;
description = "Power of the health pulsation";
}
this is code that I use to set it
shader:setFloat('uPower', smoothed_power) | 15:21:49 |
Mikhail#8429 | * Hi, can someone help me? What's changed between 0.48 and latest dev build for lua openmw.postprocessing ?
It's look like providing uniform just stopped works (everything else works as expected)
this is my uniform definition
uniform_float uPower {
default = 0.0;
min = 0.0;
max = 1.0;
step = 0.05;
static = false;
description = "Power of the health pulsation";
}
this is code that I use to set it
shader:setFloat('uPower', smoothed_power) | 15:26:01 |
wazabear | nothing | 15:26:40 |
wazabear | can you provide files to reproduce? | 15:26:56 |
Mikhail#8429 | shader: https://github.com/mrazorvin/modern-combat-openmw/blob/main/shaders/modern_combat_low_fatigue.omwfx player script: https://github.com/mrazorvin/modern-combat-openmw/blob/main/scripts/ModernCombat/shader.lua | 15:28:28 |
wazabear | Restart game and remove this line https://github.com/mrazorvin/modern-combat-openmw/blob/main/shaders/modern_combat_low_fatigue.omwfx#L35 | 15:41:22 |
wazabear | Does that fix? | 15:41:25 |
wazabear | Nvm, it's something else | 15:49:21 |
wazabear | There was a change to the bindings, but it was an unrelated refactor. Musta been that, need to investigate. | 15:51:06 |
wazabear | What in tarnation, on engine side its reading that uniform name as Hà└u♦à█u→Hït$@+▌☺_ Hï\$0 | 15:52:35 |
wazabear | | 15:52:46 |
DeathDaisy🌈#9587 | by azura | 15:53:15 |
Capo#6530 | i think it wants to say hi | 15:54:21 |
wazabear | must be junk string, probably lambda capture misuse | 15:54:35 |
wazabear | This should fix https://gitlab.com/OpenMW/openmw/-/merge_requests/3070 | 16:03:42 |
Mikhail#8429 | Thanks, very cool | 16:05:14 |
wazabear | Did the GitLab ui change or am I going crazy | 16:05:58 |
wazabear | Things feel, smaller | 16:06:29 |
AnyOldName3#5223 | When GitLab 16 launched, it ruined the Preview button so now it's tiny and on the right and more of a pain to check my complicated markdown. | 16:15:43 |
AnyOldName3#5223 | That was a few weeks ago, so possibly coincided with whatever you're seeing. | 16:16:00 |
zackhasacat | Seems like self.controls.use does not work properly on NPCs?
If you do luas then self.controls.use(while a weapon is helf), you hear a weapon swish, but don't see it. | 20:22:29 |
zackhasacat | * Seems like self.controls.use does not work properly on NPCs?
If you do luas then self.controls.use = 1(while a weapon is helf), you hear a weapon swish, but don't see it. | 20:24:35 |
Capo#6530 | is the npc in combat? | 20:26:05 |
zackhasacat | No, AI is disabled | 20:26:18 |
zackhasacat | * Seems like self.controls.use does not work properly on NPCs?
If you do luas then self.controls.use = 1(while a weapon is held), you hear a weapon swish, but don't see it. | 20:29:12 |
urm (uramer) | I've had it work before, but it was when setStance didn't exist, so I had to trick the AI to start the combat first (and draw the weapon) So maybe there is some hard-coded logic for cancelling attacks when not in combat | 22:04:03 |
urm (uramer) | Which is not behind the AI toggle flag | 22:04:13 |