Xonotic
effectinfo_gentle.inc File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

 DEF (damage_hit)
 
 DEF (damage_dissolve)
 
 SUB (damage_hit)
 
 SUB (damage_dissolve)
 

Function Documentation

◆ DEF() [1/2]

DEF ( damage_hit  )

Referenced by SUB().

+ Here is the caller graph for this function:

◆ DEF() [2/2]

DEF ( damage_dissolve  )

◆ SUB() [1/2]

SUB ( damage_hit  )

Definition at line 4 of file effectinfo_gentle.inc.

References alpha_max, alpha_min, count, DEF(), and gravity.

Referenced by SUB().

4  {
5  MY(airfriction) = 5;
6  MY(alpha_min) = 128;
7  MY(alpha_max) = 128;
8  MY(alpha_fade) = 192;
9  MY(bounce) = 1.500000;
10  MY(color_min) = "0x00FFFF";
11  MY(color_max) = "0xFF00FF";
12  MY(count) = 0.500000;
13  MY(gravity) = -0.400000;
14  MY(liquidfriction) = 10;
15  MY(sizeincrease) = -24;
16  MY(size_min) = 16;
17  MY(size_max) = 16;
18  MY(tex_min) = 48;
19  MY(tex_max) = 55;
20  MY(type) = "alphastatic";
21  MY(velocityjitter) = '256.0 256.0 256.0';
22 }
float alpha_max
Definition: models.qh:20
float alpha_min
Definition: models.qh:20
float gravity
Definition: items.qh:16
float count
Definition: powerups.qc:22
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SUB() [2/2]

SUB ( damage_dissolve  )

Definition at line 65 of file effectinfo_gentle.inc.

References alpha_max, alpha_min, count, gravity, and SUB().

65  {
66  MY(airfriction) = 3;
67  MY(alpha_min) = 256;
68  MY(alpha_max) = 256;
69  MY(alpha_fade) = 128;
70  MY(bounce) = 1.500000;
71  MY(color_min) = "0x00FFFF";
72  MY(color_max) = "0xFF00FF";
73  MY(count) = 15;
74  MY(gravity) = -0.400000;
75  MY(liquidfriction) = 6;
76  MY(sizeincrease) = -16;
77  MY(size_min) = 32;
78  MY(size_max) = 32;
79  MY(tex_min) = 48;
80  MY(tex_max) = 55;
81  MY(type) = "alphastatic";
82  MY(velocityjitter) = '512.0 512.0 512.0';
83 }
float alpha_max
Definition: models.qh:20
float alpha_min
Definition: models.qh:20
float gravity
Definition: items.qh:16
float count
Definition: powerups.qc:22
+ Here is the call graph for this function: