Jump to content

Randomized Saber Colors on Enemies?


Recommended Posts

Posted

I've been looking around for how to make this happen but no luck so far. I found the console command for picking up dropped sabers and thought it'd be neat to just use whatever gets dropped throughout missions, but the problem is every saber-wielding enemy just uses red and that's kinda boring. How would I go about randomizing the colors wielded by enemies, and maybe even making saber wielders more common? Obviously I'd want there to still be normal enemies but a few extra duelists sprinkled in would be cool. Thanks!

Posted

I figured something out, I copied the .npc file for cultist_saber and added the line "saberColor    random" beneath "saber        reborn" then just pasted that file back into the npcs folder within assets1.pk3

 

This worked, when I spawned the npc using console, I spawned three just to be sure. Two had orange sabers and one had a green. So this will work, just have to do it for every saber wielding foe, named characters aside. Only concern now is that red won't be included in that random, since random is used for the random jedi npc who likely would not have red. I'd prefer no red t only red, but red as a possibility would be nice. Thoughts?

  • 1 month later...
Posted

Eh, I'd say you'd need to change the core game files to add red to random list, or create a new one that would work alongside the vanilla random list but also add red. It's done with coding, I think, and sadly, I cannot help with it because I have no idea about coding :(

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