This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
admins:custom_content [2019/10/14 15:29] Mavrixio created |
admins:custom_content [2019/10/14 16:10] (current) Mavrixio |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using Custom Content ====== | ====== Using Custom Content ====== | ||
+ | Custom Content include any game resources that is not part of the module. | ||
===== Server vs Client Side Content ===== | ===== Server vs Client Side Content ===== | ||
- | Not all custom content need to be on both the client (players) and server side. | + | Not all custom content need to be on both the client (players) and server side, most of them only need to be on one side. |
+ | |||
+ | ==== Client Side Resources ==== | ||
+ | - Textures (*.tga, *.dds, *.plt, *.bmp...) | ||
+ | - Models (*.mdl) | ||
+ | |||
+ | |||
+ | ==== Client and Server Side Resources ==== | ||
+ | - Walkmeshes (*.wok, *.pwk, *.dwk) | ||
+ | - Tilesets information(*.set) | ||
+ | - **Specific** .2da | ||
+ | |||
+ | ==== Server Side Resources ==== | ||
+ | - Custom .2da | ||
+ | |||
+ | ===== Distributing Client Side Content ===== | ||
+ | For your players to have access to the client side resources, you need put them into [[https://nwn.fandom.com/wiki/Hak_pak|hak packs]] (Haks): | ||
+ | * Put your custom content into the .hak files | ||
+ | * Compress your hak files | ||
+ | * Upload your compressed hak files somewhere like the [[https://neverwintervault.org/|Neverwinter Vault]] | ||
+ | * Send the download link to your players, like this: [[https://sinfar.net/getting_started/haks|Sinfar Haks Download Page]] | ||
+ | |||
+ | ===== Making Players Load Specifics Haks When Entering Your Server ===== | ||
+ | Sinfar has an "Hakset" system which let you make players load different haks base on where they are located in the server for example. | ||
+ | \\ | ||
+ | \\ | ||
+ | An Hakset is a list of haks, they can be defined in the [[https://nwn.sinfar.net/res_2da_edit.php?erf_id=469&resref=hakset_list|hakset_list]] 2da. The HAKSET_TABLE column point to another 2da which list all hak that need be loaded when a player has this Hakset enabled. For example: [[https://nwn.sinfar.net/res_2da_edit.php?erf_id=469&resref=hakset_default|hakset_default]] | ||
+ | \\ | ||
+ | \\ | ||
+ | By default players will load a specific hakset, it is determined in your server config page: | ||
+ | \\ | ||
+ | {{:admins:custom_content_20191014-115459.png?500}} | ||
+ | |||
+ | ===== Uploading Server Side Custom Content Resources ===== | ||
+ | * Put all resources that **need** to be on the server side, in a folder or hak | ||
+ | * Compress the folder or hak | ||
+ | * Upload the compressed file in the Top Haks section of your server config page: {{:admins:custom_content_20191014-120926.png?500}} | ||