Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Elven Legacy (sequel to Fantasy Wars)

Elven Legacy (sequel to Fantasy Wars) Sequel to Fantasy Wars. Turn-based strategy game set in a fantasy world.

Reply
 
Thread Tools Display Modes
  #1  
Old 04-27-2009, 10:10 AM
primus360 primus360 is offline
Registered Member
 
Join Date: Jan 2008
Posts: 14
Default How tu use a turncounter in triggeractions?

The only possibility i have found to use a turncounter is in a condition term (i.e.turns since mission start = x).
You cannot make an own variable turncounter, because there is no action involved with it.
Does anyone know how to solve this problem?

Perhaps the forum moderator could forward this question to the developer?

It would be nice to have that, because you can make more complex missions with this knowledge.
Reply With Quote
  #2  
Old 04-27-2009, 09:21 PM
coreyh2 coreyh2 is offline
Approved Member
 
Join Date: Jul 2008
Location: WA
Posts: 40
Default

Can you explain what exactly you are trying to do? You might just be thinking about the problem in the wrong way.
Reply With Quote
  #3  
Old 04-28-2009, 10:13 AM
primus360 primus360 is offline
Registered Member
 
Join Date: Jan 2008
Posts: 14
Default RE: coreyh2

For example if you want a countdown in turns, which starts after a trigger (maybe entering a region or conquering a town) was executed.
You cannot handle this without having access to the game turncounter in direct way, because you do not know the turn the player will start the countdown.
Only having a condition with game turncounter is not enough to calculate for example three rounds time to fullfill a quest.
In my case i have buildt a 2 player non-coop near mirror map where each player has to conquer 4 hostile AI controled villages to be able to pass a gate.
If you pass the gate before your opponent, you should have advantages.
So there should spawn an additional unit for every turn for the faster player until the second player passes this gate too.
If you are faster, then you have to take more risk and so there should be a nice tactical balance.
This map really makes fun (playing against my wife - she is always the slow one ), but i have to make it simple and just spawn a fixed amount of units,
because i cannot access the turncounter.

And hey my wife and i are both professional software developers, maybe we both are thinking in the wrong way.
Reply With Quote
  #4  
Old 04-29-2009, 08:58 AM
coreyh2 coreyh2 is offline
Approved Member
 
Join Date: Jul 2008
Location: WA
Posts: 40
Default

The Quick Mission Q3_New_King shows how to make tasks that go off every turn if you control a city. You have a set of triggers. One starts out activated and runs once you control a town and activates the second. The second one run once every turn that you control the town and reactivates itself. If you lose the town the first trigger is activated again by the failed task code in the second.

you'll need to make extra triggers that give more rewards if you finish faster. Two for each period of turns that you want to pay attention too. When the second player gets it done the first players tasks gets failed. It will be a list of possible tasks. Probably doesn't matter if they haven't been activated already but I haven't tested it.

It sounds doable as long as you plan out your triggers. It will be much more complex then New King or any of the campaign maps.
Reply With Quote
  #5  
Old 04-29-2009, 09:59 AM
primus360 primus360 is offline
Registered Member
 
Join Date: Jan 2008
Posts: 14
Default RE: coreyh2

Thanks corey!
Reactivating triggers maybe a solution, if they are activated in the following turn.
Until now i assumed, that these will be reactivated in the current turn, so i did not try this.
i will tell you, if i have success or not.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:54 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.