Jump to content

AI Workshop 1.01

   (8 reviews)

About This File

Have you ever wanted to manipulate NPCs like crazy? Well, this is the thing for you.
This thing adds over 30 console commands to manipulate the AI on a deep, technical level.
To activate the AI workshop, use the command "aiworkshop" to toggle it on or off.
You can read the full list of commands with the command "workshop_commands" or get help on a specific command with "workshop_cmdhelp"
When the AI workshop is enabled, highlighting an AI with your crosshair will show some information on the left.
You can select an AI with the "workshop_select" command and deselect with the "workshop_deselect" command.
When you have an AI selected, you can modify various things, like what their enemy is, what team they're on, force powers they use, etc etc.
The *vast* majority of the commands alter the AI on a low level and a lot of the things, like aiflags, classes, etc, are totally undocumented. You'll have to experiment to figure stuff out.
I've also raised the .sab, .veh, .vwp and .npc limit by 16x so you can play with more NPCs.
Also, you can spawn random NPCs with "npc spawn random". Check out the readme on how to use that.

 

The source code is provided so you can play around with it.

THIS FILE IS NOT MADE, DISTRIBUTED, OR SUPPORTED BY ACTIVISION, RAVEN SOFTWARE, OR LUCASARTS ENTERTAINMENT COMPANY LLC. ELEMENTS™ & © LUCASARTS ENTERTAINMENT COMPANY, LLC AND/OR ITS LICENSORS.


User Feedback

Recommended Comments

Question: Does the raised .sab, .veh, .vwp and .npc limit by 16x work even if you don't activate the "aiworkshop" command?

 

Also running the bat file then loading a map causes my game to crash.

Link to comment

Yes, it does not matter if you activate the command, the limits are still raised.

 

What map did you try to load?

 

Just any map. Also trying to start a new game leads to the same result. I already have OpenJK installed so I didn't copy the .dll file or the .exe.

 

Edit: After copying the OpenJK .dll and .exe, it loads just fine! It should be MANDATORY to copy those files, not optional.

 

It states in the readme:

"If you already have OpenJK installed, you don't need to copy over openjk_sp.x86.exe and rdsp-vanilla_x86.dll".

 

You HAVE to copy these files for it to work, at least for me.

 

Great work anyway!

eezstreet likes this
Link to comment

How can I use this with Serenity Jedi Engine?

https://jkhub.org/files/file/3351-serenityjediengine2018-finalsdk/

No. SJE will have to implement it in their mod. I've provided full source code for this though (it's actually the bulk of the download)

 

Would it be possible to save these for the specific NPC that you are working on?

I don't understand your question.

 

Just a question but will there be by any chance will the nav editor from JK2: Enhanced?

If someone codes it in. They changed the entire AI navigation system from JK2 to JKA and as a result it's much harder to work with, and I don't really have the time to pursue it.

Link to comment

Would it be possible to save these for the specific NPC that you are working on?

I don't understand your question.

I think they're asking if they can save their NPC's current attributes to the NPC itself, if that makes sense.

Link to comment

A nice little workshop, with lots of potential. The only downside is that whenever I have to change something, I have to look what commands I could use, then type them.

A menu would be nice. But for now, I have to bind some of the commands to numpad keys.

Link to comment

A nice little workshop, with lots of potential. The only downside is that whenever I have to change something, I have to look what commands I could use, then type them.

A menu would be nice. But for now, I have to bind some of the commands to numpad keys.

 

An interface and a save file (maybe you can open with notepad?). Those two features would make this a must have for modders.  

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