|
因为我嫌高级滤镜参数太多,于是改成了这样的模式
function CinematicFilterGenericForPlayer takes string tex returns nothing
call SetCineFilterTexture(tex)
call DisplayCineFilter(true)
endfunction
function Logot takes nothing returns nothing
call CinematicFilterGenericForPlayer(udg_Ci[udg_LogoC])
set udg_LogoC = udg_LogoC+1
if udg_LogoC > 160 then
call PauseTimer(udg_Logo)
call ShowInterface( true, 0.20 )
call CinematicFilterGenericForPlayer(udg_Pic_sub[0])
endif
endfunction
1-----游戏逝去0.1秒
---call SetCineFilterBlendMode(BLEND_MODE_BLEND)
call SetCineFilterTexMapFlags(TEXMAP_FLAG_NONE)
call SetCineFilterStartUV(0, 0, 1, 1)
call SetCineFilterEndUV(0, 0, 1, 1)
call SetCineFilterStartColor(255, 255, 255, 255)
call SetCineFilterEndColor(255, 255, 255, 255)
call SetCineFilterDuration(0.03)
call SetCineFilterTexture("Pic\\bo_sub_1.blp")
call DisplayCineFilter(true)
---------------------------------
local integer c = 0
loop
set udg_Ci[c] = ("logo\\bo_"+I2S(c)+".blp")
set c=c+1
exitwhen c>159
endloop
set udg_Ci[160] = "ReplaceableTextures\\CameraMasks\\White_mask.blp"
2------XX单位发动技能效果
function Trig_sysActions takes nothing returns nothing
call ShowUnit( gg_unit_H000_0002, false )
call ShowInterface( false, 0.20 )
call TimerStart(udg_Logo,0.06,true,function Logot)
call StartSound(gg_snd_logo)
endfunction
---
然后。。。华丽丽的死机了。。。我的目的是用160张图片和声音做成了一段短片,图片来源《使命召唤:黑色行动》
求帮助 |
|