• Content Count

  • Joined

  • Last visited

  • Days Won


AmanoJyaku last won the day on February 12

AmanoJyaku had the most liked content!

Community Reputation

10 Jedi Padawan

About AmanoJyaku

  • Rank
    Jedi Apprentice

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Found by entering "color" into the search field, and selecting "Files" from "Search In". There may be others, have fun searching.
  2. First, check to see if there are existing mods that do what you want (or something similar to it). Next, read the tutorials section. Here is an example that might help.
  3. The ini is looking for "xae Knights of the Old Republic\xae COLLECTION". Your game is not installed there. Change it to match your install path: K1_Path=C:\Program Files (x86)\LucasArts\Star Wars® Knights of the Old Republic® COLLECTION K1_SavePath=C:\Program Files (x86)\LucasArts\Star Wars® Knights of the Old Republic® COLLECTION\saves
  4. I put my original mod on hold since someone else is making it. And, wow, does it look good! So, on to the most neglected project: a new DeNCS. It's currently able to interpret op codes and arguments, so the next step is the higher-level control flow. Here's where you can help: Byte Code - I obtained a list of op codes from here. I need to make sure it's complete and correct. NWScript - I am compiling a list of operators, punctuators, and keywords from here, and here. I need to make sure it's complete and correct. Mapping - This is the big one, making sure script converts to byte code, and vice versa. 100% identical conversion, every time. No pressure. DOT Diagram - I need a program that can make diagrams from DOT DOT Generator - I can generate the DOT from my code, but it would be helpful if something could do this for me, as well. Name - Right now, it's called DeNCS 2020. Narrowly edging out NewNCS. Please, give it a good name. A couple of things I want to address. DeNCS sometimes reports a partial-byte mismatch. At first, I ignored this just like every other modder. However, while testing this tool I compared the output of an NCS file straight from the game to the output DeNCS generated... Well, it looks like DeNCS attempts to convert the NCS to source code, then attempts to convert the source code back to an NCS file. Then, it compares the original NCS to the new one. And, if they don't match? Partial-byte mismatch. I don't know why DeNCS doesn't always perform a perfect conversion, but it's something to investigate. Particularly, since there are reports that even NCS files generated by Bioware and Obsidian had bugs in them. Troubleshooting the NCS files will make this longer since I have no way of knowing what the original files should have looked like. (But, I can guess just like DeNCS seems to do.) This is command-line only. There was never any intention to make this a stand-alone tool. However, development will take longer than I expected, which means a GUI is the least of my priorities. At some point, I want to merge this into a toolset, maybe even the one up above. So, no GUI. (That also means the stand-alone tool won't be around for very long.) Got any feedback? Thanks! Edit: I just downloaded Graphviz, so I am covered with DOT diagrams. I think the included library will allow me to generate DOT, too.
  5. Correct. For enemies that have that script, you have a 100% chance of getting loot. I've never tested this, but this is what I read from the script code. You have a 50% chance of getting one or more items of a single type (returns 1, e.g. 1 or more med packs), and a 50% chance of getting one or more items of two (potentially different) types (returns 2, e.g. 1 or more med packs, and 1 or more blaster pistols). To test this properly, you'll either: 1) Want to be on Telos or later. As far as I know, most of the enemies on Peragus and the Harbinger have the no-treasure script attached. 2) Modify the early enemies. But, that requires modifying every enemy's UTC file. 3) Modify the no-treasure script itself. But, that can be confusing if you aren't good at keeping track of your files. Whichever option you choose is up to you.
  6. I believe that is correct. Random(4) can return any value from 0-4. If it returns 0, 1, or 2, the value passed to PlaceCritterTreasure() would be 0 or less after subtracting 2. This will prevent treasure drops since that is the quantity to be dropped (e.g. -2, -1, 0, 1 or 2 items). So, whatever value is passed as a second argument (i.e. replacing the expression Random(4)-2) needs to evaluate to 1 or greater. Note that drops are extremely random, and are partially based on your level. You may be better off with the cheat console.
  7. I'm in agreement, and I'm hoping I'm wrong about the bonuses being hard-coded. It would help with a mod I have in mind... Still, a thread on another forum gives a good reason why bonuses are problematic: what if you want to be grey? There's nothing for you. Even the personal crystal in KOTOR2 is crappy for grey Jedi. And this is important, given that the game is all about challenging the notion of light/dark.
  8. I looked through the save files and can't find my alignment bonus in the stats. I can't find my Wisdom bonus from T3 in KOTOR II, either. So, I think it's hard-coded. My guess is the bonus is recalculated from global variables each time you load a module, as I've seen a few stats do this. The game isn't challenging even without the bonuses. That being said, the Poison Immunity bonus is OK. IIRC, it can prevent Plague which weakens you. Of course, I never let my enemies live long enough to cast it...
  9. Can't say for sure, but it looks like it modifies important things. So, I would start with a new game. You might be able to get by with a save early in the game if you haven't visited any worlds, but I'm guessing. I know, you want to skip Peragus and Telos... No love for the opening game.
  10. To expand, there's a thread about this: Specifically: tl;dr You want to mutli-mod, so you can't shouldn't use the Workshop.
  11. It's the sonic imprint sensor from Peragus. And, you don't need to have it in your inventory. Instructions (with spoilers) can be found here:
  12. Is it possible those mods "cheated" by placing a UTC into the SAV file? That's pretty much what the game does, anyway.
  13. Most quests don't have "Smarter" solutions than persuade, just different solutions. It also helps to know which game you're referring to. In K1, all [Persuade] options use the persuade skill. However, in K2, various features can persuade. For example, in Nar Shadaa there are at least two encounters (both in the Refugee section) where successful [Persuade] is based on the Strength attribute! [Persuade] compares against Skills, Attributes, and/or global variables. Finally, not everything is listed as [Persuade]. In Peragus, a high [Intelligence] attribute helps with the dormitory holo recorder console (computer consoles are just dialog with a computer). In conversation with Kreia, [Awareness], [Intelligence] and [Wisdom] can make certain options appear. The real kick is that [Persuade] isn't always to your advantage. Atton gets angry if you try to [Persuade] him to talk about his Ecchani training.
  14. Dope. I haven't played this game since it first came out, so I never knew there was a modding scene. In an ideal world, yes. But, I only have a Windows machine, and no interest in installing Linux or buying a Mac again. lol The initial focus is making a program that works correctly. After that I can make an API so the source can be ported. I prefer as pure a C++ implementation as possible, with only the GUI using non-portable code. For Windows that's DirectX, and then whatever equivalents exist on Mac and Linux (Metal and OpenGL?). Since it will have an API, it can easily have any front-end, even QT. I feel the same, and I've been coding for two years now. 🤣 Eventually, you'll realize you don't know shit and will never know shit, yet somehow a pot of coffee and a box of donuts gets something decent enough out the door the morning of a release. Mm, donuts...
  15. StrategyWiki has a nice chart of XP gained for killing enemies in KOTOR1. Is there a chart anywhere for KOTOR2? Even a formula is fine. Additionally, does anyone know of a way to alter creature details like level, attributes, etc... after a creature has spawned? Since most enemies are spawned when you enter a module, you get less experience per kill each time you reach an XP-level threshold. I could use triggers and/or encounters to spawn new enemies to reflect any levels gained after entering, but I would rather just fire a script. Something like: object oMe = GetFirstPC(); int iXP = GetXP(oMe); int iCR = RecalculateLevel(OBJECT_SELF, iXP); SetChallengeRating(OBJECT_SELF, iCR); Where OBJECT_SELF is the enemy creature.