Jump to content

Jedi Academy turned 20 this year! We celebrated in a ton of different ways: mod contest, server event, podcast, etc. Thank you to all who have been a part of this game for the last two decades. Check out the anniversary content!

Read more

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

This game turned 20 years old this year, and it is still one of the greatest Star Wars games of all time. If you're new or returning from a long hiatus, here are the basics of getting started with Star Wars Jedi Knight Jedi Academy in 2023.

Read more

Galactic Legacy Console Commands


Linken

SWGL-Exclusive Cheats and Codes

  • g_newgameplus #. 0 to turn off, 1 to turn on, only works properly in Jedi Outcast and Jedi Academy. Will disable the NPC spawner while on, will automatically turn off in custom game.
  • noforce: Become fully immune to offensive force powers
  • imhansolo: use at your own risk
  • lightningcolor: Change the color of your Force Lightning.
    Example: lightningcolor red 
    Available colors are: Red, Orange, Yellow, Green, Blue, Purple, White, and Black.
  • setforceregen #, replace # with a number to increase or decrease your force regeneration rate
  • g_allowsaberlocking #, 0 to turn off, 1 to turn on
  • g_newforcepowers #, 0 to turn off, 1 to turn on. Prevents NPCs from using any Force Power not present in the original game
  • g_allowForceAbsorb #, 0 to turn off, 1 to turn on. Prevents NPCs from using Force Absorb
  • g_allowForceProtect #, 0 to turn off, 1 to turn on. Prevents NPCs from using Force Protect
  • Add dark or light after kor1 or kor2 in the devmap command to play the final Korriban levels on the dark side or light side
    (example: devmap kor1 dark)

 

NPC Spawning

Galactic Legacy offers more NPC customizations than any other SP mod

All npc commands will start with npc spawn code replace code with the NPC you wish to spawn.
EX: npc spawn stormtrooper

  • To customize an NPC's appearance, add "skin" followed by the name of the skin.

    If the character has different skin appearances, type in the name of the skin after the "skin" command.
    EX: npc spawn stormtrooper skin blue

    If the character offers full customization (e.g. can customize their head, torso, and legs), type in each variant separated by a |
    EX: npc spawn darth_vader head_a1|torso_b1|lower_c1 

     
  • To change an NPC's alignment, add "team" followed by the team you would like them to be on.
    EX: npc spawn stormtrooper team player
    Available teams are: player, enemy, neutral, free, and solo
    If an npc does not have a team assigned through this command, they will spawn with their default team as declared in the npc file

     
  • To assign an NPC's initial behavior, add "spawnscript" followed by the script you'd like to use.
    EX: npc spawn stormtrooper spawnscript spawnscripts/at_ease

     
  • To assign an NPC's gravely wounded behavior, add "fleescript" followed by the script you'd like to use
    EX: npc spawn stormtrooper fleescript fleescripts/surrender

     
  • To assign what an NPC does after dying, add "deathscript" followed by the script you'd like to use
    EX: npc spawn stormtrooper deathscript deathscripts/dismember_head

COMPLETE LIST OF SCRIPTS 

  • Spawnscripts/at_ease
  • Spawnscripts/attention
  • Spawnscripts/cinematic
  • Spawnscripts/dead#, replace # with a number between 1-10
  • Spawnscripts/follow
  • Spawnscripts/force_immunity
  •  Spawnscripts/meditate
  • Spawnscripts/no_follow
  • Spawnscripts/sit_chair
  • Spawnscripts/sit_tired
  • Spawnscripts/typing
  • Fleescripts/flee
  • Fleescripts/kneel
  • Fleescripts/surrender
  • Deathscripts/disappear
  • Deathscripts/dismember_head
  • Deathscripts/dismember_leftarm
  • Deathscripts/dismember_lefthand
  • Deathscripts/dismember_leftknee
  • Deathscripts/dismember_leftleg
  • Deathscripts/dismember_rightarm
  • Deathscripts/dismember_righthand
  • Deathscripts/dismember_rightknee
  • Deathscripts/dismember_rightleg
  • Deathscripts/dismember_waist
  • Deathscripts/loseall

LIST OF WEAPONS

  • weapon_battledroid: E-5 Blaster Rifle
  • weapon_thefirstorder: F-11D Blaster Rifle
  • weapon_rey: LPA NN-14 Blaster Pistol
  • weapon_jango: Westar-34 Blaster Pistol
  • weapon_clonecarbine: DC-15S Carbine Rifle
  • weapon_clonerifle: DC-15A Blaster Rifle
  • weapon_clonepistol: DC-17 Blaster Pistol
  • weapon_clonecommando: DC-17M Interchangeable Weapon System
  • weapon_rebelblaster: DH-17 Blaster Pistol
  • weapon_rebelrifle: A280 Blaster Rifle

NEW FORCE POWERS

Use these commands to bind any of the force powers to a key for easy access or set the level of the power itself

  • force_stasis: Use Force Stasis
  • setforcestasis: assign a level to force stasis
  • force_blast: Use Force Blast
  • setforceblast: Assign a level to force blast
  • +force_grasp: Use Force Grasp (needs to be held down at levels 2 and 3)
  • setforcegrasp: Assign a level to force grasp
  • force_destruction: Use Force Destruction
  • setforcedestruction: Assign a level to force destruction
  • force_fear: Use Force Fear
  • setforcefear: Assign a level to force fear
  • force_strike: Use Lightning Strike
  • setforcelightningstrike: Assign a level to Lightning Strike

 

NPC Controlling 

  • NPC Anim [NPC targetname] [animation code] [body area]: Commands an NPC to play an animation. Body area is optional, otherwise valid values are upper and lower. Type "remove" to put the npc back in its default animation.
  • NPC enemy [NPC targetname] [targetname of enemy]. Sets an enemy for the assigned NPC. NPCs that are the same team will change to the opposing team. Type "none" to remove the npc's enemy. Will also set them back to their original team of it was changed.
  • NPC team [NPC targetname] [team]: Sets the team of the affected NPC. Valid values are player, enemy, neutral, free, and Solo.
  • NPC weapon [NPC targetname] [weapon code]: Sets the weapon of the npc. Valid values can be seen by leaving the weapon code blank.
  • NPC saber [NPC targetname] [saber 1 code] [saber 1 color] [saber 2 code] [saber 2 color]. Sets the NPC's weapon to lightsaber and sets the hilt and color to whatever is assigned. Saber 1 code is the only required command when using this, all others are optional.

User Feedback

Recommended Comments

There are no comments to display.



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...