SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: Phobos on October 27, 2012, 01:27:43 PM

Title: attract mode
Post by: Phobos on October 27, 2012, 01:27:43 PM
what is attract mode?
Title: Re: attract mode
Post by: tirpider on October 27, 2012, 03:33:11 PM
In regards to SWBF... don't know.

But in regular arcade machines, attract mode is the endless, repeating sequences that play when it is not in use. (in order to attract the next player)

It could also be called kiosk or demo mode.  Though that may refer more to the non interactive demos that play on devices on the sales floors of electronics stores.
Title: Re: attract mode
Post by: Phobos on October 27, 2012, 03:49:13 PM
Quote from: tirpider on October 27, 2012, 03:33:11 PM
In regards to SWBF... don't know.

But in regular arcade machines, attract mode is the endless, repeating sequences that play when it is not in use. (in order to attract the next player).

It could also be called kiosk or demo mode.  Though that may refer more to the non interactive demos that play on devices on the sales floors of electronics stores.

attract mode is referenced in the swbf lua a few times.  im guessing it might have something to do with consoles only due to numerous references to controllers PS2 and XBOX (also lack of platform PC) theres also a script called ifs_attract in the shell and it looks like this munged

[spoiler]
ucfb  scr_   NAME    ifs_attract INFO      BODY×  Lua@  ...Í•M   =(none)          +           5      ifs_attract_fnStopAndReturn    ifs_attract    NewIFShellScreen    nextScreen
   introEffects    whooshSound    bNohelptext    enterSound    
   exitSound    bg_texture    movie_BG    fControllerCheck    iLastControllers    timeout    title
   NewIFText    string    game.attractmode.title    font    gamefont_large    textw    texth    ScreenRelativeX    ScreenRelativeY    startdelay    valign    vcenter    nocreatebackground    Enter    Exit
   Input_Accept    Input_Back    Input_Misc    Input_Misc2
   Input_DPadUp    Input_DPadDown    Input_DPadLeft    Input_DPadRight    Input_Start
   Input_Select    Input_LTrigger    Input_RTrigger    Input_LTrigger2    Input_RTrigger2    Input_LTrigger3    Input_RTrigger3    Input_GeneralUp    Input_GeneralDown    Input_GeneralLeft    Input_GeneralRight    Update    AddIFScreen       ?fff?ÍÌÌ>      =(none)                         bMoviePlaying    ScriptCB_PopScreen         
          g €       D   Ô€ L   €         =(none) '                        Helptext_Accept "   gIFShellScreenTemplate_fnMoveIcon    ScriptCB_GetScreenInfo
   gPlatformStr    XBox    ScriptCB_CloseMovie    ScriptCB_OpenMovie    movies\fly.mvs         ifelem_shellscreen_fnStartMovie    attractfly    bMoviePlaying    timeout    ScriptCB_ReadAllControllers         $          ç  €L            Œ   ,  Ì     ` €L    Œ  Ç      L  ‡    €D     €     Ç    €Ô€      Æ, €Ô€ L    €         =(none) 9                        ScriptCB_ReadAllControllers
   gPlatformStr    XBox    ScriptCB_CloseMovie    ScriptCB_OpenMovie
   gMovieStream            
       D     L   ‡   ` €Ì       L  ‡           =(none) B                        ifs_attract_fnStopAndReturn                    €         =(none) E                        ifs_attract_fnStopAndReturn                    €         =(none) H                        ifs_attract_fnStopAndReturn                    €         =(none) K                        ifs_attract_fnStopAndReturn                    €         =(none) N                        ifs_attract_fnStopAndReturn                    €         =(none) Q                        ifs_attract_fnStopAndReturn                    €         =(none) T                        ifs_attract_fnStopAndReturn                    €         =(none) W                        ifs_attract_fnStopAndReturn                    €         =(none) Z                        ifs_attract_fnStopAndReturn                    €         =(none) ]                        ifs_attract_fnStopAndReturn                    €         =(none) `                        ifs_attract_fnStopAndReturn                    €         =(none) c                        ifs_attract_fnStopAndReturn                    €         =(none) f                        ifs_attract_fnStopAndReturn                    €         =(none) i                        ifs_attract_fnStopAndReturn                    €         =(none) l                     
   gPlatformStr    PS2    ifs_attract_fnStopAndReturn                G      €Œ       €         =(none) q                     
   gPlatformStr    PS2    ifs_attract_fnStopAndReturn                G      €Œ       €         =(none) y                                        =(none) {                                        =(none) }                                        =(none)                                         =(none) ,                         timeout    ifs_attract_fnStopAndReturn    fControllerCheck    ScriptCB_GetNumControllers    iLastControllers
   gPlatformStr    PS2    IFText_fnSetString    title    game.attractmode.title    ifs.start.nocontroller      €>    :                 K      Ô€       Æÿÿ¥  €L            ‡       Ž   K      Ô€    Ž   Æÿÿå €    ‡      Ô€ Ì   B       ‹   ! €      ‹   Ô€ ‹   Æÿÿ¤  €L  ‡  a €Ì       G  € * €Ì       ‡  € E       f   0      Œ   '  Ç   D     D   G    €‡    €Ç    G    ‡  Ç    †ÿÿG  †ÿÿ‡  Æ, €Ç    Q  G  ‡  Ç    G  Ær €‡  Æ1 €Ç       H   G  ˆ   ‡  Ç      €V  B€ G  0€  ‡  0  Ç  0€   0  G  0€ ‡  0  Ç  0€ –     0  G   0€ ‡   0  Ç   0€ 
  0  G
  0€ ‡
  0  Ç
  0€    0  G   0€ ‡   0 Ç   0€    0
G   0€
‡   0 Ç   0€   B   S   
  L   G            
[/spoiler]
Title: Re: attract mode
Post by: SleepKiller on October 27, 2012, 04:00:39 PM
If you have a PS2 or xBox copy of the game fire it up and leave it hanging at the profile screen. Attract mode will start eventually and you can see for yourself just what it is.
Title: Re: attract mode
Post by: tirpider on October 27, 2012, 04:34:57 PM
Yep, thats it.
I've left the PS2 on all day sometimes, it loops through an attract mode...
(Been a while since I played... might do that today.)
Title: Re: attract mode
Post by: Phobos on October 27, 2012, 04:47:29 PM
Quote from: tirpider on October 27, 2012, 04:34:57 PM
Yep, thats it.
I've left the PS2 on all day sometimes, it loops through an attract mode...
(Been a while since I played... might do that today.)

what is it like a video trailer or just little animation sequences like u see with main menu transition
Title: Re: attract mode
Post by: SleepKiller on October 27, 2012, 04:59:49 PM
It is the game showing maps being played. I think it uses the pre-recorded map selection preview segments for it. Or it may have it's own dedicated video files. I am fairly certain the PS2 would not be up to several maps up at once for it though.
EhPortal 1.34 © 2025, WebDev