News

How to make wonders work globally.

A how to guide.

Posted on Tuesday, April 7, 2015

If you are irritated by the lack of spectacular of special improvements like the Hyperion Shrinker, here's how you can make it and other ones like it work civ wide. just copy you improvements file into a mod and copy this to the improvement hyperion shrinker:

 

 

 

 

 

<!-- Begin Improvement -->    

 

<Improvement>    

<InternalName>HyperionShrinker</InternalName>    

<DisplayName>HyperionShrinker_Name</DisplayName>      

<ShortDescription>HyperionShrinker_ShortDec</ShortDescription>    

<Description>HyperionShrinker_Dec</Description>    

<Icon>HyperionShrinker.png</Icon>    

<BuildIcon>HyperionShrinker_Build.png</BuildIcon>    

 <ListIcon>HyperionShrinker_Icon.png</ListIcon>    

<ImprovementType>Military</ImprovementType>    

<PlacementType>MilitaryUnique</PlacementType>    

<IsPlayerWonder>true</IsPlayerWonder>      

 

<!-- Stats -->      

 

<Stats>      

<EffectType>ManufacturingCost</EffectType>      

<Scope>Queue</Scope>      

<Target>        

<TargetType>Improvement</TargetType>      

</Target>      

<BonusType>Flat</BonusType>      

<Value>151</Value>    

</Stats>  

   

<Stats>      

<EffectType>MassCap</EffectType>      

<Scope>Global</Scope>      

<Target>        

<TargetType>Ship</TargetType>      

</Target>      

<BonusType>Multiplier</BonusType>      

<Value>0.1</Value>    

</Stats>      

 

<Stats>      

<EffectType>Maintenance</EffectType>      

<Target>        

<TargetType>Improvement</TargetType>      

</Target>      

<BonusType>Flat</BonusType>      

<Value>1.5</Value>    

</Stats>      

 

<!-- Triggers -->      

 

<!-- Level Effect Trigers -->      

 

<!-- Level Effect Stats -->      

 

<LevelEffectStats>      

 <EffectType>MassCap</EffectType>      

<Scope>Global</Scope>      

<Target>        

<TargetType>Ship</TargetType>      

</Target>      

<BonusType>Multiplier</BonusType>      

 <Value>0.05</Value>    

</LevelEffectStats>      

 

<!-- Adjacency Bonuses -->      

 

<NeighborBonuses>      

<GiveBonusToNeighborType>Military</GiveBonusToNeighborType>      

<NeighborBonusValue>1</NeighborBonusValue>    

</NeighborBonuses>      

 

<!-- Prerequisites -->      

<Prerequ>      

<Techs>        

<Option>ZeroGravityConstruction</Option>      

</Techs>    

</Prerequ>  

  

 </Improvement>  

 

 <!-- End Improvement -->

 

 

 

 

 

the key part is the MassCap stat that makes it global, vs. the trigger that added MassCap only in that shipyard. the same stat can be added to other improvements like the  hyperion logistics system to give a bonus to logistics to the entire civ also by adding in the proper effect type.

 

if there is any problem let me know, although t worked fine in my game. As always remember to make back up files first!

 

DARCA