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

Go to the source code of this file.

Functions

 DEF (spiderbot_minigun_trail)
 
 DEF (spiderbot_minigun_muzzleflash)
 
 DEF (spiderbot_minigun_impact)
 
 DEF (spiderbot_rocket_explode)
 
 DEF (spiderbot_rocket_thrust)
 
 DEF (spiderbot_rocket_launch)
 
 DEF (wakizashi_gun_impact)
 
 DEF (wakizashi_gun_muzzleflash)
 
 DEF (wakizashi_rocket_explode)
 
 DEF (wakizashi_rocket_thrust)
 
 DEF (wakizashi_rocket_launch)
 
 DEF (wakizashi_booster_smoke)
 
 DEF (raptor_cannon_impact)
 
 DEF (raptor_cannon_muzzleflash)
 
 DEF (raptor_bomb_impact)
 
 DEF (raptor_bomb_spread)
 
 SUB (spiderbot_minigun_trail)
 
 SUB (spiderbot_minigun_muzzleflash)
 
 SUB (spiderbot_minigun_impact)
 
 SUB (spiderbot_rocket_explode)
 
 SUB (spiderbot_rocket_thrust)
 
 SUB (spiderbot_rocket_launch)
 
 SUB (wakizashi_gun_impact)
 
 SUB (wakizashi_gun_muzzleflash)
 
 SUB (wakizashi_rocket_explode)
 
 SUB (wakizashi_rocket_thrust)
 
 SUB (wakizashi_rocket_launch)
 
 SUB (wakizashi_booster_smoke)
 
 SUB (raptor_cannon_impact)
 
 SUB (raptor_cannon_muzzleflash)
 
 SUB (raptor_bomb_impact)
 
 SUB (raptor_bomb_spread)
 

Function Documentation

◆ DEF() [1/16]

DEF ( spiderbot_minigun_trail  )

Referenced by SUB().

+ Here is the caller graph for this function:

◆ DEF() [2/16]

DEF ( spiderbot_minigun_muzzleflash  )

◆ DEF() [3/16]

DEF ( spiderbot_minigun_impact  )

◆ DEF() [4/16]

DEF ( spiderbot_rocket_explode  )

◆ DEF() [5/16]

DEF ( spiderbot_rocket_thrust  )

◆ DEF() [6/16]

DEF ( spiderbot_rocket_launch  )

◆ DEF() [7/16]

DEF ( wakizashi_gun_impact  )

◆ DEF() [8/16]

DEF ( wakizashi_gun_muzzleflash  )

◆ DEF() [9/16]

DEF ( wakizashi_rocket_explode  )

◆ DEF() [10/16]

DEF ( wakizashi_rocket_thrust  )

◆ DEF() [11/16]

DEF ( wakizashi_rocket_launch  )

◆ DEF() [12/16]

DEF ( wakizashi_booster_smoke  )

◆ DEF() [13/16]

DEF ( raptor_cannon_impact  )

◆ DEF() [14/16]

DEF ( raptor_cannon_muzzleflash  )

◆ DEF() [15/16]

DEF ( raptor_bomb_impact  )

◆ DEF() [16/16]

DEF ( raptor_bomb_spread  )

◆ SUB() [1/16]

SUB ( spiderbot_minigun_trail  )

Definition at line 2 of file effectinfo_vehicles.inc.

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

Referenced by SUB().

2  {
3  MY(airfriction) = 1;
4  MY(alpha_min) = 20;
5  MY(alpha_max) = 50;
6  MY(alpha_fade) = 100;
7  MY(color_min) = "0xd0d0a0";
8  MY(color_max) = "0xffffff";
9  MY(gravity) = -0.030000;
10  MY(notunderwater) = true;
11  MY(sizeincrease) = 2;
12  MY(size_min) = 1;
13  MY(size_max) = 2;
14  MY(tex_max) = 8;
15  MY(trailspacing) = 10;
16  MY(type) = "smoke";
17  MY(velocityjitter) = '5.0 5.0 5.0';
18 }
float alpha_max
Definition: models.qh:20
float alpha_min
Definition: models.qh:20
float gravity
Definition: items.qh:16
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ SUB() [2/16]

SUB ( spiderbot_minigun_muzzleflash  )

Definition at line 21 of file effectinfo_vehicles.inc.

References alpha_max, alpha_min, count, DEF(), originjitter, and SUB().

21  {
22  MY(airfriction) = 10;
23  MY(alpha_min) = 256;
24  MY(alpha_max) = 512;
25  MY(alpha_fade) = 6280;
26  MY(color_min) = "0xff9c00";
27  MY(color_max) = "0xff8400";
28  MY(count) = 3;
29  MY(originjitter) = '2.0 2.0 2.0';
30  MY(startangle_min) = -180;
31  MY(startangle_max) = 180;
32  MY(spin_min) = 4000;
33  MY(spin_max) = -4000;
34  MY(sizeincrease) = -100;
35  MY(size_min) = 10;
36  MY(size_max) = 15;
37  MY(stretchfactor) = 1.300000;
38  MY(tex_min) = 48;
39  MY(tex_max) = 55;
40  MY(type) = "spark";
41  MY(velocityjitter) = '150.0 150.0 150.0';
42  MY(velocitymultiplier) = 0.350000;
43 }
float alpha_max
Definition: models.qh:20
vector originjitter
Definition: main.qc:348
float alpha_min
Definition: models.qh:20
float count
Definition: powerups.qc:22
+ Here is the call graph for this function:

◆ SUB() [3/16]

SUB ( spiderbot_minigun_impact  )

Definition at line 88 of file effectinfo_vehicles.inc.

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

88  {
89  MY(alpha_min) = 50;
90  MY(alpha_max) = 100;
91  MY(alpha_fade) = 1680;
92  MY(color_min) = "0xff9c00";
93  MY(color_max) = "0xf6ff00";
94  MY(countabsolute) = 1;
95  MY(startangle_min) = -180;
96  MY(startangle_max) = 180;
97  MY(spin_min) = 4000;
98  MY(spin_max) = -4000;
99  MY(sizeincrease) = -100;
100  MY(size_min) = 52;
101  MY(size_max) = 52;
102  MY(stretchfactor) = 0.100000;
103  MY(tex_min) = 65;
104  MY(tex_max) = 65;
105  MY(type) = "static";
106 }
float alpha_max
Definition: models.qh:20
float alpha_min
Definition: models.qh:20
+ Here is the call graph for this function:

◆ SUB() [4/16]

SUB ( spiderbot_rocket_explode  )

Definition at line 211 of file effectinfo_vehicles.inc.

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

211  {
212  MY(alpha_min) = 256;
213  MY(alpha_max) = 256;
214  MY(countabsolute) = 1;
215  MY(lightcolor) = '8.0 4.0 0.0';
216  MY(lightradiusfade) = 1750;
217  MY(lightradius) = 300;
218  MY(originjitter) = '23.0 23.0 23.0';
219  MY(size_min) = 72;
220  MY(size_max) = 72;
221  MY(tex_min) = 8;
222  MY(tex_max) = 16;
223  MY(type) = "decal";
224 }
float alpha_max
Definition: models.qh:20
vector originjitter
Definition: main.qc:348
float alpha_min
Definition: models.qh:20
+ Here is the call graph for this function:

◆ SUB() [5/16]

SUB ( spiderbot_rocket_thrust  )

Definition at line 405 of file effectinfo_vehicles.inc.

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

405  {
406  MY(alpha_min) = 200;
407  MY(alpha_max) = 256;
408  MY(alpha_fade) = 1600;
409  MY(color_min) = "0x8f0d00";
410  MY(color_max) = "0xff5a00";
411  MY(count) = 3;
412  MY(notunderwater) = true;
413  MY(sizeincrease) = -40;
414  MY(size_min) = 5;
415  MY(size_max) = 10;
416  MY(stretchfactor) = 0.900000;
417  MY(tex_min) = 48;
418  MY(tex_max) = 55;
419  MY(type) = "spark";
420  MY(velocityjitter) = '20.0 20.0 20.0';
421  MY(velocitymultiplier) = -1.400000;
422 }
float alpha_max
Definition: models.qh:20
float alpha_min
Definition: models.qh:20
float count
Definition: powerups.qc:22
+ Here is the call graph for this function:

◆ SUB() [6/16]

SUB ( spiderbot_rocket_launch  )

Definition at line 448 of file effectinfo_vehicles.inc.

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

448  {
449  MY(airfriction) = 0.300000;
450  MY(alpha_min) = 100;
451  MY(alpha_max) = 156;
452  MY(alpha_fade) = 60;
453  MY(color_min) = "0xFFFFFF";
454  MY(color_max) = "0xD9C4B0";
455  MY(count) = 8;
456  MY(gravity) = -0.010000;
457  MY(notunderwater) = true;
458  MY(sizeincrease) = 20;
459  MY(size_min) = 30;
460  MY(size_max) = 30;
461  MY(tex_max) = 8;
462  MY(type) = "smoke";
463  MY(velocityjitter) = '60.0 60.0 60.0';
464  MY(velocitymultiplier) = -0.100000;
465 }
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:

◆ SUB() [7/16]

SUB ( wakizashi_gun_impact  )

Definition at line 523 of file effectinfo_vehicles.inc.

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

523  {
524  MY(airfriction) = 4;
525  MY(alpha_min) = 256;
526  MY(alpha_max) = 512;
527  MY(alpha_fade) = 1180;
528  MY(color_min) = "0xff0000";
529  MY(color_max) = "0xc03535";
530  MY(count) = 15;
531  MY(gravity) = 3;
532  MY(originjitter) = '40.0 40.0 10.0';
533  MY(size_min) = 4;
534  MY(size_max) = 7;
535  MY(stretchfactor) = 0.900000;
536  MY(tex_min) = 41;
537  MY(tex_max) = 41;
538  MY(type) = "spark";
539  MY(velocityjitter) = '350.0 350.0 550.0';
540  MY(velocityoffset) = '0.0 0.0 700.0';
541 }
float alpha_max
Definition: models.qh:20
vector originjitter
Definition: main.qc:348
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:

◆ SUB() [8/16]

SUB ( wakizashi_gun_muzzleflash  )

Definition at line 608 of file effectinfo_vehicles.inc.

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

608  {
609  MY(airfriction) = 12;
610  MY(alpha_min) = 256;
611  MY(alpha_max) = 512;
612  MY(alpha_fade) = 6280;
613  MY(color_min) = "0xff0000";
614  MY(color_max) = "0xc03535";
615  MY(count) = 16;
616  MY(originjitter) = '2.0 2.0 2.0';
617  MY(sizeincrease) = -10;
618  MY(size_min) = 5;
619  MY(size_max) = 7;
620  MY(stretchfactor) = 0.700000;
621  MY(tex_min) = 8;
622  MY(tex_max) = 15;
623  MY(type) = "spark";
624  MY(velocityjitter) = '200.0 200.0 200.0';
625  MY(velocitymultiplier) = 0.200000;
626 }
float alpha_max
Definition: models.qh:20
vector originjitter
Definition: main.qc:348
float alpha_min
Definition: models.qh:20
float count
Definition: powerups.qc:22
+ Here is the call graph for this function:

◆ SUB() [9/16]

SUB ( wakizashi_rocket_explode  )

Definition at line 629 of file effectinfo_vehicles.inc.

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

629  {
630  MY(alpha_min) = 256;
631  MY(alpha_max) = 256;
632  MY(countabsolute) = 1;
633  MY(lightcolor) = '8.0 4.0 0.0';
634  MY(lightradiusfade) = 1750;
635  MY(lightradius) = 300;
636  MY(originjitter) = '23.0 23.0 23.0';
637  MY(size_min) = 72;
638  MY(size_max) = 72;
639  MY(tex_min) = 8;
640  MY(tex_max) = 16;
641  MY(type) = "decal";
642 }
float alpha_max
Definition: models.qh:20
vector originjitter
Definition: main.qc:348
float alpha_min
Definition: models.qh:20
+ Here is the call graph for this function:

◆ SUB() [10/16]

SUB ( wakizashi_rocket_thrust  )

Definition at line 797 of file effectinfo_vehicles.inc.

References alpha_max, alpha_min, DEF(), and SUB().

797  {
798  MY(alpha_min) = 200;
799  MY(alpha_max) = 256;
800  MY(alpha_fade) = 1600;
801  MY(color_min) = "0x00FFDD";
802  MY(color_max) = "0x6200FF";
803  MY(countabsolute) = 3;
804  MY(notunderwater) = true;
805  MY(sizeincrease) = -2;
806  MY(size_min) = 14;
807  MY(size_max) = 19;
808  MY(stretchfactor) = 1;
809  MY(tex_min) = 48;
810  MY(tex_max) = 55;
811  MY(type) = "spark";
812  MY(velocityjitter) = '60.0 60.0 60.0';
813  MY(velocitymultiplier) = -1.100000;
814 }
float alpha_max
Definition: models.qh:20
float alpha_min
Definition: models.qh:20
+ Here is the call graph for this function:

◆ SUB() [11/16]

SUB ( wakizashi_rocket_launch  )

Definition at line 836 of file effectinfo_vehicles.inc.

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

836  {
837  MY(airfriction) = 0.300000;
838  MY(alpha_min) = 100;
839  MY(alpha_max) = 156;
840  MY(alpha_fade) = 60;
841  MY(color_min) = "0xFFFFFF";
842  MY(color_max) = "0xD9C4B0";
843  MY(count) = 8;
844  MY(notunderwater) = true;
845  MY(sizeincrease) = 20;
846  MY(size_min) = 3;
847  MY(size_max) = 30;
848  MY(tex_max) = 8;
849  MY(type) = "smoke";
850  MY(velocityjitter) = '160.0 160.0 60.0';
851  MY(velocitymultiplier) = -0.100000;
852 }
float alpha_max
Definition: models.qh:20
float alpha_min
Definition: models.qh:20
float count
Definition: powerups.qc:22
+ Here is the call graph for this function:

◆ SUB() [12/16]

SUB ( wakizashi_booster_smoke  )

Definition at line 890 of file effectinfo_vehicles.inc.

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

890  {
891  MY(airfriction) = 2;
892  MY(alpha_min) = 200;
893  MY(alpha_max) = 750;
894  MY(alpha_fade) = 200;
895  MY(color_min) = "0xA69A80";
896  MY(color_max) = "0xB3B39F";
897  MY(count) = 3;
898  MY(gravity) = -0.100000;
899  MY(notunderwater) = true;
900  MY(originjitter) = '60.0 60.0 60.0';
901  MY(startangle_min) = -180;
902  MY(startangle_max) = 180;
903  MY(spin_min) = -20;
904  MY(spin_max) = 20;
905  MY(sizeincrease) = 10;
906  MY(size_min) = 60;
907  MY(size_max) = 100;
908  MY(tex_max) = 8;
909  MY(type) = "alphastatic";
910  MY(velocityjitter) = '40.0 40.0 40.0';
911 }
float alpha_max
Definition: models.qh:20
vector originjitter
Definition: main.qc:348
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:

◆ SUB() [13/16]

SUB ( raptor_cannon_impact  )

Definition at line 915 of file effectinfo_vehicles.inc.

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

915  {
916  MY(alpha_min) = 256;
917  MY(alpha_max) = 256;
918  MY(countabsolute) = 1;
919  MY(originjitter) = '16.0 16.0 16.0';
920  MY(startangle_min) = -180;
921  MY(startangle_max) = 180;
922  MY(size_min) = 24;
923  MY(size_max) = 24;
924  MY(tex_min) = 47;
925  MY(tex_max) = 47;
926  MY(type) = "decal";
927 }
float alpha_max
Definition: models.qh:20
vector originjitter
Definition: main.qc:348
float alpha_min
Definition: models.qh:20
+ Here is the call graph for this function:

◆ SUB() [14/16]

SUB ( raptor_cannon_muzzleflash  )

Definition at line 990 of file effectinfo_vehicles.inc.

References alpha_max, alpha_min, count, DEF(), originjitter, and SUB().

990  {
991  MY(airfriction) = 12;
992  MY(alpha_min) = 1256;
993  MY(alpha_max) = 1512;
994  MY(alpha_fade) = 56280;
995  MY(color_min) = "0xD400FF";
996  MY(color_max) = "0x571863";
997  MY(count) = 16;
998  MY(originjitter) = '2.0 2.0 2.0';
999  MY(sizeincrease) = -10;
1000  MY(size_min) = 10;
1001  MY(size_max) = 17;
1002  MY(stretchfactor) = 0.600000;
1003  MY(tex_min) = 8;
1004  MY(tex_max) = 15;
1005  MY(type) = "spark";
1006  MY(velocityjitter) = '200.0 200.0 200.0';
1007  MY(velocitymultiplier) = 0.200000;
1008 }
float alpha_max
Definition: models.qh:20
vector originjitter
Definition: main.qc:348
float alpha_min
Definition: models.qh:20
float count
Definition: powerups.qc:22
+ Here is the call graph for this function:

◆ SUB() [15/16]

SUB ( raptor_bomb_impact  )

Definition at line 1034 of file effectinfo_vehicles.inc.

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

1034  {
1035  MY(alpha_min) = 256;
1036  MY(alpha_max) = 256;
1037  MY(countabsolute) = 1;
1038  MY(originjitter) = '16.0 16.0 16.0';
1039  MY(startangle_min) = -180;
1040  MY(startangle_max) = 180;
1041  MY(size_min) = 84;
1042  MY(size_max) = 84;
1043  MY(tex_min) = 8;
1044  MY(tex_max) = 16;
1045  MY(type) = "decal";
1046 }
float alpha_max
Definition: models.qh:20
vector originjitter
Definition: main.qc:348
float alpha_min
Definition: models.qh:20
+ Here is the call graph for this function:

◆ SUB() [16/16]

SUB ( raptor_bomb_spread  )

Definition at line 1148 of file effectinfo_vehicles.inc.

References alpha_max, alpha_min, count, gravity, and originjitter.

1148  {
1149  MY(airfriction) = 1;
1150  MY(alpha_min) = 644;
1151  MY(alpha_max) = 956;
1152  MY(alpha_fade) = 1284;
1153  MY(color_min) = "0xffa35b";
1154  MY(color_max) = "0xfff2be";
1155  MY(count) = 34;
1156  MY(gravity) = 1;
1157  MY(liquidfriction) = 0.800000;
1158  MY(notunderwater) = true;
1159  MY(originjitter) = '110.0 110.0 110.0';
1160  MY(size_min) = 1;
1161  MY(size_max) = 2;
1162  MY(tex_min) = 40;
1163  MY(tex_max) = 40;
1164  MY(type) = "spark";
1165  MY(velocityjitter) = '324.0 324.0 324.0';
1166 }
float alpha_max
Definition: models.qh:20
vector originjitter
Definition: main.qc:348
float alpha_min
Definition: models.qh:20
float gravity
Definition: items.qh:16
float count
Definition: powerups.qc:22