How to spawn NPC'S

Posts
3
Likes
0
Hello, how to spawn NPC's not only from vanilla Star Wars Jedi Academy ? like if i want to spawn Darth Vader, how could i do that?
 

Shottyz

Moderator
Internal Beta Team
Posts
17
Likes
21
Enable cheats with "sv_cheats 1" then simply use the "npc spawn <npcname>" command.

As for basejka NPC's, here's a list of them: Steam Community :: Guide :: Full NPC spawn list

And as for Vader, he is not in basejk so unlikely you can spawn him in, unless MB:II has a custom NPC for it. Do not think there's a list of MB:II NPC assets anywhere, so you will have to scour the .pk3's for them. Or possibly use "fdir *.npc*" if the command is available.

Also worth noting that NPC's are very buggy in MB:II and can easily cause a server crash.
 
Posts
3
Likes
0
Enable cheats with "sv_cheats 1" then simply use the "npc spawn <npcname>" command.

As for basejka NPC's, here's a list of them: Steam Community :: Guide :: Full NPC spawn list

And as for Vader, he is not in basejk so unlikely you can spawn him in, unless MB:II has a custom NPC for it. Do not think there's a list of MB:II NPC assets anywhere, so you will have to scour the .pk3's for them. Or possibly use "fdir *.npc*" if the command is available.

Also worth noting that NPC's are very buggy in MB:II and can easily cause a server crash.
maybe there's a way to change the basejk npc model, to model from MB2 ?
 

Leons

Everything-But-Open-Dev
Moderator
Movie Battles II Team
Posts
472
Likes
724
Like Shottyz said, you'll find all spawnable npcs via fdir *.npc console command. For your example case, NPC called "master3" would be Darth Vader.
You can find more about how to create NPC by seeing MBAssets3.pk3 (acts as a zip file) and looking at the path ext_data\npcs\
The following file has a note of Darth Vader: hordeSaber.npc ->
Master3 //saberstyle 3 red Vader { playerModel DarthVader saber saber_vader saberColor red ... }
 
Top