-
Posts
1,601 -
Joined
-
Last visited
Content Type
Profiles
News Articles
Tutorials
Forums
Downloads
Everything posted by mrwonko
-
OpenJK is not for modding, it's for playing. I referenced its source code because it works the same as the original Jedi Academy. Here's what I learned from reading the source code: For an NPC to be able to grab, it needs to have class CLASS_KYLE in the .npc file (only Kyle-class NPCs are allowed to grab) use weapon WP_SABER (you have to be a Jedi to be able to grab, and the only way for a Kyle-class NPC to become a Jedi is to wield a lightsaber) have spawnflags 1 enabled (on NPC_Kyle, that is the "Boss" flag. Only the boss version is allowed to grab.) have an animation for BOTH_KYLE_GRAB, and optionally for BOTH_KYLE_PA_1, BOTH_KYLE_PA_3 & BOTH_KYLE_MISS (to be able to successfully grab someone, you need to be in the BOTH_KYLE_GRAB animation. The rest is played during the grab or when it misses, and are technically not required). Note that the player will always play the same reaction animation.) All player models using the _humanoid skeleton have such animations. So you need to write a custom .npc file with the correct class and weapon, use an npc_spawner with spawnflags 1 to spawn it in a map, and it needs to use a model with a grab animation. Spawning it using the console is impossible, as you cannot set spawnflags 1.
-
PK3 put inside Base folder isn't being loaded (JKA)
mrwonko replied to TheFoxTrotte's topic in Modding Assistance
In principle, 7zip should also work, but you have to be careful not to create a .7z file, it has to be an old-school .zip. But if Pakscape works for you, it's probably easier to simply stick to that. -
Needing Help With Making Character Have Facial Movement
mrwonko replied to WhiteSaber's topic in Modding Assistance
You cannot move the bones, all player models share the _humanoid skeleton and have to conform to it. Besides, you don't need to move bones to attach the model to them, you need to weight the model, i.e. define which vertex is affected by which bone. Since this needs to be quite precise for facial animation, weight painting may be the best option. -
Is there a mod to practice light saber duels with NPCs?
mrwonko replied to Xoxx's topic in General Modding Discussions
So what exactly are you looking for? If you just want to create some NPCs to battle against, you can use the "npc spawn" cheat. -
Blender 4.0 error with importing GLM files
mrwonko replied to bigphil2695's topic in Modding Assistance
Turns out this was already fixed in 2020, you must be on an older version of the plugin. The version on jkhub is used to be outdated, you can find the latest one here: Release nightly · mrwonko/Blender-Jedi-Academy-Tools (github.com) -
PK3 put inside Base folder isn't being loaded (JKA)
mrwonko replied to TheFoxTrotte's topic in Modding Assistance
Make sure the name of your pk3 comes alphabetically after assets6.pk3. If it's something like "alternatekyle.pk3", it will be overwritten by the original assets instead of the other way around. -
In the Ghoul 2 properties, I don't think the name is supposed to end in _0. Compare that one to a working model to check. Usually the _0, _1 etc. suffixes are only there to disambiguate the objects, but all LODs have the same G2 name with no LOD suffix.
-
Import player model to Blender - question about skin names
mrwonko replied to Jedijedi's topic in General Modding Discussions
The importer only supports one .skin file at a time, and it does not auto-hide surfaces marked as "*off". You'll have to manually combine the .skin files into a single one, and then manually hide/remove all undesired surfaces. -
Blender 4.0 error with importing GLM files
mrwonko replied to bigphil2695's topic in Modding Assistance
Yeah, apparently time.clock was removed in Python 3.8 and Blender must have updated to that version (or newer) now. The add-on needs to be adjusted accordingly. I hate it when programming languages just randomly decide to break your program in a new version... -
How do i select the root pose as the first frame in Blender?
mrwonko replied to Piaujeymer's topic in Modding Assistance
I currently do not see the connection between the title of this thread and your message. Please describe in more detail what steps you have performed. How do you merge glas? -
No, you cannot change the lightmap using entity modding. The only way to get rid of it is to use a fullbright shader that ignores the lightmap, but a) that's going to look terrible and b) there probably aren't any existing fullbright shaders for the textures you want to use, and you cannot add new shaders through entity modding.
-
I don't know of any, and if there were any, I wouldn't want to use them. I appreciate the Discord having different channels I can mute individually, to recreate that with telegram you'd need dozens of chats that people have to join individually. Just fix your Discord?
-
Need help with importing humanoid playermodels in Blender [JKA]
mrwonko replied to LennyGuy20's topic in Modding Assistance
Check the manual, you need to unpack models/players/_humanoid/_humanoid.gla and either have the files in GameData/Base or manually configure the base path on import. -
Does the underwater fog still work? I assume the blue character is related to that somehow, since it's also blue. bespin/water2 has fogparms configured to give it that blue fog, while caulk_water does not configure any fog, so I'm not sure which takes precedence when you mix both on a brush.
-
See https://jkhub.org/tutorials/general-modding/installing-editing-and-managing-pk3s-r73/, but remember to never edit the existing assets files, and instead put your modifications into a separate pk3 archive.
-
"Extracted" makes it sound like you downloaded a zip. Please learn to use Git instead, so that you can keep track of your changes better, and undo them if necessary. Yes, I was talking about the name of jk2gamex86.dll. That sounds like the correct one, don't change it. x86 means 32 bit. To use a 32 bit/x86 jk2game dll, you need a matching version of OpenJO, I think the executable should be called something like openjosp.x86.exe (the x86 being the important bit), is that what you're using? "Release" is okay, "Release With Debug Symbols" is better if you get something wrong and need to debug. You probably should not use "Debug", as it enables a lot of extra error checks, which tend to fail and interrupt your game with error messages about unrelated things. Did you check the ingame logs with Developer 1 like I suggested?
-
Having your own folder for your mod is not a bad idea, it helps you stay organized, and if you can select it in the menu, you're probably doing it right. As far as I remember, dlls don't necessarily need to be in a pk3 to work, but it definitely doesn't hurt. The most likely cause for a dll not being loaded is that it has the wrong name. Either because you renamed it yourself (then undo that), put it in the wrong folder, or because you're trying to use a 32 bit mod with a 64 bit engine or vice-versa, in which case you need to compile the correct version instead. Once the file has the right name, the ingame log should contain more information about whether it's being used, especially when you set developer 1.
-
Datapad glitch on Courscant; anyone help fix?
mrwonko replied to Megakyle's topic in Modding Assistance
Ah, good old Rubber Duck Debugging. Looks like the datapad was still work in progress in JK2 and then they finished it for JKA. I wonder how many other unused and/or unfinished assets are included with the games... -
Datapad glitch on Courscant; anyone help fix?
mrwonko replied to Megakyle's topic in Modding Assistance
You must have some kind of (asset) mod that changes the datapad, it looks like it's using a different texture. I'd be surprised if this was in any way connect to OJK or JAE. Have you tried removing all PK3s and loose files except the original assets? -
For animations, you can also do a lot with shaders! By overlaying up to eight layers, you can mask out areas, have moving/pulsing images, and do all kinds of neat things. As far as I know, shaders should work the same in menus as they do in maps. I think 4096x4096 is the largest texture size I've heard of people using successfully, and there shouldn't be much need to go further. Good luck!
-
The menus use a virtual 640x480 canvas that gets stretched to whatever resolution the user is actually using. So to always look correct, you need one version of the menu for each aspect ratio. But I think you can do the image squishing in the .menu file, you don't need to squish the texture itself? A menu editor is high on my priority list, but I don't know when I'll get around to it.