Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //============================================================================
- void() player_gatldown1 =[$nailatt1, player_run ]
- {
- //if ((!self.button0) || !W_CheckNoAmmo())
- //{player_run ();return;}
- sound (self, CHAN_WEAPON, "weapons/mingn3.wav", 1, ATTN_NORM);
- self.nextthink = time + 0.1;
- self.weaponframe = 15;
- self.weaponframe = self.weaponframe + 1;
- if (self.weaponframe == 34)
- self.weaponframe = 1;
- self.attack_finished = time + 0.9;
- };
- void() player_gatlup1 =[$light1, player_gatlup2 ]
- {
- //if ((!self.button0) || !W_CheckNoAmmo())
- //{player_run ();return;}
- //W_GatlingSpinUp();
- sound (self, CHAN_WEAPON, "weapons/mingn1.wav", 1, ATTN_NORM);
- self.attack_finished = time + 0.9;
- self.weaponframe = self.weaponframe + 1;
- //if (self.weaponframe == 10)
- //self.weaponframe = 1;
- };
- void() player_gatlup2 =[$light1, player_gatlup3 ]
- {
- //if ((!self.button0) || !W_CheckNoAmmo())
- //{player_run ();return;}
- self.weaponframe = self.weaponframe + 1;
- //if (self.weaponframe == 10)
- //self.weaponframe = 1;
- };
- void() player_gatlup3 =[$light1, player_gatlup4 ]
- {
- //if ((!self.button0) || !W_CheckNoAmmo())
- //{player_run ();return;}
- self.weaponframe = self.weaponframe + 1;
- //if (self.weaponframe == 10)
- //self.weaponframe = 1;
- };
- void() player_gatlup4 =[$light1, player_gatlup5 ]
- {
- //if ((!self.button0) || !W_CheckNoAmmo())
- //{player_run ();return;}
- self.weaponframe = self.weaponframe + 1;
- //if (self.weaponframe == 10)
- //self.weaponframe = 1;
- };
- void() player_gatlup5 =[$light1, player_gatlup6 ]
- {
- //if ((!self.button0) || !W_CheckNoAmmo())
- //{player_run ();return;}
- self.weaponframe = self.weaponframe + 1;
- //if (self.weaponframe == 10)
- //self.weaponframe = 1;
- };
- void() player_gatlup6 =[$light1, player_gatlup7 ]
- {
- //if ((!self.button0) || !W_CheckNoAmmo())
- //{player_run ();return;}
- self.weaponframe = self.weaponframe + 1;
- //if (self.weaponframe == 10)
- //self.weaponframe = 1;
- };
- void() player_gatlup7 =[$light1, player_gatlup8 ]
- {
- //if ((!self.button0) || !W_CheckNoAmmo())
- //{player_run ();return;}
- self.weaponframe = self.weaponframe + 1;
- //if (self.weaponframe == 10)
- //self.weaponframe = 1;
- };
- void() player_gatlup8 =[$light1, player_gatlup9 ]
- {
- //if ((!self.button0) || !W_CheckNoAmmo())
- //{player_run ();return;}
- self.weaponframe = self.weaponframe + 1;
- //if (self.weaponframe == 10)
- //self.weaponframe = 1;
- };
- void() player_gatlup9 =[$light1, player_gatlshot1 ]
- {
- //if ((!self.button0) || !W_CheckNoAmmo())
- //{player_run ();return;}
- self.weaponframe = self.weaponframe + 1;
- //if (self.weaponframe == 10)
- //self.weaponframe = 1;
- };
- void() player_gatlshot1 =[$nailatt1, player_gatlshot2 ]
- {
- if ((!self.button0) || !W_CheckNoAmmo())
- {player_gatldown1 ();return;}
- self.effects = self.effects | EF_MUZZLEFLASH;
- self.nextthink = time + 0.05;
- self.weaponframe = self.weaponframe + 1;
- if (self.weaponframe == 14)
- self.weaponframe = 11;
- SuperDamageSound();
- W_FireGatling();
- if (self.t_width < time)
- {
- sound (self, CHAN_WEAPON, "weapons/mingn2.wav", 1, ATTN_NORM);
- self.t_width = time + 0.95;
- }
- //else
- //{
- //player_gatldown1();
- //}
- };
- void() player_gatlshot2 =[$nailatt1, player_gatlshot3 ]
- {
- if ((!self.button0) || !W_CheckNoAmmo())
- {player_gatldown1 ();return;}
- self.effects = self.effects | EF_MUZZLEFLASH;
- self.nextthink = time + 0.05;
- self.weaponframe = self.weaponframe + 1;
- if (self.weaponframe == 14)
- self.weaponframe = 11;
- SuperDamageSound();
- W_FireGatling();
- if (self.t_width < time)
- {
- sound (self, CHAN_WEAPON, "weapons/mingn2.wav", 1, ATTN_NORM);
- self.t_width = time + 0.95;
- }
- //else
- //{
- //player_gatldown1();
- //}
- };
- void() player_gatlshot3 =[$nailatt2, player_gatlshot4 ]
- {
- if ((!self.button0) || !W_CheckNoAmmo())
- {player_gatldown1 ();return;}
- self.effects = self.effects | EF_MUZZLEFLASH;
- self.nextthink = time + 0.05;
- self.weaponframe = self.weaponframe + 1;
- if (self.weaponframe == 14)
- self.weaponframe = 11;
- SuperDamageSound();
- W_FireGatling();
- if (self.t_width < time)
- {
- sound (self, CHAN_WEAPON, "weapons/mingn2.wav", 1, ATTN_NORM);
- self.t_width = time + 0.95;
- }
- };
- void() player_gatlshot4 =[$nailatt2, player_gatlshot1 ]
- {
- if ((!self.button0) || !W_CheckNoAmmo())
- {player_gatldown1 ();return;}
- self.effects = self.effects | EF_MUZZLEFLASH;
- self.nextthink = time + 0.05;
- self.weaponframe = self.weaponframe + 1;
- if (self.weaponframe == 14)
- self.weaponframe = 11;
- SuperDamageSound();
- W_FireGatling();
- if (self.t_width < time)
- {
- sound (self, CHAN_WEAPON, "weapons/mingn2.wav", 1, ATTN_NORM);
- self.t_width = time + 0.95;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement