Is the number after 'date' the turn number or what?
Thanks![]()
Is the number after 'date' the turn number or what?
Thanks![]()
yes it's the turn, but don't make it 0 or 1, cos it won't appear that way, not sure why again. so if it's 4 it will appear in turn 4, and it depends on the amount of turns per year you have set what the actual date is then.
here's a guide to the historical_events file, could help a bit, could you +rep me for helping you if you think my answer helped you?
+rep for a good answer.
I wish to disagree. According to your explanation, if I had an event with date 4 it should appear on the fourth turn. which is no the case unless you have the game set to one turn per year.
If you use the great script of GED and use 12 turns per year the event will fire in the first month of the fourth year (turn 49). The date is linked to the beginning of the year. If you want to have events in the above 12turns\year let's say in April of the first month, then you will have to script it like that in campaign_script:
The reason why date 1 doesn't work (or any uneven number for that matter) is the 2 turns\year setting. If you have two turns, how can have a year 1, 3 , 5 etc?monitor_event FactionTurnStart FactionIsLocal
and I_TurnNumber = 3
historic_event M2TW_1066_04
terminate_monitor
end_monitor
date 0 should work, it does in the script. That is also the reason why April (being the fourth month) is turn number 3 in the script.
I did say "and it depends on the amount of turns per year you have set what the actual date is then", but It has been a long time since i did anything to the events file, and you, gigantus, seem to know a bit more.
Din't explain everything properly, sorry for that, should have done, but I didn't recall exactly how everything worked again. Thanks for clearing that up Gigantus, as always you seem to know everything, will +rep you for that. and Taiji, you should better look at Gigantus' post, cos his explanation is much better than mine, sorry for the unclearness.
I should have made my first post a little more verbose. The guide Mork points out doesn't answer my question, although it implies that it does.
Mork, where you say "so if it's 4 it will appear in turn 4, and it depends on the amount of turns per year you have set what the actual date is then." you actually reinforce the confusion the guide caused, since in DLV if it's 4 then it appears in turn 8 (not turn 4). I appreciate that you're trying to help and I should have explained that I'd already seen that guide.
Thanks Gigantus, without your answer I'd still be stuck![]()
Last edited by Taiji; August 17, 2009 at 08:19 AM.
Definitely use scripting for your historic event needs rather than the descr_events file. That file is kind of useless for multiple turns per year mods. You can use the example gigantus posted, but just use if statements so you can fit every historic event in one monitor.
You don't need to define historic events called through scripting in descr_events.txt at all, but you do need the strings in historic_events.txt.Code:monitor_event FactionTurnStart FactionIsLocal if I_TurnNumber = 3 ; date here historic_event M2TW_1066_04 end_if if I_TurnNumber = 7 ; date here historic_event super_awesome_event end_if ;don't terminate since it runs for all events end_monitor
House of Ward ~ Patron of Eothese, Mythic_Commodore, Wundai, & Saint Nicholas
I don't really need to be specific beyond a certain point. I can identify events that are firing already, in the rough area of time I where need an event, and use one of them.
So I'm not adding an event at all. But I appreciate your advice Augustus, there might come a time where I need to and I'll bear what you've said in mind![]()