!bZkoSqWsCTysAjmRaC:matrix.org

OpenMW Lua

1518 Members
https://openmw.org/ || Rules: https://rentry.co/omw_rules || Other rooms related to OpenMW: #openmw-space:matrix.org6 Servers

Load older messages


SenderMessageTime
25 May 2023
@_discord_240514126059798528:t2bot.ioFoal (Mads) (it's best to use the enum when you can to avoid typos) 16:13:22
26 May 2023
@_discord_127678330722844672:t2bot.iozackhasacat 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
@_discord_127678330722844672:t2bot.iozackhasacat Unless it would be better to just have a “base clothing/armor” item 21:21:50
27 May 2023
@_discord_388397132132122624:t2bot.ioMikhail#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
@_discord_388397132132122624:t2bot.ioMikhail#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
@_discord_414058251299192832:t2bot.iowazabear nothing 15:26:40
@_discord_414058251299192832:t2bot.iowazabear can you provide files to reproduce? 15:26:56
@_discord_388397132132122624:t2bot.ioMikhail#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
@_discord_414058251299192832:t2bot.iowazabear 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
@_discord_414058251299192832:t2bot.iowazabear Does that fix? 15:41:25
@_discord_414058251299192832:t2bot.iowazabear Nvm, it's something else 15:49:21
@_discord_414058251299192832:t2bot.iowazabear There was a change to the bindings, but it was an unrelated refactor. Musta been that, need to investigate. 15:51:06
@_discord_414058251299192832:t2bot.iowazabear What in tarnation, on engine side its reading that uniform name as Hà└u♦à█u→Hït$@+▌☺_ Hï\$0 15:52:35
@_discord_414058251299192832:t2bot.iowazabear 15:52:46
@_discord_105615196327829504:t2bot.ioDeathDaisy🌈#9587 by azura 15:53:15
@_discord_172758567592525824:t2bot.ioCapo#6530 i think it wants to say hi 15:54:21
@_discord_414058251299192832:t2bot.iowazabear must be junk string, probably lambda capture misuse 15:54:35
@_discord_414058251299192832:t2bot.iowazabear This should fix https://gitlab.com/OpenMW/openmw/-/merge_requests/3070 16:03:42
@_discord_388397132132122624:t2bot.ioMikhail#8429 Thanks, very cool 16:05:14
@_discord_414058251299192832:t2bot.iowazabear Did the GitLab ui change or am I going crazy 16:05:58
@_discord_414058251299192832:t2bot.iowazabear Things feel, smaller 16:06:29
@_discord_223500022422044672:t2bot.ioAnyOldName3#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
@_discord_223500022422044672:t2bot.ioAnyOldName3#5223 That was a few weeks ago, so possibly coincided with whatever you're seeing. 16:16:00
@_discord_127678330722844672:t2bot.iozackhasacat 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
@_discord_127678330722844672:t2bot.iozackhasacat * 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
@_discord_172758567592525824:t2bot.ioCapo#6530 is the npc in combat? 20:26:05
@_discord_127678330722844672:t2bot.iozackhasacat No, AI is disabled 20:26:18
@_discord_127678330722844672:t2bot.iozackhasacat * 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
@_discord_102182125494636544:t2bot.iourm (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
@_discord_102182125494636544:t2bot.iourm (uramer) Which is not behind the AI toggle flag 22:04:13

There are no newer messages yet.


Back to Room ListRoom Version: 6