I'm trying to make a starbase module, and so this question is limited in scope to modding starbases (though the answers may apply more broadly).
1) Is it possible to set rather than add to a value?
For example, say I wanted to set the range of a ship in the starbase's area of effect to a specific number. Let's say a ShipRange value of 100.
If you say
<BonusType>Flat</BonusType>
<Value>100</Value>
That would add 100 to whatever the ship already has...
Is there some <BonusType> or <ValueType> that allows us to make the ship's ShipRange value equal to 100?
2) Is it possible to reduce a starbase's area of effect without changing the Basic Starbase (StarbaseDefs.xml) range?
For example, say I want a module to have an area of effect of only 1. It seems that you can't simply use a negative number to modify the range:
<Value>-4</Value>
Is there some way to achieve this. Again, I don't want to reduce the range of all starbases--or have to change each starbase ring to have a bonus to its range...
Any help will be greatly appreciated!