Jump to content

Welcome to JKHub

This community is dedicated to the games Star Wars: Jedi Outcast (2002) and Jedi Academy (2003). We host over 3,000 mods created by passionate fans around the world, and thousands of threads of people showcasing their works in progress and asking for assistance. From mods to art to troubleshooting help, we probably have it. If we don't, request or contribute!

Get started

Underworld Mod Contest

This contest is all about the Star Wars underworld: crime syndicates, gangs, assassins, bounty hunters, scum, villainy, etc. Imagine walking into the Mos Eisley cantina, or landing on Nar Shadaa, or sneaking about the undercity of Coruscant. What would you see, or would you even live to tell about it? Deadline is April 8th, 2022.

Read more

Required string '{' missing


Link

This is always due to a new pk3 you've downloaded having a missing brace ( } or {) from an .npc or .sab file. You should either contact the author or you can fix it yourself by opening the pk3, going to ext_data then either sabers or npcs. Open all the files in these directories and check them for a missing brace.

 

Here is an example of a working NPC file (Jawa)

 

jawa
{
playerModel jawa
weapon WP_NONE
scale 75
health 10
snd jawa
sndcombat jawa
reactions 3
aim 1
move 3
aggression 3
evasion 1
intelligence 5
rank crewman
playerTeam TEAM_NEUTRAL
enemyTeam TEAM_FREE
class CLASS_JAWA
yawspeed 90
walkSpeed 55
runSpeed 150
dismemberProbHead 0
dismemberProbArms 10
dismemberProbLegs 1
dismemberProbHands 20
dismemberProbWaist 0
}

Notice how there are two different types of braces before and after the personality instructions?

 

Fix

Check your .npc and .sab files in the pk3 you're having problems with and see if any braces are missing, if you find one then simply add it and save.


User Feedback

Recommended Comments

I seem to be having this issue with my Base NPCs for whatever reason. Some NPCs will spawn, but most of them don't. This issue is exclusive to Multiplayer - it works just fine in Single Player.

EDIT: It seems to be my Manual Blocking NPC mod that was causing the issue - I might have to make it only change the saber wielders.

Link to comment


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...