Using BA2's slick intro screens?
Posted: Wed Jan 21, 2015 11:15 pm
I've been investigating how BA2 runs its slick intro screens for the single player games, for example the text and arrows for Barbarossa Mission 1 below.
This code comes from the MISSION1_MAP.TXT file in BARBAROSSA\DATA\UI
But I can't find where its called from? Where does this get executed? It doesn't appear to be in the associated .BSF file for the MISSION1 scenario?
Thanks everyone...
This code comes from the MISSION1_MAP.TXT file in BARBAROSSA\DATA\UI
But I can't find where its called from? Where does this get executed? It doesn't appear to be in the associated .BSF file for the MISSION1 scenario?
Thanks everyone...
Code: Select all
[#Anim1]
ANIM Place mission1_text0 0 -380 0
ANIM Move mission1_text0 30 45 195 1
ANIM Bounce mission1_text0 30 1000 1000 10
ANIM Place mission1_text1 0 -380 0
ANIM Move mission1_text1 60 170 367 1
ANIM Bounce mission1_text1 60 1000 1000 10
ANIM Place mission1_flag3 0 -380 0
ANIM Move mission1_flag3 65 430 353 1
ANIM Bounce mission1_flag3 65 1000 1000 10
ANIM Place mission1_text2 0 -380 0
ANIM Move mission1_text2 90 324 127 1
ANIM Bounce mission1_text2 90 1000 1000 10
ANIM Place mission1_flag4 0 -380 0
ANIM Move mission1_flag4 95 452 219 1
ANIM Bounce mission1_flag4 95 1000 1000 10
ANIM Place mission1_text3 0 -380 0
ANIM Move mission1_text3 135 725 140 1
ANIM Bounce mission1_text3 135 1000 1000 10
ANIM Place mission1_flag5 0 -380 0
ANIM Move mission1_flag5 140 447 221 1
ANIM Bounce mission1_flag5 140 1000 1000 10
ANIM Place mission1_arrow1 0 -380 0
ANIM Move mission1_arrow1 155 718 255 1
ANIM FADE Mission1_arrow1 155 00FFFFFF FFFFFFFF 30
ANIM Place mission1_text4 0 -380 0
ANIM Move mission1_text4 185 658 458 1
ANIM Bounce mission1_text4 185 1000 1000 10
ANIM Place mission1_text5 0 -380 0
ANIM Move mission1_text5 215 568 584 1
ANIM Bounce mission1_text5 215 1000 1000 10
ANIM Place mission1_flag6 0 -380 0
ANIM Move mission1_flag6 220 483 539 1
ANIM Bounce mission1_flag6 220 1000 1000 10
ANIM Place mission1_flag7 0 -380 0
ANIM Move mission1_flag7 230 661 182 1
ANIM Bounce mission1_flag7 230 1000 1000 10
[mission1_map]
type display
level 9
MODAL
[mission1_text0]
type text
x 100
y 100
width 220
height 35
textleft 110
textwidth 200
texttop 105
textheight 25
font ComicFont
colour ffaaaaaa
file text_window_B.dds
Rescale
windowedback 10
string IDS_M1_INTRO_BARBAROSSA_TEXT0
[mission1_text1]
type text
x 100
y 100
width 220
height 35
textleft 110
textwidth 200
texttop 105
textheight 25
font ComicFont
colour ffaaaaaa
file text_window_B.dds
Rescale
windowedback 10
string IDS_M1_INTRO_BARBAROSSA_TEXT1
[mission1_text2]
type text
x 100
y 100
width 220
height 35
textleft 110
textwidth 200
texttop 105
textheight 25
font ComicFont
colour ffaaaaaa
file text_window_B.dds
Rescale
windowedback 10
string IDS_M1_INTRO_BARBAROSSA_TEXT2
[mission1_text3]
type text
x 100
y 100
width 220
height 35
textleft 110
textwidth 200
texttop 105
textheight 25
font ComicFont
colour ffaaaaaa
file text_window_B.dds
Rescale
windowedback 10
string IDS_M1_INTRO_BARBAROSSA_TEXT3
[mission1_text4]
type text
x 100
y 100
width 220
height 35
textleft 110
textwidth 200
texttop 105
textheight 25
font ComicFont
colour ffaaaaaa
file text_window_B.dds
Rescale
windowedback 10
string IDS_M1_INTRO_BARBAROSSA_TEXT4
[mission1_text5]
type text
x 100
y 100
width 220
height 35
textleft 110
textwidth 200
texttop 105
textheight 25
font ComicFont
colour ffaaaaaa
file text_window_B.dds
Rescale
windowedback 10
string IDS_M1_INTRO_BARBAROSSA_TEXT5
[mission1_flag3]
type image
x 10
y 10
width 36
height 24
file ussr.tga
[mission1_flag4]
type image
x 10
y 10
width 36
height 24
file ussr.tga
[mission1_flag5]
type image
x 10
y 10
width 36
height 24
file ussr.tga
[mission1_flag6]
type image
x 10
y 10
width 36
height 24
file ussr.tga
[mission1_flag7]
type image
x 10
y 10
width 36
height 24
file ussr.tga
[mission1_arrow1]
type image
x 180
y 130
width 180
height 130
file arrowS_E.tga
[mission1_map_ok]
type button
file tick_round_button.tga
x 488
y 684
width 64
height 64
HITEX button_hi.tga
HICOLOUR fffee37c
HISIZE 1
HISPIN 1
HIADDITIVE
command disable mission1_map