-
Content Count
4,666 -
Joined
-
Last visited
-
Days Won
531
Content Type
Profiles
Forums
Blogs
Forum & Tracker Requests
Downloads
Gallery
Store
Calendar
Everything posted by DarthParametric
-
graphics [Query] Blending_xx Rendering "Issue"
DarthParametric replied to ebmar's topic in General Kotor/TSL Modding
It might be because the blade planes are considered their own separate node type. While the ASCII has a mesh alpha value, that may not carry over to the binary model, or be used by the game. That would be a question for bead-v/ndix UR. As to the Ajunta Pall model, no, that was a model hierarchy issue. The game apparently crashes when you have skinned meshes using mesh alpha below trimeshes with mesh alpha in the hierarchy.- 13 replies
-
graphics [Query] Blending_xx Rendering "Issue"
DarthParametric replied to ebmar's topic in General Kotor/TSL Modding
You could try editing the saber models and setting the mesh alpha of the blade planes from 1.0 to something like 0.9. You may have to incrementally adjust the value to see what it looks like. But it's probably never going to render the way you want it to.- 13 replies
-
- 1
-
-
Emitter changes with MDLEdit
DarthParametric replied to Malkior's topic in General Kotor/TSL Modding
There are various sound-related script snippets in the thread of ebmar's that I linked to in the previous post. If you want visible lightning, I would think the best approach would be to add some planes to the skybox model (typically that is its own "room") and then animate their visibility and set it as a scriptloop animation for the room. Then it can be called via script as needed. // Room Animation Constants int ANIMATION_ROOM_SCRIPTLOOP01 = 1; //Up to 20 animations are possible // 738: PlayRoomAnimation // Plays a looping animation on a room void PlayRoomAnimation(string sRoom, int nAnimation); There are a few different ways you could approach this. You could have triggers around the level that fire when the player walks past. You could hijack existing scripts that fire during certain events. You could add scripts to dialogues, if that is appropriate. You might be able to have some sort of timer-based approach, probably triggered via the OnEnter, but that's more the realm of scripting gurus to address. The way you'd want to set it up would be to have a couple of room scriptloops you can switch between, a base one that does nothing and then one or more that controls the visibility of the lighting. Then the scripts would switch between them so the lighting only occurs when you want. -
Emitter changes with MDLEdit
DarthParametric replied to Malkior's topic in General Kotor/TSL Modding
Modding standards. Just chucking stuff in the Override is lazy. -
Emitter changes with MDLEdit
DarthParametric replied to Malkior's topic in General Kotor/TSL Modding
Yes. At least if you want to make a public release. I may be mistaken, but I believe you can only specify a single ambient sound track. However, similar to what @ebmar asked about in a recent thread, you could probably use scripting to get around this. In fact given your comment about thunder, you may be better switching them so that the rain is the default track and the thunder is one you script to play at various instances. You could also potentially harness the same scripting to play a room animation that adds some lightning VFX. -
The mesh is split along UV seams. We always traditionally had a problem where ye olde MDLOps was unable to smooth across such seams, but this was fixed in more recent revisions of MDLEdit. I believe it is also fixed in MDLOps, it just hasn't been pushed to the public release. The reason you get a hard seam is there are two sets of verts at each point along the seam, and each has their own normal. When you unify these into a single averaged normal, you get a smooth transition across the seam (i.e. no visible seam). It should be easy to visualise this in Max/GMax if you decompile that model, load up the ASCII and add an Edit Normals modifier.
- 3 replies
-
- 1
-
-
- discovery
- comparison
- (and 6 more)
-
That has nothing to do with normal maps. It's a smoothing error.
- 3 replies
-
- 1
-
-
- discovery
- comparison
- (and 6 more)
-
You can also currently get an Old Republic flair: from the Anniversary vendor on the fleet, found in the Strongholds section. The vendor also has a number of stronghold decorations and, most importantly for new players, a holostatue which will allow you to purchase new skills out in the field without needing to visit a trainer. All of it is free until January 15, I believe.
- 1 reply
-
- 1
-
-
wiki [K1/TSL] RandomAccessMemory
DarthParametric replied to ebmar's topic in General Kotor/TSL Modding
A model is the entire...container, for want of a better term. A mesh is the polygonal geometry within the model. Typically a model is comprised of multiple meshes, although in some cases, such as VFX, there may be no meshes at all.- 46 replies
-
- 1
-
-
- randomaccessmemory
- scripting
- (and 10 more)
-
wiki [K1/TSL] RandomAccessMemory
DarthParametric replied to ebmar's topic in General Kotor/TSL Modding
Custom models. You don't need to touch the meshes, just the texture assignments.- 46 replies
-
- 1
-
-
- randomaccessmemory
- scripting
- (and 10 more)
-
Yeah that's fine. You can still save the NSS. DrMcCoy (lead Xoreos dev) explains here why certain scripts fail to decompile.
-
I would guess you tried decompiling it with TSL's nwscript.nss. Make sure you are using the version with K1's nwscript.nss, as I suggested by having two separate versions. If that still doesn't work, then you probably have JCarter's disease. He can't decompile certain scripts which other people can for some reason.
-
It's a Java executable, so all you do is double click it to run it (assuming you have the Java Runtime Environment installed). After that you simply browse and load the NCS file you want to decompile. When you close the file, it will ask if you want to save it as an NSS. You need a copy of nwscript.nss in the same folder, but I would advise making two copies of the program in two separate folders. Set one up with K1's nwscript.nss and the other with TSL's nwscript.nss.
-
streamsounds [Query] Extracting TSL's Audio Files
DarthParametric replied to ebmar's topic in General Kotor/TSL Modding
I use a generic batch file and input the offset required: @echo off set /p byteno="Please enter the number of bytes to trim from the header: " for %%F in (*.wav) do dd if=%%~nF.wav of=%%~nF.mp3 bs=1 skip=%byteno% pause- 9 replies
-
- audio
- streammusic
-
(and 2 more)
Tagged with:
-
streamsounds [Query] Extracting TSL's Audio Files
DarthParametric replied to ebmar's topic in General Kotor/TSL Modding
I would assume obfuscation is the only practical reason.- 9 replies
-
- audio
- streammusic
-
(and 2 more)
Tagged with:
-
streamsounds [Query] Extracting TSL's Audio Files
DarthParametric replied to ebmar's topic in General Kotor/TSL Modding
They have a double/triple fake MP3 header of 470 bytes.- 9 replies
-
- 1
-
-
- audio
- streammusic
-
(and 2 more)
Tagged with:
-
Lines Not Showing In Dialogue Editor
DarthParametric replied to ALPHA000102's topic in General Kotor/TSL Modding
By version I meant unpatched CD version? Steam/GOG? For ease of viewing, you may want to convert the TLK into an XML with Xoreos Tools. You can use this batch file with it: @echo off set /p gametype="Please enter either kotor or kotor2 to specify game version: " set /p tlkname="Please enter the filename of the TLK (without extension): " tlk2xml --%gametype% %tlkname%.tlk %tlkname%.xml pause Paste that into a text file and rename it TLK_to_XML.bat then put it in the Xoreos Tools folder alongside a copy of dialog.tlk (you may want to rename it k1dialog.tlk in case you also want to convert TSL's later). You'll need to use TSLPatcher's TalkEd if you want to release a mod with TLK changes. -
TSL Patcher - can't choose game folder
DarthParametric replied to Allastair's topic in General Kotor/TSL Modding
If you pressed the Install Mod button first and it is the main window moving then presumably it is not generating the browse dialogue window at all. What OS are you on? Your only other practical option would be to set the auto-detect flags in tslpatchdata\changes.ini and have it select the game's install location automatically. Change LookupGameFolder=0 to LookupGameFolder=1 and set LookupGameNumber= to either 1 for K1 or 2 for TSL. If you are using the Steam or GOG versions, you will first need to add registry entires to point to your install location, as TSLPatcher only knows about the original CD version. Use the info in this post: https://deadlystream.com/topic/4568-kotor-tool-wont-work/?do=findComment&comment=47386 -
What am I doing wrong with MDLops?
DarthParametric replied to Mephiles550's topic in General Kotor/TSL Modding
You don't use the replacer function. And the head fix is only for head models, not body models. If you want to use MDLOps, simply set the Target Game to K1, hit the Select File button, change the drop-down to ASCII Model Files and load your ASCII, then hit Read and Write Model. That's it. If you want to use MDLEdit, set the game to K1, File -> Load, select your ASCII, wait for it to load into memory, then File -> Save -> Binary. -
What am I doing wrong with MDLops?
DarthParametric replied to Mephiles550's topic in General Kotor/TSL Modding
Old MDLOps did some hackery to get models to compile. MDLEdit generally doesn't like anything compiled by it. Use MDLOps v1.0 to decompile it. It should retain backwards compatibility. -
What am I doing wrong with MDLops?
DarthParametric replied to Mephiles550's topic in General Kotor/TSL Modding
MDLOps requires you to manually enable the head fix flag in its "Write Binary" settings. PFBIM decompiles fine with MDLEdit for me. You must be using an old version. -
What am I doing wrong with MDLops?
DarthParametric replied to Mephiles550's topic in General Kotor/TSL Modding
S_Female02 is the supermodel for most male models. S_Female03 is the supermodel for females. -
What am I doing wrong with MDLops?
DarthParametric replied to Mephiles550's topic in General Kotor/TSL Modding
Do not use v0.5. That is the old redundant version from years ago. Download either MDLEdit, or MDLOPs v1.0. What you need to do is decompile the source model to ASCII, find the appropriate binary K1 supermodel (S_Female02 in this case) and put it in the same folder, then load the ASCII and compile as a K1 binary model. -
TSL Patcher - can't choose game folder
DarthParametric replied to Allastair's topic in General Kotor/TSL Modding
After you click the Install Mod button, try pressing ALT + Space and then Enter, then tap the Left Arrow key repeatedly and see if the browse window appears from the edge of the screen. -
Dantooine Jedi Enclave Landscaping
DarthParametric replied to DarthParametric's topic in Work In Progress
I was thinking of something like this for the empty troughs on the sides of the landing bay: Although currently the lightmaps are really flat. Need to fiddle around with them some more.