Results 1 to 3 of 3

Thread: Replacing historic_event.tga

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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,682
    Blog Entries
    35

    Default Replacing historic_event.tga

    As the title indicates I would like to use a new picture for the generic historic events. surely it shouldn't be a problem?
    Simply create a tga graphic with the same dimensions and stick it in all the eventpics folders in the culture folders in the ui folder (data\ui\culture_name\eventpics), right?

    Wrong!

    I went as far as to use the unpacked pic with just a big red\green\blue dot in the folders, but the default from the pack still comes.

    Checking the log it seems the game agonizes for at least 50 lines about the files. It looks for the event's name file which isn't there:
    Code:
    [system.io] [info] exists: missing mods/1648_Beta02/data/ui/southern_european/eventpics/1618_01.tga
    Then it completely ignores the new, existing historic_event.tga file:
    Code:
    [system.io] [info] exists: missing mods/1648_Beta02/data/ui/northern_european/eventpics/historic_event.tga
    And takes the one from the pack:
    Code:
    [system.io] [info] exists:   found data/ui/northern_european/eventpics/historic_event.tga (from: packs/data_2.pack)
    What can a man do? Do I have to live with this? Or do I have to make a picture for each historic event? Or is there a solution?
    I found this entry in the kingdoms.exe file:
    ui/%s/eventpics/historic_event.tga followed by the various culture names, so I guess some kind of instruction is there.


    Edit:

    It appears the new historic_events file may only be in the ui\northen_european folder. The moment it is in any of the other cultures' folder it reverts to the vanilla one.
    Why can't things be straightforward?
    Last edited by Gigantus; October 07, 2009 at 02:25 PM.










  2. #2
    Augustus Lucifer's Avatar Life = Like a beanstalk
    Patrician Citizen

    Join Date
    Aug 2006
    Location
    Mote of Dust
    Posts
    10,725

    Default Re: Replacing historic_event.tga

    So it works for you now? I've replaced all the vanilla event names with a generic event and haven't had any problems with it. It's saved in my southern_european culture folder, but I imagine it's just whichever the first one in your descr_cultures file is defined as.

  3. #3
    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,682
    Blog Entries
    35

    Default Re: Replacing historic_event.tga

    but I imagine it's just whichever the first one in your descr_cultures file is defined as.
    I guess that might be it. I was a bit puzzled about the problem, but it works now. Thanks.

    The regular historic_events were not a problem, simply add a pic with the events name. It was the default that hassled me, but I think your explanation hits the target.










Posting Permissions

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