/-/S'pht-Translator-Active/-/


Re: In game movies
Posted By: HopperDate: 7/8/11 6:28 a.m.

In Response To: Re: In game movies (Provost)

: Do you know if the fade outs/fade ins are possible?

There are two separate parts to this: disabling the teleport effects, and enabling the fades. The first part can be done with MML:

<view interlevel_in_effects="false" interlevel_out_effects="false" />

As far as I know, you have to use Lua to add the fading in. For the start of levels, here's a complete script that will work (thanks to treellama for parts of this):

Triggers = {}

function fade_in()
for p in Players() do
p:fade_screen("cinematic fade in")
end
end

function idle_once()
fade_in()
Triggers.idle = nil
end

function Triggers.init()
Triggers.idle = idle_once
end

Fading out is more complicated, and can't be done in a generic fashion. You'd have to control the level transfers with Lua, and call fade_screen() at the appropriate time, then wait for the fade to finish before calling teleport_to_level(). Lua has an end-of-level trigger, but at that point the screen has already blacked out.

[ Post a Reply | Message Index | Read Prev Msg | Read Next Msg ]
Pre-2004 Posts

Replies:

In game moviesProvost 7/6/11 12:31 p.m.
     Re: In game movies *LINK*Hopper 7/6/11 7:47 p.m.
           Re: In game moviesProvost 7/7/11 8:54 p.m.
                 Re: In game moviesHopper 7/8/11 6:28 a.m.
                       Re: In game moviesProvost 7/8/11 12:23 p.m.

[ Post a Reply | Message Index | Read Prev Msg | Read Next Msg ]
Pre-2004 Posts

 

 

Your Name:
Your E-Mail Address:
Subject:
Message:

If you'd like to include a link to another page with your message,
please provide both the URL address and the title of the page:

Optional Link URL:
Optional Link Title:

If necessary, enter your password below:

Password:

 

 

Problems? Suggestions? Comments? Email maintainer@bungie.org

Marathon's Story Forum is maintained with WebBBS 5.12.