-
Posts
4,854 -
Joined
-
Last visited
-
Days Won
554
DarthParametric last won the day on April 3
DarthParametric had the most liked content!
About DarthParametric

- Birthday 03/12/1976
Profile Information
-
Gender
Male
-
Location
: Oz
Recent Profile Visitors
DarthParametric's Achievements
-
You can use the DestroyObject command, but trying to grab a corpse via script can be flaky. The most reliable way might be to first flag him as non-destroyable, something like: AssignCommand(oSion, SetIsDestroyable(FALSE, FALSE, FALSE)); ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDeath(), oSion); DelayCommand(1.0, AssignCommand(oSion, SetIsDestroyable(TRUE))); DelayCommand(1.1, DestroyObject(oSion)); Adjust timings as necessary.
-
You don't want to leave the vanilla script. That kills him. You need to replace that script with your own that does all the stuff the vanilla script does and then modifies it to get the result you want. Yes, to add static cameras you will need to edit the module's GIT. Which means that they won't take effect in a saved game (unless you extract the save and edit its module GIT). Alternatively, you can create an animated camera, which is a motion track stored in a model that the game can attach a camera to. Any time you see a cutscene with a camera panning or the like, that's an anicam. But you can also use it for simple position switches where you just jump the camera to different points as needed. This would require the use of Blender or 3DS Max and their appropriate I/O scripts.
-
This is all scripting for the most part. If you look at 903sion.dlg, E121 should be the node of interest. You can see that fires the script a_sion with parameter 3 - https://github.com/KOTORCommunityPatches/Vanilla_KOTOR_Script_Source/blob/master/TSL/TSLRCM/Modules/903MAL_Malachor_V_Trayus_Academy/a_sion.nss That triggers case 3 of the switch runs that function that handles his death scene. Clears all effects on him, plays the ANIMATION_LOOPING_RAGE animation on him for 1.5 seconds, removes his minimum 1HP flag, applies the instant death effect, then unlocks the door. If you want to prevent a node from skipping and run for as long as you want, then you need the ActionPauseConversation and ActionResumeConversation functions. However, you have an added wrinkle here. Sion is the conversation owner. A conversation will immediately terminate if the owner dies. Typically in cases like this where an NPC needs to die, you get around it by making the owner an invisible placeable, but in this case that would probably break all the other scripts. So you'll need a bit of slight of hand to get around it. What I would do is have him manually play the death anim, spawn the VFX placeable over the top of him, then use that as cover to jump Sion somewhere out of sight so he can be killed after the cutscene finishes. The question will be whether the VFX actually obscures him sufficiently. That will probably require some custom shot framing with new static cameras. You could probably do a wide shot from behind the PC and use the PC themselves to block it if absolutely necessary. You can script switching between static cameras using the SetDialogPlaceableCamera function.
-
If it exists, it would likely be in the Xbox version rather than the PC version. That said, I can see two references in the PC TLK: <string id="79038" soundlength="0.000000">This is Captain Opelle of the Valiant.</string> <string id="79046" soundlength="0.000000">My schematics show the closest docks to your location at Module 083. We'll arrive shortly and handle the situation from here. Opelle out.</string>
-
KotOR II Model editing in Blender
DarthParametric replied to Letstrit's topic in General Kotor/TSL Modding
Yes. The model format only "officially" supports 16 bones per mesh, but actually has provision for 17. Hence why vanilla body models are split. -
KotOR II Model editing in Blender
DarthParametric replied to Letstrit's topic in General Kotor/TSL Modding
There's something very weird going on. There is no UV data stored in the traditional manner if you load it into Max, but if you it into Blender it appears to show island boundaries that conform to the body shape. Doesn't actually show any UVs though, although I have no idea how to use Blender's UV editor. Whatever you did, you apparently didn't store the UVs in channel 0. Not sure how that would make the mesh invisible though. -
KotOR II Model editing in Blender
DarthParametric replied to Letstrit's topic in General Kotor/TSL Modding
This is an issue with the model itself, not the UVs. Attach your exported MDL/MDX and source blend file. -
Fair Strides' Script Shack
DarthParametric replied to Fair Strides's topic in General Kotor/TSL Modding
Like any other global item, you can check the UTIs in BIFs -> Templates.bif using something like Holocron Toolset or KTool. Components have the ResRef: compont_00001 Similarly, chemicals have the ResRef: chem_00001 -
question Zaalbar on the Leviathan
DarthParametric replied to Quba's topic in General Kotor/TSL Modding
Not particularly difficult for the most part, if you know what you're doing, but not the ideal first mod for someone who has no experience. This would require multiple script edits, dialogue creation, cutscene creation, and the ever-thorny issue of dealing with adding/replacing vanilla companion/NPC dialogue. -
- 2 comments
-
You should look at how vanilla faked metal works using envmaps (i.e. cubemaps). Basically you create a mask in the diffuse texture's alpha channel, and then create text file with the same name as the texture and the TXI extension. In that you can add various instructions that tell the engine how to render the associated texture/s. In this case, you'd want something like envmaptexture CM_Baremetal If you are converting your diffuse to a TPC, you'd need to convert it again and make sure you tell TGA2TPC to use the TXI. It will then embed the TXI data into the TPC (TGAs use a loose TXI file).
- 6 replies
-
- sword
- ajunta pall
-
(and 4 more)
Tagged with:
-
You're assigning a material in Blender. Odyssey doesn't use materials (except for walkmeshes), it uses direct texture assignment. Select the mesh, go to the Object tab, and in the KOTOR sub-panel look for the "Main Texture" field. Put the texture name in there, like so (vanilla example): You don't appear to have an icon, which is why KSE is freaking out and it's blank in-game. Icons have to follow a strict naming pattern defined by the item type and referencing the variation number. In this case, your icon needs to be named iw_shortswrd_004. I would suggest using TGA for icons just to stop KSE's errors. Also don't make your icon bigger than 256x256, because KSE doesn't scale them. Speaking of variation numbers, you're best to use a higher random number beyond the vanilla range. Less chance of a clash with other mods that way. The available range goes up to 256, so I'd use something like, I dunno, 139.
- 6 replies
-
- sword
- ajunta pall
-
(and 4 more)
Tagged with:
-
Kotor 1 - Stuck before Dantooine Star Map
DarthParametric replied to keegs's topic in Knights of the Old Republic General
@DarthInfi @Ivorach Aiora Dantooine Ruins Fixed.zip LS Scout Guardian Dantooine Ruins Fix.zip -
MOD:All Hands on Deck for the Leviathan Prison Break
DarthParametric replied to DarthParametric's topic in Mod Releases
Very odd. That DLG looks to be untouched and completely fine (the breakout sequence DLG is actually semi-broken). And there's no equivalent DLG in the Override folder. I'll have to check the UTP and see if the reference was changed.