Diplomacy - discussion

Supremacy; support/discussion/questions

Moderators: thunderchero, Iceman

Iceman
Admiral
Admiral
Posts: 3318
Joined: Fri Apr 10, 2009 2:00 am

Re: Diplomacy - discussion

Post by Iceman »

the6the wrote: Tue Jan 10, 2023 9:00 am I propose the following:
Trade routes get modifiers depending on regard between the two factions.
Enraged x 0.0 (the trade route generates no income)
Hostile x 0.2
Icy x 0.4
Uncooperative x 0.6
Neutral x 0.8
Receptive x 1.0 (Trade route normal value)
Cordial x 1.1
Enthusiastic x 1.2
Worshipful x 1.3 (most minor races are already a member by this time)
The "side-effect" of this is that if relations are "negative", the amount of Regard gained is lower; "positive" relations will yield higher Regard increases. It might be counter-productive in some way.
Just an observation.
Iceman
Admiral
Admiral
Posts: 3318
Joined: Fri Apr 10, 2009 2:00 am

Re: Diplomacy - discussion

Post by Iceman »

Spocks-cuddly-tribble wrote: Sat Jan 14, 2023 9:13 am
Iceman wrote: Sat Jan 14, 2023 7:27 amWe could compare the output of the TR being cancelled with the total output of TRs you have with the civ
In BotF it's check for a +/- change of sum of total population of sender systems to this recipient.
Credit output of incoming trade routes works like a credit gift each turn. Recipient effect based on sum of total population of sender systems.
A few days ago I was looking into getting rid of this sender/recipient system concept for TRs. The code somewhat assumes that the sender system is owned by the human player - which can create issues in MP games, and when the AI creates TRs.
So Supremacy goes through all systems with active TRs and adds the credits for each TR.

Even The AI will change/cancel trade routes for bigger systems to maximize own trade route income.
So yes, canceling and adding a better route should not be punished since recipient benefits from this. :up:
You're talking about when you change TRs to the same civ/recipient. I wasn't. :wink:
I'll try to look into redirecting TRs.
User avatar
the6the
Lieutenant-Commander
Lieutenant-Commander
Posts: 165
Joined: Mon Oct 30, 2017 3:48 pm

Re: Diplomacy - discussion

Post by the6the »

Iceman wrote: Sun Jan 15, 2023 12:41 pm
the6the wrote: Tue Jan 10, 2023 9:00 am I propose the following:
Trade routes get modifiers depending on regard between the two factions.
Enraged x 0.0 (the trade route generates no income)
Hostile x 0.2
Icy x 0.4
Uncooperative x 0.6
Neutral x 0.8
Receptive x 1.0 (Trade route normal value)
Cordial x 1.1
Enthusiastic x 1.2
Worshipful x 1.3 (most minor races are already a member by this time)
The "side-effect" of this is that if relations are "negative", the amount of Regard gained is lower; "positive" relations will yield higher Regard increases. It might be counter-productive in some way.
Just an observation.
Oh I see what you mean. I never thought of the impact it would have on getting regard back up. The lower the amount the TR's bring in, the lower the regard gain.. Well it does make sense though. The bigger the hole you dig concerning your relations, the harder it is to get yourself out.

One way to get around that is if the each TR generates a flat regard across the board, regardless of revenue. Would that be worth looking into?
Iceman
Admiral
Admiral
Posts: 3318
Joined: Fri Apr 10, 2009 2:00 am

Re: Diplomacy - discussion

Post by Iceman »

Spocks-cuddly-tribble wrote: Sat Jan 14, 2023 9:13 am Credit output of incoming trade routes works like a credit gift each turn. Recipient effect based on sum of total population of sender systems.
Could you be more specific about this please?

Even The AI will change/cancel trade routes for bigger systems to maximize own trade route income.
So yes, canceling and adding a better route should not be punished since recipient benefits from this. :up:
The threads about TRs are not very clear about effects.
This one seem to imply that the source gets

[output per turn] = 0.05 * [population of source system] + 0.1 * [population of destination system]

and the recipient gets

0.05 * [population of source system] credits per turn

and this value is used as the effect to Regard (doubled for Friendship, tripled for Affiliation).

Is this correct :?:

Are the effects the same for both minor civs and for empires?
(there's a specific reference to minors, hence the question)
User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 1962
Joined: Sun Apr 27, 2008 2:00 am

Re: Diplomacy - discussion

Post by Spocks-cuddly-tribble »

Iceman wrote: Sun Apr 16, 2023 1:45 pm
Spocks-cuddly-tribble wrote: Sat Jan 14, 2023 9:13 am Credit output of incoming trade routes works like a credit gift each turn. Recipient effect based on sum of total population of sender systems.
Could you be more specific about this please?
The quote context was AI recipient empires, IIRC.

They get the credits plus an attitude effect as if you gave them a gift with the same total amount of all incoming trade routes from your empire.

But it's a complex matter e.g. ferengi free trade routes without trade treaty create full credits in both directions (different amount calculations outgoing/incoming) but the attitude effect is multiplied by 0.25 for AI empires (0.35 for minors).

The attidue effect towards AI empires is kinda erratic/negligible among other factors (many random codes and no stockpile effect).

For the minor attitude effect apply many modifiers discussed in trade route and gift topics (they don't use credits in BotF).

Iceman wrote: Sun Apr 16, 2023 1:45 pm[output per turn] = 0.05 * [population of source system] + 0.1 * [population of destination system]

and the recipient gets

0.05 * [population of source system] credits per turn

and this value is used as the effect to Regard (doubled for Friendship, tripled for Affiliation).

Is this correct :?:
Credits yes (minors don't use them in BotF and create no outgoing trade routes), regard no.
Iceman wrote: Sun Apr 16, 2023 1:45 pmAre the effects the same for both minor civs and for empires?
(there's a specific reference to minors, hence the question)
No, see above.

Base value is the incoming trade route credits 'gift'.

Ferengi free trade without treaty - attitude effect modifier: major 0.25, minor 0.35.

For minors *7 then all gift effect moddifiers (see Gowron): viewtopic.php?p=13#p13

I think the attitude value itself has a range from 0-1000 represented via imprecise 25(?) bars in the GUI.

UE can edit the minor race defaut attitudes vs empires so Flocke should be able to verify this.
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
Iceman
Admiral
Admiral
Posts: 3318
Joined: Fri Apr 10, 2009 2:00 am

Re: Diplomacy - discussion

Post by Iceman »

Thanks for taking the time to write all this, I really appreciate it!
It's too much text though, my head hurts just to look at it :mrgreen:
Too messy to try to really understand it, I guess I'll just keep it as it is now, and make some adjustments.
:up:
Post Reply

Return to “Supremacy”