What the title says, whats the difference between
andCode:historic_event random_event
?Code:add_events event historic random_event end_add_events
What the title says, whats the difference between
andCode:historic_event random_event
?Code:add_events event historic random_event end_add_events
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
After Kingdoms was released they added additional commands etc, this was one they made shorter i guess...Code:add_events event historic random_event end_add_events![]()
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.Code:historic_event random_event
If u add true to the end of the one it becomes an interactive event... such as
They more or less do the same thing.Code:historic_event random_event true
...longbows, in skilled hands, could reach further than trebuchets...
Ok thanks
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
Oh, so there is a difference, thanks Gigantus
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.
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.
Pity. Thanks.![]()