Page 3 of 6 FirstFirst 123456 LastLast
Results 41 to 60 of 107

Thread: How To Add New Historic Events

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Re: How To Add New Historic Events

    23:55:31.218 [script.err] [error] Script Error in CloudsAcrossEurope/data/export_descr_buildings.txt, at line 5727, column 3
    Building DB error - faction mongols has gap in building prior to masjid (unavailable at level zero)
    23:55:31.218 [data.invalid] [error] Target building level not allowed: The Mongols, large_town -> castle, temple_muslim[1](masjid) -> temple_muslim_castle[1](c_masjid)
    23:59:50.984 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.

    could someone help me ?

  2. #2

    Default Re: How To Add New Historic Events

    In reader it says:
    -no "capacity"...

  3. #3
    wilddog's Avatar Paintedwolves run free
    Join Date
    Jan 2005
    Location
    UK
    Posts
    2,337

    Default Re: How To Add New Historic Events

    Those errors relate to EDB.

  4. #4

    Default Re: How To Add New Historic Events

    fixed everything
    now.. time to ctd a earthquake

  5. #5

    Default Re: How To Add New Historic Events

    Hi There,

    I was interested in this tutorial because I wanted to add some factual info into the game via 'historic events'.

    The tutorial seems pretty straightforward, and I followed it carefully, but it didn't work for me.

    I'm playing MTW2 plus VanillaMod with 1 turn per year campaign script - perhaps this has made a difference?

    At any rate, I'm keen to get this working and I'm posting this, just in case I missed something obvious. Any help/guidance appreciated.

  6. #6

    Default Re: How To Add New Historic Events

    Hi, I cant get this to work.
    In data/text/historic_events.txt I have added
    {TEST_EVENT_BODY}This is the text that will appear about your event.
    {TEST_EVENT_TITLE}This is the title of your event

    and then deleted historic_events.txt.strings.bin

    Indata/world/campaign/imperial_campaign/descr_events.txt I have added
    event historic test_event
    date 2
    As I understand this is the way to go, right , but nothing is happend.
    I even tryed with som triggers but no. Any god ideas wat to do?
    MVH
    Benni Svensson

  7. #7

    Default Re: How To Add New Historic Events

    There was somthing wrong with my installation så I have reinstalled mtv2 and now it works perfect.
    MVH
    Benni Svensson

  8. #8
    jerguc's Avatar Foederatus
    Join Date
    Feb 2011
    Location
    Middle Earth
    Posts
    46

    Default Re: How To Add New Historic Events

    I am having serious trouble with converting historic_events.txt.strings.bin.
    I always get that I need to enable JIT debugging but I just have no idea of how to do it.
    please help !

    thanks

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

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,679
    Blog Entries
    35

    Default Re: How To Add New Historic Events

    StringBin Converter requires Python not higher then 2.6










  10. #10
    jerguc's Avatar Foederatus
    Join Date
    Feb 2011
    Location
    Middle Earth
    Posts
    46

    Default Re: How To Add New Historic Events

    ok now I converted it and did exactly as the instructions said. but now the game crashed all the time when the historic event should appear in next turn. I pressthe end turn button and then game crashes. anz idea what to do ?

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

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,679
    Blog Entries
    35

    Default Re: How To Add New Historic Events

    Something went wrong with the conversion, probably a corrupt TXT file. Upload both versions of the file (compress and attach) and I will have a look. What is the name of your event?










  12. #12
    jerguc's Avatar Foederatus
    Join Date
    Feb 2011
    Location
    Middle Earth
    Posts
    46

    Default Re: How To Add New Historic Events

    did you mean these 2 files? my event name is test_event but the thing is that descr event was read only but I copied it on desktop and then make a copy of descr_events file like the original just with my event in it. I saved the both files. is this the trouble that I made a copy of descr_event.
    do you mind telling me how to change the file that it wont be read only please ??

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

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,679
    Blog Entries
    35

    Default Re: How To Add New Historic Events

    I have checked both files and they seem to be in order.
    I have also converted the historic_event TXT file into a string.bin file. Copy both files into the data\text files of your mod and try again.










  14. #14
    jerguc's Avatar Foederatus
    Join Date
    Feb 2011
    Location
    Middle Earth
    Posts
    46

    Default Re: How To Add New Historic Events

    sory but still doesnt works

  15. #15
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: How To Add New Historic Events

    Maybe include the what you added the events to. It could ba asmuch as a misspelled word.

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

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,679
    Blog Entries
    35

    Default Re: How To Add New Historic Events

    About read-only:
    right click the file
    choose 'properties' - a small window will pop up
    at the bottom clear\remove the tickmark in the 'Read-only' box
    Click 'Apply'
    Click 'OK'










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

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,679
    Blog Entries
    35

    Default Re: How To Add New Historic Events

    The name of the event is used for the name of the picture. The picture folder is ...\data\ui\[culture]\eventpics wiht the northern_european culture being the default. If you want different pictures for different cultures insert pictures with the same name into those different cultures.

    event_name = historic_event the_world_is_round
    historic_events.txt = {THE_WORLD_IS_ROUND_TITLE}blablabla....
    {THE_WORLD_IS_ROUND_BODY}}blablabla....
    event_picture = ...\data\ui\[culture]\eventpics\the_world_is_round.tga
    Last edited by Gigantus; May 08, 2011 at 12:10 AM.










  18. #18

    Default Re: How To Add New Historic Events

    ok these events are easy!
    here we go!
    {LETS_LEARN_TO_MOD_TITLE} Learning is easy!
    {LETS_LEARN_TO_MOD_BODY} when I saw it clearly broken down like this I actually got it.

    this color: required formatting
    this color: your event as the game engine reads it
    this color: it is indifferent as to what you write here ( in terms of proper coding) this is exactly the text which will show up in game

    ok that is the entry you put into Historic events. medievalII/mods/the_mod_you_are_working_with/data/text

    now you need an entry in desc_events in
    medievalII/mods/the_mod_you_are_working_with/data/world/maps/'campaign/imperial campaign
    like this:
    event historic lets_learn_to_mod
    date 7

    lastly remember follow verbatim upper & lower case syntax

    good luck!

  19. #19

    Default Re: How To Add New Historic Events

    I think it may be as simple as syntax in historic events your entry is %100 correct~ but in desc events you need to change CHECK_BULGAR to check_bulgar
    same with the TGA lower case
    I know its freakin` weird?

    edit: if you are adding a simple historic event there is no need to enter anything in the campaign script

    I see what your trying to do
    but you should just see if you can (of course you can!) just get regular historic events in game then you can associate them with desired effects (that is when the campaign script becomes needed)
    Last edited by Druvatar De Bodemloze; May 10, 2011 at 12:33 AM.

  20. #20
    ceretic's Avatar Centenarius
    Join Date
    Feb 2007
    Location
    London
    Posts
    830

    Default Re: How To Add New Historic Events

    Urgent help required. Is there any way to insert a line space for a new paragraph in the {TEXT_EVENT_BODY}. Currently, the entire wording is one continuous paragraph without any line spacing or paragraph breaks. How can these be inserted. I have tried <br> but this shows up. I have also tried n/n/ but that makes the whole thing go blank. Urgent assistance gratefully received!
    "Morydd left not one man of the army alive, but ordered each to be brought before him, one after another, to be killed and then flayed; and he rested for a short while, and then had the others to be flayed alive and afterwards burned." Ystorya Brenhined y Brytanyeit, Jesus MS. LXI


Page 3 of 6 FirstFirst 123456 LastLast

Tags for this Thread

Posting Permissions

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