Skip to content

Instantly share code, notes, and snippets.

Techniques=MartysMods_MXAO@MartysMods_MXAO.fx,LumaSharpen@LumaSharpen.fx,Clarity2@Clarity2.fx,lilium__inverse_tone_mapping@lilium__inverse_tone_mapping.fx,lilium__hdr_black_floor_fix@lilium__hdr_black_floor_fix.fx
[Clarity2.fx]
BlendIfRange=0.200000
ClarityBlendIfDarkTwo=50
ClarityBlendIfLightTwo=205
ClarityBlendModeTwo=0
ClarityDarkIntensityTwo=0.400000
ClarityLightIntensityTwo=0.000000
ClarityOffsetTwo=8.000000
@Liareth
Liareth / gist:f9b5b752eead6a66c0cfd95ae7946663
Created August 18, 2023 20:49
Osiris Functions (BG3 HF4)
[Query] CanJoinCombat (UnknownType, GuidString, Integer)
[Event] MessageBoxChoiceClosed (None, UnknownType, String, String)
[Call] ExecuteDeal (None, UnknownType, Integer, Integer)
[Call] StartSightEvents (None, UnknownType)
[Call] FleeFromObject (None, UnknownType, GuidString, Real)
[Query] IntegerMax (UnknownType, Integer, Integer, Integer)
[Query] IntegerDivide (None, Integer, Integer, Integer)
[Query] IntegerSubtract (None, Integer, Integer, Integer)
[Query] IntegerSum (None, Integer, Integer, Integer)
[Query] IntegerProduct (None, Integer, Integer, Integer)
WPN_STAVE
PALADIN_TEMPUS
GUARD
WPN_VFX_QUARTERSTAFF
WPN_VFX_SHORTBLADE_SLASH
SCRYING_EYE
PALADIN_LOLTH
CLERIC_SHAR
MASKED
GNOLL_FLESHGNAWER
#MAXMODEL ASCII
newmodel pnl_hpbar
classification CHARACTER
setsupermodel pnl_hpbar NULL
setanimationscale 1
#MAXGEOM ASCII
beginmodelgeom pnl_hpbar
node dummy pnl_hpbar
parent NULL
position 0 -0.3 0
{
// This is the template file for a chat bot using gpt-3.5-turbo.
// Each character should be its own file which should be included via the userfile command line.
// Note, this file is old and contains some old stuff
"variables": {
// Users must implement these variables to create a character.
"%CHAT_CONTEXT%": "%%UNIMPLEMENTED%%",
"%CHAT_GUIDELINES%": "%%UNIMPLEMENTED%%",
Summoned Formian Taskmaster
Str: 18 -> 22
Dex: 10 -> 14
Con: 18 -> 22
Int: 10
Wis: 13
Cha: 12
NaturalAC: 10 -> 14
MaximumHP: 59 -> 104
#include "MoveSpeed.hpp"
#include "API/CAppManager.hpp"
#include "API/Constants.hpp"
#include "API/CServerExoApp.hpp"
#include "API/CNWSCreature.hpp"
#include "API/Functions.hpp"
#include "API/Globals.hpp"
#include "API/Version.hpp"
#include "Services/Events/Events.cpp"
// This header includes everything that is necessary for spawning loot on Arelith.
#include "gs_inc_pc"
#include "inc_lootdist"
#include "inc_lootgen"
#include "inc_lootname"
#include "inc_lootresref"
#include "mi_inc_database"
#include "mi_log"
#include "x3_inc_string"
void Metrics::Update(ViewPtr<Tasks> tasks)
{
for (auto& resampler : m_resamplers)
{
ResamplerData* data = resampler.second.get();
if (data->m_isWorkingAsynchronously)
{
continue;
}
#include "nwnx"
const int NWNX_CREATURE_MOVEMENT_RATE_PC = 0;
const int NWNX_CREATURE_MOVEMENT_RATE_IMMOBILE = 1;
const int NWNX_CREATURE_MOVEMENT_RATE_VERY_SLOW = 2;
const int NWNX_CREATURE_MOVEMENT_RATE_SLOW = 3;
const int NWNX_CREATURE_MOVEMENT_RATE_NORMAL = 4;
const int NWNX_CREATURE_MOVEMENT_RATE_FAST = 5;
const int NWNX_CREATURE_MOVEMENT_RATE_VERY_FAST = 6;
const int NWNX_CREATURE_MOVEMENT_RATE_DEFAULT = 7;