How to spawn NPC'S

Shottyz

Moderator
Internal Beta Team
Posts
10
Likes
15
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

Saber & UI Dev
Moderator
Movie Battles II Team
Posts
463
Likes
691
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