Results 1 to 14 of 14

Thread: descr_events file for modified time-scale

  1. #1

    Default descr_events file for modified time-scale

    I use 0.5 years/turn scale (makes my generals age more accurately)
    The important world events NEVER reach in time! Like, you need 800+ turns for gunpowder.
    So, i divided all the years by 4 (more or less) and made a descr_event file.
    Have fun.


    Code:
    ; historical events and when they occur
    ;
    ; Events are followed by a category, and a label
    ; labels are used as lookups into historic_events.txt for title and body strings,
    ; and also as image names for the event picture
    ;
    ; Currently supported categories are:
    ; counter  - just increase a counter
    ; historic - Just generates a message and increase a counter
    ; volcano  - triggers a volcano if there is one on the map at the position specified
    ; plague   - triggers a plague in settlements at the specified positions
    ; emergent_faction - triggers the emergence of the given faction.  This faction must be marked
    ;    as emergent in descr_strat.txt
    ;
    ; event descriptions are followed by a date (year as offset from starting date) or a date range
    ; and either a list of positions, or list of regions.  Each position/region specification must appear on
    ; a seperate line below the date
    
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;  TEST CASES  ;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    ; ------------ CORE GAME EVENT --------------
    ;event    historic    mongols_invasion_warn
    ;date    2
    
    ;event    earthquake    earthquake_aleppo
    ;date    2
    ;position    257, 73
    
    ; ------------ CORE GAME EVENT --------------
    ;event    historic    gunpowder_discovered
    ;date    2 4
    
    ;event    historic    earthquake_silicia
    ;date    4
    ;position    232, 76
    
    ; ------------ CORE GAME EVENT --------------
    ;event    plague         black_death_hits
    ;date    266
    ;position    281, 163
    ; NOTE - ALL BLACK PLAGUE EVENTS WORK LIKE THIS ONE.
    
    ; ------------ CORE GAME EVENT --------------
    ;event    historic    timurids_invasion_warn
    ;date    2
    
    ;event    historic    earthquake_in_alexandria
    ;date    2
    ;position    230, 38
    
    ;event    historic    earthquake_in_aleppo
    ;date    2
    ;position    257, 73
    
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;  EVENT LIST  ;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    event    historic     first_windmill
    date    12
    
    event    historic    earthquake_in_aleppo
    date    15
    position    257, 73
    
    event    historic    science_alchemy_book
    date    16
    
    event    historic    first_european_paper
    date    18
    
    event    historic    first_magnetic_compass
    date    26
    
    event    historic    first_wheelbarrow
    date    30
    
    event    historic    science_maths_zero_europe
    date    31
    
    ; ------------ CORE GAME EVENT --------------
    event    historic    mongols_invasion_warn
    date    32 42
    
    
    
    event    earthquake    earthquake_in_silicia
    date    44
    position    232, 76
    
    event    historic     first_mechanical_clock
    date    50
    
    ; ------------ CORE GAME EVENT --------------
    event    historic    gunpowder_discovered
    date    52 54
    movie    event/gunpowder_invented.bik
    
    
    event    historic    first_eyeglasses
    date    53
    
    event    earthquake    earthquake_in_alexandria
    date    55
    position    230, 38
    
    event    earthquake    earthquake_in_alexandria_2
    date    57
    position    230, 38
    
    event    historic    football_banned
    date    58
    
    event    historic    first_sawmill
    date    62
    
    
    event    historic    first_public_clock
    date    63
    
    event    historic    science_weather_forecast
    date    64
    
    ; ------------ CORE GAME EVENT --------------
    event    plague         black_death_hits
    date    67
    position    281, 163
    position    258, 134
    position    233, 117
    position    278, 109
    movie    event/black_death.bik
    
    event    plague        black_death_1
    date     68
    position    278, 101
    position    258, 104
    position    213, 92
    position    216, 88
    position    209, 73
    position    230, 38
    position    232, 76
    position    150, 70
    position    132, 76
    position    131, 92
    position    120, 99
    position    133, 104
    position    146, 108
    position    136, 111
    position    157, 82
    position    168, 95
    position    190, 85
    position    191, 71
    position    175, 87
    position    194, 99
    position    93, 95
    position    77, 73
    position    92, 83
    position    97, 114
    position    105, 104
    position    121, 122
    position    129, 119
    position    160, 108
    position    249, 44
    position    246, 76
    position    241, 65
    position    232, 76
    position    245, 85
    position    251, 57
    position    254, 51
    position    214, 65
    position    202, 57
    
    event    plague         black_death_2
    date    69
    position    281, 79
    position    259, 64
    position    257, 73
    position    136, 63
    position    103, 66
    position    71, 80
    position    107, 155
    position    201, 109
    position    74, 104
    position    55, 88
    position    109, 147
    position    78, 90
    position    115, 143
    position    120, 144
    position    113, 131
    position    163, 124
    position    94, 157
    position    132, 126
    position    119, 133
    position    148, 147
    position    143, 120
    position    138, 139
    position    125, 131
    position    104, 134
    position    94, 130
    position    102, 126
    position    235, 32
    position    291, 70
    position    251, 73
    position    265, 80
    position    150, 40
    position    90, 101
    
    event    plague         black_death_3
    date    70
    position    205, 125
    position    196, 114
    position    99, 181
    position    102, 74
    position    90, 162
    position    142, 187
    position    106, 164
    position    157, 136
    position    172, 122
    position    148, 147
    position    141, 154
    position    141, 166
    position    174, 136
    position    192, 140
    position    163, 143
    position    228, 2
    position    268, 13
    
    event    plague         black_death_4
    date    71
    position    235, 169
    position    202, 179
    position    181, 174
    position    188, 186
    position    167, 183
    position    169, 151
    position    217, 139
    position    212, 162
    position    189, 158
    position    155, 155
    position    244, 158
    
    event    historic    first_blast_furnace
    date    69
    
    event    historic    grote_mandenke
    date    71
    
    ; ------------ CORE GAME EVENT --------------
    event    historic    timurids_invasion_warn
    date    74 78
    
    event    historic    first_piano
    date    80
    
    ; ------------ CORE GAME EVENT --------------
    event    historic     world_is_round
    date    80 82
    
    event    historic    first_oil_painting
    date    83
    
    event    historic    science_de_docta_ignorantia
    date    91
    
    ; ------------ CORE GAME EVENT --------------
    ;TRUE TIME event    historic     world_is_round
    ;TRUE TIME date    92 93
    
    event    historic    first_printing_press
    date    93
    
    event    earthquake    earthquake_in_naples
    date    94
    position    157, 82
    
    event    historic    malleus_maleficarum
    date    102
    
    event    historic    science_da_vinci_ornithopter
    date    103
    
    event    historic    first_watch
    date    107
    
    
    ; ------------ OLD EVENT EXAMPLES --------------
    ;event    volcano        eruption_at_vesuvius
    ;date    99
    ;position    103, 65
    
    ;event    plague        plague_in_asia_minor
    ;date    173
    ;position    192, 68
    ;position    200, 55
    ;position    190, 80
    Last edited by foolfromhell; September 09, 2007 at 10:48 AM.

  2. #2

    Default Re: descr_events file for modified time-scale

    Moved to Mod Workshop
    RIP Calvin, you won't be forgotten.

  3. #3

    Default Re: descr_events file for modified time-scale

    hi i have used this in the descr_strat events or what ever its called lol. But when i besiege settlements now they seem to get mercenary spearmen randomly appearing in their army. Can you tell me why this is because its really anyyoying as i make them vulnerable then attack but now i have to beseige with double the men it would have took before.

  4. #4

    Default Re: descr_events file for modified time-scale

    Quote Originally Posted by foolfromhell View Post
    So, i divided all the years by 4 (more or less) and made a descr_event file.
    Have fun.

    Thanks a lot for this! One question though: do I need to use the .bat file ( io file first or something)? You see, I extracted the resources without really using them, and now I can't remember whether or not that descr_event file was already in this directory: data\world\maps\campaign\imperial_campaign.

    As a last resort I could reinstall the game, but I figure that some of you will know this, thus saving me the hassle.


    Quote Originally Posted by phoenixflame View Post
    But when i besiege settlements now they seem to get mercenary spearmen randomly appearing in their army.

    I'm no expert, but this seems like an unrelated glitch.

  5. #5
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,095
    Blog Entries
    35

    Default Re: descr_events file for modified time-scale

    For any modified file to work you will need the file_first command.
    The matter of the spearmen seems to be related to the campaign script: probably a garrison script (units get spawned when the city is under attack, are you playing DLV?)










  6. #6

    Default Re: descr_events file for modified time-scale

    Quote Originally Posted by gigantus View Post
    For any modified file to work you will need the file_first command.

    If the file was around originally, as in it didn't need to be unpacked, modifications apparently work without said command. I modified descr_strat.txt over at data\world\maps\campaign\imperial_campaign to get 6 months per turn, didn't use the batch, and it worked. Thus I ask specifically whether or not data\world\maps\campaign\imperial_campaign\descr_events.txt was there originally, or if it had to be unpacked.


    Then again, don't look for this info if there's going to be any hassle involved. I think I'll make and use the batch file anyway,
    regardless of it being necessary or not. Plus there's another relatively quick way to verify this other than asking you.

  7. #7
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,095
    Blog Entries
    35

    Default Re: descr_events file for modified time-scale

    The file might have been around, but then why go through the hassle of finding out (as you said quite rightly)? Couldn't go into specifics because I wasn't at my own machine (got a 'clean' version on it apart from all the modded stuff). I belive nearly all files in the world directory are already unpacked, but then I never bothered. Sorry if I was misleading.










  8. #8

    Default Re: descr_events file for modified time-scale

    Quote Originally Posted by gigantus View Post
    The file might have been around, but then why go through the hassle of finding out (as you said quite rightly)?

    Well, I was misleading as well. I merely wanted somebody WITHOUT an unpacked install to check out whether or not the file was already there. If it was, then I most likely won't need to bother with the io file first batch. So if you can, could you do a quick search for descr_strat.txt in your install?

    PS Now I get it. You're not at your machine right now? In that case, disregard my above request. I'll use my own voodoo to verify that in a couple of hours, after I get back from Uni.

  9. #9
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,095
    Blog Entries
    35

    Default Re: descr_events file for modified time-scale

    descr_strat is definetely unpacked. Not sure about descr_events, but it is not a 'global' file.










  10. #10

    Default Re: descr_events file for modified time-scale

    Goddamn it. My mistake again. I was supposed to ask about descr_events in the first place.


    Quote Originally Posted by gigantus View Post
    descr_strat is definetely unpacked.

    I might be a little slow this morning, but do you mean that it's there straight after install, without having to use the unpacker? That would be correct. I could vouch for it, since I edited the strat file long before I actually unpacked anything.


    Quote Originally Posted by gigantus View Post
    Not sure about descr_events, but it is not a 'global' file.

    I'm not sure if I understand what you mean by global. Regardless, seems that I'm better of just giving it a rest and using that damn batch file already.
    Anyway, thanks for your help so far.

  11. #11
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,095
    Blog Entries
    35

    Default Re: descr_events file for modified time-scale

    Global is used when you speak of a file that effects basic settings. Like campaign_db.xml. But those files are all in the data folder.
    And yes, why struggle if the batch file makes it easy? It might sound like an advertising song, but it is true.










  12. #12

    Default Re: descr_events file for modified time-scale

    Quote Originally Posted by gigantus View Post
    And yes, why struggle if the batch file makes it easy?
    Good thinking. We're wasting both of our (and potentially other people's, if anyone's reading this) time discussing this. I'm gonna start the game up again today, in a couple of hours. Should I have trouble with the batch, I'll most likely post here, unless I find the resolution in another thread.

  13. #13
    Evil_Dane's Avatar Semisalis
    Join Date
    Sep 2008
    Location
    Denmark
    Posts
    442

    Default Re: descr_events file for modified time-scale

    Can you find this with 1 year per turn?

  14. #14
    Evil_Dane's Avatar Semisalis
    Join Date
    Sep 2008
    Location
    Denmark
    Posts
    442

    Default Re: descr_events file for modified time-scale

    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;; EVENT LIST ;;;;;;;;;;;;;;;
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    event historic first_windmill
    date 50
    event historic earthquake_in_aleppo
    date 58
    position 257, 73
    event historic science_alchemy_book
    date 64
    event historic first_european_paper
    date 72
    event historic first_magnetic_compass
    date 102
    event historic first_wheelbarrow
    date 120
    event historic science_maths_zero_europe
    date 122

    If i want the timescale to be 1 year, do i just have to double them up?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •