B Tutorial Presentation Make your custom intro.

Users who are viewing this thread

Pumpkin Lord

Hey everyone,

I made this tutorial so i guess most of the community was curios how to get an intro work before starting game, actually it is not a way to set it up on a module, you need to edit the Warband folder, Alright.

WARNING: Due to hardcoded files, game only allows files that has lesser length than 30 seconds.

Link for Examples and Tutorial: http://www.mbrepository.com/file.php?id=2598

NOTE: I am gonna use a term "bik" or "biked", this means converting media file to ".bik" format.

Tools We Need:

Rad Video Tools - http://www.radgametools.com/bnkdown.htm

A Video or Picture file. I used a "wmw" file.

A legal version of Warband.

Step-by-step Tutorial with Images!

1-) First download the Rad Video Tools and install it to PC.

2-) Then open it. You gonna see this.

vfsd.png

3-) Choose a media file which can be picture or video. And;

fsa.gif

4-) Then;

fsa1.gif

5-) Biking file has started;

fsa12.gif

6-) DONE! Quick Note: Converted file appears in same folder with the file is being converted.

fsa123.gif

7-) Copy the biked file to Warband folder and replace it with "paradox.bik" but FIRST;

4sf80y.gif

:cool: Now you converted the file to ".bik" format, named it with "paradox.bik" and ready to copy it over already-existing intro, be aware to make backup of it before you do.
2ywj0nl.gif

9-)
313rszn.gif

10-) And here is the reward of our effort!

8x7ndu.gif

Hope it had been meaningful and useful tutorial for you. If you ask me, hope in future times someone find a way to transfer it to in-game as cutscenes and intros.If there is a part that you didnt understand please PM me or send a post in this thread.

regards,
 
Idibil said:
Good idea.

For cutscenes and intros it would be interesting look like wedding run.

Well actually i couldnt find a way about implementing to an in-game scene but as a begining maybe someone more experienced can do so.
 
It seem be with animations

["wedding_guest", 0, amf_play|amf_priority_die,
  [30.0, "wedding_guest", 0, 906, arf_cyclic]],

["wedding_guest_notr", 0, amf_play|amf_priority_die,
  [32.0, "wedding_guest_notr", 0, 962, arf_cyclic]],

["wedding_guest_woman", 0, amf_play|amf_priority_die,
  [27.5, "wedding_guest_woman", 0, 825, arf_cyclic]],

["wedding_dad_stairs", 0, amf_play|amf_priority_die|amf_start_instantly,
  [10.0, "wedding_dad_stairs", 0, 300, arf_blend_in_0]],

["wedding_dad_walk", 0, amf_play|amf_priority_die|amf_start_instantly,
  [4.5, "wedding_dad_walk", 0, 134, arf_blend_in_0]],

["wedding_bride_stairs", 0, amf_play|amf_priority_die|amf_start_instantly,
  [10.0, "wedding_bride_stairs", 0, 300, arf_blend_in_0]],

["wedding_bride_walk", 0, amf_play|amf_priority_die|amf_start_instantly,
  [4.5, "wedding_bride_walk", 0, 134, arf_blend_in_0]],

["wedding_groom_wait", 0, amf_play|amf_priority_die|amf_start_instantly|amf_keep,
  [10.0, "wedding_groom_last", 0, 2, arf_blend_in_0]],

["wedding_groom_last", 0, amf_play|amf_priority_die|amf_start_instantly|amf_keep,
  [10.0, "wedding_groom_last", 0, 300, arf_blend_in_0]],

["wedding_dad_last", 0, amf_play|amf_priority_die|amf_start_instantly|amf_keep,
  [10.0, "wedding_dad_last", 0, 300, arf_blend_in_0]],

["wedding_bride_last", 0, amf_play|amf_priority_die|amf_start_instantly|amf_keep,
  [10.0, "wedding_bride_last", 0, 300, arf_blend_in_0]],

Apply to mission templates.

  (
    "wedding",0,-1,
    "Wedding",
    [
        (0,mtef_visitor_source,af_override_everything,0,1,[itm_tabard, itm_ankle_boots]),
        (1,mtef_visitor_source,af_override_everything,0,1,[itm_bride_dress, itm_bride_crown, itm_bride_shoes]),
        (2,mtef_visitor_source,af_castle_lord,0,1,[]),
        (3,mtef_visitor_source,af_override_everything,0,1,[itm_courtly_outfit, itm_bare_legs_blue]),
        (4,mtef_visitor_source,af_castle_lord,0,1,[]),
        (5,mtef_visitor_source,af_castle_lord,0,1,[]),
        (6,mtef_visitor_source,af_castle_lord,0,1,[]),
        (7,mtef_visitor_source,af_castle_lord,0,1,[]),
        (8,mtef_visitor_source,af_castle_lord,0,1,[]),
        (9,mtef_visitor_source,af_castle_lord,0,1,[]),
        (10,mtef_visitor_source,af_castle_lord,0,1,[]),
        (11,mtef_visitor_source,af_castle_lord,0,1,[]),
        (12,mtef_visitor_source,af_castle_lord,0,1,[]),
        (13,mtef_visitor_source,af_castle_lord,0,1,[]),
        (14,mtef_visitor_source,af_castle_lord,0,1,[]),
        (15,mtef_visitor_source,af_castle_lord,0,1,[]),
        (16,mtef_visitor_source,af_castle_lord,0,1,[]),
        (17,mtef_visitor_source,af_castle_lord,0,1,[]),
        (18,mtef_visitor_source,af_castle_lord,0,1,[]),
        (19,mtef_visitor_source,af_castle_lord,0,1,[]),
        (20,mtef_visitor_source,af_castle_lord,0,1,[]),
        (21,mtef_visitor_source,af_castle_lord,0,1,[]),
        (22,mtef_visitor_source,af_castle_lord,0,1,[]),
        (23,mtef_visitor_source,af_castle_lord,0,1,[]),
        (24,mtef_visitor_source,af_castle_lord,0,1,[]),
        (25,mtef_visitor_source,af_castle_lord,0,1,[]),
        (26,mtef_visitor_source,af_castle_lord,0,1,[]),
        (27,mtef_visitor_source,af_castle_lord,0,1,[]),
        (28,mtef_visitor_source,af_castle_lord,0,1,[]),
        (29,mtef_visitor_source,af_castle_lord,0,1,[]),
        (30,mtef_visitor_source,af_castle_lord,0,1,[]),
        (31,mtef_visitor_source,af_castle_lord,0,1,[]),
    ],
    [
      (ti_tab_pressed, 0, 0, [],
      [
        (show_object_details_overlay, 1),
        (finish_mission,0),
        ]),
      (ti_question_answered, 0, 0, [],
      [(store_trigger_param_1,":answer"),
        (eq,":answer",0),
        (show_object_details_overlay, 1),
        (finish_mission,0),
        ]),

      (ti_after_mission_start, 0, 0, [],
      [
        (assign, "$g_wedding_state", 0),
        (play_track, "track_wedding", 2),
        (show_object_details_overlay, 0),
        ]),

      (ti_on_agent_spawn, 0, 0, [],
      [
        (store_trigger_param_1, ":agent_no"),
        (agent_get_troop_id, ":troop_no", ":agent_no"),
        (troop_get_type, ":gender", ":troop_no"),
        (set_fixed_point_multiplier, 100),
        (try_begin),
          (eq, ":troop_no", "$g_wedding_bishop_troop"),
        (else_try),
          (eq, ":troop_no", "$g_wedding_bride_troop"),
          (agent_set_no_dynamics, ":agent_no", 1),
          (init_position, pos1),
          (position_set_z, pos1, -1000),
          (agent_set_position, ":agent_no", pos1),
        (else_try),
          (eq, ":troop_no", "$g_wedding_brides_dad_troop"),
          (agent_set_no_dynamics, ":agent_no", 1),
          (init_position, pos1),
          (position_set_z, pos1, -1000),
          (agent_set_position, ":agent_no", pos1),
        (else_try),
          (eq, ":troop_no", "$g_wedding_groom_troop"),
          (agent_set_no_dynamics, ":agent_no", 1),
          (init_position, pos1),
          (position_move_x, pos1, 175),
          (position_move_z, pos1, 10),
          (position_rotate_z, pos1, 180),
          (agent_set_position, ":agent_no", pos1),
          (agent_set_animation, ":agent_no", "anim_wedding_groom_wait"),
        (else_try),
          (try_begin),
            (eq, ":gender", 0), #male
            (store_random_in_range, ":random_no", 0, 3),
            (try_begin),
              (eq, ":random_no", 0),
              (agent_set_slot, ":agent_no", slot_agent_cur_animation, "anim_wedding_guest_notr"),
              (agent_set_animation, ":agent_no", "anim_wedding_guest_notr"),
            (else_try),
              (agent_set_slot, ":agent_no", slot_agent_cur_animation, "anim_wedding_guest"),
              (agent_set_animation, ":agent_no", "anim_wedding_guest"),
            (try_end),
          (else_try), #female
            (agent_set_slot, ":agent_no", slot_agent_cur_animation, "anim_wedding_guest_woman"),
            (agent_set_animation, ":agent_no", "anim_wedding_guest_woman"),
          (try_end),
          (store_random_in_range, ":progress", 0, 100),
          (agent_set_animation_progress, ":agent_no", ":progress"),
        (try_end),
        ]),

      (0, 0, 0,
      [
        (store_mission_timer_a, ":cur_time"),
        (set_fixed_point_multiplier, 100),
        (try_for_agents, ":agent_no"),
          (agent_get_troop_id, ":troop_no", ":agent_no"),
          (try_begin),
            (eq, ":troop_no", "$g_wedding_groom_troop"),
          (else_try),
            (eq, ":troop_no", "$g_wedding_bride_troop"),
          (else_try),
            (eq, ":troop_no", "$g_wedding_brides_dad_troop"),
          (else_try),
            (eq, ":troop_no", "$g_wedding_bishop_troop"),
          (else_try),
            (agent_get_slot, ":cur_animation", ":agent_no", slot_agent_cur_animation),
            (agent_set_animation, ":agent_no", ":cur_animation"),
          (try_end),
        (try_end),
        (try_begin),
          (eq, "$g_wedding_state", 0),
          (mission_cam_set_mode, 1, 0, 0),
          (init_position, pos1),
          (position_rotate_z, pos1, 180),
          (position_rotate_x, pos1, 5),
          (position_set_x, pos1, -500),
          (position_set_y, pos1, 1000),
          (position_set_z, pos1, 600),
          (mission_cam_set_position, pos1),
          (init_position, pos1),
          (position_rotate_z, pos1, 180),
          (position_rotate_x, pos1, -15),
          (position_set_x, pos1, -500),
          (position_set_y, pos1, 1000),
          (position_set_z, pos1, 600),
          (mission_cam_animate_to_position, pos1, 4000, 0),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 1),
          (ge, ":cur_time", 4),
          (init_position, pos1),
          (position_rotate_z, pos1, 90),
          (position_rotate_x, pos1, -10),
          (position_set_x, pos1, -580),
          (position_set_y, pos1, 700),
          (position_set_z, pos1, 200),
          (mission_cam_set_position, pos1),
          (init_position, pos1),
          (position_rotate_z, pos1, 150),
          (position_rotate_x, pos1, -10),
          (position_set_x, pos1, -580),
          (position_set_y, pos1, 100),
          (position_set_z, pos1, 200),
          (mission_cam_animate_to_position, pos1, 6000, 1),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 2),
          (ge, ":cur_time", 9),
          (mission_cam_animate_to_screen_color, 0xFF000000, 1000),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 3),
          (ge, ":cur_time", 10),
          (init_position, pos1),
          (position_move_x, pos1, 175),
          (position_move_z, pos1, 10),
          (position_rotate_z, pos1, 180),
          (try_for_agents, ":agent_no"),
            (agent_get_troop_id, ":agent_troop", ":agent_no"),
            (try_begin),
              (eq, ":agent_troop", "$g_wedding_bride_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_bride_stairs"),
            (else_try),
              (eq, ":agent_troop", "$g_wedding_brides_dad_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_dad_stairs"),
            (try_end),
          (try_end),
          (init_position, pos1),
          (position_rotate_z, pos1, -90),
          (position_set_x, pos1, 300),
          (position_set_y, pos1, 950),
          (position_set_z, pos1, 420),
          (mission_cam_set_position, pos1),
          (position_set_x, pos1, 175),
          (position_set_y, pos1, 950),
          (position_set_z, pos1, 320),
          (mission_cam_animate_to_position, pos1, 4000, 0),
          (mission_cam_animate_to_screen_color, 0x00000000, 500),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 4),
          (ge, ":cur_time", 14),
          (init_position, pos1),
          (position_rotate_z, pos1, -60),
          (position_rotate_x, pos1, 10),
          (position_set_x, pos1, -400),
          (position_set_y, pos1, 200),
          (position_set_z, pos1, 115),
          (mission_cam_set_position, pos1),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 5),
          (ge, ":cur_time", 20),
          (init_position, pos1),
          (position_move_x, pos1, 175),
          (position_move_z, pos1, 10),
          (position_rotate_z, pos1, 180),
          (try_for_agents, ":agent_no"),
            (agent_get_troop_id, ":agent_troop", ":agent_no"),
            (try_begin),
              (eq, ":agent_troop", "$g_wedding_bride_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_bride_walk"),
            (else_try),
              (eq, ":agent_troop", "$g_wedding_brides_dad_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_dad_walk"),
            (try_end),
          (try_end),
          (init_position, pos1),
          (position_rotate_z, pos1, -140),
          (position_rotate_x, pos1, -15),
          (position_set_x, pos1, -625),
          (position_set_y, pos1, -530),
          (position_set_z, pos1, 180),
          (mission_cam_set_position, pos1),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 6),
          (ge, ":cur_time", 22),
          (init_position, pos1),
          (position_rotate_z, pos1, 45),
          (position_rotate_x, pos1, -10),
          (position_set_x, pos1, -260),
          (position_set_y, pos1, 120),
          (position_set_z, pos1, 275),
          (mission_cam_set_position, pos1),
          (position_rotate_z, pos1, 10),
          (mission_cam_animate_to_position, pos1, 2000, 0),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 7),
          (ge, ":cur_time", 24),
          (init_position, pos1),
          (position_move_x, pos1, 175),
          (position_move_z, pos1, 10),
          (position_rotate_z, pos1, 180),
          (try_for_agents, ":agent_no"),
            (agent_get_troop_id, ":agent_troop", ":agent_no"),
            (try_begin),
              (eq, ":agent_troop", "$g_wedding_bride_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_bride_last"),
            (else_try),
              (eq, ":agent_troop", "$g_wedding_brides_dad_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_dad_last"),
            (else_try),
              (eq, ":agent_troop", "$g_wedding_groom_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_groom_last"),
            (try_end),
          (try_end),
          (init_position, pos1),
          (position_rotate_z, pos1, -45),
          (position_rotate_x, pos1, -10),
          (position_set_x, pos1, -900),
          (position_set_y, pos1, -850),
          (position_set_z, pos1, 230),
          (mission_cam_set_position, pos1),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", :cool:,
          (ge, ":cur_time", 31),
          (init_position, pos1),
          (position_set_x, pos1, -550),
          (position_set_y, pos1, -625),
          (position_set_z, pos1, 1500),
          (particle_system_burst, "psys_wedding_rose", pos1, 750),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 9),
          (ge, ":cur_time", 33),
          (init_position, pos1),
          (position_rotate_z, pos1, 180),
          (position_set_x, pos1, -536),
          (position_set_y, pos1, -415),
          (position_set_z, pos1, 135),
          (mission_cam_set_position, pos1),
          (position_rotate_z, pos1, -:cool:,
          (position_set_z, pos1, 350),
          (position_rotate_x, pos1, 35),
          (mission_cam_animate_to_position_and_aperture, pos1, 10, 9000, 1),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 10),
          (ge, ":cur_time", 41),
          (mission_cam_set_screen_color, 0x00FFFFFF),
          (mission_cam_animate_to_screen_color, 0xFFFFFFFF, 3000),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 11),
          (ge, ":cur_time", 4:cool:,
          (show_object_details_overlay, 1),
          (finish_mission,0),
        (try_end),
        ], []),
    ],
  ),

I have not done animation never, but I think that game menu active wedding scene (entry points) and mission template, where game ejecute animations by order. If you know like do animations you should can do it
 
in the intro I made from this tutorial the intro plays but it only last as long as the original file, like 22 seconds for the paradox and 8 seconds for the taleworlds.bik files. Also there was no audio when the intros came up.
 
xPearse said:
in the intro I made from this tutorial the intro plays but it only last as long as the original file, like 22 seconds for the paradox and 8 seconds for the taleworlds.bik files. Also there was no audio when the intros came up.

Thats probably something very hardcoded, actually this is something i discovered by chance. Also i didnt get any trouble with audio.
 
xPearse said:
Well the intro I had went for about a minute and 10seconds so I guess no more intro.
Sorry, i cant understand what you just wrote there. :S
 
to put it in proper english, the video I converted was 1minute and about 10seconds, and since there is no way to get the intro to go further than 20-30 seconds (since it is hardcoded) i guess I wont be able to add an intro.
 
xPearse said:
to put it in proper english, the video I converted was 1minute and about 10seconds, and since there is no way to get the intro to go further than 20-30 seconds (since it is hardcoded) i guess I wont be able to add an intro.

Still you can add a 20-30 seconds one.
 
yeah I guess that would do but was not what I originally wanted but still its better than nothing.

Just remember to add at the top that the intro can only be 20-30 seconds long as that is what the game only allows, so people like me dont make the same mistake. That would just inform people, thanks for helping anyway.
 
Idibil said:
It seem be with animations

["wedding_guest", 0, amf_play|amf_priority_die,
  [30.0, "wedding_guest", 0, 906, arf_cyclic]],

["wedding_guest_notr", 0, amf_play|amf_priority_die,
  [32.0, "wedding_guest_notr", 0, 962, arf_cyclic]],

["wedding_guest_woman", 0, amf_play|amf_priority_die,
  [27.5, "wedding_guest_woman", 0, 825, arf_cyclic]],

["wedding_dad_stairs", 0, amf_play|amf_priority_die|amf_start_instantly,
  [10.0, "wedding_dad_stairs", 0, 300, arf_blend_in_0]],

["wedding_dad_walk", 0, amf_play|amf_priority_die|amf_start_instantly,
  [4.5, "wedding_dad_walk", 0, 134, arf_blend_in_0]],

["wedding_bride_stairs", 0, amf_play|amf_priority_die|amf_start_instantly,
  [10.0, "wedding_bride_stairs", 0, 300, arf_blend_in_0]],

["wedding_bride_walk", 0, amf_play|amf_priority_die|amf_start_instantly,
  [4.5, "wedding_bride_walk", 0, 134, arf_blend_in_0]],

["wedding_groom_wait", 0, amf_play|amf_priority_die|amf_start_instantly|amf_keep,
  [10.0, "wedding_groom_last", 0, 2, arf_blend_in_0]],

["wedding_groom_last", 0, amf_play|amf_priority_die|amf_start_instantly|amf_keep,
  [10.0, "wedding_groom_last", 0, 300, arf_blend_in_0]],

["wedding_dad_last", 0, amf_play|amf_priority_die|amf_start_instantly|amf_keep,
  [10.0, "wedding_dad_last", 0, 300, arf_blend_in_0]],

["wedding_bride_last", 0, amf_play|amf_priority_die|amf_start_instantly|amf_keep,
  [10.0, "wedding_bride_last", 0, 300, arf_blend_in_0]],

Apply to mission templates.

  (
    "wedding",0,-1,
    "Wedding",
    [
        (0,mtef_visitor_source,af_override_everything,0,1,[itm_tabard, itm_ankle_boots]),
        (1,mtef_visitor_source,af_override_everything,0,1,[itm_bride_dress, itm_bride_crown, itm_bride_shoes]),
        (2,mtef_visitor_source,af_castle_lord,0,1,[]),
        (3,mtef_visitor_source,af_override_everything,0,1,[itm_courtly_outfit, itm_bare_legs_blue]),
        (4,mtef_visitor_source,af_castle_lord,0,1,[]),
        (5,mtef_visitor_source,af_castle_lord,0,1,[]),
        (6,mtef_visitor_source,af_castle_lord,0,1,[]),
        (7,mtef_visitor_source,af_castle_lord,0,1,[]),
        (8,mtef_visitor_source,af_castle_lord,0,1,[]),
        (9,mtef_visitor_source,af_castle_lord,0,1,[]),
        (10,mtef_visitor_source,af_castle_lord,0,1,[]),
        (11,mtef_visitor_source,af_castle_lord,0,1,[]),
        (12,mtef_visitor_source,af_castle_lord,0,1,[]),
        (13,mtef_visitor_source,af_castle_lord,0,1,[]),
        (14,mtef_visitor_source,af_castle_lord,0,1,[]),
        (15,mtef_visitor_source,af_castle_lord,0,1,[]),
        (16,mtef_visitor_source,af_castle_lord,0,1,[]),
        (17,mtef_visitor_source,af_castle_lord,0,1,[]),
        (18,mtef_visitor_source,af_castle_lord,0,1,[]),
        (19,mtef_visitor_source,af_castle_lord,0,1,[]),
        (20,mtef_visitor_source,af_castle_lord,0,1,[]),
        (21,mtef_visitor_source,af_castle_lord,0,1,[]),
        (22,mtef_visitor_source,af_castle_lord,0,1,[]),
        (23,mtef_visitor_source,af_castle_lord,0,1,[]),
        (24,mtef_visitor_source,af_castle_lord,0,1,[]),
        (25,mtef_visitor_source,af_castle_lord,0,1,[]),
        (26,mtef_visitor_source,af_castle_lord,0,1,[]),
        (27,mtef_visitor_source,af_castle_lord,0,1,[]),
        (28,mtef_visitor_source,af_castle_lord,0,1,[]),
        (29,mtef_visitor_source,af_castle_lord,0,1,[]),
        (30,mtef_visitor_source,af_castle_lord,0,1,[]),
        (31,mtef_visitor_source,af_castle_lord,0,1,[]),
    ],
    [
      (ti_tab_pressed, 0, 0, [],
      [
        (show_object_details_overlay, 1),
        (finish_mission,0),
        ]),
      (ti_question_answered, 0, 0, [],
      [(store_trigger_param_1,":answer"),
        (eq,":answer",0),
        (show_object_details_overlay, 1),
        (finish_mission,0),
        ]),

      (ti_after_mission_start, 0, 0, [],
      [
        (assign, "$g_wedding_state", 0),
        (play_track, "track_wedding", 2),
        (show_object_details_overlay, 0),
        ]),

      (ti_on_agent_spawn, 0, 0, [],
      [
        (store_trigger_param_1, ":agent_no"),
        (agent_get_troop_id, ":troop_no", ":agent_no"),
        (troop_get_type, ":gender", ":troop_no"),
        (set_fixed_point_multiplier, 100),
        (try_begin),
          (eq, ":troop_no", "$g_wedding_bishop_troop"),
        (else_try),
          (eq, ":troop_no", "$g_wedding_bride_troop"),
          (agent_set_no_dynamics, ":agent_no", 1),
          (init_position, pos1),
          (position_set_z, pos1, -1000),
          (agent_set_position, ":agent_no", pos1),
        (else_try),
          (eq, ":troop_no", "$g_wedding_brides_dad_troop"),
          (agent_set_no_dynamics, ":agent_no", 1),
          (init_position, pos1),
          (position_set_z, pos1, -1000),
          (agent_set_position, ":agent_no", pos1),
        (else_try),
          (eq, ":troop_no", "$g_wedding_groom_troop"),
          (agent_set_no_dynamics, ":agent_no", 1),
          (init_position, pos1),
          (position_move_x, pos1, 175),
          (position_move_z, pos1, 10),
          (position_rotate_z, pos1, 180),
          (agent_set_position, ":agent_no", pos1),
          (agent_set_animation, ":agent_no", "anim_wedding_groom_wait"),
        (else_try),
          (try_begin),
            (eq, ":gender", 0), #male
            (store_random_in_range, ":random_no", 0, 3),
            (try_begin),
              (eq, ":random_no", 0),
              (agent_set_slot, ":agent_no", slot_agent_cur_animation, "anim_wedding_guest_notr"),
              (agent_set_animation, ":agent_no", "anim_wedding_guest_notr"),
            (else_try),
              (agent_set_slot, ":agent_no", slot_agent_cur_animation, "anim_wedding_guest"),
              (agent_set_animation, ":agent_no", "anim_wedding_guest"),
            (try_end),
          (else_try), #female
            (agent_set_slot, ":agent_no", slot_agent_cur_animation, "anim_wedding_guest_woman"),
            (agent_set_animation, ":agent_no", "anim_wedding_guest_woman"),
          (try_end),
          (store_random_in_range, ":progress", 0, 100),
          (agent_set_animation_progress, ":agent_no", ":progress"),
        (try_end),
        ]),

      (0, 0, 0,
      [
        (store_mission_timer_a, ":cur_time"),
        (set_fixed_point_multiplier, 100),
        (try_for_agents, ":agent_no"),
          (agent_get_troop_id, ":troop_no", ":agent_no"),
          (try_begin),
            (eq, ":troop_no", "$g_wedding_groom_troop"),
          (else_try),
            (eq, ":troop_no", "$g_wedding_bride_troop"),
          (else_try),
            (eq, ":troop_no", "$g_wedding_brides_dad_troop"),
          (else_try),
            (eq, ":troop_no", "$g_wedding_bishop_troop"),
          (else_try),
            (agent_get_slot, ":cur_animation", ":agent_no", slot_agent_cur_animation),
            (agent_set_animation, ":agent_no", ":cur_animation"),
          (try_end),
        (try_end),
        (try_begin),
          (eq, "$g_wedding_state", 0),
          (mission_cam_set_mode, 1, 0, 0),
          (init_position, pos1),
          (position_rotate_z, pos1, 180),
          (position_rotate_x, pos1, 5),
          (position_set_x, pos1, -500),
          (position_set_y, pos1, 1000),
          (position_set_z, pos1, 600),
          (mission_cam_set_position, pos1),
          (init_position, pos1),
          (position_rotate_z, pos1, 180),
          (position_rotate_x, pos1, -15),
          (position_set_x, pos1, -500),
          (position_set_y, pos1, 1000),
          (position_set_z, pos1, 600),
          (mission_cam_animate_to_position, pos1, 4000, 0),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 1),
          (ge, ":cur_time", 4),
          (init_position, pos1),
          (position_rotate_z, pos1, 90),
          (position_rotate_x, pos1, -10),
          (position_set_x, pos1, -580),
          (position_set_y, pos1, 700),
          (position_set_z, pos1, 200),
          (mission_cam_set_position, pos1),
          (init_position, pos1),
          (position_rotate_z, pos1, 150),
          (position_rotate_x, pos1, -10),
          (position_set_x, pos1, -580),
          (position_set_y, pos1, 100),
          (position_set_z, pos1, 200),
          (mission_cam_animate_to_position, pos1, 6000, 1),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 2),
          (ge, ":cur_time", 9),
          (mission_cam_animate_to_screen_color, 0xFF000000, 1000),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 3),
          (ge, ":cur_time", 10),
          (init_position, pos1),
          (position_move_x, pos1, 175),
          (position_move_z, pos1, 10),
          (position_rotate_z, pos1, 180),
          (try_for_agents, ":agent_no"),
            (agent_get_troop_id, ":agent_troop", ":agent_no"),
            (try_begin),
              (eq, ":agent_troop", "$g_wedding_bride_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_bride_stairs"),
            (else_try),
              (eq, ":agent_troop", "$g_wedding_brides_dad_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_dad_stairs"),
            (try_end),
          (try_end),
          (init_position, pos1),
          (position_rotate_z, pos1, -90),
          (position_set_x, pos1, 300),
          (position_set_y, pos1, 950),
          (position_set_z, pos1, 420),
          (mission_cam_set_position, pos1),
          (position_set_x, pos1, 175),
          (position_set_y, pos1, 950),
          (position_set_z, pos1, 320),
          (mission_cam_animate_to_position, pos1, 4000, 0),
          (mission_cam_animate_to_screen_color, 0x00000000, 500),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 4),
          (ge, ":cur_time", 14),
          (init_position, pos1),
          (position_rotate_z, pos1, -60),
          (position_rotate_x, pos1, 10),
          (position_set_x, pos1, -400),
          (position_set_y, pos1, 200),
          (position_set_z, pos1, 115),
          (mission_cam_set_position, pos1),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 5),
          (ge, ":cur_time", 20),
          (init_position, pos1),
          (position_move_x, pos1, 175),
          (position_move_z, pos1, 10),
          (position_rotate_z, pos1, 180),
          (try_for_agents, ":agent_no"),
            (agent_get_troop_id, ":agent_troop", ":agent_no"),
            (try_begin),
              (eq, ":agent_troop", "$g_wedding_bride_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_bride_walk"),
            (else_try),
              (eq, ":agent_troop", "$g_wedding_brides_dad_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_dad_walk"),
            (try_end),
          (try_end),
          (init_position, pos1),
          (position_rotate_z, pos1, -140),
          (position_rotate_x, pos1, -15),
          (position_set_x, pos1, -625),
          (position_set_y, pos1, -530),
          (position_set_z, pos1, 180),
          (mission_cam_set_position, pos1),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 6),
          (ge, ":cur_time", 22),
          (init_position, pos1),
          (position_rotate_z, pos1, 45),
          (position_rotate_x, pos1, -10),
          (position_set_x, pos1, -260),
          (position_set_y, pos1, 120),
          (position_set_z, pos1, 275),
          (mission_cam_set_position, pos1),
          (position_rotate_z, pos1, 10),
          (mission_cam_animate_to_position, pos1, 2000, 0),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 7),
          (ge, ":cur_time", 24),
          (init_position, pos1),
          (position_move_x, pos1, 175),
          (position_move_z, pos1, 10),
          (position_rotate_z, pos1, 180),
          (try_for_agents, ":agent_no"),
            (agent_get_troop_id, ":agent_troop", ":agent_no"),
            (try_begin),
              (eq, ":agent_troop", "$g_wedding_bride_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_bride_last"),
            (else_try),
              (eq, ":agent_troop", "$g_wedding_brides_dad_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_dad_last"),
            (else_try),
              (eq, ":agent_troop", "$g_wedding_groom_troop"),
              (agent_set_position, ":agent_no", pos1),
              (agent_set_animation, ":agent_no", "anim_wedding_groom_last"),
            (try_end),
          (try_end),
          (init_position, pos1),
          (position_rotate_z, pos1, -45),
          (position_rotate_x, pos1, -10),
          (position_set_x, pos1, -900),
          (position_set_y, pos1, -850),
          (position_set_z, pos1, 230),
          (mission_cam_set_position, pos1),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", :cool:,
          (ge, ":cur_time", 31),
          (init_position, pos1),
          (position_set_x, pos1, -550),
          (position_set_y, pos1, -625),
          (position_set_z, pos1, 1500),
          (particle_system_burst, "psys_wedding_rose", pos1, 750),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 9),
          (ge, ":cur_time", 33),
          (init_position, pos1),
          (position_rotate_z, pos1, 180),
          (position_set_x, pos1, -536),
          (position_set_y, pos1, -415),
          (position_set_z, pos1, 135),
          (mission_cam_set_position, pos1),
          (position_rotate_z, pos1, -:cool:,
          (position_set_z, pos1, 350),
          (position_rotate_x, pos1, 35),
          (mission_cam_animate_to_position_and_aperture, pos1, 10, 9000, 1),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 10),
          (ge, ":cur_time", 41),
          (mission_cam_set_screen_color, 0x00FFFFFF),
          (mission_cam_animate_to_screen_color, 0xFFFFFFFF, 3000),
          (val_add, "$g_wedding_state", 1),
        (else_try),
          (eq, "$g_wedding_state", 11),
          (ge, ":cur_time", 4:cool:,
          (show_object_details_overlay, 1),
          (finish_mission,0),
        (try_end),
        ], []),
    ],
  ),

I have not done animation never, but I think that game menu active wedding scene (entry points) and mission template, where game ejecute animations by order. If you know like do animations you should can do it

Probably the most possible answer. :roll:
 
It replaces the games normal intro depending on which file you overwrite the taleworlds or the paradox file. Even when the intro I converted played there was no audio even though their is when you play the file oputside the game, also you are limited to a certain number of seconds because that is hardcoded.
 
Changed the header, imo.

Out of curiousity, could anyone find a way to make this module-based?
 
Back
Top Bottom