Results 1 to 10 of 10

Thread: difference between historic_event and event historic

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Emperor of Hell's Avatar SPA-NED 1-5
    Join Date
    Jul 2011
    Location
    Netherlands
    Posts
    5,747

    Default difference between historic_event and event historic

    What the title says, whats the difference between
    Code:
    historic_event random_event
    and
    Code:
    add_events
    event historic random_event
    end_add_events
    ?

  2. #2

    Default Re: difference between historic_event and event historic

    This one was originally the only srcipting command for M2TW before being patched to kingdoms i believe. I think this version u can also add dates for it to be fired. With 0 being now and 1 the following turn etc. And i think it was supposed to be used in conjunction with the events.txt in the campaign folder. That is my theory anyway
    Code:
    add_events
    event historic random_event
    end_add_events
    After Kingdoms was released they added additional commands etc, this was one they made shorter i guess...
    Code:
    historic_event random_event
    I think the original idea was that u could add other event types as opposed to just 'historic'. Because there are other event types possible, Looking through one of the txt files i found a bunch of other event types which more or less have a different 'scroll' when the event pop up. Like storms and adoptions etc.

    If u add true to the end of the one it becomes an interactive event... such as
    Code:
    historic_event random_event true
    They more or less do the same thing.
    ...longbows, in skilled hands, could reach further than trebuchets...

  3. #3

  4. #4
    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: difference between historic_event and event historic

    One drawback with 'historic_event': you cannot use a position entry to enable that little looking glass that zooms you to the position of the happening, nor have a delayed event - for that you have to use 'event historic':

    add_events
    event historic [event_name]
    date [numerical value(s) for turns to pass until event]
    position [x, y]
    end_add_events










  5. #5
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: difference between historic_event and event historic

    Quote Originally Posted by Gigantus View Post
    One drawback with 'historic_event': you cannot use a position entry to enable that little looking glass that zooms you to the position of the happening
    Wow! I didn't know that this was possible at all. Thanks Gigantus.

  6. #6
    Emperor of Hell's Avatar SPA-NED 1-5
    Join Date
    Jul 2011
    Location
    Netherlands
    Posts
    5,747

    Default Re: difference between historic_event and event historic

    Oh, so there is a difference, thanks Gigantus

  7. #7
    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: difference between historic_event and event historic

    I usually make a combo with 'reveal_tile x, y' in case it is an object or character. Don't forget to hide the tile again!



    Last edited by Gigantus; October 25, 2011 at 04:03 AM.










  8. #8
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: difference between historic_event and event historic

    On a related note, is there any way to reuse the same image for any number of historic events?

    historic_event takes a movie parameter that will let you reuse the same movie for different HE's but I'd like to be able to do the same for images. At the moment I'm just making copies of the same image and renaming them to match the event name.

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

    Default Re: difference between historic_event and event historic

    The only picture that gets 'recycled' is the default one (...\data\ui\[culture_name]\eventpics\historic_events.tga). All others you will have to copy and rename as they are linked to the event name.
    Last edited by Gigantus; October 25, 2011 at 04:08 AM.










  10. #10
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: difference between historic_event and event historic

    Pity. Thanks.

Posting Permissions

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