Jump to content

[mod] [Stellaris] Kagami Species


Recommended Posts

Posted

Yep, I colonized a Gaia world earlier and its 100% habitability like any other species. The Gender policy option sounds like an excellent idea for the mod.

 

Not related to the mod, but it feels recently the AI empires get a lot more threat modifier against you for annexing a bunch of planets, even if they are almost across the galaxy from you. Got almost a minimum of -100 opinion to everybody that wasn't a FE on a Large/huge galaxy. Guess my only option now at this point is to show the superiority of large breasts and conquer everybody else to be suffocated under my people's bosom.

Posted

The Well-Endowed trait.  I have no idea what 'other species happiness' even is.  Does it refer to pops on your planets?  Other Rulers?  Both?

 

It's hard to say how useful the extra level is.

Posted

It refers to pops on your planets, as long as you have 1 pop with that trait on the planet then all other species will recieve the happiness boost. Basically its useful if you are doing a Xenophile run or at least an empire that tolerates xenos. It won't do anything for diplomacy however.

 

post-2219692-0-07285600-1508993103_thumb.jpg

 

Extra level is pretty strong if you stack it with other leader level cap increasers. Its also made stronger in that there is a hidden bonus not shown in the ingame tooltip in which default starting age for Well-Endowed trait is 15-35 years old rather then the default ~30-~50 years old (I forget the exact numbers.) So you end up being able to use those leaders for about ~20 years longer then other species which gives them more time to level up and tamper down on the need to spend influence.

 

Posted

Haha, very helpful CommanderHolt, thank you. Sayoko's demonstrating how the whole population is pleased by the fact that they live in the neighborhood of a legendary milf (or more literally, share a planet with the Kagami). 

 

If there's some sort of trait or effect that improves other empires impression of you (basically, imagine that your Head of State's amazing rack being shown over diplomatic video feed gives you a small but constant bonus, like +10 or +20) I would (in Lilith games, attractive people, especially females, are treated as universally attractive to adults, children, men, women, other species, demons, etc.). The closest thing I can think of is trust growth ("Marshal Ingrid's sweater puppies are so righteous, the Central Machine Intelligence found it reasonable to accept the Makai Dynaty's request for open borders.") 

 

Considering demons like Ingrid are supposed to be hyper-competent, near-ageless beings from another plane of existence, kinda, I should probably add the level cap bonus for that as well. It'll stack on top of the previous one, assuming you have both.  

Posted

You mean like what the Charismatic trait already does? Looking at 00_opinion_modifers there is this for Charismatic trait

 

 

# Charismatic
opinion_charismatic_species = {
 opinion = {
  base = 0
  modifier = {
   add = 25
   FROM = {
    exists = ruler
    ruler = {
     species = {
      OR = {
       has_trait = "trait_charismatic"
      }
     }
    }   
   }
  }  
 }
}

 

I imagine you can duplicate the one on file and then change the names around to link it to another trait.

 

It also looks like Charismatic also has its own custom tooltip to explain that it also gets a bonus to diplomatic opinion.

Posted

You mean like what the Charismatic trait already does? Looking at 00_opinion_modifers there is this for Charismatic trait

 

 

# Charismatic

opinion_charismatic_species = {

 opinion = {

  base = 0

  modifier = {

   add = 25

   FROM = {

    exists = ruler

    ruler = {

     species = {

      OR = {

       has_trait = "trait_charismatic"

      }

     }

    }   

   }

  }  

 }

}

 

I imagine you can duplicate the one on file and then change the names around to link it to another trait.

 

It also looks like Charismatic also has its own custom tooltip to explain that it also gets a bonus to diplomatic opinion.

 

Oh, that makes sense. Sort of.

 

I'll have to decide between this and a trust bonus. Honestly, from a "plot" standpoint perhaps being easier to trust is a better bonus. 

 

I sort of don't want to have them both, especially since I would need to add some penalty to offset it. 

Posted

Yes (and anything else that grows trust, but that's about it I think). I might still implement the other thing, but it risks become too good. 

  • 4 weeks later...
Posted (edited)

I liked the description for the Quota System :). I forget but was there also plans for a 25%/75% male to female ratio as well for the gender policy system as well?

 

I also wondering how I can manually reposition portraits for the sprites as every update seems to make a older portrait misaligned which annoys me, but I rather not keep bothering you with change request for every single one.

 

Also, the v1.06 of the mod still says its "outdated" in the launcher.

Edited by CommanderHolt
Posted (edited)

I think you may have put the events folder in the wrong place ^^ It should be in the root (kagami) folder, not in common.

 

Also, your species_class format is a little outdated. PDX very stealthily changed it in a recent patch but forgot to update the documentation so it's easy to miss. The short of it is that randomisation is now defined on a per-portrait rather than per-class basis. You can see how it's set up by looking at the vanilla HUM class.

 

I took the liberty of converting your file to the new working format n_n

00_kagami_classes.txt

Edited by Princessity
Posted

Sorry for not responding sooner, I actually started a new full-time job two weeks ago, so I don't have quite as much free time anymore (I still have some though). 

 

19 hours ago, CommanderHolt said:

I liked the description for the Quota System :). I forget but was there also plans for a 25%/75% male to female ratio as well for the gender policy system as well?

 

I also wondering how I can manually reposition portraits for the sprites as every update seems to make a older portrait misaligned which annoys me, but I rather not keep bothering you with change request for every single one.

 

Also, the v1.06 of the mod still says its "outdated" in the launcher.

Oh, I didn't realize 1.8.3 hit. If it was yesterday, I spent that agonizing about buying a VR headset on Cyber Monday and whether or not I cared about VR, and then I spent today being repeatedly told that my choice of VR headset was clearly inferior but I totally shouldn't cancel my order even though my choices sucked. You know, internet stuff. The 75/25 ratio turned out to be...pretty much impossible, for reasons that weren't entirely clear to me. Like a lot of things, sadly. 

 

Which portraits are misaligned? I thought I'd gotten them into a good place (though there are some that are long enough to be problematic). 

 

17 hours ago, Princessity said:

I think you may have put the events folder in the wrong place ^^ It should be in the root (kagami) folder, not in common.

 

Also, your species_class format is a little outdated. PDX very stealthily changed it in a recent patch but forgot to update the documentation so it's easy to miss. The short of it is that randomisation is now defined on a per-portrait rather than per-class basis. You can see how it's set up by looking at the vanilla HUM class.

 

I took the liberty of converting your file to the new working format n_n

00_kagami_classes.txt

 

Oh, thank you for that--so I guess it just takes out the previous trait listing. That seems easy enough, I'm flattered you'd take an interest after all my pestering for help. :) 

 

Posted

Also the non_randomized_portraits = {} bracket is new. Any portraits you put in it will be excluded from randomisation. It's now used instead of randomised = no

 

And oh, that's no problem ^^ I'm surprised you didn't ask for help, I had no idea there were still any other Stellaris modders on LL

Posted

Well, if I have you ear--I might as well ask you about a few features I wanted to implement (percentage-based gender policy, unique flavor text for the forms of slavery that doesn't effect any other species, things like that). I'm not sure if they're even possible...

Posted

Uh... sorry to break it to you, but 1.8.3 broke out a little over a month ago lol. Anyways as far as I know its Kamijou Mifuyu, I believe this variant used to be reserved as an Empire ruler portrait as I don't remember it appearing in normal use.

20171129010148_1.jpg

20171129010254_1.jpg

Posted
17 hours ago, Synthesis said:

Well, if I have you ear--I might as well ask you about a few features I wanted to implement (percentage-based gender policy, unique flavor text for the forms of slavery that doesn't effect any other species, things like that). I'm not sure if they're even possible...

Strictly percentage based distribution is... well, it's "possible" to implement but the amount of coding acrobatics it would require is not worth it. Basically you'd have to query the total number of given leaders in your empire every time a new leader spawns and based on their their population, set the leader's gender to one or the other. It wouldn't be super complicated buuuut... still too much effort and potential performance impact for such a trivial thingy.

 

Instead, I'd recommend using simple weighting. On leader spawn, have a check with weights assigned to each gender. Let's say 70 female, 30 male, it would look something like this:

 

immediate = {
	random_list = {
		70 = {
			from = {
				if = {
					limit = { gender = male }
					set_is_female = yes
				}
			}
		}
		30 = {
			from = {
				if = {
					limit = { gender = female }
					set_is_female = no
				}
			}
		}
	}
}

It won't result exactly in a 70-30 split but it will introduce a generation bias that should over time come close to the desired results. And it saves a lot of CPU cycles n_n

 

As for slavery types and other species-level citizen rights, sadly those are hardcoded. It may change in the future but for now we have to make do with what we have.

Posted
17 hours ago, CommanderHolt said:

Uh... sorry to break it to you, but 1.8.3 broke out a little over a month ago lol. Anyways as far as I know its Kamijou Mifuyu, I believe this variant used to be reserved as an Empire ruler portrait as I don't remember it appearing in normal use.

Oh, aren't you just helpful? That aside, please let me know about the portraits, they're fairly quick fixes. And I know what caused this one: it wasn't a ruler portrait, but I did use that as a positioning reference...unfortunately the positioning values are different. I really just need do this manually I guess. 

 

4 hours ago, Princessity said:

Strictly percentage based distribution is... well, it's "possible" to implement but the amount of coding acrobatics it would require is not worth it. Basically you'd have to query the total number of given leaders in your empire every time a new leader spawns and based on their their population, set the leader's gender to one or the other. It wouldn't be super complicated buuuut... still too much effort and potential performance impact for such a trivial thingy.

 

Instead, I'd recommend using simple weighting. On leader spawn, have a check with weights assigned to each gender. Let's say 70 female, 30 male, it would look something like this:

 


immediate = {
	random_list = {
		70 = {
			from = {
				if = {
					limit = { gender = male }
					set_is_female = yes
				}
			}
		}
		30 = {
			from = {
				if = {
					limit = { gender = female }
					set_is_female = no
				}
			}
		}
	}
}

It won't result exactly in a 70-30 split but it will introduce a generation bias that should over time come close to the desired results. And it saves a lot of CPU cycles n_n

 

As for slavery types and other species-level citizen rights, sadly those are hardcoded. It may change in the future but for now we have to make do with what we have.

Yeah, I was afraid of that--I had a similar discussion with Nessa (who was also kind enough to put up with me). Your second idea is very intriguing though, but I take it that it would not be policy dependent? That's fine, honestly, having a 70/30 split right off the bat constantly would help alleviate male portrait repeats and better show of diversity of female portraits. 

 

 

Posted
50 minutes ago, Synthesis said:

Oh, aren't you just helpful? That aside, please let me know about the portraits, they're fairly quick fixes. And I know what caused this one: it wasn't a ruler portrait, but I did use that as a positioning reference...unfortunately the positioning values are different. I really just need do this manually I guess. 

 

Yeah, I was afraid of that--I had a similar discussion with Nessa (who was also kind enough to put up with me). Your second idea is very intriguing though, but I take it that it would not be policy dependent? That's fine, honestly, having a 70/30 split right off the bat constantly would help alleviate male portrait repeats and better show of diversity of female portraits. 

 

 

You can totally adapt the piece of code to your policy event, it's basically just a variation on the matriarchy code. Except it distributes genders based on weighted chance rather than turning all leaders into girls.

Posted

Huh, OK, will, I'll give that I try I suppose...I may reincorporate it into a 1.6 re-release (really no new portraits, just me fixing stuff). 

Posted

I think that the Gender Policy system is bugged. After I placed the Event folder in the Kagami instead of Common folder, setting to All Female Leadership does not make new leaders all Female, even after the 10 year refresh.

Posted
7 hours ago, CommanderHolt said:

I think that the Gender Policy system is bugged. After I placed the Event folder in the Kagami instead of Common folder, setting to All Female Leadership does not make new leaders all Female, even after the 10 year refresh.

Well, that confirms my suspicion that I did something wrong and it doesn't work. I guess I better put the ratio mechanic on hold until I figure that out...

Posted

Since your code is based on ours (from Elves of Stellaris) then it's working as intended. The policy is only meant to affect new recruits, not existing leaders ^^ That's why it's triggered by on_leader_spawned.

 

Unless you still get new male leaders spawning in which case there is something wrong.

Posted
44 minutes ago, Princessity said:

Since your code is based on ours (from Elves of Stellaris) then it's working as intended. The policy is only meant to affect new recruits, not existing leaders ^^ That's why it's triggered by on_leader_spawned.

 

Unless you still get new male leaders spawning in which case there is something wrong.

To give credit where credit is due, the code that's implemented so far is from Nessa--who I think got it from you. 

 

To be clear, I had very little or anything to do with it. I really don't understand how policy choices work, but I wanted to mention that. 

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...