Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2da load reference2da NameNotes
m_paIPRPCostTables // all of themAll cost tables in iprp_costtable.2da column "Name"Example: iprp_bonuscost.2da
m_pAppearanceTableappearance.2da
m_pGenderTablegender.2da
m_pSurfaceMaterialTablesurfacemat.2daLoaded at game start so you cannot change it in a hakpack file, only in the override folder
m_pVisualEffectTablevisualeffects.2da
m_pPersistentVisualEffectTablevfx_persistent.2da
m_pCreatureSpeedTablecreaturespeed.2da
m_pDoorTypesTabledoortypes.2da
m_pGenericDoorsTablegenericdoors.2da
m_pPlaceablesTableplaceables.2da
m_pAreaTransitionTableloadscreens.2da
m_pIPRPSpellsiprp_spells.2da
m_pIPRPLightTableNot sure - probably iprp_lightcost.2da ?
m_pIPRPColoriprp_color.2da
m_pIPRPMeleeiprp_meleecost.2da
m_pItemPropDefTableitempropdef.2da
m_pItemPropsTableitemprops.2da
m_pCreatureSizeTablecreaturesize.2da
m_pArmorTablearmor.2da
m_pEncumbranceTableencumbrance.2da
m_pPortraitTableportraits.2da
m_pPartsChestparts_chest.2da
m_pSpellSchoolTablespellschools.2da
m_pTrapTabletraps.2da
m_pLightColorTablelightcolor.2da
m_pIPRPDamageTableiprp_damagecost.2da
m_pPartsRobeparts_robe.2da
m_pItemValueitemvalue.2da
m_pPackagespackages.2da

Presumably also all the relevant class package 2das


chargenclothes.2daClothing items must be part of the base game, or included in the hak as UTI resources

feat.2da

masterfeats,2da

Likely needed for both (chargen needs feat.2da, and server obviously needs it for backend stuff)

namefilter.2daNo bad words, naughty! Probably char gen only?

swearfilter.2daNo swearing for you!

prioritygroups.2daSound related but may be just client side (along with some others) usually never edited by hakpacks anyway.

Client Only

While many of these are only loaded by the game client, the toolset would still make regular use of them, for instance, to be able to have a blueprint reference a particular wing model on a suitable NPC.

...

2da load reference2da NameNotes
m_pPartTableNot sure?Model appearance related
m_pArmorTypesTablearmourtypes.2daSounds loading (cloth, leather, plate, chain)
m_pTileColorTabletilecolor.2daTexture loading
m_pReplaceTextureTablereplacetexture.2daTexture loading
m_pTailModelTabletailmodel.2daModel appearance related
m_pWingModelTablewingmodel.2daModel appearance related
m_pCloakModelTablecloakmodel.2da

Model appearance related

Note: CopyItemAndModify() may use this server-side in some instances (non-PLT based ones which there are none in the base game).

m_pCursorTablecursors.2daFor the cursors for certain default game actions.
m_pActionsTableactions.2daFor GUI icons list (player action list top left)
m_pAmbientMusicTableambientmusic.2daServer tells client which line to load, which refers to this for the sound files
m_pAmbientSoundTableambientsound.2daServer tells client which line to load, which refers to this for the sound files
m_pFootstepSoundsTablefootstepsounds.2daSounds loading
m_pAppearanceSoundsTableappearancesndset.2daSounds loading
m_pWeaponSoundsTableweaponsounds.2daSounds loading
m_pDefaultACSoundsTabledefaultacsounds.2daSounds loading
m_pAmmunitionTypesTableammunitiontypes.2daSounds loading
m_pKeymapTablekeymap.2daClient GUI default keys/shortcuts
m_pPlaceableSoundsTableplaceableobjsnds.2daSounds loading
m_pDamageLevelTable

damagelevels.2da

GUI showing how damaged something is (Formats the text over creatures heads)
m_pEffectIconsTableeffecticons.2daGUI effect icons (top right, inspect panel on items/characters, character sheet)
m_pLoadHintsTableloadhints.2daLoading string text loading
m_pSwearFilterTableswearfilter.2daIt's funny how this is here. I presume it alters incoming messages not outgoing ones? Needs testing. Servers can implement changes to PC chat to implement a filter using OnPlayerChat event.
m_pPhenoTypeTablephenotype.2daModel appearance related
m_pIPRPVisualFxTableiprp_visualfx.2daVisual effects
m_pWeatherTypesTableweathertypes.2daClient is just told which line to load

Server Only

2da load reference2da NameNotes
Any custom 2daeg: des_crft_aparts.2daLoaded with Get2DAString so entirely script based access



m_pStateScriptsTablestatescripts.2daRuns specific scripts
m_pPoisonTablepoison.2daApplies effects / timings of effect changes
m_pDiseaseTabledisease.2daApplies effects / scripts / timing of effect changes
m_pRepAdjustmentsTablerepadjust.2daEngine changes to "reputation" ie; if they're hostile or not.
m_pFractionalCRTablefractionalcr.2daWorks out how much a goblin with 1/4CR is "worth" in the engine XP system/"difficulty" tags (eg; "Easy" enemy when inspected)
m_pEncounterDifficultyTableencdifficulty.2daThe "value" column is loaded when referenced from the encounters GFF
m_pCategoryTablecategories.2daUsed by the functions for talents. Some is hardcoded (eg; potion lines). So yeah.
m_pExcitedDurationTableexcitedduration.2daPresumably amount of time in milliseconds (so 10 seconds) the thing is considered in combat after the events listed
m_pRestDurationTablerestduration.2daAmount of milliseconds to sit on the ground for
m_pPartsBeltparts_belt.2da
m_pPartsBicepparts_bicep.2da
m_pPartsFootparts_foot.2da
m_pPartsForearmparts_forearm.2da
m_pPartsHandparts_hand.2da
m_pPartsLegsparts_legs.2da
m_pPartsNeckparts_neck.2da
m_pPartsPelvisparts_pelvis.2da
m_pPartsShinparts_shin.2da
m_pPartsShoulderparts_shoulder.2da
m_pXpBaseexptable.2daLevelling up chart
m_pAssociatesAnimalCompanionTablehen_companion.2da
m_pAssociatesFamiliarTablehen_familiar.2da
m_pSkillVsItemCostTableskillvsitemcost.2da
m_pRangesTableranges.2da

Note the "45.0M" range for streaming in usable placeables is hardcoded, and a maximum of visibility regardless of values here of any creature object.

m_pPolymorphTablepolymorph.2da
m_pDamageHitVisualTabledamagehitvisual.2daSends a relevant visualeffect.2da line number to the client
m_pBodyBagTablebodybag.2daReferences a placeables.2da line
m_pIPRPFeatsTable

iprp_feats.2da


m_pIPRPMonsterDamageTableiprp_monsterdam.2da
m_pOnHitTableiprp_onhit.2daNote this pretty much is hardcoded
m_pOnHitSpellTableiprp_onhitspell.2da
m_pOnHitDurationTableiprp_onhitdur.2da
m_pIPRPACModTypeTableiprp_acmodtype.2da
m_pIPRPWeightIncTableiprp_weightinc.2da
m_pIPRPArcSpelliprp_arcspell.2da
m_pIPRPBonusCostTableiprp_bonuscost.2da
m_pIPRPSRCostTableiprp_srcost.2da

NWNX Reference

Source of what is referenced by the game engine (not complete - some 2da files seem to be loaded from elsewhere such as swear filters). It relates to this file: https://github.com/nwnxee/unified/blob/master/NWNXLib/API/API/CTwoDimArrays.hpp

...