editor - how to set up resource trigger?

Order of Battle is a series of operational WW2 games starting with the Pacific War and then on to Europe!

Moderators: The Artistocrats, Order of Battle Moderators

Post Reply
FrancoisPhilidor
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 221
Joined: Sat Nov 23, 2024 3:55 pm
Location: Czechia

editor - how to set up resource trigger?

Post by FrancoisPhilidor »

Hi, does anybody know how to make it so that a location gives you 10 extra resource points per turn, but only as long as you are holding it, like in multiplayer maps, e.g. the Fork?

Thanks
Zbrozlo
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 97
Joined: Sat Oct 01, 2016 1:40 am
Location: Poland

Re: editor - how to set up resource trigger?

Post by Zbrozlo »

It's probably done this way:
Image Image Image
FrancoisPhilidor
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 221
Joined: Sat Nov 23, 2024 3:55 pm
Location: Czechia

Re: editor - how to set up resource trigger?

Post by FrancoisPhilidor »

Thanks for the screenshots, nice.
I think I have tried sth similar, but I used +20 (not =20), and somehow it wasn't working. It was somehow exponential or sth. I had a normal income of 70, and said if that hex is under my control, the income will change by +20. But in the first turn it added +20 two times, and in the second turn even more times. Do you think that -1 at the start of the trigger causes this?
FrancoisPhilidor
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 221
Joined: Sat Nov 23, 2024 3:55 pm
Location: Czechia

Re: editor - how to set up resource trigger?

Post by FrancoisPhilidor »

Zbrozlo wrote: Wed Jan 15, 2025 5:27 am It's probably done this way:
Image Image Image

I think I will try not "check hex owner" but "check victory point count", and as effect = instead of +
FrancoisPhilidor
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 221
Joined: Sat Nov 23, 2024 3:55 pm
Location: Czechia

Re: editor - how to set up resource trigger?

Post by FrancoisPhilidor »

So what worked for me was:

if primary locations = 0, income =40
if primary locations = 1, income =60
if primary locations =2, income =80
etc
and then infinite checking (-1) at turn start.


Thanks for the idea though
Zbrozlo
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 97
Joined: Sat Oct 01, 2016 1:40 am
Location: Poland

Re: editor - how to set up resource trigger?

Post by Zbrozlo »

OK, you're welcome, but I didn't help you much—you figured it out yourself.
FrancoisPhilidor
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 221
Joined: Sat Nov 23, 2024 3:55 pm
Location: Czechia

Re: editor - how to set up resource trigger?

Post by FrancoisPhilidor »

Zbrozlo wrote: Wed Jan 15, 2025 6:04 pm OK, you're welcome, but I didn't help you much—you figured it out yourself.

You pointed me in the right direction :-D
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9582
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: editor - how to set up resource trigger?

Post by Erik2 »

-1 means the trigger is a loop and will fire each turn. So the resources will add up 20-40-60 etc
FrancoisPhilidor
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 221
Joined: Sat Nov 23, 2024 3:55 pm
Location: Czechia

Re: editor - how to set up resource trigger?

Post by FrancoisPhilidor »

Erik2 wrote: Sun Jan 19, 2025 9:44 am -1 means the trigger is a loop and will fire each turn. So the resources will add up 20-40-60 etc

Well I wanted that sth happens every time when somebody captures and re-captures the village. If I had set it to 1, it would only trigger the first time somebody occupies it, right?
Erik2
Order of Battle Moderator
Order of Battle Moderator
Posts: 9582
Joined: Thu Jul 14, 2011 12:59 pm
Location: Norway

Re: editor - how to set up resource trigger?

Post by Erik2 »

Correct, 1 is fire once and -1 is fire each time the condition is met.
tumpio
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 15
Joined: Fri Jan 27, 2023 9:04 pm

Re: editor - how to set up resource trigger?

Post by tumpio »

The problem with the first method was that it increases your income every turn you have that location captured. You then receive that amount of resources every turn. Instead of increasing income, you can give resources every turn the location is captured.

EDIT: In Zbrozlo's suggestion that is handled by it only firing in the capture VP event, so if it didn't work maybe you didn't have the location as a VP location (and only silver and gold flags are those?).
FrancoisPhilidor
Sergeant - 7.5 cm FK 16 nA
Sergeant - 7.5 cm FK 16 nA
Posts: 221
Joined: Sat Nov 23, 2024 3:55 pm
Location: Czechia

Re: editor - how to set up resource trigger?

Post by FrancoisPhilidor »

tumpio wrote: Thu Jan 23, 2025 5:59 am The problem with the first method was that it increases your income every turn you have that location captured. You then receive that amount of resources every turn. Instead of increasing income, you can give resources every turn the location is captured.

EDIT: In Zbrozlo's suggestion that is handled by it only firing in the capture VP event, so if it didn't work maybe you didn't have the location as a VP location (and only silver and gold flags are those?).
Thanks. Well I have made it so that it always checks the number of owned primary locations at turn start, and changes income with =, not with +
Post Reply

Return to “Order of Battle Series”