The Mystery of Janusk - What file is he hiding in?

Well, he's a mystery to me. I thought I'd have a go at editing him, but for the life of me I can't find out what file he's stored in.

I guess this has something to do with the way he has a different appearance and abilities every time he turns up, but even so, I can't even find his description string in any of the files.

Could someone point me at his hiding place?

9,057 views 16 replies
Reply #1 Top

I should specify, I'm looking for the Janusk for random core games. The Janusk from the campaign is safe and well in MainCampaign.xml

Reply #2 Top

He is selected at random from the Tier 1 heroes in CoreNPC.xml.

He doesn't strictly exist (:

Reply #3 Top

Yes, his selection is random. However, there must be a process or code somewhere that defines that selection somewhere.

Reply #4 Top

My guess is that he's coded into the main program.

Reply #5 Top

I think he must indeed be hardcoded somehow. I'd expect to at least be able to find his name and the other text he imposes on the random tier 1 NPC.

 

Strikes me that he's the sort of thing that should not be hardcoded, if we're supposed to be making a diverse array of worlds. Janusk, everchanging and omnipresent, is beginning to creep me out.

 

All I wanted to do was swap him out for someone nice and marryable!

Reply #6 Top

13:55 <Janusk> ;(

Reply #7 Top

Janusk is like Q in Star Trek,impossible to get rid of when he's there and to find when you are looking for him  :rofl:

Reply #8 Top

If you start a game with Janusk Advice unchecked does he still appear?  I don't have the game in front of me, but I thought there was an option for him somewhere in the game.

How does that work for MP?  Does everyone have their own Janusk?

So I wonder if there's some option you set in your campaign xml that would keep him away.

Maybe there's some event that could be created at the start of the game that could just kill him off and display a random death message (for humor). 

"You hear a faint grunt, as if someone was punched in the chest, but you see nothing."

Reply #9 Top

If you start a game with Janusk Advice unchecked does he still appear? I don't have the game in front of me, but I thought there was an option for him somewhere in the game.
End of quote

Yes, this is a setting in game options and if it is disabled, Janusk does not appear in the game. I've been playing this way for a while, quite happily :)

Reply #10 Top

Aye, I know I can get rid of him altogether if I want. I'd rather modify him though.

The way I see it, fair's fair. The AIs all start with a spouse, so it's not unreasonable for us to start with a free champion too, be it Janusk or someone else.

Reply #11 Top

He used to show up for free and join you for free in beta... but back then we also downloaded data from SD's servers to play and didn't have the local data so who knows how that was done. If you just want a free champion, I'd open up one of the XMLs and see if defines a spawn percentage/tile distance variance, or some other spawn trigger. You might be able to make your own that spawns nearby at start and is free.

Reply #12 Top

Quoting Annatar11, reply 9
Yes, this is a setting in game options and if it is disabled, Janusk does not appear in the game. I've been playing this way for a while, quite happily
End of Annatar11's quote
Meh. What would I do without that extra and early Channeler? (and possible husband if using female Sovereign)

Reply #13 Top

Make a better one :)

Reply #14 Top

I only use Janusk for sex. All the other sov.s have spouses at the beginning of the game, with Janusk you have one too (as long as you are female, that is).

Reply #15 Top

Quoting Carewolf, reply 14
I only use Janusk for sex.
End of Carewolf's quote

 :rofl:  

Janusk: Boy Toy

Reply #16 Top

Quoting NetNomad, reply 15

Quoting Carewolf, reply 14I only use Janusk for sex.
   

Janusk: Boy Toy
End of NetNomad's quote

 

Yep, I jump his buns as soon as I get my rep high enough to get him to the altar.  Free channellers 100 turns later.