Sins of a Solar Empire : Real-Time Strategy. Unrivalled Scale.
© 2003-2013 Ironclad Games Corporation Vancouver, BC. All rights reserved.
© 2006-2013 Stardock Entertainment

Planet Allegiance Increase

By on June 17, 2012 11:31:48 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

JJBuck2

Join Date 01/2009
+8

Hi all. I'd like to mod the Advent Loyalist "Assimilated Populace" ability to include a 5% increase to planet allegiance maximum. I believe that to do this correctly would look like this:

numEntityModifiers 1
modifierType "AllegianceFromCultureMaxPerc"
baseValue 0.000000
perLevelValue 0.050000

(With indents where appropriate)

My question, other than 'will this work', is what does the baseValue...value...have to be? That code is copied from the code for Allure of the Unity, which is a research subject, so I'm not convinced it will work as desired. I also suspect I would have to add a second finish condition to make sure the Entity Modifier is applied, but I'm not sure. Any help is appreciated. Thank you.

6 Replies
Search this post
Subscription Options


Reason for Karma (Optional)
Successfully updated karma reason!
June 17, 2012 11:40:12 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums
Reason for Karma (Optional)
Successfully updated karma reason!
June 17, 2012 11:42:02 PM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Techs can have multiple levels...for example, each weapon tech usually adds 5%...

But, let's just say you wanted it to be such that researching the first level got you to 10%, and then each additional level added 5%...you'd set the base value to 5%, and the per level value to 5%...

I personally am not aware of any technology that actually does this, but you have the option too via a mod...

Note that level is not the same as tier...allure of the unity is tier 8 and has two levels....

Reason for Karma (Optional)
Successfully updated karma reason!
June 18, 2012 12:22:25 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting Volt_Cruelerz,
Yes it'll work.

When set up that way, wont it give a blanket 5% increase to all planets? I'm going for adding it only to the planet being affected by Assimilated Populace. My goal is to have the buff that AP applies to a planet include a permanent 5% boost to allegiance. Which is also why I was asking about the base value %. This may be impossible the way I've outlined it, I may need a completely new buff or something. Just wanted to see if I could just tack it on. Thanks for the help.

 

Reason for Karma (Optional)
Successfully updated karma reason!
June 18, 2012 12:50:58 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting JJBuck2,
When set up that way, wont it give a blanket 5% increase to all planets? I'm going for adding it only to the planet being affected by Assimilated Populace. My goal is to have the buff that AP applies to a planet include a permanent 5% boost to allegiance. Which is also why I was asking about the base value %. This may be impossible the way I've outlined it, I may need a completely new buff or something. Just wanted to see if I could just tack it on. Thanks for the help.

No, there's actually no way to give a temporary max boost to allegiance or to specific planets, it has to be global. Base value is the value you get without having to research it. So if you did this.

modifierType "AllegianceFromCultureMaxPerc"
baseValue 0.050000
perLevelValue 0.050000

All planets would have a +5% max allegiance from the start of the game, and once you research the tech you'd get an additional +5% per level.

Quoting Seleuceia,
I personally am not aware of any technology that actually does this, but you have the option too via a mod...

The base value line is by default used by the first fleet supply and capital ship techs, otherwise you'd have no fleet supply or cap slots available. Also the Advent Loyalist tier 8 tech that gives damage in culture bonus has a +5% base value, so they actually have that bonus without doing any research.

Reason for Karma (Optional)
Successfully updated karma reason!
June 18, 2012 12:53:51 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting GoaFan77,
Also the Advent Loyalist tier 8 tech that gives damage in culture bonus has a +5% base value, so they actually have that bonus without doing any research.

Forget about the fleet supply stuff, but I honestly did not know about this one...wish it was more than 5%

Reason for Karma (Optional)
Successfully updated karma reason!
June 18, 2012 10:33:12 AM from Sins of a Solar Empire Forums Sins of a Solar Empire Forums

Quoting GoaFan77,

No, there's actually no way to give a temporary max boost to allegiance or to specific planets, it has to be global. Base value is the value you get without having to research it. So if you did this.

modifierType "AllegianceFromCultureMaxPerc"
baseValue 0.050000
perLevelValue 0.050000

All planets would have a +5% max allegiance from the start of the game, and once you research the tech you'd get an additional +5% per level.

EDIT: I misread, you did say you cant do it to specific planets. Oh well. Thanks for the info!

I suppose its impossible to make the boost permanent as well? My intended goal was to have a permanent 5% boost to allegiance be applied to any planet you forcibly take over (that would be triggering assimilated populace).

On a slightly related note, is there a way to increase the actual culture output of culture towers? I know that all the culture techs increase the spread rate (iirc this is just how quickly the culture can move along phase lanes) but I'm working on a bunch of small changes to the Advent Loyalists to try to make them a little more viable and I'd love to be able to do something like increase the base culture rate provided by each tower. Thanks in advance.

Reason for Karma (Optional)
Successfully updated karma reason!
Stardock Forums v1.0.0.0    #108434  walnut1   Server Load Time: 00:00:00.0000422   Page Render Time: