-
Posts
4,923 -
Joined
-
Last visited
-
Days Won
559
Content Type
Profiles
Forums
Blogs
Forum & Tracker Requests
Downloads
Gallery
Store
Events
Everything posted by DarthParametric
-
[WIP] Lobot-style Cyborg Player Head
DarthParametric replied to DarthParametric's topic in Work In Progress
It appears TSLPatcher can substitute 2DA memory tokens before compiling scripts, so if anyone wants to write a suitable script that will equip an item on a player at the start of the game, go right ahead. Leaving aside the actual writing of the script, how do you get it to fire at the start of the game? Edit: Looking around at various script examples, I tried to cobble together something. What do the resident script gurus think of this? Edit 2: OK, testing in TSL I can get the script to fire and to give the item to the PC and have it equip during the kolto tank scene on Peragus. Doesn't add/equip on PCs using a different appearance.2da row. Here's the script attached to 101awake.dlg: void main() { object oPC = GetFirstPC(); if(GetAppearanceType(oPC) == #2DAMEMORY2#) { object oDPCyborg2 = CreateItemOnObject("a_helmet_179", oPC, 1, 1); AssignCommand(oPC, ActionEquipItem(oDPCyborg2, INVENTORY_SLOT_HEAD, TRUE)); } else if(GetAppearanceType(oPC) == #2DAMEMORY3#) { object oDPCyborg2 = CreateItemOnObject("a_helmet_179", oPC, 1, 1); AssignCommand(oPC, ActionEquipItem(oDPCyborg2, INVENTORY_SLOT_HEAD, TRUE)); } else if(GetAppearanceType(oPC) == #2DAMEMORY4#) { object oDPCyborg2 = CreateItemOnObject("a_helmet_179", oPC, 1, 1); AssignCommand(oPC, ActionEquipItem(oDPCyborg2, INVENTORY_SLOT_HEAD, TRUE)); } else { } } However, I'm not having any luck getting it to equip on the PC in the medbay during the tutorial. This is the script attached to intro.dlg: void main() { object oPC = GetFirstPC(); object oExile = GetObjectByTag("MEDBAY_PC"); if(GetAppearanceType(oPC) == #2DAMEMORY2#) { object oDPCyborg1 = CreateItemOnObject("a_helmet_179", oExile); AssignCommand(oExile, ActionEquipItem(oDPCyborg1, INVENTORY_SLOT_HEAD, TRUE)); } else if(GetAppearanceType(oPC) == #2DAMEMORY3#) { object oDPCyborg1 = CreateItemOnObject("a_helmet_179", oExile); AssignCommand(oExile, ActionEquipItem(oDPCyborg1, INVENTORY_SLOT_HEAD, TRUE)); } else if(GetAppearanceType(oPC) == #2DAMEMORY4#) { object oDPCyborg1 = CreateItemOnObject("a_helmet_179", oExile); AssignCommand(oExile, ActionEquipItem(oDPCyborg1, INVENTORY_SLOT_HEAD, TRUE)); } else { } } Is it to do with the GetFirstPC(); and the tutorial having T3 as the player? Here is a test of the animated lights: -
[WIP] Lobot-style Cyborg Player Head
DarthParametric replied to DarthParametric's topic in Work In Progress
I decided to try out the Master Dorak head mesh to see how that looked, as I preferred the shape of the nose. I did want to put an animated texture on it so it would have flashing lights, etc., but the game didn't like me trying to only use one corner of the texture, and you can't use two different textures on a player head. I don't want to make the overall texture tiny just to accomdate animations, so that idea might be out. I was wondering if it might be a better idea just to put in a couple of bald heads, then have the headpiece as a seaparate mask item. It would be prefereable to have it auto-equipped as starting equipment, but is that even possible? And if so I assume it would affect all characters, not just that specific head choice? -
[WIP] Lobot-style Cyborg Player Head
DarthParametric replied to DarthParametric's topic in Work In Progress
It will be a player head (edited thread title to clarify). I used Gadon's model as the base as it is one of the few bald heads present in both games (another is Uthar Wynn). There's also Master Dorak's head, which has a hairline modelled in but would probably work ok with this as that area should be covered. I think one of the bald PMB heads is also shared between games. -
Some further procrastination, avoiding having to deal with skinning the Nautolans. I was rooting through one of my cargo holds in SWTOR the other day and came across a Cyborg Construct AM-7 headgear. I decided to take a crack at something similar, but for the front half I went with something more in line with the Borg Construct Aj^6 that Lobot wears in The Empire Strikes Back. The base head is Gadon Thek. His head model is in both K1 and TSL. Other than lopping off his ears and removing the eyebrow ring, he's untouched, so I can just skin wrap him to the original and save myself some grief.
-
The TXI semantic is blending additive. The alpha is the logo itself. The RGB is just a solid yellow.
-
No, it's an HK-50 on Peragus. If you are using KOTOR Tool to edit the 2DA, are you actually editing the appearance.2da in the Override folder? If this is Steam and you installed TSLRCM from the Workshop, then you need to look in the mod's Workshop folder - \steamapps\workshop\content\208580\485537937\ - rather than the game's own folder.
-
Having problem with NWMax
DarthParametric replied to Kaidon Jorn's topic in General Kotor/TSL Modding
So yeah, Program Files strikes again, eh? Your best bet with any Windows install is to set up a separate drive/partition for any programs. I always have a D drive for that. -
Having problem with NWMax
DarthParametric replied to Kaidon Jorn's topic in General Kotor/TSL Modding
The Listener log would seem to indicate that the script loaded fine. Not sure what the issue is there exactly. -
Having problem with NWMax
DarthParametric replied to Kaidon Jorn's topic in General Kotor/TSL Modding
I always had to start the script manually, the NWMax exe never worked for me, so that in itself is not an issue. After trying to run the script manually, press F11 to open the Listener window and see if it lists any info. Could be worth installing GMax outside Program Files. Windows is super bitchy about stuff running in there. -
Having problem with NWMax
DarthParametric replied to Kaidon Jorn's topic in General Kotor/TSL Modding
Are you using the GMax version of the script? -
MISSING texture from hex editing
DarthParametric replied to Jorak Uln's topic in General Kotor/TSL Modding
A missing TXI is the only other thing that immediately springs to mind, assuming the image is RGBA. -
MISSING texture from hex editing
DarthParametric replied to Jorak Uln's topic in General Kotor/TSL Modding
Did you manually replace each instance, or just do a simple replace all? There's also a LMA_wall01c, which would have been changed to JUM_wallc with a replace all, assuming it is used in the same model. Do a search in the edited file for any instances of JUM_wallc. -
Oh yeah, whoops, keep forgetting it's only Jade Empire that uses DX.
-
Could be a DirectX12 issue. While Microsoft has always espoused the notion that DirectX is fully backwards compatible, it's really not in practice. The game needs DirectX9, so try installing it from here - http://www.microsoft.com/en-us/download/details.aspx?id=35 It won't affect DX12, it will install alongside it. If you have Steam, there are probably DX redestributables already in one of your game folders.
-
I got a bit side-tracked by poking my nose into The Witcher 3's innards after CDPR released an unpacker/mesh converter yesterday, but I have managed to make a few tweaks to the Kel Dor, adding in some brow wrinkles/folds and UV mapped him. I also edited the underwear model to change the hands to something species-appropriate, as I figured I'd have to reskin that anyway with all the bare flesh. Not sure if I'll add the hands to all the other body models. Will see how it goes I guess.
-
They don't, they use TPC natively. Although functionally, it's pretty much the same as any other RGBA format. I'm not even sure why Odyssey reads TGAs. It must be some holdover from Aurora.
-
Looks like more blur in the 128 to me. I guess it depends on personal preference. For myself, I'd rather the 256, at least on that minor evidence.
-
It's because the OBJs were exported with no MTL, material definition files. Open the OBJ in Notepad or other text editor. At the top of the file, add the line: mtllib Harbinger.mtlCreate a new text file called Harbinger.mtl (make sure file extensions aren't hidden). For the original texture, put in the following: newmtl Harbinger illum 2 Kd 0.800000 0.800000 0.800000 map_Kd V_Hammrhd01ORIGINAL.tgaFor the new textures, use this: newmtl Harbinger Ns 50.781250 illum 2 Ka 1.000000 1.000000 1.000000 Kd 0.800000 0.800000 0.800000 Ks 1.000000 1.000000 1.000000 map_Ka V_Hammrhd01Inc.png map_Kd V_Hammrhd01Color.png map_Ks V_Hammrhd01Spec.png bump V_Hammrhd01Bump.png
-
Looks like LMG_HUD01 is the overlay, and I would guess LMG_Grad02 is used for the bars. Although that doesn't have the green arrows bit in the center.
-
I have been avoiding the horror of skinning the nautolan heads, and haven't started on the textures yet as I was waiting for my new Wacom tablet to arrive. So in the meantime I decided to do a bit more modelling, this time something without any nightmare-fuel appendages. Behold: I started out modelling him after the SWTOR Kel Dor, but then I looked at some pics of Plo Koon and realised their version is a bit off, so I started moving more towards the movie/canon style. As a result I still need to tweak a few things, like moving the ear/sensory sac things in a bit closer to the head. Skinning for this should be a piece of piss, just head and an bit of neck really. I might be able to add in some brow movement as well, as I didn't really change the position of the eyes compared to the original (I used Uthar's head as the base). On the other hand, texturing will be a lot more difficult than the Nautolans, with the wrinkly external brain look Kel Dor have.
-
You need an alpha channel to define transparency. Black is 100% transparent, white 100% opaque. Save the TGA out as 32bit.