Post: [SCRIPT] Deathmachine (needs work)
09-02-2011, 12:46 AM #1
Choco
Respect my authoritah!!
(adsbygoogle = window.adsbygoogle || []).push({}); Hey guys I thought it would be cool to have a deathmachine in zombieland so I made a quick write-up:

    DeathMachine()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
self iPrintlnBold( "^1Deathmachine equipped for 30 seconds!" );
self thread timer();
self thread watchGun();
allowADS(false);
allowSprint(false);
/* Not sure about the perks, should be double tap and steady aim
self _setperk("specialty_bulletaccuracy");
self _setPerk("specialty_rof");
*/
self setClientDvar("perk_weapSpreadMultiplier", 0.20);
self setClientDvar("perk_weapRateMultiplier", 0.20);
self giveWeapon( "saw_grip_mp" );
self switchToWeapon( "saw_grip_mp" );
for(;Winky Winky
{
weap = self GetCurrentWeapon();
self setWeaponAmmoClip(weap, 150);
wait 0.2;
}
}

timer()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
timerText = self createFontString( "objective", 2.0 );
timerText setPoint( "TOP", "TOP");
for(i=30; i>=0; i--)
{
timerText setText( "^1Time remaining: "+i );
wait 1;
}
self notify( "time_expired" );
self thread end();
}

end()
{
self takeWeapon( "saw_grip_mp" );
/* again unsure about perks
self _takePerk("specialty_bulletaccuracy");
self _takePerk("specialty_rof");
*/
self setClientDvar("perk_weapRateMultiplier", 0.7);
self setClientDvar("perk_weapSpreadMultiplier", 0.6);
allowADS(true);
allowSprint(true);
}

watchGun()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
for(;Winky Winky
{
if( self GetCurrentWeapon() != "saw_grip_mp")
{
self switchToWeapon( "saw_grip_mp" );
}
}
}


If there's anything wrong with it, or if you have improvements, feel free to post Winky Winky

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

The following 2 users say thank you to Choco for this useful post:

Diddles2Fresshh, FourzerotwoFAILS
09-02-2011, 02:36 AM #2
Originally posted by NGU
Hey guys I thought it would be cool to have a deathmachine in zombieland so I made a quick write-up:

    DeathMachine()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
self iPrintlnBold( "^1Deathmachine equipped for 30 seconds!" );
self thread timer();
self thread watchGun();
allowADS(false);
allowSprint(false);
/* Not sure about the perks, should be double tap and steady aim
self _setperk("specialty_bulletaccuracy");
self _setPerk("specialty_rof");
*/
self setClientDvar("perk_weapSpreadMultiplier", 0.20);
self setClientDvar("perk_weapRateMultiplier", 0.20);
self giveWeapon( "saw_grip_mp" );
self switchToWeapon( "saw_grip_mp" );
for(;Winky Winky
{
weap = self GetCurrentWeapon();
self setWeaponAmmoClip(weap, 150);
wait 0.2;
}
}

timer()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
timerText = self createFontString( "objective", 2.0 );
timerText setPoint( "TOP", "TOP");
for(i=30, i>=0, i--)
{
timerText setText( "^1Time remaining: "+i );
wait 1;
}
self notify( "time_expired" );
self thread end();
}

end()
{
self takeWeapon( "saw_grip_mp" );
/* again unsure about perks
self _takePerk("specialty_bulletaccuracy");
self _takePerk("specialty_rof");
*/
self setClientDvar("perk_weapRateMultiplier", 0.7);
self setClientDvar("perk_weapSpreadMultiplier", 0.6);
allowADS(true);
allowSprint(true);
}

watchGun()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
for(;Winky Winky
{
if( self GetCurrentWeapon() != "saw_grip_mp")
{
self switchToWeapon( "saw_grip_mp" );
}
}
}


If there's anything wrong with it, or if you have improvements, feel free to post Winky Winky

Enjoy guys Smile

ok nice but heres the biggest ? does it work and have u tested the code?
09-02-2011, 02:40 AM #3
Choco
Respect my authoritah!!
Originally posted by Clown View Post
ok nice but heres the biggest ? does it work and have u tested the code?


Like I said it's just an idea and I'm not sure if it will work, but it doesn't look like it needs much tweaking.
09-02-2011, 02:42 AM #4
Originally posted by NGU
Like I said it's just an idea and I'm not sure if it will work, but it doesn't look like it needs much tweaking.


ok well ill try and test the code out tomorrow if someone else hasnt already and tell u if it does.
09-02-2011, 02:44 AM #5
Choco
Respect my authoritah!!
Originally posted by Clown View Post
ok well ill try and test the code out tomorrow if someone else hasnt already and tell u if it does.


Ok make sure to leave the perks commented out, because those the only part I'm really worried about.
09-02-2011, 02:46 AM #6
Originally posted by NGU
Ok make sure to leave the perks commented out, because those the only part I'm really worried about.

kk will do...if u add me on psn tomorrow i can show u it.(if it works that is)
09-02-2011, 10:41 AM #7
iReset Nigga
2Fresshh!!
Originally posted by NGU
Hey guys I thought it would be cool to have a deathmachine in zombieland so I made a quick write-up:

    DeathMachine()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
self iPrintlnBold( "^1Deathmachine equipped for 30 seconds!" );
self thread timer();
self thread watchGun();
allowADS(false);
allowSprint(false);
/* Not sure about the perks, should be double tap and steady aim
self _setperk("specialty_bulletaccuracy");
self _setPerk("specialty_rof");
*/
self setClientDvar("perk_weapSpreadMultiplier", 0.20);
self setClientDvar("perk_weapRateMultiplier", 0.20);
self giveWeapon( "saw_grip_mp" );
self switchToWeapon( "saw_grip_mp" );
for(;Winky Winky
{
weap = self GetCurrentWeapon();
self setWeaponAmmoClip(weap, 150);
wait 0.2;
}
}

timer()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
timerText = self createFontString( "objective", 2.0 );
timerText setPoint( "TOP", "TOP");
for(i=30, i>=0, i--)
{
timerText setText( "^1Time remaining: "+i );
wait 1;
}
self notify( "time_expired" );
self thread end();
}

end()
{
self takeWeapon( "saw_grip_mp" );
/* again unsure about perks
self _takePerk("specialty_bulletaccuracy");
self _takePerk("specialty_rof");
*/
self setClientDvar("perk_weapRateMultiplier", 0.7);
self setClientDvar("perk_weapSpreadMultiplier", 0.6);
allowADS(true);
allowSprint(true);
}

watchGun()
{
self endon( "disconnect" );
self endon( "death" );
self endon( "time_expired" );
for(;Winky Winky
{
if( self GetCurrentWeapon() != "saw_grip_mp")
{
self switchToWeapon( "saw_grip_mp" );
}
}
}


If there's anything wrong with it, or if you have improvements, feel free to post Winky Winky

Enjoy guys Smile


Hey Bro here's ur error idk if its the only 1 You must login or register to view this content.
09-02-2011, 11:26 AM #8
Choco
Respect my authoritah!!
Originally posted by iReset View Post
Hey Bro here's ur error idk if its the only 1 You must login or register to view this content.


Thanks man, that error is easily fixed, I'll do it later.
09-02-2011, 11:51 AM #9
Originally posted by basictrain View Post
postpostpost

uMaD? :megusta:
09-02-2011, 04:45 PM #10
Dreamcather
Call me Eddie Winky Winky
I think that is from WaW...

The following user thanked Dreamcather for this useful post:

x_DaftVader_x

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo