Jump to content

Simple Cam Toggle, Team Changer, and NPC AI Toggle for Star Wars: Jedi Academy


Recommended Posts

Posted

Simple Cam Toggle, Team Changer, and NPC AI Toggle for Star Wars: Jedi Academy


This lets you do quick basic commands, such as toggling camera settings, changing player team, toggling HUD, and toggling NPC AI. Useful for many things like viewing your player character up close, making fancy scenes and screenshots, or just simple experimenting.
It also lets you toggle certain effects and even fool around in cutscenes. Some of these features may not work in Multiplayer, as they require cheats to be enabled to work.
I made this originally for myself for testing custom weapons and NPCs and taking screenshots for customization icons.
Getting this to work in OpenJK was a real hassle, as the numberpad keys don't work properly in the newer builds. Use "openjk-2020-09-07-ca63f215" if you want to use this without problems. https://builds.openjk.org/

 

The following buttons are affected:

  • KP_NUMLOCK - Toggles disappearing corpses to either 15 seconds(default), 5 minutes, or never.
  • KP_SLASH (/) - Toggles dynamic shadows on character models.
  • KP_STAR (*) - Toggles glow effect of sabers and certain lights.
  • KP_MINUS (-) - Toggles HUD and screen effects such as the Force Sense screen effect, underwater effect, and the droid view effect. Also affects visibility of Disruptor Rifle's scoped view and saber clash flares.
  • KP_PLUS (+) - Toggles visibility of health bars of NPCs.
  • KP_ENTER - Toggles camera used in cinematics.
  • KP_DEL (.) - Makes camera stay still, but follows the player in view, movie style. It changes position every time the player goes behind a wall.
  • KP_INS (0) - Toggles camera mode: Default, Lower, and OverTheShoulder.
  • KEYPAD NUMBERS - Changes where the camera stays when following the player. Default is KP_2.
  • F5 - Change player team: Player(Good), Enemy(Bad), Neutral(Targeted if provoked attacker), Free(Targeted by everyone).
  • F6 - Toggles AI of NPCs. Even while off, they still react when attacked(turning on saber, raising weapon, turning their head toward attacker), but not move. This also prevents NPCs from going into surrender state, in which they raise their arms and die instantly if they take any damage while in that state.
  • F7 - Kills the player.
  • F8 - Kills all NPCs. May result in a game over.

 


This mod affects either the F5-F8 keys, the keypad, or both depending on which pk3 file you choose:
zzzzzzzCamToggle-TeamChanger-npcAIToggle.pk3    - Contains the full mod that affects the numberpad keys and F5, F6, F7, and F8 keys.

zzzzzzzCamToggle.pk3                - Contains only the camera, HUD, and effects toggler mod that affects the number pad keys.

zzzzzzzTeamChanger-npcAIToggler.pk3        - Contains only the team changer and NPC AI toggler that affects the F5, F6, F7, and F8 keys.


You can edit the files and binds to your liking by opening the pk3 files with 7-zip, and editing the text files with any text editor like Notepad.
This mod enables cheats when executed. Starting a new game may disable cheats. If this happens, enable cheats by typing "helpusobi 1" in the console. Also keep in mind that in OpenJK, the keypad only works when number lock is off.

 

-HOW TO INSTALL-
If you're using vanilla Jedi Academy:
 Extract the zip file, then put only one of the pk3 files into your base folder: "Star Wars Jedi Knight - Jedi Academy/Gamedata/base"
 The details above may help you decide which pk3 to use, as it tells you what is inside each pk3 file.
 In-game, type "exec go". Depending on which pk3 you put, the keypad and/or F5, F6, F7, F8 keys will now have the binds you need.

 

If you're using OpenJK:
 I recommend using an older build of OpenJK, specifically "openjk-2020-09-07-ca63f215". The numberpad keys still work properly in this version and any version below it, unlike later versions, where the keypad arrows were changed to behave like arrow keys.
 Now put only one of this mod's pk3 files into OpenJK's base folder: "Documents/My Games/OpenJK/base" If no such path exists, launching OpenJK once will generate those folders.
 In-game, enter "exec go" in the console (Open the console with Shift + ~). Depending on which pk3 you put, the keypad and/or F5, F6, F7, F8 keys will now have the binds you need.

 

P.S.:
Make sure you keep backups of jaconfig.cfg and jampconfig.cfg (openjk.cfg and openjk_sp.cfg if using OpenJK) just in case you want to restore your old keybinds.

 

-LICENSE-
Others are free to share, modify, and/or put this in their mods, and should give credit while they're at it.
======================================================================
THIS MODIFICATION IS NOT MADE, DISTRIBUTED, OR SUPPORTED BY ACTIVISION, RAVEN, OR LUCASARTS ENTERTAINMENT COMPANY LLC. ELEMENTS TM & © LUCASARTS ENTERTAINMENT COMPANY LLC AND/OR ITS LICENSORS.
 

 


  • Submitter
  • Submitted
    02/25/2021
  • Category
  • Requires
    If using OpenJK, use build "openjk-2020-09-07-ca63f215" from https://builds.openjk.org/

 

  • 1 year later...
  • 1 month later...
Posted (edited)
On 7/7/2022 at 9:54 AM, IsabellesBells said:

Your mods made me interested in playing this game and I've been having a blast! The camera adjustment really improves the game for me, Hope to see more mods from you!

Thanks! I'm glad you enjoyed them! I've been working on a handful of new mods with whatever spare time I had. Progress still won't be as fast... but I'll still try to post what I can. I'm considering whether I should start sharing w.i.p. stuff to reduce the waiting. Giving every mod the same new features that my most recent ones have can be very time-consuming...

Edited by inb4poof
Posted
4 hours ago, inb4poof said:

Thanks! I'm glad you enjoyed them! I've been working on a handful of new mods with whatever spare time I had. Progress still won't be as fast... but I'll still try to post what I can. I'm considering whether I should start sharing w.i.p. stuff to reduce the waiting. Giving every mod the same new features that my most recent ones have can be very time-consuming...

Completely understandable! I dont mind any waiting for mods and also don't mind seeing early things too, Though i'd prefer your uploads to be in a state you're happy with!

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...