Player Unique Starbase Modules?

Is there a way to make a module limited to one per faction, akin to the different capital types?

I've tried <IsPlayerWonder>true</IsPlayerWonder> and got the standard not allowed message. 

11,371 views 5 replies
Reply #1 Top

just curious, what module(s) do you want to make 1 per faction?

Reply #2 Top

Sry wrong post.

-Deleted-

Reply #3 Top

I was playing around with the idea of another range increase module. Expensive, but unlimited starbase range. Would be supremely OP if more than one was allowed though.

 

  <StarbaseModule>

    <InternalName>UnlimitedStarbaseRange</InternalName>

    <DisplayName>Starbase Omniscience</DisplayName>

    <ShortDescription>ChaoticParticleAbsorptionSystemModule_ShortDec</ShortDescription>

    <Description>ChaoticParticleAbsorptionSystemModule_Dec</Description>

    <Icon>GC3_Starbase_Range_Icon.png</Icon>

    <SpecializationType>Generic</SpecializationType>

    <ReplacesOnUpgrade>false</ReplacesOnUpgrade>

    <Stats>

      <EffectType>Credits</EffectType>

      <Target>

        <TargetType>StarbaseModule</TargetType>

      </Target>

      <BonusType>OneTime</BonusType>

      <Value>4000</Value>

    </Stats>

    <Stats>

      <EffectType>StarbaseRange</EffectType>

      <Target>

        <TargetType>Starbase</TargetType>

      </Target>

      <BonusType>Flat</BonusType>

      <Value>1000</Value>

    </Stats>

    <Stats>

      <EffectType>IsImmuneToNebula</EffectType>

      <Scope>AreaEffect</Scope>

      <Target>

        <TargetType>Ship</TargetType>

      </Target>

      <BonusType>Flat</BonusType>

      <Value>1</Value>

    </Stats>

    <Stats>

      <EffectType>Maintenance</EffectType>

      <Target>

        <TargetType>Starbase</TargetType>

      </Target>

      <BonusType>Flat</BonusType>

      <Value>500</Value>

    </Stats>

    <Prerequ>

      <UpgradesFrom>ChaoticParticleAbsorptionSystemModule</UpgradesFrom>

    </Prerequ>

  </StarbaseModule>

 

 

Reply #4 Top

Hi,

I just checked the schema and enum files for the satrbasemodules. Unfortunately, I don't see a way to make the module only one per player. In the ShipComponentDefs.xsd you can find two entries;

<xs:element name="OnePerShip" type="xs:boolean" minOccurs="0" default="false"/>
<xs:element name="OnePerPlayer" type="xs:boolean" minOccurs="0" default="false"/>

these are missing in the StarbaseModuleDefs.xsd. So if its not in the Schema, you cant use it. thats why you get an error message when you put additional lines in your .xml.

I'm affraid, it won't be possible to do what you want, unless stardock decides to change the schema for the starbase modules.

Reply #5 Top

I want to thank you for finding that out for me. It might be a bit late, but late is better than never.

Thank you