tes3mp-scripts
tes3mp-scripts copied to clipboard
Collection of all my scripts for tes3mp
tes3mp-scripts
Collection of all my scripts for tes3mp. Important note: Many of these scripts are for v0.6, and only exist here so that links don't break. For scripts created for versions beyond v0.6, look in the appropriately named folders.
Scripts
flatModifiers
Steam Disucssion - Change the way that the attribute advancement modifiers on level up are calculated.
markRecall
Steam Discussion - A patch that adds the functionality of marking and recalling via server command, useful until the spells get fixed.
salesChest
Steam Discussion - Players can claim containers and sell its contents.
serverWarp
Steam Discussion - Adds the ability to save locations and later warp to them.
Resources
itemInfo
Steam Discussion - A compilation of data on the game's items and some related functions for use in server scripts. Not all items are currently implemented.
classInfo
Steam Discussion - A compilation of data on the game's base classes and some related functions for use in server scripts. NPC classes not yet implemented.
Usage
Needs to be required somewhere.
See the file itself for full information on/list of Methods.
classInfo.GetPlayerClassData(pid) - returns a table of information on the provided player's class (custom or default).
classInfo.GetCustomClassData(pid) -returns a table of information on the provided player's custom class. Should probably just use classInfo.GetPlayerClassData(pid) instead.
classInfo.GetClassData(className) - returns a table of information on the provided class.
classInfo.GetGovernedAttribute(skillId) - returns the attribute id of the attribute that governs the skill.
classInfo.GetSpecializationName(specializationId) - returns the name of the specialization that has the provided specialization id (e.g. 0 returns "Combat")
Useful Default Functions
tes3mp.GetAttributeName(attributeId)
tes3mp.GetSkillName(skillId)
tes3mp.GetAttributeId(attributeName)
tes3mp.GetSkillId(skillName)
Legacy Scripts
salesChestGlobalHack
Just a quick hack of sales chest to add the global mode, before I actually added it in a less-hacky manner to the main script. Don't use this one. I don't even know why it's still here :P
flatModifiersBasic
Steam Discussion - Original version of flatModifiers, which wasn't dependant on classInfo.