1.3 patch changes

Since the 1.2 edition of this thread was moderately successful, I think its worth trying again for 1.3. Basically this is a thread to post anything dealing with updating mods to Diplomacy 1.3. New lines, file changes, anything that you had to deal with updating your mod, as well as questions. And from the change log I'm betting there will be a lot. Thanks to ZombieRus, Psycloak and Stant123

 

New Lines

new buffOverTimeActionType:

  • DoDamageAndGiveResourceCostPerc

new research bool modifier:

  • AllowUseAlliedPhaseGateWithPhaseJumpPact

new research float modifiers:

  • CapitalShipWeaponTargetPerBankAdjustment
  • WeaponTargetsPerBankAdjustmentCapitalShipsOrStarbases
  • CargoShipHullPointsMaxAdjustment
  • CargoShipArmorBaseAdjustment
  • CapitalShipAccelerationAdjustment
  • TacticalStructureWeaponDamageAdjustment
  • TacticalStructureHullPointsMaxAdjustment
  • TacticalStructureArmorAdjustment
  • ChanceToIgnoreShieldsAsDamageTarget
  • BombingPopulationKilledAsDamageDealerAdjustment
  • RefineryShipCapacityAdjustment
  • HullPointsMaxBonusPerArmorPointMax
  • HullPointsMaxBonusPerArmorPoint
  • SelfRelationshipBonus

new buffEntityModifierTypes:

  • PlanetHealthMaxAdjustment
  • AntimatterRestoreRate
  • PlanetUpgradeBuildRateAdjustment
  • RefineryIncome

Gameplay.constants:

playerDiplomacyAIDef:

this section was restructured quite a bit.

removes offerOrAcceptTreatyHappinessThresholds

removes breakTreatyHappinessThresholds

adds breakRelationshipThreshold:

  • breakRelationshipThreshold:Trade
  • breakRelationshipThreshold:ExternalVision
  • breakRelationshipThreshold:InternalVision
  • breakRelationshipThreshold:CeaseFire
  • breakRelationshipThreshold:PeaceTreaty
  • breakRelationshipThreshold:ResearchPact
  • breakRelationshipThreshold:EfficiencyPact
  • breakRelationshipThreshold:AntimatterPact
  • breakRelationshipThreshold:ArmorPact
  • breakRelationshipThreshold:BeamWeaponPact
  • breakRelationshipThreshold:CulturePact
  • breakRelationshipThreshold:MetalCrystalPact
  • breakRelationshipThreshold:ThrusterPact
  • breakRelationshipThreshold:PhaseJumpPact
  • breakRelationshipThreshold:PlanetBombingPact
  • breakRelationshipThreshold:ShieldPact
  • breakRelationshipThreshold:MarketPact
  • breakRelationshipThreshold:EnergyWeaponCooldownPact
  • breakRelationshipThreshold:MassReductionPact
  • breakRelationshipThreshold:SupplyPact
  • breakRelationshipThreshold:TacticalSlotsPact
  • breakRelationshipThreshold:WeaponCooldownPact
  • breakRelationshipThreshold:TradeIncomePact

adds new relationshipRequirements:

  •  relationshipRequirement:ResearchPact
  • relationshipRequirement:EfficiencyPact
  • relationshipRequirement:ThrusterPact
  • relationshipRequirement:MarketPact
  • relationshipRequirement:EnergyWeaponCooldownPact
  • relationshipRequirement:MassReductionPact

removes relationshipRequirements:

  • relationshipRequirement:MetalPact
  • relationshipRequirement:MissileWeaponPact
  • relationshipRequirement:ShipStructureMaxPact
  • relationshipRequirement:ShipStructureRegenPact
  • relationshipRequirement:StrikecraftPact

adds breakRelationshipPenalty:

  • breakRelationshipPenalty:Trade
  • breakRelationshipPenalty:ExternalVision
  • breakRelationshipPenalty:InternalVision
  • breakRelationshipPenalty:CeaseFire
  • breakRelationshipPenalty:PeaceTreaty
  • breakRelationshipPenalty:ResearchPact
  • breakRelationshipPenalty:EfficiencyPact
  • breakRelationshipPenalty:AntimatterPact
  • breakRelationshipPenalty:ArmorPact
  • breakRelationshipPenalty:BeamWeaponPact
  • breakRelationshipPenalty:CulturePact
  • breakRelationshipPenalty:MetalCrystalPact
  • breakRelationshipPenalty:ThrusterPact
  • breakRelationshipPenalty:PhaseJumpPact
  • breakRelationshipPenalty:PlanetBombingPact
  • breakRelationshipPenalty:ShieldPact
  • breakRelationshipPenalty:MarketPact
  • breakRelationshipPenalty:EnergyWeaponCooldownPact
  • breakRelationshipPenalty:MassReductionPact
  • breakRelationshipPenalty:SupplyPact
  • breakRelationshipPenalty:TacticalSlotsPact
  • breakRelationshipPenalty:WeaponCooldownPact
  • breakRelationshipPenalty:TradeIncomePact

Additional changes to playerDiplomacyAIDef added:

  • relationshipLevelMissionBonus:Hateful: Decimal
  • relationshipLevelMissionBonus:Abysmal: Decimal
  • relationshipLevelMissionBonus:Warming: Decimal
  • relationshipLevelMissionBonus:Neutral: Decimal
  • relationshipLevelMissionBonus:Friendly: Decimal
  • relationshipLevelMissionBonus:Peaceful: Decimal
  • relationshipLevelMissionBonus:Cooperative: Decimal
  • relationshipLevelMissionBonus:Beneficial: Decimal
  • relationshipLevelMissionBonus:Symbiotic: Decimal
  • relationshipLevelMissionBonus:Devoted: Decimal

KilledType

QuestLevelInfosType

 Player[Race].entity

general additions:

  • GameEventSound:QuestRejected
  • AllianceHUDIconEfficiencyPact
  • AllianceHUDIconThrusterPact
  • AllianceHUDIconMarketPact
  • AllianceHUDIconEnergyWeaponCooldownPact
  • AllianceHUDIconMassReductionPact
  • QuestStatusIconKillCapitalShips
  • QuestStatusIconSendEnvoy

general removes:

  • AllianceHUDIconMetalPact
  • AllianceHUDIconMissileWeaponPact
  • AllianceHUDIconShipStructureMaxPact
  • AllianceHUDIconShipStructureRegenPact
  • AllianceHUDIconStrikecraftPact

raceRelationsModifier:

  • adds raceRelationsModMin
  • adds raceRelationsModMax
  • removes raceRelationsMod

Quest:

  • questType
    • KillCapitalShips
    • SendEnvoy
  • questType
    • KillCapitalShips
    • SendEnvoy

 ResearchSubject:

Adds new allianceTypes:

  • EfficiencyPact
  • EnergyWeaponCooldownPact
  • MarketPact
  • MassReductionPact
  • ThrusterPact

Removes old allianceTypes:

  • MetalPact
  • ShipStructureMaxPact
  • StrikecraftPact
  • ShipStructureRegenPact
  • MissileWeaponPact

Modified Files

  • FrigatePsiLongRange.entity
  • English.str (some will cause a minidump if not present)
  • NPCScreen.window
  • PlayerScreen.window
  • VideoOptionsTabContent.window
  • Buttons_Research2_Normal/Pressed/CursorOver/Disabled.tga
  • Buttons_Screens2_Normal/Pressed/CursorOver/Disabled.tga

 

103,981 views 16 replies
Reply #1 Top

Hmm, seems running the old convert data on the new reference data is a good way to find out which files has structure changes (though it doesn't cover new modifiers). All of the following failed and thus must have had some sort of change.

PlayerPirate
PlayerPhase
PlayerPsi
PlayerTECH
QuestBombPlanet
QuestKillCapitalShipsHigh
QuestKillCapitalShipsMaintain
QuestKillCivilianModulesHigh
QuestKillCivilianModulesLow
QuestKillTacticalModulesMaintain
QuestKillTacticalModulesMedium

Reply #2 Top

Even better: Before running ConvertData, check the last modified date.

 

:fox:

Reply #3 Top

NPCScreen.window

PlayerScreen.window

VideoOptionsTabContent.window

Pact list has been changed, related research files will need alterations.  Cultural relation research modifiers have changed.

Numerous string file additions and alterations, all player files need updated for the quest and pact event changes, as well as relation modifier system changes.  Gameplay.constants needs updated for the new diplomacy system.

 

I think that is everything, but it's been a long day.

+1 Loading…
Reply #4 Top

Wiki is still a work in progress but here's what I have so far:

new buffOverTimeActionType:

  • DoDamageAndGiveResourceCostPerc

        <condition><value>DoDamageAndGiveResourceCostPerc</value>
            <structure_reference name="resourceGainPerc" type="GenericLevel"/>
            <structure_reference name="damageRate" type="GenericLevel"/>
        </condition>

new research bool modifier:

  • AllowUseAlliedPhaseGateWithPhaseJumpPact

new research float modifiers:

  • CapitalShipWeaponTargetPerBankAdjustment
  • CargoShipHullPointsMaxAdjustment
  • CargoShipArmorBaseAdjustment
  • CapitalShipAccelerationAdjustment
  • TacticalStructureWeaponDamageAdjustment
  • TacticalStructureHullPointsMaxAdjustment
  • TacticalStructureArmorAdjustment
  • ChanceToIgnoreShieldsAsDamageTarget
  • BombingPopulationKilledAsDamageDealerAdjustment
  • RefineryShipCapacityAdjustment
  • HullPointsMaxBonusPerArmorPointMax
  • HullPointsMaxBonusPerArmorPoint
  • SelfRelationshipBonus

new buffEntityModifierTypes:

  • PlanetHealthMaxAdjustment
  • AntimatterRestoreRate
  • PlanetUpgradeBuildRateAdjustment
  • RefineryIncome

Gameplay.constants:

playerDiplomacyAIDef:

this section was restructured quite a bit.

removes offerOrAcceptTreatyHappinessThresholds

removes breakTreatyHappinessThresholds

adds breakRelationshipThreshold:

  • breakRelationshipThreshold:Trade
  • breakRelationshipThreshold:ExternalVision
  • breakRelationshipThreshold:InternalVision
  • breakRelationshipThreshold:CeaseFire
  • breakRelationshipThreshold:PeaceTreaty
  • breakRelationshipThreshold:ResearchPact
  • breakRelationshipThreshold:EfficiencyPact
  • breakRelationshipThreshold:AntimatterPact
  • breakRelationshipThreshold:ArmorPact
  • breakRelationshipThreshold:BeamWeaponPact
  • breakRelationshipThreshold:CulturePact
  • breakRelationshipThreshold:MetalCrystalPact
  • breakRelationshipThreshold:ThrusterPact
  • breakRelationshipThreshold:PhaseJumpPact
  • breakRelationshipThreshold:PlanetBombingPact
  • breakRelationshipThreshold:ShieldPact
  • breakRelationshipThreshold:MarketPact
  • breakRelationshipThreshold:EnergyWeaponCooldownPact
  • breakRelationshipThreshold:MassReductionPact
  • breakRelationshipThreshold:SupplyPact
  • breakRelationshipThreshold:TacticalSlotsPact
  • breakRelationshipThreshold:WeaponCooldownPact
  • breakRelationshipThreshold:TradeIncomePact

adds new relationshipRequirements:

  •  relationshipRequirement:ResearchPact
  • relationshipRequirement:EfficiencyPact
  • relationshipRequirement:ThrusterPact
  • relationshipRequirement:MarketPact
  • relationshipRequirement:EnergyWeaponCooldownPact
  • relationshipRequirement:MassReductionPact

removes relationshipRequirements:

  • relationshipRequirement:MetalPact
  • relationshipRequirement:MissileWeaponPact
  • relationshipRequirement:ShipStructureMaxPact
  • relationshipRequirement:ShipStructureRegenPact
  • relationshipRequirement:StrikecraftPact

adds breakRelationshipPenalty:

  • breakRelationshipPenalty:Trade
  • breakRelationshipPenalty:ExternalVision
  • breakRelationshipPenalty:InternalVision
  • breakRelationshipPenalty:CeaseFire
  • breakRelationshipPenalty:PeaceTreaty
  • breakRelationshipPenalty:ResearchPact
  • breakRelationshipPenalty:EfficiencyPact
  • breakRelationshipPenalty:AntimatterPact
  • breakRelationshipPenalty:ArmorPact
  • breakRelationshipPenalty:BeamWeaponPact
  • breakRelationshipPenalty:CulturePact
  • breakRelationshipPenalty:MetalCrystalPact
  • breakRelationshipPenalty:ThrusterPact
  • breakRelationshipPenalty:PhaseJumpPact
  • breakRelationshipPenalty:PlanetBombingPact
  • breakRelationshipPenalty:ShieldPact
  • breakRelationshipPenalty:MarketPact
  • breakRelationshipPenalty:EnergyWeaponCooldownPact
  • breakRelationshipPenalty:MassReductionPact
  • breakRelationshipPenalty:SupplyPact
  • breakRelationshipPenalty:TacticalSlotsPact
  • breakRelationshipPenalty:WeaponCooldownPact
  • breakRelationshipPenalty:TradeIncomePact

Additional changes to playerDiplomacyAIDef added:

  • relationshipLevelMissionBonus:Hateful: Decimal
  • relationshipLevelMissionBonus:Abysmal: Decimal
  • relationshipLevelMissionBonus:Warming: Decimal
  • relationshipLevelMissionBonus:Neutral: Decimal
  • relationshipLevelMissionBonus:Friendly: Decimal
  • relationshipLevelMissionBonus:Peaceful: Decimal
  • relationshipLevelMissionBonus:Cooperative: Decimal
  • relationshipLevelMissionBonus:Beneficial: Decimal
  • relationshipLevelMissionBonus:Symbiotic: Decimal
  • relationshipLevelMissionBonus:Devoted: Decimal

KilledType

QuestLevelInfosType

 Player[Race].entity

general additions:

  • GameEventSound:QuestRejected
  • AllianceHUDIconEfficiencyPact
  • AllianceHUDIconThrusterPact
  • AllianceHUDIconMarketPact
  • AllianceHUDIconEnergyWeaponCooldownPact
  • AllianceHUDIconMassReductionPact
  • QuestStatusIconKillCapitalShips
  • QuestStatusIconSendEnvoy

general removes:

  • AllianceHUDIconMetalPact
  • AllianceHUDIconMissileWeaponPact
  • AllianceHUDIconShipStructureMaxPact
  • AllianceHUDIconShipStructureRegenPact
  • AllianceHUDIconStrikecraftPact

raceRelationsModifier:

  • adds raceRelationsModMin
  • adds raceRelationsModMax
  • removes raceRelationsMod

 

Quest:

  • questType
    • KillCapitalShips
    • SendEnvoy

 

  • questType
    • KillCapitalShips
    • SendEnvoy

 ResearchSubject:

Adds new allianceTypes:

  • EfficiencyPact
  • EnergyWeaponCooldownPact
  • MarketPact
  • MassReductionPact
  • ThrusterPact

Removes old allianceTypes:

  • MetalPact
  • ShipStructureMaxPact
  • StrikecraftPact
  • ShipStructureRegenPact
  • MissileWeaponPact

 

 

 

 

+1 Loading…
Reply #5 Top

Quoting Kitkun, reply 2
Even better: Before running ConvertData, check the last modified date.

Ah yes. Well technically those include stat changes too, though that's certainly useful information too.

Karma for psycloak and ZombieRus. k1

Reply #6 Top

New modifier added with 1.31

WeaponTargetsPerBankAdjustmentCapitalShipsOrStarbases

- replaced the two individual modifiers

Reply #7 Top

Quoting ZombiesRus5, reply 6
New modifier added with 1.31

WeaponTargetsPerBankAdjustmentCapitalShipsOrStarbases

- replaced the two individual modifiers

Does that mean the capitalship only modifier no longer works?

Also I'm getting a bunch of errors with Sins files I haven't modded. I seem to remember the last time this happened it was due to some stupid error in a random file, but I don't remember what is was. Also mentioned something about "numReceiverConstraints exceeds the maximum allowed".

Reply #8 Top

Quoting GoaFan77, reply 7
Does that mean the capitalship only modifier no longer works?

I'll do a quick test later and see...

Quoting GoaFan77, reply 7
Also I'm getting a bunch of errors with Sins files I haven't modded. I seem to remember the last time this happened it was due to some stupid error in a random file, but I don't remember what is was. Also mentioned something about "numReceiverConstraints exceeds the maximum allowed".

Not sure on this one. I take it this is showing when you run the debugger?

 

Reply #9 Top

Quoting ZombiesRus5, reply 8
Quoting GoaFan77,
reply 7
Does that mean the capitalship only modifier no longer works?

I'll do a quick test later and see...

 

Yes, it still works.

Reply #10 Top

Quoting ZombiesRus5, reply 8
Not sure on this one. I take it this is showing when you run the debugger?

Yeah. I've seen them all but that warning before. The full thing was "numReceiverConstraints exceeds the maximum allowed. 15 requested but only 8 allowed. If a larger number is needed bug a programmer!". I know this is normally what occurs when you exceed a hardcoded limit, but I didn't get it before the patch at all.

Other warnings I've all seen before, and I remember fixing some random seemingly unrelated file fixed it, but here they are.

"numChars < bufferSize"

"Failed to Read File '.\GameInfo\QuestKillTacticalModulesLow.entity'. desired read bytes = 6357076, actual read bytes = 83."

I haven't modded any Quest files, and the file in question certainly isn't 6MB anyways. My mod doesn't include a gameplay.constants file so the only thing I could think of that was changed were the player.entity files, but I did a line by line comparison with the new files and double checked everything you listed had changed were corrected.

 Edit: Thanks for testing that modifier.

Reply #11 Top

In the mods I work on, I was getting all of those errors until I fixed my entity manifest.  Since then, no errors.


entityName "QuestKillTacticalModulesLow.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_METAL.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_MISSILE.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_SHIPSTRUCTUREMAX.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_SHIPSTRUCTUREREGEN.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_STRIKECRAFT.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_METAL.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_MISSILE.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_SHIPSTRUCTUREMAX.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_SHIPSTRUCTUREREGEN.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_STRIKECRAFT.entity"

Those lines all need to be removed.

+1 Loading…
Reply #12 Top

Has anyone looked to see what texture sheets where added or changed?

Reply #13 Top

Quoting Stant123, reply 11
In the mods I work on, I was getting all of those errors until I fixed my entity manifest. Since then, no errors.


entityName "QuestKillTacticalModulesLow.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_METAL.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_MISSILE.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_SHIPSTRUCTUREMAX.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_SHIPSTRUCTUREREGEN.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_STRIKECRAFT.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_METAL.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_MISSILE.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_SHIPSTRUCTUREMAX.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_SHIPSTRUCTUREREGEN.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_STRIKECRAFT.entity"

Those lines all need to be removed.

Hmm, I was using Harpo's manifest maker which had no problems up until now, but thanks I'll take a look.

Quoting myfist0, reply 12
Has anyone looked to see what texture sheets where added or changed?

I know the Buttons_Research2_... files were changed, as they added some new icons for the new abilities/research. The Buttons_Screens2_... files were also changed on the same day, and since no other files were changed in 2011 I think that's it.

Reply #14 Top

Quoting Stant123, reply 11
In the mods I work on, I was getting all of those errors until I fixed my entity manifest.  Since then, no errors.


entityName "QuestKillTacticalModulesLow.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_METAL.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_MISSILE.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_SHIPSTRUCTUREMAX.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_SHIPSTRUCTUREREGEN.entity"
entityName "RESEARCHSUBJECT_PACTBONUS_STRIKECRAFT.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_METAL.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_MISSILE.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_SHIPSTRUCTUREMAX.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_SHIPSTRUCTUREREGEN.entity"
entityName "RESEARCHSUBJECT_PACTUNLOCK_STRIKECRAFT.entity"

Those lines all need to be removed.

Nice.

Reply #15 Top

I had originally included that line as well but edited it out because I still have it in both of my mods and it's working without issues.  But like always, time will tell.

Reply #16 Top

By the way, is anyone else having trouble getting the Convertdata_Diplomacy to convert .brushes files to text?

Edit: Nevermind, might fault, forgot to get my batch file out of entity mode.