Jump to content

So I want to create a custom Jedi Random NPC spawn thing.


Recommended Posts

Posted

I'd obviously name it JediRandom2, but my question is, if I put all the related Jedi Variations into one .npc file will I only need to type in "NPC Spawn JediRandom2" to get all the variations of random Jedi?

I'm using an NPC creator I downloaded off of JKfiles so that should make my life a bit easier if that means anything at all.

Posted

Unfortunately, It doesn't work this way. I believe the jedirandom.npc is hard coded to randomly choose an npc from a list of npcs. So you can't just add another one. What you could do would be to add an npc_spawner entity to your map for each variation of npcs then make a "random spawn script" that chooses one of your npcs randomly to spawn. Again though, this would only work on that one map and would not be "global". Plus, you can't spawn jedirandom.npc, you have to use it's spawner entity in Radient.

 

Am I right, coders?

Posted

Yeah. It sucks, right? :(

 

Hell yea it does. I first wondered how Raven did it, then I figured they out NPC entity spawners throughout the game cuz well... they kinda made it.

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