Leaderboard


Popular Content

Showing content with the highest reputation on 03/20/2021 in all areas

  1. 2 points
    void main() { object oPC = GetFirstPC(); object oComp = GetItemPossessedBy(oPC, "bao_cmpnts"); DestroyObject(oComp); object oMesh = GetItemPossessedBy(oPC, "bao_mesh"); DestroyObject(oMesh); AddJournalQuestEntry("bao_armor", 50, FALSE); }
  2. 1 point

    Version 1.8.2

    14,670 downloads

    =PartySwap and Extended Enclave Compatibility Patch= A KNIGHTS OF THE OLD REPUBLIC II: THE SITH LORDS MODIFICATION AUTHOR: Leilukin FILE NAME: PartySwap_EEnclave_ComPatch.7z LATEST VERSION: 1.8.2 CONTACT: E-mail to leilukin@outlook.com, or message to Leilukin on Deadly Stream 1. DESCRIPTION: This patch will make DarthTyren’s PartySwap mod compatible with danil-ch and Darth Hayze’s Extended Enclave mod. If you also want to use N-DReW25's Extended Enclave Patch, I have provided an additional installation option in my patch to make PartySwap compatible with both Extended Enclave and Extended Enclave Patch. You can find and download the mods here: PartySwap: https://deadlystream.com/files/file/544-partyswap/ Extended Enclave: https://deadlystream.com/files/file/428-extended-enclave-tslrcm-add-on/ Extended Enclave Patch: https://deadlystream.com/files/file/1842-extended-enclave-patch/ NOTE: This patch may NOT be compatible with non-English localizations of KotOR 2 and The Sith Lords Restored Content Mod (TSLRCM). You do NOT need to install this patch if you want to use my Handmaiden and Female Exile - Disciple and Male Exile Romance mod, because my mod already includes compatibility patches that will allow my mod to work together with both PartySwap and Extended Enclave. 2. INSTALLATION: STEP 1: Download and install The Sith Lords Restored Content Mod (TSLRCM), since TSLRCM is REQUIRED for both PartySwap and Extended Enclave to work. I recommend using the installer version of TSLRCM (https://deadlystream.com/files/file/578-tsl-restored-content-mod/) instead of the Steam Workshop version, even if you play KotOR 2 on Steam. STEP 2: Download and install PartySwap: https://deadlystream.com/files/file/544-partyswap/ STEP 3: Download and install Extended Enclave: https://deadlystream.com/files/file/428-extended-enclave-tslrcm-add-on/ (You must install Extended Enclave AFTER PartySwap) OPTIONAL STEP: If you want to use it, download and install N-DReW25's Extended Enclave Patch: https://deadlystream.com/files/file/1842-extended-enclave-patch/ STEP 4: Download my compatibility patch for PartySwp and Extended Enclave, extract PartySwap_EEnclave_ComPatch.7z to anywhere you like, as long as it is not within the KoOR 2 directory. STEP 5: Run the PS EE Comp Patch Installer.exe from my compatibility patch. You will see there are three installation options, and you may only install ONE of these three options: No M4-78EP Installed: Choose this installation option if you do NOT have M4-78 Enhancement Project installed. DO NOT choose this option if you have installed N-DReW25's Extended Enclave Patch. M4-78EP Installed: Choose this installation option if you DO have M4-78 Enhancement Project installed. DO NOT choose this option if you have installed N-DReW25's Extended Enclave Patch. Extended Enclave Patch Installed: Choose this installation option if you have installed N-DReW25's Extended Enclave Patch, regardless if you have installed M4-78 Enhancement Project or not. Once you have selected an installation option, and select your KotOR 2 game folder as your KotOR 2 directory path, click the “Install” button and let the installer do its job. When you install this mod, two new folders named "backup" and “uninstall” will be created by the installer in the same folder as the installer. Do not delete the folders or any of the files within the folder if you are planning on uninstalling this mod. The "Source" folder includes the source of the scripts used by this mod for modders' reference. Ignore the "Source" folder if you only want to install and play this mod. 3. UNINSTALLATION: Run PS EE Comp Patch Installer.exe. From the “Tools” dropdown menu, select “Uninstall Mod / Restore Backup”, then confirm to uninstall the patch. You can also choose to delete the backup after uninstalling the patch. Note that this action only uninstalls my compatibility patch, and not PartySwap, Extended Enclave and Extended Enclave Patch. 4. KNOWN ISSUES: None currently known. If you find any other bugs or problems, please let me know. 5. CREDITS: DarthTyren, danil-ch and N-DReW25 for giving me permission to make this compatibility patch for their mods bead-v for Workbox Cortisol for Holocron Toolset Fred Tetra for the KotOR Tool tk102 for DLG Editor Cortisol and th3w1zard1 for HoloPatcher THIS MODIFICATION IS NOT SUPPORTED BY BIOWARE/OBSIDIAN ENTERTAINMENT OR LUCASARTS OR ANY LICENSERS/SPONSORS OF THE MENTIONED COMPANIES. USE THIS FILE AT YOUR OWN RISK AND NEITHER THE ABOVE MENTIONED COMPANIES NOR THE AUTHOR IS RESPONSIBLE FOR ANY DAMAGE CAUSED TO YOUR COMPUTER FOR THE USAGE OF THIS FILE.
  3. 1 point

    Version 3.10.3

    2,477 downloads

    This add-on is a fork of KotorBlender, upgraded to support newer versions of Blender. KotorBlender is in turn based on NeverBlender, forked from version 1.23a. ## Features - Import & export MDL models, including walkmeshes - Import & export LYT files - Import & export PTH files ## Installation 1. Clone this repository or download the latest release of KotorBlender from Deadly Stream 2. If you have cloned the repository, create a ZIP archive containing the **io_scene_kotor** directory 3. From Edit → Preferences → Add-ons in Blender, install the add-on from the ZIP archive and enable it by ticking a box next to "Import-Export: KotorBlender" 4. Alternatively, if you want to contribute to KotorBlender, you may want to create a symbolic link to the local repository in the Blender add-ons directory, typically located at `C:/Users/{user}/AppData/Roaming/Blender Foundation/Blender/{version}/scripts/addons`. 1. `mklink /D io_scene_kotor {repo}/io_scene_kotor` ## Usage ### Data Preparation Extract models, textures, walkmeshes, LYT and PTH files into a working directory, using a tool of your choice, e.g. reone toolkit. Recommended directory structure: - *data* — extract all BIF archives here without subdirectories - *texturepacks* - *swpc_tex_tpa* — extract swpc_tex_tpa ERF archive here If you plan to edit textures, batch-convert TPC to TGA / TXI files using **reone toolkit**, although TPC textures are also supported by KotorBlender. ### Model Import and Export 1. Import via File → Import → KotOR Model (.mdl) 2. Select top-level MDL root object to be exported 3. Export via File → Export → KotOR Model (.mdl) ### Editing Animations To edit list of model animations and corresponding events, select MDL root object and navigate to Object → KotOR Animations. KotorBlender supports both object and armature-based edits. To create an armature from objects, navigate to KotOR Animations → Armature and press Rebuild Armature and Apply Object Keyframes. Before exporting a model, make sure to copy armature keyframes back to objects by pressing Unapply Object Keyframes. ### Lightmapping 1. Select objects for which you want lightmaps to be recreated, or unselect all objects to recreate all lightmaps 2. Press KotOR → Lightmaps → Bake (auto) UV mapping: 1. Select objects having the same lightmap texture and enter Edit mode 2. For every object, ensure that `UVMap_lm` UV layer is active 3. Select all faces and unwrap UVs via UV → Lightmap Pack, increase Margin to avoid face overlapping Fine-tuning: 1. Increase lightmap image size via UV Editing → Image → Resize 2. Tweak ambient color via Scene → World → Surface → Color 3. Manually toggle rendering of objects in Outliner and press KotOR → Lightmaps → Bake (manual) 4. In Scene → Render, set Device to GPU Compute to improve performance, set Render Engine to Cycles if not already 5. In Scene → Render → Sampling → Render increase Max Samples to improve quality ### Minimap Rendering 1. Press KotOR → Minimap → Render (auto) 2. Open "Render Result" image in Image Editor and save it as "lbl_map{modulename}.tga" 3. Open "MinimapCoords" text in Text Editor and copy-paste generated properties into module .ARE file using any GFF editor Fine-tuning: 1. Tweak background color via Scene → World → Surface → Color 2. Manually toggle rendering of objects in Outliner and press KotOR → Minimap → Render (manual) ### Connecting Rooms 1. Select a room walkmesh 2. Enter Edit mode and select two vertices adjacent to another room 3. Determine 0-based index of the other room into the LYT file 4. Enter Vertex Paint mode and set brush color to (0.0, G, 0.0), where G = (200 + room index) / 255 5. Ensure that brush blending mode is set to Mix, and brush strength is set to 1.0 6. Paint over the selected vertices ### Editing Paths 1. Extract PTH file from the module's RIM file, e.g. "modules/danm13_s.rim" (Kotor Tool, reone toolkit, etc.) 2. Import PTH into Blender via File → Import → KotOR Path (.pth) 3. Create/move path points, or modify path connections via Object Properties 4. Export PTH via File → Export → KotOR Path (.pth) ## Compatibility Known to work with Blender versions ranging from 3.3 to 4.0. ## License GPL 3.0 or later
  4. 0 points
    @Masirimso24, relying on old saves may in fact be part of the problem. Let me quote @Fair Strides here... So, could you follow the link's requirements and answer each and every question now? And please do this for all future bug questions for TSL. (K1 has it's own rule set.)