-
Posts
1,612 -
Joined
-
Last visited
Content Type
News Articles
Tutorials
Forums
Downloads
Everything posted by mrwonko
-
Is it possible to adjust weapons behaviour in a mod?
mrwonko replied to Cellprocesses's topic in Coding and Scripts
It could be implemented, but it's probably outside the scope of the OpenJK project. I think some multiplayer mods like Jedi Knight Galaxies have explored the idea before, but I'm not aware of anything for singleplayer. -
OJPEnhanced .bat to .sh Steamdeck Launch?
mrwonko replied to ImperialRemains's topic in Modding Assistance
I believe "start" just launches a program in the background, it's used so the .bat doesn't cause a command line window to stay open while the game is running. The shell equivalent is putting a & behind the command, but you probably don't need that when launching through Steam. The "+set fs_game ojpenhanced" are arguments sent to and interpreted by jamp.exe, which are the same on all operating systems. I understand that you're trying to run Windows binaries through Steam/proton, but if you were using native linux binaries instead and not running through Steam, the equivalent shell script would look like this: #!/bin/sh ./jamp +set fs_game ojpenhanced & Note that linux binaries don't end in .exe, and you have to prefix them with ./ because the current directory is not part of the search path for safety reasons. But for this you'd need a linux version of both jamp (or one of the sourceports like openjk) and OJP Enhanced. I'm not sure if OJP Enhanced provides pre-built linux binaries, or even builds on linux at all. Since you already have it working through Steam, I wouldn't worry about it, unless you encounter bugs. -
Please don't ask the same question in two different places. I have no solution, I don't use Unity.
-
For the life of me, this model just won't work
mrwonko replied to bigphil2695's topic in Modding Assistance
You're using an outdated version of the plugin. The latest one is for Blender 4.1 and shows the more helpful error message "loading LOD 0 from Blender: could not load surface l_leg: Surface has invalid vertex: Could not retrieve vertex bone weights: l_leg_0 has no armature modifier!" -
Issues with using MP models in SP for Jedi Outcast
mrwonko replied to bigphil2695's topic in Modding Assistance
I downloaded the Mara Jade model and tried "npc spawn rebelmara" in jk2sp and it works just fine, the gun is held in the right place. I tried both vanilla and (an ancient version of) OpenJO. Maybe another mod is causing your issue? -
Issues with using MP models in SP for Jedi Outcast
mrwonko replied to bigphil2695's topic in Modding Assistance
Could you link to one of the broken models so we can take a look at it? -
Console port of Jedi Outcast and Jedi Academy
mrwonko replied to JungleGoutte01's topic in Jedi Knight General Discussions
The Jedi Academy player model has fewer bones than the one in JK2, which I think was a compromise they made so it would run better on XBOX. -
Porting maps to source/source2 engine
mrwonko replied to Exmirai's topic in Jedi Knight General Discussions
I don't think anyone has tried porting a compiled .bsp to source yet, you'd have to program your own tools for it. With enough effort, it should be possible, if you know what you're doing. But if you have the original .map file for the map, I think you can use NetRadiant Custom to save that in a format that Hammer can use, so that might be easier. If you succeed, please document how you did it so others can learn from it. -
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?