1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-28 21:15:34 +00:00
openmw-tes3mp/components
David Cernat b57807407a [General] Implement RecordDynamic packet, part 1
Spell, potion, enchantment, creature, NPC, armor, book, clothing, miscellaneous and weapon record data can now be sent in a RecordDynamic packet. Additionally, the packets include data related to associated magical effects (for spells, potions and enchantments), data related to default inventory contents (for creatures and NPCs) and data related to body parts affected (for armor and clothing).

The server now has associated script functions for setting most of the details of the above, with the main exception being individual creature and NPC stats.

Records can either be created entirely from scratch or can use an existing record (set via the baseId variable) as a starting point for their values. In the latter case, only the values that are specifically set override the starting values. Creature and NPC records also have an inventoryBaseId that can be used on top of the baseId to base their inventories on another existing record.

The client's RecordHelper class has been heavily expanded to allow for the above mentioned functionality.

When players create spells, potions and enchantments as part of regular gameplay, they send RecordDynamic packets that provide the server with the complete details of the records that should be created. When they create enchantments, they also provide the server with armor, book, clothing and weapon records corresponding to the items they've enchanted.

This functionality added by this packet was originally supposed to be exclusive to the rewrite, but I've gone ahead and tried to provide it for the pre-rewrite in a way that can mostly be reused for the rewrite.
2018-07-30 10:56:26 +03:00
..
bsa http to https for supported urls (#1625) 2018-03-08 21:23:24 +01:00
compiler Resolve merge conflicts 2018-06-13 08:22:37 +02:00
config Make hasMaster() behavior consistent with isGameFile() (fixes #3618) 2018-03-28 15:43:51 +03:00
contentselector Merged pull request #1623 2018-06-09 10:49:04 +02:00
crashcatcher Merge pull request #460 from OpenMW/master 2018-07-21 05:59:57 +03:00
esm Merge pull request #456 from OpenMW/master while resolving conflicts 2018-07-04 01:52:29 +03:00
esmterrain Initialize some missing fields in constructors 2018-06-25 09:35:42 +04:00
fallback Revert log spam 2018-04-22 15:41:25 +00:00
files Removed escape_hash_filter::mPrevious, removed usage of boost::replace_all 2017-11-11 22:58:02 +00:00
fontloader [Fix] Some PVS-Studio and cppcheck fixes 2018-04-18 12:36:10 +00:00
interpreter [Client] Record type of each InterpreterContext for later checking 2018-07-23 00:46:07 +03:00
loadinglistener use loading screen to freeze the screen 2017-11-16 22:08:33 +01:00
misc Revert "Don't force DDS file usage (fixes #1392)" 2018-06-04 17:08:09 +02:00
myguiplatform purge unnecessary imports 2017-06-09 19:08:53 +02:00
nif Refactor NifStream class (eliminate LNK4221 MSVC warning) 2018-07-10 13:32:52 +04:00
nifbullet Put check for nif file name into separate function 2018-07-10 23:46:06 +03:00
nifosg Improve MRK NiStringExtraData handling (bug #4419) 2018-06-08 15:44:35 +04:00
openmw-mp [General] Implement RecordDynamic packet, part 1 2018-07-30 10:56:26 +03:00
process OSX build fix 2014-11-20 18:14:49 +01:00
resource Use the DejaVuLGCSansMono.ttf in profilier output 2018-07-11 14:41:49 +04:00
sceneutil Add an empty compileGLObjects implementation to Rig/MorphGeometry to avoid unnecessary creation of display list done by osg 2018-04-18 12:36:08 +00:00
sdlutil Force software decompression if OPENMW_DECOMPRESS_TEXTURES is set 2018-06-16 12:38:16 +02:00
settings http to https for supported urls (#1625) 2018-03-08 21:23:24 +01:00
shader Reduce error spam 2017-11-08 00:24:03 +00:00
terrain Initialize some missing fields in constructors 2018-06-25 09:35:42 +04:00
to_utf8 Fix typo in a comment 2015-12-10 00:15:55 +01:00
translation Merge pull request #228 from OpenMW/master while resolving conflicts 2017-06-18 18:16:10 +03:00
version Allow getting available version information even when clone is shallow 2017-03-07 21:53:49 +01:00
vfs Ignore duplicate data directories to work around the fallout of (Fixes #3557) 2018-01-14 00:25:20 +00:00
widgets Initialize some missing fields in constructors 2018-06-25 09:35:42 +04:00
CMakeLists.txt [General] Turn PlayerRegionAuthority into WorldRegionAuthority 2018-07-17 09:21:13 +03:00
doc.hpp