S.e.p.t.i.: Easy Persistentworld Template Initiative

Plugins

xp_aspectManager

This DLL is divided into two main parts :

  • The first part manages lists of appearances, primarily for items but also for hair and faces.
  • The second part offers a diverse set of options for accessing and manipulating all in-game objects.

 

The first part is a list management system for the appearance of in-game items, hair and face.
The plugin automatically scans your hak and zip files at server startup to create appearances lists and provides functions to easily acccess and manage them.

Key features:

  • Automatic scanning of hak and zip files for available aspects during server startup.
  • Customizable categorization of aspects, allowing you to create categories such as "Mage Rob" containing various individual aspects from different sources.
  • Easy access to up-to-date appearance lists, eliminating the need for manual updates.

The second part of the plugin greatly expands script access to game objects, aiming to provide the ability to perform through scripts virtually anything that can be done with the Toolset. 
With more than 200 new functions, the plugin significantly enhances the capabilities of NWN2.


The following is a list of the features currently available:

  • Item :
    • Get/Set all aesthetic parts of an item, such as visual variation, type, armor parts, colors, visual effect, and UV Scroll.
    • Get/Set item type, allowing you to change any object into any other type (e.g., transforming a sword into an axe).
    • Get/Set item description, including non-identified description.
    • Get/Set all the Cost values
    • Various function to manage DamageReductions
    • Refresh item function that allows you to immediately see the changes made to the item without having to move it in inventory, unequip/reequip it, etc.
  • Area :
    • Get/Set all the option of the Day/Night cycle.
    • Get/Set Area option, such as type (Interior, natural, ..),  Rest and PvP possibility, Area Skill Modificator, .. 
  • Light :
    • Get/Set Almost every light options (colors, flicker options, range, ...)
  • Creature :
    • You can now Set the saving throw for creature too !
    • Manage all visual aspects of creatures (including non-armor outfits).
    • Highly customizable AC changes (get/set all types of AC: armor, deflection, dodge, natural, shield, and unarmored).
    • Change the gender effectively.
    • Get/Set Age
    • Get/Set SoundSet
    • Get/Set Race / SubRace
    • Get/Set Carried Weight
  • Placeable :
    • Get/Set Has Inventory
    • Get/Set Inventory Max Size (for now : can't be bigger than 136 slots)
    • Get/Set appearance (visual and UVScroll)
    • Get/Set Collision
  • Trigger :
    • Change the shape of your trigger at will  !
  • HitPoints :
    • Get/Set Current, Temporary and Max hitpoints
  • Lock (door and placeables) :
    • Get/Set AutoremoveKey
  • Transition (door and trigger) :
    • Allow you to customize every aspect of a transition (transition or not, destination, behavior, ...)
  • Position :
    • Set position and facing for every objects !
  • Music :
    • Set Day/Night/Battle Music for a specific player
    • Start/Stop the Background/Battle Music for a specific player
  • Refresh/Visual :
    • Hide/Show objects for specific player
    • Refresh objects to imediatly show modifications

 

Tailor Smooth System (link)
 


 

Editor (link)

 

The plugin will continue to evolve with the following planned improvements:

  • Expand the get/set functions to cover more aspects of game objects, with the goal of allowing in-game changes for everything that can be changed in the Toolset.
  • Enhance the refresh functions to enable different players to see different things, such as the "true form" of a demon or ghosts that can only be seen by spirits, and to facilitate hallucinations and other visual effects.
  • Add more refresh functions to ensure that changes are immediately visible without requiring an area reload.

v1.4.6 (2024/10/30) (dll & nwnx_aspectManager_item.nss)

  • Added function to manage costs :
    • Get/SetItemBaseCost_xpAM
    • Get/SetItemNonIdentifiedCost_xpAM
    • Get/SetItemCostModifier_xpAM
  • Added a bunch of functions to manage/get  damageReductions

v1.4.5 (2024/10/10) (dll & nwnx_aspectManager_creature.nss & nwnx_aspectManager_area.nss)

  • Improve the memory management
  • Added fonction to manage/get carried weight :
    •  Get/SetCreatureEquipmentWeight_xpAM
    • RecalculateCreatureTotalWeight_xpAM / GetCreatureTotalWeight_xpAM
  • Add the possibility to get the AreaCreatorID : GetAreaCreatorID_xpAM

v1.4.4 (2024/07/14) (dll & nwnx_aspectManager_creature.nss)

  • Fixed a bug that show a bad armor type on refresh
  • Added four new consistants functions to manage Race/SubRace : Get/SetCreature(Sub)Race_xpAM 

v1.4.3 (2024/05/25) (dll only)

  • Better management of old ArmorSaveFile (from version older than1.4). 

v1.4.2 (2024/05/18) (dll & nwnx_aspectManager_item.nss)

  • Fixed a possible client crash when a pc use a changeform spell/ability while wearing belt and armor and have enough observer
  • Fixed a bunch of Area functions
  • Added two news functions : GetItemModelPartMask_xpAM and SetItemModelPartMask_xpAM

v1.4.1 (2024/05/16) (dll only)

  • Fixed a possible crash when set Position and/or  Orientation of a trigger

v1.4 (2024/05/15) (dll & nss)

  • Widely reworked the plugin and API. /!\ Previous versions are no longer compatible /!\
  • Improved appearance scan at startup
  • More robust appearance list save
  • Better Belt fix
  • Add numerous new functions

v1.12

  • First widely distributed & stable version.