This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
SCMRmod
Difference with your version: instead of giving to depleted resource 10000 vespene,the content of depleted resource is holding at amount = 5. Remove all these strings (which remove unused in SCMR instructions) in your mod:(as you can check, you do not remove the same strings for assimilator and refinery)[Actors] <CActorUnit id="Extractor"> <On index="79" removed="1"/> <On index="80" removed="1"/> <On index="81" removed="1"/> <On index="82" removed="1"/> <On index="83" removed="1"/> <On index="84" removed="1"/> <On index="85" removed="1"/> <On index="86" removed="1"/> <On index="87" removed="1"/> <On index="88" removed="1"/> <On index="89" removed="1"/> <On index="90" removed="1"/> Now add/make the modifications below:[Validators] <CValidatorUnitCompareResourceContents id="HasVespeneGT5"> <WhichUnit Value="Source"/> <Compare value="GT"/> <Value value="5"/> </CValidatorUnitCompareResourceContents> <CValidatorUnitCompareResourceContents id="HasVespeneLT5"> <WhichUnit Value="Source"/> <Compare value="LT"/> <Value value="5"/> </CValidatorUnitCompareResourceContents> [Effects] <CEffectApplyBehavior id="GasIsDepletedRaw"> <ValidatorArray value="NotDead"/> </CEffectApplyBehavior> <CEffectModifyUnit id="GasAutoAdd"> <ValidatorArray value="HasVespeneLT5"/> <Resources value="1"/> <ResourcesHarvestedFraction value="1"/> </CEffectModifyUnit> <CEffectSet id="GasIsEmptySFX"> <ValidatorArray value="IsNotConstructing"/> <Alert value="ResourceExhausted_Vespene"/> <EffectArray value="GasAutoAdd"/> </CEffectSet> [Behaviors] <CBehaviorBuff id="ReplenishGas"> <Period value="0.4"/> <InitialEffect value="GasIsEmptySFX"/> <PeriodicEffect value="GasAutoAdd"/> </CBehaviorBuff> <CBehaviorBuff id="GasisEmptyAssimilator"> <RemoveValidatorArray index="0" value="HasVespeneGT5"/> </CBehaviorBuff> <CBehaviorBuff id="GasisEmptyExtractor"> <RemoveValidatorArray index="0" value="HasVespeneGT5"/> </CBehaviorBuff> <CBehaviorBuff id="GasisEmptyRefinery"> <RemoveValidatorArray index="0" value="HasVespeneGT5"/> </CBehaviorBuff> <CBehaviorBuff id="GasisEmptyVespene"> <RemoveValidatorArray index="0" value="HasVespeneGT5"/> </CBehaviorBuff> <CBehaviorBuff id="GasisEmptyVespene2"> <RemoveValidatorArray index="0" value="HasVespeneGT5"/> </CBehaviorBuff>
Difference with your version: instead of giving to depleted resource 10000 vespene,the content of depleted resource is holding at amount = 5.
Remove all these strings (which remove unused in SCMR instructions) in your mod:(as you can check, you do not remove the same strings for assimilator and refinery)[Actors] <CActorUnit id="Extractor"> <On index="79" removed="1"/> <On index="80" removed="1"/> <On index="81" removed="1"/> <On index="82" removed="1"/> <On index="83" removed="1"/> <On index="84" removed="1"/> <On index="85" removed="1"/> <On index="86" removed="1"/> <On index="87" removed="1"/> <On index="88" removed="1"/> <On index="89" removed="1"/> <On index="90" removed="1"/>
Now add/make the modifications below:[Validators] <CValidatorUnitCompareResourceContents id="HasVespeneGT5"> <WhichUnit Value="Source"/> <Compare value="GT"/> <Value value="5"/> </CValidatorUnitCompareResourceContents>
<CValidatorUnitCompareResourceContents id="HasVespeneLT5"> <WhichUnit Value="Source"/> <Compare value="LT"/> <Value value="5"/> </CValidatorUnitCompareResourceContents>
[Effects] <CEffectApplyBehavior id="GasIsDepletedRaw"> <ValidatorArray value="NotDead"/> </CEffectApplyBehavior>
<CEffectModifyUnit id="GasAutoAdd"> <ValidatorArray value="HasVespeneLT5"/> <Resources value="1"/> <ResourcesHarvestedFraction value="1"/> </CEffectModifyUnit>
<CEffectSet id="GasIsEmptySFX"> <ValidatorArray value="IsNotConstructing"/> <Alert value="ResourceExhausted_Vespene"/> <EffectArray value="GasAutoAdd"/> </CEffectSet>
[Behaviors] <CBehaviorBuff id="ReplenishGas"> <Period value="0.4"/> <InitialEffect value="GasIsEmptySFX"/> <PeriodicEffect value="GasAutoAdd"/> </CBehaviorBuff>
<CBehaviorBuff id="GasisEmptyAssimilator"> <RemoveValidatorArray index="0" value="HasVespeneGT5"/> </CBehaviorBuff>
<CBehaviorBuff id="GasisEmptyExtractor"> <RemoveValidatorArray index="0" value="HasVespeneGT5"/> </CBehaviorBuff>
<CBehaviorBuff id="GasisEmptyRefinery"> <RemoveValidatorArray index="0" value="HasVespeneGT5"/> </CBehaviorBuff>
<CBehaviorBuff id="GasisEmptyVespene"> <RemoveValidatorArray index="0" value="HasVespeneGT5"/> </CBehaviorBuff>
<CBehaviorBuff id="GasisEmptyVespene2"> <RemoveValidatorArray index="0" value="HasVespeneGT5"/> </CBehaviorBuff>
Unsure of necessity at the moment
To post a comment, please login or register a new account.