Leaderboard
Popular Content
Showing content with the highest reputation since 09/18/2025 in Posts
-
4 pointsHey everyone! My Name is Lane. Some of you know me from Kotor Speedrunning, and others from my various Youtube exploits. I don't ever really post on Deadly Stream, but I've been lurking in and around the KotOR modding community for about a decade now. I have a degree in computer Science and decided to put it to good use, and reverse engineer KotOR 1 (the GoG version). This has been an on-going project for about 2-3 years now, and I've been sharing my progress with friends, and in some Youtube Videos. However, I've pretty much hit a wall with what I can do with this effort now. So I wanted to release my progress publicly, so other smart and clever people can start doing fun stuff with this. Linked below is a Google Drive with several useful things: A Ghidra SARIF export that contains all data types, function labels, parameters, Classes, and other additions I've made A Ghidra Format XML that contains the labels and function adjustments I've worked on. This is lighter weight than the SARIF file, but has more limitations when it comes to import fidelity. A generated `.h` file, that contains the Header information I have pieced together over time. Even lighter-weight, and more limited than the above What this is not: True Debug Symbols for kotor BioWare Intellectual Property A runnable or compilable program Kotor's Source Code A reverse engineering of Kotor 2 A reverse engineering of the Steam version * * A note about Kotor 1 Steam: While this reverse engineering effort targeted the GoG release of KotOR 1, the Steam version has MANY similarities; often times having identical memory addresses for most functions. Any Patch made for the GoG version can be pretty reasonably ported to Steam with a little bit of effort. What this is: A decently representative result of what Kotor's debug symbols might look like (format and terminology pulled from the MacOS symbols, and existing NWN docs) A research-based labeling and reverse engineering of the GoG version of Kotor 1 A labor of love for the past several years that I'm happy to share Why this is cool/important: This provides a stepping off point for creating proper patches for KotOR 1 This also provides a means for researching underlying issues with things such as memory management, graphical limitations, and compatibility This also provides a researching angle for coming to understand some of the more mysterious file formats, and how they interact with the game itself There are also a variety of fundamental similarities between this and KotOR 2. Which may unlock some insights for that game This is also the first step towards a proper re-compilation (though that is a long-ways off) How do I use this? You need Ghidra installed, with a modern Java Runtime Create a new project, and import swkotor.exe (as purchased from GoG) Open the EXE in Ghidra's code browser When it asks if you want it analyzed, select 'Yes" The default analyzers are fine, technically you could speed this up by stripping out a few unneeded analyzers The analyzers will take several minutes to complete (progress can be tracked in the bottom right) Once the analyzers have run, we can proceed Select "File > Add To Program..." and select the SARIF (or XML) file (download below) The importer will analyze the symbols and apply them to the project You now have a decently labeled/decompiled instance of KotOR 1 Limitations: 99.9% of the functions have been labeled, however there were a few stragglers that I was never able to work out. These will appear as `FUN_<address>` 92.3% of the Data is labeled, with stragglers being named `DAT_address` Data Types are VERY incomplete. The labeled ones consist mostly of frequently used types, and known fields. Unknown fields are marked `field<index>_<offset>` Virtual Function calls are very under labeled (largely due to the difficultly of labeling vtables in Ghidra). Though you can determine the underlying function by applying the offset to the associated Class vtable. Most functions have only automatic variables defined within their decomp. Typing and purpose of underlying variables beyond function names, and parameter types, are left up to inference. Overlapping functions. Certain functions overlap in this compilation, due optimizations within the Visual C++ runtime. As a result some functions such as `GetProperty0x30` are shared by multiple classes, and thus lack a name-space. You can usually work out their purpose by checking the associated data type at that offset. If you used the XML import, you will be missing a lot of typing and Function Class/Namespace info Final Notes: Please feel free to ask me any questions about this effort, or any thing strange you might find within the decomp. I've grown to be quite the kotor expert over the years, and I'd be happy to share any insights. You can reach out to me on Discord @lane_d, I'm in the Kotor Reddit server, as well as the kotor speedrunning server. I will be periodically posting updates to this drive, whenever I get the chance to work on this more. If anyone has any major contributions they'd like to see added, please reach out! I'd be happy to chat. Both the XML and SARIF formats have some limitations, unfortunately they are the best I can do without publicly sharing Bioware intellectual property. If there is something missing from these that you are in need of, please reach out and I can see if I can help you. (Note: I will not be abetting piracy though. Buy the damn game, it goes on sale all the time) Google Drive Link Here
-
4 pointsno, anything purple or red etc is removed in the color. but otherwise the same, its just more leaning towards green. i updated it again. there were 2 doors that just looked awful and had text on them that shouldnt be there, i made new lore friendly text for their displays.
-
3 points4K version, looks much nicer than the former 1024. These textures are very in-your-face and needs good quality a gif comparison of default vs new wall textures
-
3 pointsAn update on the K1 Alien Pack update: It is almost ready, though there are other mods that I am developing that I'm too absorbed in thus resulting in the delay of the K1 Alien Pack and the RC-K1CP update that'll restore the Echani. This post is mostly being made as a reminder for myself so that if I see likes and/or comments on this post it'll spur me to finish the update. The K1 Alien Pack shall include the above previewed Echani NPCs, three new additional Trandoshan Skins and 32 new Gamorrean skins. The Gamorrean skins are nothing special to look at. As we may know, there are four Gamorrean skins in the game each with their own unique outfit and Gamorrean appearance. I would describe these four Gamorrean appearances as ranging from young, adult, middle-aged, and old. What I've done is that I've taken the four different outfit and applied them all to the other appearances, so imagine the old Gamorrean variant that usually wears blue wearing the red outfit that's usually worn by the young Gamorrean and vice versa. Doing this resulted in the the Gamorrean skins increasing from 4 to 16. I then made another four new clothing variants for the Gamorreans, thus increasing the skins from 16 to 31. The end result is that every single Gamorrean in the game will have a unique appearance as no two Gamorrean appearances will be used anywhere else in the game because there are just so many Gamorrean skins. Again, all of this is almost ready so hopefully we shall be seeing this update sooner rather than later.
-
3 pointsThe KOTOR 2 test for Revision 12 was completed earlier today. With just a few exceptions which need re-testing next revision, almost every submitted mod was integrated--thank you to all the modders who fulfilled these requests! I have now removed the fulfilled requests from the OP. As with the KOTOR list I have thought of some more things I'd like as well, so there are some new requests also. They are, in order of appearance: -Ravager Difficulty Increase -Nerf T3's Shock Arm & Infinite Shield -Consular-Sentinel Skill Sanity -Remove Poison Immunity from Valor -Lightsaber Rarity and Construction -Delayed Story Cutscenes -Move Meditation Envy -Bostuco is Invisible? -Miscellaneous Minor Dialogue Adjustments (including several earlier requests which I have folded into this category) -Kreia Wants to be Forgiven -Kreia Doesn't Crush -Different Peragus Doors -Dialogue Delay Integrated with Kexikus's Visually Repair HK -Unknown Incompatibilities with 222TEL Sojourn Cutscene -danil-ch's Extended Enclave Dialogue Rearrange -Balanced & Stabilized Assault on Dxun Mandalorian Base -Gammoreans are Dumb, but not that Dumb -Expanded Text for Enlightenment & Crush Unlocks As with the last Revision cycle, any of these requests fulfilled will not be tested until the next Revision. It's impossible to predict when that will be with accuracy, but I would estimate at least a year from this post, as two Revisions have come in quick succession and I would like to give users a breather without another big update for a while.
-
2 pointsI have discovered the problem, this has been caused by the Sleheyron Story Mode mod. I will be commenting the bug report on the Sleheyron mod page shortly.
-
2 pointsA small Update Here, guys. I finished upscaling the textures and I had some spare time to check what @Sith Holocron kindly shared with me. Now I'm thinking that it would be nice to have sith apprentices to wear the medallion (the one that they have to have to enter the academy). A bit played with the medallion texture made by @Sith Holocron That's what I have for now (had to make it super small though): PS The insignia image is upside down on the picture because the robe texture is upside down xD So in the game it looks alright
-
2 pointsJuhani looks way better now. Less uncanny like the CATS musical. This little area by the ear is cut off a tiny bit abruptly although you did say this image is before some fixes were done so maybe that cut off isn't there anymore. I think the ponytail looks fine but I don't know if it looks better than the dark ponytail or if I feel the same about either type.
-
2 pointsnot happy with some of the skin, now its better. i also made him show his sexy belly.
-
2 pointsHaven't been posting and doing anything for Kotor games for a very long time! Recently I was reading Path of Destruction by Drew Karpyshyn and realized how much I miss playing first kotor xD So I decided to return to my idea of making a robe mod for the first game. The idea is too make all the Jedi and Sith robes more unique (at least visually). This time I decided to use JC's Cloaked Jedi Robe modification as a basis for robes. And right Now I came up with basic concept of what I want to do. I don't think I will have a lot of time to make new textures myself for the mod, so (at least at the moment) I will use textures from Darth Darkus' Armored Robes, Effixian's Prototype Knight & Warrior Breastplates and jonathan7's Force Fashion. (Though in case of release I will need to get their permission otherwise I'll have too make my own textures for the replacement xD). The only thing I add to those textures is the collar fix. At the moment I do have a basic concept what I want to do. I came up with all the names for Sith and Jedi robes with the idea in mind to blend the Sith titles in the K1, K2 and SWTOR. Also, I think that the Darkside list was Lacking the Tier 5 so the Jorak/Uthar will be somewhat on par with Qel-Droma's Robe (it will have Dark Side restriction instead of Light Side one that Qel-Droma's Robe has and it will give Strength +2 instead of Wisdom +2). Also, I think it is a good Idea to make 2 robes. Jorak will have a dusty and torn apart version (which won't give such bonuses to the player, let's say Max Dex +8; Defense Bonus 0; Strength +1), and Uthar will have a better version with full bonuses (Max Dex +8; Defense Bonus 5; Strength +2). The reason is I don't want to give the player the full-bonus robe before finishing Korriban xD Another idea is that Lashowe, Mekel and Shaardan in the original game are all Jedi Guardians. Maybe it will be a good idea to change them like this: Lashowe = Jedi Consular (aka Dark Jedi Consular = Sith Inquisitor Robe) Mekel = Jedi Sentinel (aka Dark Jedi Sentinel = Sith Warrior Robe) Shaardan Jedi Guardian (aka Dark Jedi Guardian = Sith Crusader Robe) At the Sith Academy Sith Teachers will have unique Sith Overseer Robes, while Yuthura (being second in command) will have SIth Grand Overseer Robe. Most of the students will have either Acolyte Tunic (showing that they were initiated recently) or Sith Adept Robe (meaning that they are already experienced students) Also, in case of dark side playthrough the player meets 3 Dark Jedi Masters on Starforge, in this case: Black/White Dark Jedi Master - will have Sith Lord Robe (next Tier of Sith Inquisitor Robe) Black/Red Dark Jedi Master - will have Sith Assassin Robe (next Tier of Sith Crusader Robe) Black/Blue Dark Jedi Master - will have Sith Marauder Robe (next Tier of Sith Warrior Robe) In case of the Jedi, the first Jedi that we meet on Endar Spire will have a very basic Padawan Tunic (the same one we will get from Zhar on Dantooine). Master Dorak will have his unique Jedi Archivist robe. That being said, Deesra and Belaya will get 3rd Tier robes (according to Wookiepedia they are both Knights). Also, Starforge Jedi Strike team will also get 3rd Tier robes (it would be strange to send Padawans in the strike team) Basic Concept of the Jedi and Sith Robes Tiers: Concept of clothings for Sith Characters : Concept of clothings for Jedi Characters :
-
2 pointsah yes, i will fix those, but they have very low priority since i have never seen them in game-game on Dantooine. But i think i know where they might be, likely on top of those rocky parts, so basically out of view, its why they gave them super low resolution so their generated outcome is not great either. Maybe i'll turn them into bushes or something which is more visible so that they serve a purpose.
-
2 points
-
2 pointsYes that looks a bit off, i can fix that. thanks! Updating the kashyyyk walls since they look pretty bad even after my retexture.. Trying to make sense out of the wookie wood wall building technique is a mind bender Not sure my attempts will be 100% true to the original but not sure they need to be either. looks nicer but like the original it doesnt make a lot of sense. i think its the layering that is just off overall from the start.
-
2 pointsRecreated around 60 armors (left out the cloth armor since its decent i think). Anything with metal should now have metal parts instead of more cloth-looking. They are also 2048 instead of 1024. The mod is now TPC so size is down a lot. increased the quality of a few textures, doors,walls, grass and some other stuff which didn't look great. Crappy gif quality but gives an idea vs default textures: Edit: Uploaded to Nexus Mods. Once it reaches 1.0 i will upload here. I really hope the TPC textures works because size is down more than half. I have loaded around 30 saves from various places and progress in the game, and have not seen an issue yet. Please report any oddities.
-
2 pointsretexture / replacement for PMHA03 any particular face / style / race you'd like to see?
-
2 pointsStill WIP but here's a comparison of default vs 2K dewback texture Showcase of mod on YouTube: KoTOR Visual Resurgence
-
2 pointsAfter making many changes I ended up with a non-working tlk file. Here is an example I talked about with Darth Parametric: When I edit line 4929 to "Stay strong and always resist, Juhani. I know you can!" instead of the original "Remain strong!" and I convert the file to a .tlk (as stated above, doesn't matter which tool I use) I get the following corruption in the .tlk file: When I edit the line to say "Stay strong!", which is close to the original length, line 9017 does not corrupt. It's always line 9017. And when I edit even more lines (only lines between 4929 to 4989, outside that range I can edit anything as long as I want) several lines between 9010 and 9017 become blank It almost looks/sounds like a game-engine problem, where stuff gets loaded in a certain memory block, but it doesn't fit anymore. I don't expect you to look into it though, just sharing results. For now I just keep my edits on lines 4929 to 4989 close to the original length, and leave this issue as something to deal with and work around. In the end more and more problems arose, even on Taris (in the Vulkar base iirc.) dialogue started getting blank and more of these examples liek above popped up when I was checking up on dialogues.
-
2 pointschatGPT to the rescue, it made me one in Python. Quite useful, i now have a list of every model and which textures it uses. the whole txt file is almost 8MB. might be useful for others so i attached it model_textures_list.txt
-
2 points
-
2 points
-
2 points
-
2 pointsThere are two restored content mods for Kotor I. Kotor 1 Restoration (K1R) which is the older, complete restored content mod that is both incompatible with K1CP and has its own game breaking bugs that haven't been fixed due to the team leader leaving the community after the 1.2 release almost a decade ago. Restored Content for K1CP (RC-K1CP) is my own take on the restored content mod that is compatible with K1CP but it is incomplete. When I say it is incomplete, you'll read my "what's restored list" and see that there is clearly cut content that is missing from the K1R mod, however, my mod also has restored content K1R doesn't have and, even though my mod isn't done, the content that is already restored is, for all intents and purposes, finished. Unlike Kotor II, the Kotor I cut content is content many see as being content that was actually meant to be cut unlike Kotor II which is a bug filled and clearly incomplete experience. Not using the restored content mod for Kotor I isn't going to hurt your game.
-
2 pointsEpisode Two's development of ROR goes well, however, this post isn't about Episode Two - it's about the bug fix update 1.0.2. Since Logan has once again gone awol to deal with his new job, I have been left to develop Episode Two's Nar Shaddaa. Of course, should I somehow complete the entirety of Episode Two without Logan to the best of my abilities we are left with the risk of the mod going into limbo again as I can't physically go on to 100% finish the Episode without Logan. So, here is what I am doing to avoid that happening. I am trying to learn how to create quests for Kotor II, something I haven't delved into before... until now: (the typo shall obviously be corrected before released ) This is something many players were expecting when they first played Episode One, and were disappointed for when these characters played no role in their playthrough. Their side quest was cut towards the end of Episode One's development for the same reason Obsidian Entertainment ended up cutting a bunch of stuff - to ultimately save time and release the mod before June of 2025. Now, in bug fix 1.0.2, their side quest is being brought back. The original side quest that was planned had mercenaries spawn in who would harass Beedo, the Rodian, who were sent by Tokro, the Hutt, to get him to pay off his debt. The player could negotiate to get them to backoff or fight them to save Beedo. You would then go to Tokro who, as a businessman, wanted you to plant a bomb on some cargo crates in the spaceport module (these crates are where the Beast Rider encounter happened in the Onderon Spaceport) belonging to a rival company. Doing so would result in a CorSec Officer spotting you to which you could either hand in the bomb and confess to Tokro's crime or you could convince the CorSec Officer to leave you alone and have the bomb planted. This version of the sidequest was cut for a few reasons. First, the mercenaries were to spawn after you went to the Royal Palace and recruited Uldir - instead a bug would occur where they spawned immediately upon entering the module. Second, the old scripts from 2011 were so broken that only some of the mercenaries went hostile and/or left if you convinced them to backdown. And third, no matter how much you nerfed the mercenaries they would always one shot kill the player and Drayen due to how weak you were that early in the game. And as for the setup of Tokro's actual quest, the idea was that the bomb would explode the cargo in transit meaning it'd blow up in space. However, the idea that a Jedi Padawan, in the company of their Jedi Master, and Uldir, a Police Officer, would even contemplate doing this side quest for even a minute wouldn't make too much sense. Not to mention that, if you were to confess and surrender the bomb to the CorSec Officer, Tokro technically wouldn't cancel his debt as you didn't deploy the bomb. These bugs combined with the logical inconsistency of the quest resulted in me deciding to cut the quest as I'd rather focus my energy on making progress instead of banging my hand against the wall trying to get this quest to work. The new quest is still in its infancy of development, but the new version I'm writing has it so that there are no mercenaries and that Beedo, instead of his landspeeder being damaged by the mercenaries, is now trying to sell his landspeeder for the 10,000 credits he owes Tokro. You'd go to Altol Cantina where Tokro can be found and you would mention Beedo to Tokro. Tokro would then tell you that you cannot realistically pay off Beedo's debt even if you were to use the "givecredits" cheat as his debt is 10,000 credits plus interest. He reveals himself to be the CEO of a Corellian banking company and that he will be willing to drop the debt if you were to find a banking manifest that has ended up in the Agrilat Swamps due to the Tyrena disaster. The manifest shall be found somewhere beyond the damaged landspeeder, meaning you'll have to complete the Esbek Hotel murder quest before you can retrieve the manifest. When this update is released, I shall tell you's all here where the manifest can be found. Once you return the manifest to Tokro, he will cancel Beedo's debt and the quest will be over. I do have plans to add a Dark Side ending to this quest where, instead of giving it to Tokro, you give the manifest to a Czerka NPC who'll use it to blackmail Tokro into making a deal with Czerka. This Czerka element will not be added in this next update and will be added in another update unless Logan disagrees and either changes or rejects the Czerka idea entirely. There may also be a second optional side quest, if it can be made for update 1.0.2 I shall reveal more details here, if I cannot be made for update 1.0.2 it might have to wait until update 1.0.3 or Episode Two's release. This update will come in the form of a ROR Addon/separate mod as I cannot obviously update the mod myself and Logan doesn't want to risk accidentally releasing Episode Two files in this update. So that means update 1.0.2 will be a separate mod that you'll install after ROR and it won't be added into the actual ROR until Episode Two is released. Update 1.0.2 will come with a plethora of very minor, but very good, bug fixes to certain modules of ROR Episode One that I won't delve into until the mod is actually released to which I shall post a changelog of all the changes made in update 1.0.2. By developing this side quest I hope to achieve two things: give you, the players, something to enjoy to whilst Episode Two is underway, and to give me the experience necessary to develop and finish the planned Episode Two side quests independent of Logan so that there'll be less for us to do before Episode Two's release. Please let me know what you think.
-
1 pointI searched Kotor 2 txi's and only the 1 texture used that water effect. The vanilla texture causes frame stuttering and editing that texture causes crashing.
-
1 pointAnd a beard, like that Revan face mod ! @vurt needs to make a modernization of it !
-
1 pointThis can be fixed by setting alpha depth to 0.0 when converting with tga2tpc. Click the eye icon next to the texture name You will also find textures missing a TXI with punchthrough parameter, which looks like the issue in the screenshot posted.
-
1 pointappearance.2da overrides which diffuse texture is rendered on a model through the racetex and tex* columns; however, all shader data is always read from the texture which is on the model (unless also overridden, e.g. by the envmap column or the area file). Additionally, the shader is only rendered once and every model in the scene graph shares the same instance.
-
1 point
-
1 point
-
1 pointYesterday I finished work on a retexture of one of Kainzorus Prime's Prequel Robes to make the Green Robe from SAO's Sleheyron mod compatible with it. I've asked Kainzorus for permission, but I wanted to give the community a look at it in the meantime and see what people think. This is my first major retexture job, so I hope it looks somewhat presentable!
-
1 pointeveryone should just remove the file called PLC_FrcDist01 this since it is too problematic to work with, it can either crash the game entirely or it makes the texture for the prison forcefield non-transparent. so just remove it. Next update will have some nice upgrades. 50 armors which previously were 1024 are now 2048 and overall just looks much better (better textures overall). a ton of face textures + more.. Here's one of the Gamorreans vs default needs a belt buckle though, but easy to add... The original has a yellow/green color inside the mouth, very odd choice, i made mine have dark red inside the mouth, which looks more like you would expect.
-
1 pointI'll scour through my stuff after I wake up later in the day.
-
1 pointYes that is understandable. When i get the time i can do an alternative version of her and have that under "Optional Downloads". I will obviously also check out those cool models from DarthParametric and maybe i will have them as optional as well.
-
1 point
-
1 pointSorry to hear you are having so many problems working with the normal maps, vurt. From what I know, not many texture artists around here have created HD textures using normal maps. Perhaps the difficulty of making them work in the game is what kept them all away from it. Best of luck!
-
1 pointCool. But i do not think it comes off as normal cloth for the most part really. But for such a big surface it is worth fixing, absolutely. I will take a look at all of these.
-
1 point
-
1 pointReally weird. But i'm not even that surprised. The little modding experience I have accumulated with this game showed me some truly odd behavior of the engine. And with "odd" I unfortunately mean "broken". Since I've myself changed a lot the content of the.tlk file I wonder if that will affect me too. I guess I'll find out testing out the game. Cheers!
-
1 pointIt wouldn't be particularly hard. Wizard and I created a Powershell script to dump all the lightmap assignments in K1 to identify all the cases of missing lightmaps. You could do the same thing for diffuse textures.
-
1 point
-
1 point
-
1 pointNo, there's no way they left in hundreds, at least i do not think so. Skyboxes are used for a number of various things in the game, most who does retextures will focus on the skyboxes that we see above the planets, but there are others as well. Chat-GPT could actually explain them and without it even having to google it, which is kind of funny to me: So yes its possible that i have a few unused skyboxes, but it wouldnt be too many MB lost due to those.
-
1 pointyes the idea is a pack of player faces. maybe i'll do some more alien races. I need to look up some mods doing player races, see what is needed.
-
1 pointAs a starting point, I would recommend Holocron Toolset: https://deadlystream.com/files/file/1982-holocron-toolset/ to get an idea of how the modules are set up and to be able to view models + areas of the game. This is incredibly useful for seeing how placeables, cameras, models, scripts, creatures are laid out. This can be used to pull assets out of the game for modification. You can also use KOTOR Tool: https://deadlystream.com/files/file/280-kotor-tool/ to pull the same game resources out for modification. If you're looking to modify the particle effects of the game models, you can't go wrong with MDLEdit: https://deadlystream.com/files/file/1150-mdledit/ . This converts game models MDL+MDX into readable ASCII and back into MDL after you save the changes to the ASCII file. It really comes down to what the goal of your first mod is. If you're looking into making changes to scripts, that definitely is not my area of expertise. It would be helpful if you share a specific goal for your first mod idea, or at least an idea of something you'd like to achieve.
-
1 point
-
1 pointIn the Mod Build I would pay particular attention to the modifications classified as "Essential" by the author. In particular I'd say the Community Patch is an absolute must-have.
-
1 pointyes the files are now of course merged, no need to have an update patch file when there's a full new version Changes are: * Better grass and underwater plants * Recreated a few other textures
-
1 pointYou will need the KOTOR Blender plugin. I used the 3.3 LTS version of blender but it looks like it has now been updated to newer versions. I still recommend using a LTS version. First you need to switch to the lightmap UV. If you don't, the lightmap will be baked on top of the diffuse texture. You can find this under UV Maps in each meshes Object Data Properties. Select each mesh and click UVMap_lm. Yes, it is tedious but it's required. To bake the lightmaps with the plugin, click the KotOR menu -> Lightmaps -> Bake(Auto). You should click an empty space, first, to make sure no meshes are selected. If meshes are selected it will only bake for what is selected. At this point you may notice the lighting looks bad. The UVs need to be unwrapped and some lightmaps will need to be resized to a higher resolution. This is optional but it helps me keep it organized. Look through the list of meshes and see which ones have lightmaps. I then rename the meshes to start with the lightmap name (lm0_Object19,lm1_Box01, lm9_mesh456,...). When unwrapping the UVs this makes it easy to select all meshes that share a lightmap, which you may be doing multiple times. There's 3 ways to unwrap the lightmap UVs. Each has different advantages and disadvantages. The best to use will depend on each group of meshes, sharing a lightmap. 1) Lightmap Pack (Most efficient) - This one will work for most but sometimes the triangles of a face get separated, creating an ugly seam. 2) Unwrap (Medium efficient) - Keeps the basic shape of faces the same bust doesn't pack as efficiently. This one requires you to select all(a key) UVs first or nothing happens. 3) Smart UV Project (Least efficient) - This one maintains the shape of faces perfectly but each UV takes up a lot of space. May require you to increase the lightmap resolution really high to look good (1024x1024 or more). While in the layout workspace, select all meshes that share a lightmap. Then switch to the UV Editing workspace. All meshes need to be selected in the 3D view, for the UVs to show in the UV editor. Then select one of the unwrap types in UV -> Unwrap. Remember, if doing regular unwrap, selecting all UVs is first required. Now, go back to the Layout workspace and bake the lightmaps. Some lightmaps may have weird artifacts or look low res. You can compensate for that by resizing the lightmap texture. Go to the UV Editing workspace and select the lightmap to edit. Then Image -> Resize. I try not to resize higher than 512x512 and I keep less detailed meshes between 16 and 128. The larger the texture size, the more memory it takes in game and the longer it takes to bake. Then go back to Layout workspace and bake again. To save the lightmap texture, go to UV Editing layout then Image -> Save As. You will need to do this for each lightmap once and make sure you choose TGA when saving. After, you can use Save All Images. I haven't even touched on lighting but here's a few tips: - Under World Properties, the surface color will affect your lighting a lot. I prefer to just remove the surface(or make it darker) and it gives me more control over the lighting. - Point lights fill the room with a lot of ambient light. If you want more control over the shadows use spot lights. - The game engine will add even more lighting on top of the scene. You can control this in the light's Object Properties -> KotOR Model Node -> Light
-
1 pointSo I recently discovered the Holocron Toolset (I'm pretty late to the party I guess) and I've been playing around with it to make some small adjustments to items and NPCs. I would like to know how I can make a completely custom item and have it be able to spawn in a container as a random drop? I'd like to make 3-4 Jedi robes that are lore friendly and could spawn between levels 14-24. I've already learned how to create them (using Crado and Aleema's robes as the base) but need to know how they can be implemented as drops without manually adding them to a container or NPC's inventory.
-
1 pointI Do believe there were Jedi Knigths in Kotor and TSL though they wern't mentioned for example in TSL during the Battle of Onderon Vaklu Soldiers keep saying things like " We need reinforcements a Jedi Knight has assaulted our flank" and stuff like that. Also I do believe Juhani was a Jedi Knight as well though I could be mistaken