• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

zdlugasz

Field Marshal
46 Badges
Jan 30, 2006
3.698
1.135
  • Europa Universalis IV: Mandate of Heaven
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris Sign-up
  • Europa Universalis IV: Rights of Man
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Warlock 2: The Exiled
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Imperator: Rome - Magna Graecia
  • Europa Universalis III Complete
  • East India Company Collection
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Heir to the Throne
  • Darkest Hour
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Sengoku
  • Sword of the Stars
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
I understand that you have your vision how trade is supposed to work so I suggest this change for modding purposes only.

Add new parameter to the "outgoing" sections of the "00_tradenodes.txt", possibly also add new command allowing to switch it in game.

New parameter could be called bidirectional, with default value no (vanilla game). Setting its value 'yes' would allow "normal" trade propagation in the opposite direction in given trade link.
If modded to yes (or changed by decision/event) it would has the following effect:
- trade propagation upstream works exactly as for downstream link, which means that there is transfer of both trade value and trade power (for additional effects look at the bottom of post)

Trade power would be calculated as it is now ((land + merchant + navy + propagated) * modifier).
Trade value for collecting would be calculated exactly as it is now (local+all incoming values)* %collecting_power
Trade value for ANY outgoing stream (let as call it nodeA->nodeB stream) would be calculated as %outgoingA->B * (total_trade_value - incoming_trade_fromB->A) - thus the same trade is processed only once per node (no feedback)


Other changes:
tooltips: when looking at outgoing/incoming trade flow game would need to check both of them because some could be bidirectional
enable/disable that "box" which allows merchant to change steering direction in trade map mode; possibly it could be easier then such boxes could be always drawn for the opposite direction, but be unaccessible unless bidirectional trade on given link is enabled
possibly additional variable in "defines.lua" could turn on/off the whole feature, so there are no 'artificial' always blocked boxes in vanilla trade mode (or maybe they can appear/disappear dynamically?)
AI merchant/navy assignments would need to take into account that some links may be bidirectional, but it is my honest belief that no more work should be required on AI except to expand all loops to take into account more links/more nodes

All map balancing would be left to modders (some nodes would be pulling stronger than others due to the number of provinces and especially number of estuaries and trade centers but it could be solved using coefficient described below).


Another interesting possibility would be to add parameters modifying trade power propagation (weighting coefficient) for both trade flows (forward and back). And add possibility to change it in game via events etc.
These commands would work in trade node scope only and second node would be an argument.


Edit:
I was thinking that supposedly upstream transfer is possible even now (albeit with hefty penalty) - so maybe the only thing to add is
- possibility to change weighting modifier for each link
- tooltip description (it is missing for upstream transfer)
- boxes for merchant steering assignment
 
Last edited:
Upvote 0