Post: RELEASE : Simple MW2 DeathMachine
12-17-2010, 09:38 PM #1
Default Avatar
Gizmo
Guest
(adsbygoogle = window.adsbygoogle || []).push({});
Heres my simple Death Machine code ive been working on Smile
Its just a small code I made after I got annoyed of my CoD4 Menu not recompressing properly :whistle:
Anyway, heres the GSC for it, Just put it in a self thread called giggity ;

[LINK AT BOTTOM OF PAGE Smile]
    
giggity()
{
self endon("disconenct");
self endon("death");

self takeAllWeapons();
self setclientdvar("player_sustainAmmo", "1");
self _setperk("specialty_bulletaccuracy");
self setClientDvar("perk_weapSpreadMultiplier", 0.20);
self giveWeapon ( "m240_grip_heartbeat_mp", 0 );
allowADS(false);

{
self waittill( "weapon_fired" );
MagicBullet( "ac130_40mm_mp", self getTagOrigin("tag_eye"), self GetCursorPosition(), self );
}
}

GetCursorPosition()
{
return BulletTrace( self getTagOrigin("tag_eye"), vector_Scale(anglestoforward(self getPlayerAngles()),1000000), 0, self )[ "position" ];
}
vector_scale(vec, scale)
{
return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
}



People who are too lazy to bind but want to try click here...

    
giggity()
{
self endon( "disconnect" );
self endon( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );

for(;Winky Winky
self waittill( "dpad_up" );
{
self endon("disconenct");
self endon("death");

self takeAllWeapons();
self setclientdvar("player_sustainAmmo", "1");
self _setperk("specialty_bulletaccuracy");
self setClientDvar("perk_weapSpreadMultiplier", 0.20);
self giveWeapon ( "m240_grip_heartbeat_mp", 0 );
allowADS(false);

{
self waittill( "weapon_fired" );
MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPosition(),

self );
}
}

GetCursorPosition()
{
return BulletTrace( self getTagOrigin("tag_eye"), vector_Scale(anglestoforward(self

getPlayerAngles()),1000000), 0, self )[ "position" ];
}
vector_scale(vec, scale)
{
return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
}
}
}



I may try experimenting by replacing m240_grip_heartbeat_mp with turret_minigun_mp later on Smile

Changed it to shoot 40mm, thanks iFool Winky Winky

If anyone is interested in a timer for the gun, here is the code, just insert it into whats allready there.
    
self endon( "+weapnext" ); //place with the other self end on's

wait 45; // place at the bottom of the thread , inside the braces
self takeAllWeapons(); //takes all weapons
self iPrintlnBold( "Change Weapon For a Gun" ); //Tells the player to change Gun
{self waittill("+weapnext"); //Waits until Weapnext is pressed
self giveWeapon ( "m4_fmj_xmags_mp", 0 ); //Gives you an M4 when Weapnext is pressed
}




Going to try "harrier_20mm_mp", ac130_25mm_mp and "cobra_player_minigun_mp" tomorrow Winky Winky

Have Fun Minigunning people Winky Winky

LINK ADDED FOR THE TEST PATCH :
ENJOY TESTING:
You must login or register to view this content.

(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Gizmo for this useful post:

Skyl1n3
12-17-2010, 10:06 PM #2
Cain
Tutorial Team Like A Boss
I can never get these codes to work.

    ac130bullets()
{
self waittill( "weapon_fired" );
MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPosition(), self );
}


Any ideas? Unknown Function.

---------- Post added at 10:05 PM ---------- Previous post was at 10:04 PM ----------

I can never get these codes to work.

    ac130bullets()
{
self waittill( "weapon_fired" );
MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPosition(), self );
}


Any ideas? Unknown Function.

---------- Post added at 10:06 PM ---------- Previous post was at 10:05 PM ----------

I can never get these codes to work.

    ac130bullets()
{
self waittill( "weapon_fired" );
MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPosition(), self );
}


Any ideas? Unknown Function.
12-17-2010, 10:10 PM #3
HtD
Dark Knight
This is the black ops death machine on mw2?
12-17-2010, 10:16 PM #4
Default Avatar
Gizmo
Guest
Originally posted by iFool View Post
I can never get these codes to work.

    ac130bullets()
{
self waittill( "weapon_fired" );
MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPosition(), self );
}


Any ideas? Unknown Function.



Hmm your post is a tad strange....

Try it like so

    
ac130bullets()
{
self waittill( "weapon_fired" );


MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPosition(), self );
}
}

GetCursorPosition()
{
return BulletTrace( self getTagOrigin("tag_eye"), vector_Scale(anglestoforward(self getPlayerAngles()),1000000), 0, self )[ "position" ];
}
vector_scale(vec, scale)
{
return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
}



Originally posted by HtD View Post
This is the black ops death machine on mw2?



No, its just a M240 which shoots ac130 25mm bullets Smile
12-17-2010, 10:16 PM #5
Encopresis
< ^ > < ^ >
Originally posted by HtD View Post
This is the black ops death machine on mw2?


I'm not sure, but I definitely would have thought so.
12-17-2010, 10:22 PM #6
Default Avatar
Gizmo
Guest
Originally posted by Vengeance
I'm not sure, but I definitely would have thought so.


No, its not the same, that wouldn't be possible as the skin isnt in
MW2 Winky Winky
Its an M240 with infinite ammo, small crosshair, hip fire only, and it shoots ac130 25 mm rounds Smile

Hope this clears it up, i thought people would realise from the script Smile

Although, i could put a timer on it .......

The following user thanked Gizmo for this useful post:

Encopresis
12-17-2010, 10:22 PM #7
Vectriixx
Single Handily destroyed GT5 Online Happy
I wanna see a video of this, sounds epic
12-17-2010, 10:26 PM #8
Default Avatar
Gizmo
Guest
Originally posted by 97 View Post
I wanna see a video of this, sounds epic


Ill get a video up tomorrow, i broke my wifi dongle on my PC, so no FTP atm :p

The following user thanked Gizmo for this useful post:

Vectriixx
12-17-2010, 10:26 PM #9
Cain
Tutorial Team Like A Boss
Sorry that last post was a hell lot of lag.
12-17-2010, 10:30 PM #10
Default Avatar
Gizmo
Guest
Originally posted by iFool View Post
Sorry that last post was a hell lot of lag.


Lol though so :p
Tell me if you get it working Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo