Dayz
Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Toggle main menu visibility
Loading...
Searching...
No Matches
ppeghost.c
Go to the documentation of this file.
1
2
class
PPEGhost
:
PPEClassBase
3
{
4
//static const int PARAM_NOISE_TEX = 0; // changing texture not supported. Default '0xff000000'
5
static
const
int
PARAM_NOISE_CHANNEL_WEIGHT
= 1;
6
static
const
int
PARAM_NOISE_OFFSET_X
= 2;
7
static
const
int
PARAM_NOISE_OFFSET_Y
= 3;
8
static
const
int
PARAM_NOISE_SCALE_X
= 4;
9
static
const
int
PARAM_NOISE_SCALE_Y
= 5;
10
static
const
int
PARAM_NOISE_REMAP_LO
= 6;
11
static
const
int
PARAM_NOISE_REMAP_HI
= 7;
12
13
static
const
int
PARAM_GHOST_OFFSET_X
= 8;
14
static
const
int
PARAM_GHOST_OFFSET_Y
= 9;
15
static
const
int
PARAM_GHOST_SCALE_X
= 10;
16
static
const
int
PARAM_GHOST_SCALE_Y
= 11;
17
static
const
int
PARAM_GHOST_COLOR_MOD
= 12;
18
19
//layering info
20
static
const
int
L_1_HMP
= 100;
21
static
const
int
L_2_HMP
= 100;
22
static
const
int
L_3_HMP
= 100;
23
static
const
int
L_4_HMP
= 100;
24
static
const
int
L_5_HMP
= 100;
25
static
const
int
L_6_HMP
= 100;
26
static
const
int
L_7_HMP
= 100;
27
static
const
int
L_8_HMP
= 100;
28
static
const
int
L_9_HMP
= 100;
29
30
override
int
GetPostProcessEffectID
()
31
{
32
return
PostProcessEffectType
.Ghost;
33
}
34
35
override
string
GetDefaultMaterialPath
()
36
{
37
return
"Graphics/Materials/postprocess/ghost"
;
38
}
39
40
override
void
RegisterMaterialParameters
()
41
{
42
//RegisterParameterTexture(PARAM_NOISE_TEX,"NoiseMap","");
43
RegisterParameterColor
(
PARAM_NOISE_CHANNEL_WEIGHT
,
"NoiseChannelWeight"
,0,0,0,0);
44
45
RegisterParameterScalarFloat
(
PARAM_NOISE_OFFSET_X
,
"NoiseOffsetX"
, 0, 0, 1);
46
RegisterParameterScalarFloat
(
PARAM_NOISE_OFFSET_Y
,
"NoiseOffsetY"
, 0, 0, 1);
47
RegisterParameterScalarFloat
(
PARAM_NOISE_SCALE_X
,
"NoiseScaleX"
, 1, 0.0001, 100);
48
RegisterParameterScalarFloat
(
PARAM_NOISE_SCALE_Y
,
"NoiseScaleY"
, 1, 0.0001, 100);
49
RegisterParameterColor
(
PARAM_NOISE_REMAP_LO
,
"NoiseRemapLo"
,0,0,0,0);
50
RegisterParameterColor
(
PARAM_NOISE_REMAP_HI
,
"NoiseRemapHi"
,1,1,1,1);
51
52
RegisterParameterScalarFloat
(
PARAM_GHOST_OFFSET_X
,
"GhostOffsetX"
, 0, -200, 200);
53
RegisterParameterScalarFloat
(
PARAM_GHOST_OFFSET_Y
,
"GhostOffsetY"
, 0, -200, 200);
54
RegisterParameterScalarFloat
(
PARAM_GHOST_SCALE_X
,
"GhostScaleX"
, 1, 0.0001, 1);
55
RegisterParameterScalarFloat
(
PARAM_GHOST_SCALE_Y
,
"GhostScaleY"
, 1, 0.0001, 1);
56
RegisterParameterColor
(
PARAM_GHOST_COLOR_MOD
,
"GhostColorMod"
,1,1,1,0.5);
57
58
}
59
}
PPEClassBase::RegisterParameterScalarFloat
void RegisterParameterScalarFloat(int idx, string parameter_name, float default_value, float min, float max)
WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values ...
Definition
ppematclassesbase.c:77
PPEClassBase::PPEClassBase
void PPEClassBase(string mat_path_override="")
Definition
ppematclassesbase.c:14
PPEClassBase::RegisterParameterColor
void RegisterParameterColor(int idx, string parameter_name, float r, float g, float b, float a)
WARNING - min/max values are usually taken from Workbench defaults, may not be actual min/max values ...
Definition
ppematclassesbase.c:102
PPEGhost
Ghost - PostProcessEffectType.Ghost.
Definition
ppeghost.c:3
PPEGhost::L_6_HMP
static const int L_6_HMP
Definition
ppeghost.c:25
PPEGhost::PARAM_GHOST_OFFSET_X
static const int PARAM_GHOST_OFFSET_X
Definition
ppeghost.c:13
PPEGhost::L_7_HMP
static const int L_7_HMP
Definition
ppeghost.c:26
PPEGhost::RegisterMaterialParameters
override void RegisterMaterialParameters()
Definition
ppeghost.c:40
PPEGhost::L_8_HMP
static const int L_8_HMP
Definition
ppeghost.c:27
PPEGhost::L_9_HMP
static const int L_9_HMP
Definition
ppeghost.c:28
PPEGhost::PARAM_NOISE_OFFSET_X
static const int PARAM_NOISE_OFFSET_X
Definition
ppeghost.c:6
PPEGhost::GetDefaultMaterialPath
override string GetDefaultMaterialPath()
Definition
ppeghost.c:35
PPEGhost::GetPostProcessEffectID
override int GetPostProcessEffectID()
Definition
ppeghost.c:30
PPEGhost::PARAM_NOISE_OFFSET_Y
static const int PARAM_NOISE_OFFSET_Y
Definition
ppeghost.c:7
PPEGhost::PARAM_GHOST_SCALE_Y
static const int PARAM_GHOST_SCALE_Y
Definition
ppeghost.c:16
PPEGhost::PARAM_NOISE_SCALE_Y
static const int PARAM_NOISE_SCALE_Y
Definition
ppeghost.c:9
PPEGhost::PARAM_NOISE_SCALE_X
static const int PARAM_NOISE_SCALE_X
Definition
ppeghost.c:8
PPEGhost::L_3_HMP
static const int L_3_HMP
Definition
ppeghost.c:22
PPEGhost::L_4_HMP
static const int L_4_HMP
Definition
ppeghost.c:23
PPEGhost::L_1_HMP
static const int L_1_HMP
RGB = per channel multiplication A = overall color curve (0=linear,1=exponential).
Definition
ppeghost.c:20
PPEGhost::L_5_HMP
static const int L_5_HMP
Definition
ppeghost.c:24
PPEGhost::PARAM_GHOST_OFFSET_Y
static const int PARAM_GHOST_OFFSET_Y
Definition
ppeghost.c:14
PPEGhost::PARAM_GHOST_COLOR_MOD
static const int PARAM_GHOST_COLOR_MOD
Definition
ppeghost.c:17
PPEGhost::PARAM_NOISE_REMAP_LO
static const int PARAM_NOISE_REMAP_LO
Definition
ppeghost.c:10
PPEGhost::PARAM_NOISE_CHANNEL_WEIGHT
static const int PARAM_NOISE_CHANNEL_WEIGHT
Definition
ppeghost.c:5
PPEGhost::L_2_HMP
static const int L_2_HMP
Definition
ppeghost.c:21
PPEGhost::PARAM_GHOST_SCALE_X
static const int PARAM_GHOST_SCALE_X
Definition
ppeghost.c:15
PPEGhost::PARAM_NOISE_REMAP_HI
static const int PARAM_NOISE_REMAP_HI
Definition
ppeghost.c:11
PostProcessEffectType
PostProcessEffectType
Post-process effect type.
Definition
enworld.c:72
Games
Dayz
scripts
3_game
ppemanager
materials
matclasses
ppeghost.c
Generated by
1.17.0