function CinematicFilterGenericForPlayer takes player whichPlayer, real duration, blendmode bmode, string tex, real red0, real green0, real blue0, real trans0, real red1, real green1, real blue1, real trans1 returns nothing
if ( GetLocalPlayer() == whichPlayer ) then
call SetCineFilterTexture(tex)
call SetCineFilterBlendMode(bmode)
call SetCineFilterTexMapFlags(TEXMAP_FLAG_NONE)
call SetCineFilterStartUV(0, 0, 1, 1)
call SetCineFilterEndUV(0, 0, 1, 1)
call SetCineFilterStartColor(PercentTo255(red0), PercentTo255(green0), PercentTo255(blue0), PercentTo255(100-trans0))
call SetCineFilterEndColor(PercentTo255(red1), PercentTo255(green1), PercentTo255(blue1), PercentTo255(100-trans1))
call SetCineFilterDuration(duration)
call DisplayCineFilter(true)
endif
endfunction
Name | Type | is_array | initial_value |
Active | boolean | Yes | |
Aim_Camera | boolean | Yes | |
Aim_Filter | boolean | Yes | |
AmmoInClip | integer | No | |
Angle | real | No | |
Angle_Boom | real | No | |
AngleIndex | real | Yes | |
Backward | boolean | Yes | |
Bear_Kills | integer | Yes | |
bear_sound_variation | integer | No | |
Bear_target | unit | No | |
Bear_Trap | unit | No | |
Bear_trap_target | group | No | |
Bear_Traps | group | No | |
Bullet | unit | No | |
BulletHit | group | No | |
BulletHitUnit | location | No | |
BulletOffset | location | No | |
Bullets | group | No | |
CastingPoint | location | No | |
CastingUnit | location | No | |
Colors | string | Yes | |
comp_blue | unit | No | |
comp_red | unit | No | |
comp_teal | unit | No | |
comp_violet | unit | No | |
comp_yellow | unit | No | |
CurDistance | real | Yes | |
D_Bearhunt | dialog | No | |
D_Game_mode | dialog | No | |
D_kills | dialog | No | |
D_SingleP | dialog | No | |
D_StagRevenge | dialog | No | |
DB_BearHunt | button | No | |
DB_BearHunt_10 | button | No | |
DB_BearHunt_15 | button | No | |
DB_BearHunt_5 | button | No | |
DB_Flamewolf | button | No | |
DB_Kills | button | No | |
DB_kills_10 | button | No | |
DB_kills_25 | button | No | |
DB_kills_50 | button | No | |
DB_Multiplayer | button | No | |
DB_Singleplayer | button | No | |
DB_StagR_No | button | No | |
DB_StagR_Yes | button | No | |
Death_cam_killer | unit | Yes | |
Death_Count | integer | Yes | |
Death_Time | real | Yes | |
Death_Timer | leaderboard | Yes | |
Death_timer_window | timerdialog | Yes | |
Deaths | integer | Yes | |
Debug_On | boolean | No | |
Distance | real | No | |
Down | boolean | Yes | |
Dying_Text | string | No | |
Dying_Text_stag | string | No | |
FC_Left | real | Yes | |
FC_Right | real | Yes | |
Feed_Sfx | effect | No | |
FlySFX | modelfile | No | |
Forward | boolean | Yes | |
Fuzzy_theme | boolean | No | |
G_Chicken | unit | No | |
height_Boom | real | No | |
Human_Players | player | No | |
ImpactSFX | modelfile | No | |
ImpactSFXIndex | modelfile | Yes | |
Income_timer | timer | No | |
Jumper | unit | No | |
JumperIndex | unit | Yes | |
JumpSFX | effect | Yes | |
JumpTimed | boolean | No | |
Kill_Count | integer | Yes | |
Kill_Text | string | Yes | |
Killing_Spree_Count | integer | Yes | |
Killing_Text | string | No | |
Killing_Text_Stag | string | No | |
Kills | integer | Yes | |
Left | boolean | Yes | |
List | integer | No | |
Location_Boom | location | No | |
LocZ | real | No | |
LoopIndex | integervar | Yes | |
MaxDistance | real | Yes | |
merchant_FT | texttag | No | |
merchant_SE | effect | No | |
Multi_Kill_Count | integer | Yes | |
Multi_Kill_Count_Stag | integer | Yes | |
Multi_Kill_Time | integer | Yes | |
Multi_Kill_Time_Stag | integer | Yes | |
Multiboard_Spots | integer | Yes | |
No_Player1 | boolean | No | |
Normal_Camera | boolean | Yes | |
Normal_Filter | boolean | Yes | |
Number | real | No | |
Number_Boom | real | No | |
Online_Players | force | No | |
Pan_Position | location | No | |
ParabolaHeight | real | No | |
ParabolaHeightIndex | real | Yes | |
Player1 | unit | No | |
Player_Colors | string | Yes | |
Player_Count | integer | No | |
Player_Names | string | Yes | |
Player_Names_stag | string | Yes | |
PlayersMarines | unit | Yes | |
PlayersTerrorists | unit | Yes | |
Primary | item | Yes | |
Recoiled | group | No | |
ReloadAmount | integer | No | |
Right | boolean | Yes | |
ShootAngle | real | No | |
sniper | unit | Yes | |
Sniping_Camera | boolean | Yes | |
soften | real | No | |
SpeedIndex | real | Yes | |
SpeedOrTime | real | No | |
Stabber | unit | Yes | |
STAG_KILLERS | group | No | |
StartCliffHeight | real | Yes | |
Target_Mined | unit | No | |
TargetPoint | location | No | |
TargetPointIndex | location | Yes | |
TempPoint | location | Yes | |
TempReal | real | Yes | |
TempReal2 | real | No | |
Testpoint | location | No | |
Up | boolean | Yes | |
Visibility_Death | fogmodifier | Yes | |
VisibilityZoom | fogmodifier | Yes | |
WeaponDamage | real | No | |
Win_Bear_Kills | integer | No | |
Win_Kills | integer | No | |
Winner | player | No | |
Winning_Sniper | unit | No | |
Zoom | real | Yes | |
Zoomed_x2 | boolean | Yes | |
ZoomedPosition | location | Yes |