Raised This Month: $32 Target: $400
 8% 

[L4D & L4D2] Spawn & Movable Machine Gun 1.0.6


Post New Thread Reply   
 
Thread Tools Display Modes
disawar1
AlliedModders Donor
Join Date: Aug 2011
Location: Russian
Old 10-31-2011 , 19:16   Re: [L4D & L4D2] Spawn & Movable Machine Gun 1.0.6
Reply With Quote #31

Spawn & Movable Machine Gun
It works on both l4d2 + l4d1 (l4d1 tested !)

What's I did?

-best behind position

Supported Languages:
  • en English
  • ru Russian
Click image for larger version

Name:	2011-11-01_00001.jpg
Views:	1221
Size:	87.5 KB
ID:	94603 Click image for larger version

Name:	2011-11-01_00004.jpg
Views:	982
Size:	91.5 KB
ID:	94604

colors.inc
Attached Files
File Type: txt movablemachinegun.phrases.txt (864 Bytes, 702 views)
File Type: sp Get Plugin or Get Source (l4d2_movablemachinegun_sdkhooks.sp - 521 views - 13.4 KB)

Last edited by disawar1; 11-01-2011 at 21:00.
disawar1 is offline
januto
Member
Join Date: Mar 2011
Old 12-30-2011 , 10:18   Re: [L4D & L4D2] Spawn & Movable Machine Gun 1.0.6
Reply With Quote #32

Can we just press mouse button 2 to pick up the minigun? Also it will be awesome that when u pick up the gun, for the weight you move very very slow
__________________
You are welcome!

januto is offline
disawar1
AlliedModders Donor
Join Date: Aug 2011
Location: Russian
Old 12-30-2011 , 14:31   Re: [L4D & L4D2] Spawn & Movable Machine Gun 1.0.6
Reply With Quote #33

Quote:
Originally Posted by januto View Post
Can we just press mouse button 2 to pick up the minigun? Also it will be awesome that when u pick up the gun, for the weight you move very very slow
change source
PHP Code:
.....
public 
PostThink(client)
{
    new 
buttons GetClientButtons(client);
    if (
IsDedicatedServer() && client ==|| client 0) return;
    if (!
IsClientConnected(client)) return;
    if (!
IsClientInGame(client)) return;
    if (
IsFakeClient(client)) return;
    if (
GetClientTeam(client)!=2) return;
    if (
buttons IN_SPEED && buttons IN_ATTACK2)
..... 
to
PHP Code:
.....
public 
PostThink(client)
{
    new 
buttons GetClientButtons(client);
    if (
IsDedicatedServer() && client ==|| client 0) return;
    if (!
IsClientConnected(client)) return;
    if (!
IsClientInGame(client)) return;
    if (
IsFakeClient(client)) return;
    if (
GetClientTeam(client)!=2) return;
    if (
buttons IN_ATTACK2)
..... 
I dont check it, check yourself and write. if does not work I'll see all the code
__________________
disawar1 is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 12-31-2011 , 01:19   Re: [L4D & L4D2] Spawn & Movable Machine Gun 1.0.6
Reply With Quote #34

Highly Recommend USE with Silvers's [L4D & L4D2] Mini Gun Spawner (1.0)
http://forums.alliedmods.net/showthread.php?t=175152



Quote:
Originally Posted by januto View Post
Can we just press mouse button 2 to pick up the minigun? Also it will be awesome that when u pick up the gun, for the weight you move very very slow
CVAR:
l4d2_movablemachinegun_speed 0.8 The Walking speed when moving a minigun 1.0 = normal speed , -0.1 = do not modify

USE THE NEW VERSION
__________________

Last edited by alexip121093; 12-31-2011 at 01:21.
alexip121093 is offline
Send a message via MSN to alexip121093
chatyak
Senior Member
Join Date: Aug 2011
Old 01-30-2012 , 16:53   Re: [L4D & L4D2] Spawn & Movable Machine Gun 1.0.6
Reply With Quote #35

Is there a way to prevent the person from shooting/melee while they carry the gun? So you can only carry the gun and not attack? I set "block attack" to "1" but what does that do?
chatyak is offline
alexip121093
Senior Member
Join Date: Dec 2009
Location: Hong Kong
Old 01-30-2012 , 18:54   Re: [L4D & L4D2] Spawn & Movable Machine Gun 1.0.6
Reply With Quote #36

Quote:
Originally Posted by chatyak View Post
Is there a way to prevent the person from shooting/melee while they carry the gun? So you can only carry the gun and not attack? I set "block attack" to "1" but what does that do?
the cvar should work. It does stop the attack..
However it cant stop the animation in time.

There is another method to make it works better but i dont wanna use that
__________________

Last edited by alexip121093; 01-30-2012 at 18:55.
alexip121093 is offline
Send a message via MSN to alexip121093
disawar1
AlliedModders Donor
Join Date: Aug 2011
Location: Russian
Old 02-28-2012 , 21:04   Re: [L4D & L4D2] Spawn & Movable Machine Gun 1.0.6
Reply With Quote #37

alexip121093 thanks for that attached my modification
__________________
disawar1 is offline
mrelfire
Member
Join Date: May 2010
Old 06-09-2014 , 03:13   Re: [L4D & L4D2] Spawn & Movable Machine Gun 1.0.6
Reply With Quote #38

I have :
Plugin failed to compile! Please try contacting the author.
mrelfire is offline
Figa
Member
Join Date: Apr 2011
Location: Siberia
Old 12-03-2014 , 02:15   Re: [L4D & L4D2] Spawn & Movable Machine Gun 1.0.6
Reply With Quote #39

Spawn & Movable Machine Gun

It will not allow the tank to lock in tight spaces.
Needs testing L4D2!

Before

After

colors.inc
Attached Files
File Type: sp Get Plugin or Get Source (l4d2_movablemachinegun_sdkhooks.sp - 251 views - 14.4 KB)
File Type: txt movablemachinegun.phrases.txt (864 Bytes, 169 views)
File Type: smx l4d2_movablemachinegun_sdkhooks.smx (16.5 KB, 258 views)
File Type: inc colors.inc (11.9 KB, 234 views)
__________________
Sorry for my bad English. Wrote my pet bear.

Last edited by Figa; 08-22-2016 at 05:40.
Figa is offline
John Mullins
Junior Member
Join Date: Jul 2016
Old 08-04-2016 , 05:05   Re: [L4D & L4D2] Spawn & Movable Machine Gun 1.0.6
Reply With Quote #40

Quote:
Originally Posted by Figa View Post
Spawn & Movable Machine Gun

It will not allow the tank to lock in tight spaces.
Needs testing L4D2!




colors.inc
movablemachinegun.phrases.txt

Plugin doesn't compile properly. Can you fix it?
John Mullins is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:15.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode