Post: CoD4 Game Mode (Retarded)
10-09-2012, 07:13 PM #1
Cmd-X
It's been awhile.
(adsbygoogle = window.adsbygoogle || []).push({});
alright well I decided to release this game mode I made all by myself :wub: this is my first game mode I've ever made so far, and I couldn't really think of anything else to add... Feel free to edit it.

created by: Cmd-X
inspired by: RaspberryIce


basically what's in it:
pro mod
ak47 and gold deagle on spawn
when you shoot it sounds like the ak74u
slightly increased jump height and ground speed
XP set to the cod4 settings

:fa:

video:


    #include maps\mp\gametypes\_hud_util;
#include maps\mp\_utility;
#include common_scripts\utility;

CmdXGameModeStart()
{
self endon("disconnect");
self thread MatchDvarzZ();
self setClientDvar( "cg_fov", 90 );
setDvar( "scr_dm_score_kill", 5 );
setDvar( "scr_dm_score_headshot", 10 );
setDvar( "scr_tdm_score_kill", 10 );
setDvar( "scr_tdm_score_headshot", 20 );
setDvar( "scr_dm_timelimit", 0 );
setDvar( "scr_tdm_timelimit", 0 );
self thread WelcomeText666();
self thread IconDisplaysz();
wait 1;
self thread CheckButton16();
for(;Winky Winky
{
self waittill("spawned_player");
self setClientDvar( "cg_fov", 80 );
self thread TakeWeapons();
self thread WeaponSounz();
wait 0.001;
}
}

MatchDvarzZ()
{
self endon("disconnect");
setDvar("jump_height",77);
setDvar("g_speed",226);
setDvar("bg_fallDamageMaxHeight",70);
setDvar("bg_fallDamageMinHeight",70);
}

TakeWeapons()
{
self endon("disconnect");
self takeAllWeapons();
self _clearPerks();
self takeWeapon(self getCurrentOffhand());
wait 0.001;
self setPlayerData( "killstreaks", 3, "uav" );
self setPlayerData( "killstreaks", 5, "airstrike" );
self setPlayerData( "killstreaks", 7, "helicopter" );
self maps\mp\perks\_perks::givePerk("specialty_marathon");
self maps\mp\perks\_perks::givePerk("specialty_fastreload");
self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
//Primary
self giveWeapon("ak47_silencer_xmags_mp",1,false); //weap_ak74_fire_plr
self switchToWeapon("ak47_silencer_xmags_mp");
self setWeaponAmmoClip("ak47_silencer_xmags_mp", 100);
self setWeaponAmmoStock("ak47_silencer_xmags_mp", 240);
//Secondary
self giveWeapon("deserteaglegold_mp",1,false);
self setWeaponAmmoClip("deserteaglegold_mp", Cool Man (aka Tustin);
self setWeaponAmmoStock("deserteaglegold_mp", 40);
//Special Shit
self maps\mp\perks\_perks::givePerk( "frag_grenade_mp" );
self setWeaponAmmoClip("frag_grenade_mp", 1);
self giveweapon("concussion_grenade_mp",0,false);
//Don't forget!!! - Cmd-X iz kewl
}
WeaponSounz()
{
self endon("disconnect");
self endon("death");
self thread OthWeapS();
for(;Winky Winky
{
self waittill("weapon_fired");
if( self getCurrentWeapon() == "ak47_silencer_xmags_mp" )
{
self playsound( "weap_ak74_fire_plr" );
wait 0.001;
}
}
}
OthWeapS()
{
self endon("disconnect");
self endon("death");
for(;Winky Winky
{
self waittill("weapon_fired");
if( self getCurrentWeapon() == "m4_reflex_silencer_mp" )
{
self playsound( "weap_ak74_fire_plr" );
wait 0.001;
}
}
}

WelcomeText666()
{
notifyData = spawnstruct();
notifyData.iconName = "cardicon_cod4";
notifyData.titleText = "^0Lets Play Some CoD4!";
notifyData.notifyText = "Created By: Cmd-X";
notifyData.notifyText2 = "Inspired By: RaspberryIce";
notifyData.glowColor = (0, 1, 0);
notifyData.duration = 7;
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
IconDisplaysz()
{
self endon("disconnect");
streakIcon420o = createIcon( "weapon_aks74u", 80, 60 );
streakIcon420o setPoint("TOPRIGHT","TOPRIGHT",0,0);
Text1_666=self createFontString("hudbig",1.4);
Text1_666 setPoint("CENTER","CENTER",0,100);
Text1_666 setText("^0"+level.hostis);
//
Text2_666=self createFontString("hudbig",1.4);
Text2_666.fontScale=0.9;
Text2_666 setPoint("CENTER","CENTER",0,100);
Text2_666 setText("^0"+level.hostis);
Text2_666.alpha=0;
Text2_666.glow=1;
Text2_666.glowAlpha=1;
Text2_666.glowColor=(0,1,0);
for(;Winky Winky
{
Text2_666 fadeOverTime(1);
Text2_666 ChangeFontScaleOverTime(1);
Text2_666.fontScale=0.9;
Text1_666 fadeOverTime(1);
Text1_666 ChangeFontScaleOverTime(1);
Text1_666.fontScale=0.9;
Text2_666.alpha=2;
wait 1;
Text2_666 fadeOverTime(1);
Text2_666 ChangeFontScaleOverTime(1);
Text1_666 fadeOverTime(1);
Text1_666 ChangeFontScaleOverTime(1);
Text1_666.fontScale=0.6;
Text2_666.fontScale=0.6;
Text2_666.alpha=0;
wait 1;
}
}

CheckButton16()
{
//whatever you want
}


OR you can just download the GSC itself...

You must login or register to view this content.

EDIT: UPDATED CODE AND GSC! FIXED! THANKS XHUMANZONE
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to Cmd-X for this useful post:

BlurzGoHard, CrEaTiiOnUNREAL, Kitty=^.^=, KM-_1337, xKrazeGods
10-09-2012, 07:39 PM #2
notoriousCFW
Little One
Originally posted by X View Post
self thread maps\mp\killstreaks\flyableheli::promodz();

??????????
10-09-2012, 07:49 PM #3
Cmd-X
It's been awhile.
Originally posted by DarkCobra420 View Post
??????????


You must login or register to view this content.
10-09-2012, 07:55 PM #4
BvB-09r-_-N!c0
♥{ NicoBvB90 }♥
Originally posted by DarkCobra420 View Post
??????????

Originally posted by X View Post
Originally Posted by DarkCobra420
??????????


??????????????????
10-09-2012, 08:01 PM #5
Drack Seems nice.
10-09-2012, 08:05 PM #6
RaspberryIce
Bounty hunter
Originally posted by X View Post
alright well I decided to release this game mode I made all by myself :wub: this is my first game mode I've ever made so far, and I couldn't really think of anything else to add... Feel free to edit it.

basically what's in it:
pro mod
ak47 and gold deagle on spawn
when you shoot it sounds like the ak74u
slightly increased jump height and ground speed
XP set to the cod4 settings

:fa:

video:


    #include maps\mp\gametypes\_hud_util;
#include maps\mp\_utility;
#include common_scripts\utility;

CmdXGameModeStart()
{
self endon("disconnect");
self thread MatchDvarzZ();
self setClientDvar( "cg_fov", 90 );
setDvar( "scr_dm_score_kill", 5 );
setDvar( "scr_dm_score_headshot", 10 );
setDvar( "scr_tdm_score_kill", 10 );
setDvar( "scr_tdm_score_headshot", 20 );
setDvar( "scr_dm_timelimit", 0 );
setDvar( "scr_tdm_timelimit", 0 );
self thread WelcomeText666();
self thread IconDisplaysz();
wait 1;
self thread CheckButton16();
for(;Winky Winky
{
self waittill("spawned_player");
self setClientDvar( "cg_fov", 80 );
self thread TakeWeapons();
self thread WeaponSounz();
wait 0.001;
}
}

MatchDvarzZ()
{
self endon("disconnect");
setDvar("jump_height",77);
setDvar("g_speed",226);
setDvar("bg_fallDamageMaxHeight",70);
setDvar("bg_fallDamageMinHeight",70);
}

TakeWeapons()
{
self endon("disconnect");
self takeAllWeapons();
self _clearPerks();
self takeWeapon(self getCurrentOffhand());
wait 0.001;
self setPlayerData( "killstreaks", 3, "uav" );
self setPlayerData( "killstreaks", 5, "airstrike" );
self setPlayerData( "killstreaks", 7, "helicopter" );
self maps\mp\perks\_perks::givePerk("specialty_marathon");
self maps\mp\perks\_perks::givePerk("specialty_fastreload");
self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
//Primary
self giveWeapon("ak47_silencer_xmags_mp",1,false); //weap_ak74_fire_plr
self switchToWeapon("ak47_silencer_xmags_mp");
self setWeaponAmmoClip("ak47_silencer_xmags_mp", 100);
self setWeaponAmmoStock("ak47_silencer_xmags_mp", 240);
//Secondary
self giveWeapon("deserteaglegold_mp",1,false);
self setWeaponAmmoClip("deserteaglegold_mp", Cool Man (aka Tustin);
self setWeaponAmmoStock("deserteaglegold_mp", 40);
//Special Shit
self maps\mp\perks\_perks::givePerk( "frag_grenade_mp" );
self setWeaponAmmoClip("frag_grenade_mp", 1);
self giveweapon("concussion_grenade_mp",0,false);
//Don't forget!!! - Cmd-X iz kewl
}
WeaponSounz()
{
self endon("disconnect");
self endon("death");
self thread OthWeapS();
for(;Winky Winky
{
self waittill("weapon_fired");
if( self getCurrentWeapon() == "ak47_silencer_xmags_mp" )
{
self playsound( "weap_ak74_fire_plr" );
wait 0.001;
}
}
}
OthWeapS()
{
self endon("disconnect");
self endon("death");
for(;Winky Winky
{
self waittill("weapon_fired");
if( self getCurrentWeapon() == "m4_reflex_silencer_mp" )
{
self playsound( "weap_ak74_fire_plr" );
wait 0.001;
}
}
}

WelcomeText666()
{
notifyData = spawnstruct();
notifyData.iconName = "cardicon_cod4";
notifyData.titleText = "^0Lets Play Some CoD4!";
notifyData.notifyText = "Created By: Cmd-X";
notifyData.notifyText2 = "Inspired By: RaspberryIce";
notifyData.glowColor = (0, 1, 0);
notifyData.duration = 7;
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
IconDisplaysz()
{
self endon("disconnect");
streakIcon420o = createIcon( "weapon_aks74u", 80, 60 );
streakIcon420o setPoint("TOPRIGHT","TOPRIGHT",0,0);
Text1_666=self createFontString("hudbig",1.4);
Text1_666 setPoint("CENTER","CENTER",0,100);
Text1_666 setText("^0"+level.hostis);
//
Text2_666=self createFontString("hudbig",1.4);
Text2_666.fontScale=0.9;
Text2_666 setPoint("CENTER","CENTER",0,100);
Text2_666 setText("^0"+level.hostis);
Text2_666.alpha=0;
Text2_666.glow=1;
Text2_666.glowAlpha=1;
Text2_666.glowColor=(0,1,0);
for(;Winky Winky
{
Text2_666 fadeOverTime(1);
Text2_666 ChangeFontScaleOverTime(1);
Text2_666.fontScale=0.9;
Text1_666 fadeOverTime(1);
Text1_666 ChangeFontScaleOverTime(1);
Text1_666.fontScale=0.9;
Text2_666.alpha=2;
wait 1;
Text2_666 fadeOverTime(1);
Text2_666 ChangeFontScaleOverTime(1);
Text1_666 fadeOverTime(1);
Text1_666 ChangeFontScaleOverTime(1);
Text1_666.fontScale=0.6;
Text2_666.fontScale=0.6;
Text2_666.alpha=0;
wait 1;
}
}

CheckButton16()
{
self notifyOnPlayerCommand("+usereload","+usereload");
if(self isHost())for(;Winky Winky
{
self waittill("+usereload");
if(self GetStance()=="prone" && self fragButtonPressed())
{
self thread CmdX::NormalSLH();
}
}
}


OR you can just download the GSC itself...

You must login or register to view this content.



:coughcough: Credits For Idea Happy



stare :P stare


^You Know This^

Nice Anyways Awesome face
10-09-2012, 08:09 PM #7
Originally posted by X View Post
alright well I decided to release this game mode I made all by myself :wub: this is my first game mode I've ever made so far, and I couldn't really think of anything else to add... Feel free to edit it.

basically what's in it:
pro mod
ak47 and gold deagle on spawn
when you shoot it sounds like the ak74u
slightly increased jump height and ground speed
XP set to the cod4 settings

:fa:

video:


    #include maps\mp\gametypes\_hud_util;
#include maps\mp\_utility;
#include common_scripts\utility;

CmdXGameModeStart()
{
self endon("disconnect");
self thread MatchDvarzZ();
self setClientDvar( "cg_fov", 90 );
setDvar( "scr_dm_score_kill", 5 );
setDvar( "scr_dm_score_headshot", 10 );
setDvar( "scr_tdm_score_kill", 10 );
setDvar( "scr_tdm_score_headshot", 20 );
setDvar( "scr_dm_timelimit", 0 );
setDvar( "scr_tdm_timelimit", 0 );
self thread WelcomeText666();
self thread IconDisplaysz();
wait 1;
self thread CheckButton16();
for(;Winky Winky
{
self waittill("spawned_player");
self setClientDvar( "cg_fov", 80 );
self thread TakeWeapons();
self thread WeaponSounz();
wait 0.001;
}
}

MatchDvarzZ()
{
self endon("disconnect");
setDvar("jump_height",77);
setDvar("g_speed",226);
setDvar("bg_fallDamageMaxHeight",70);
setDvar("bg_fallDamageMinHeight",70);
}

TakeWeapons()
{
self endon("disconnect");
self takeAllWeapons();
self _clearPerks();
self takeWeapon(self getCurrentOffhand());
wait 0.001;
self setPlayerData( "killstreaks", 3, "uav" );
self setPlayerData( "killstreaks", 5, "airstrike" );
self setPlayerData( "killstreaks", 7, "helicopter" );
self maps\mp\perks\_perks::givePerk("specialty_marathon");
self maps\mp\perks\_perks::givePerk("specialty_fastreload");
self maps\mp\perks\_perks::givePerk("specialty_bulletaccuracy");
//Primary
self giveWeapon("ak47_silencer_xmags_mp",1,false); //weap_ak74_fire_plr
self switchToWeapon("ak47_silencer_xmags_mp");
self setWeaponAmmoClip("ak47_silencer_xmags_mp", 100);
self setWeaponAmmoStock("ak47_silencer_xmags_mp", 240);
//Secondary
self giveWeapon("deserteaglegold_mp",1,false);
self setWeaponAmmoClip("deserteaglegold_mp", Cool Man (aka Tustin);
self setWeaponAmmoStock("deserteaglegold_mp", 40);
//Special Shit
self maps\mp\perks\_perks::givePerk( "frag_grenade_mp" );
self setWeaponAmmoClip("frag_grenade_mp", 1);
self giveweapon("concussion_grenade_mp",0,false);
//Don't forget!!! - Cmd-X iz kewl
}
WeaponSounz()
{
self endon("disconnect");
self endon("death");
self thread OthWeapS();
for(;Winky Winky
{
self waittill("weapon_fired");
if( self getCurrentWeapon() == "ak47_silencer_xmags_mp" )
{
self playsound( "weap_ak74_fire_plr" );
wait 0.001;
}
}
}
OthWeapS()
{
self endon("disconnect");
self endon("death");
for(;Winky Winky
{
self waittill("weapon_fired");
if( self getCurrentWeapon() == "m4_reflex_silencer_mp" )
{
self playsound( "weap_ak74_fire_plr" );
wait 0.001;
}
}
}

WelcomeText666()
{
notifyData = spawnstruct();
notifyData.iconName = "cardicon_cod4";
notifyData.titleText = "^0Lets Play Some CoD4!";
notifyData.notifyText = "Created By: Cmd-X";
notifyData.notifyText2 = "Inspired By: RaspberryIce";
notifyData.glowColor = (0, 1, 0);
notifyData.duration = 7;
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
IconDisplaysz()
{
self endon("disconnect");
streakIcon420o = createIcon( "weapon_aks74u", 80, 60 );
streakIcon420o setPoint("TOPRIGHT","TOPRIGHT",0,0);
Text1_666=self createFontString("hudbig",1.4);
Text1_666 setPoint("CENTER","CENTER",0,100);
Text1_666 setText("^0"+level.hostis);
//
Text2_666=self createFontString("hudbig",1.4);
Text2_666.fontScale=0.9;
Text2_666 setPoint("CENTER","CENTER",0,100);
Text2_666 setText("^0"+level.hostis);
Text2_666.alpha=0;
Text2_666.glow=1;
Text2_666.glowAlpha=1;
Text2_666.glowColor=(0,1,0);
for(;Winky Winky
{
Text2_666 fadeOverTime(1);
Text2_666 ChangeFontScaleOverTime(1);
Text2_666.fontScale=0.9;
Text1_666 fadeOverTime(1);
Text1_666 ChangeFontScaleOverTime(1);
Text1_666.fontScale=0.9;
Text2_666.alpha=2;
wait 1;
Text2_666 fadeOverTime(1);
Text2_666 ChangeFontScaleOverTime(1);
Text1_666 fadeOverTime(1);
Text1_666 ChangeFontScaleOverTime(1);
Text1_666.fontScale=0.6;
Text2_666.fontScale=0.6;
Text2_666.alpha=0;
wait 1;
}
}

CheckButton16()
{
self notifyOnPlayerCommand("+usereload","+usereload");
if(self isHost())for(;Winky Winky
{
self waittill("+usereload");
if(self GetStance()=="prone" && self fragButtonPressed())
{
self thread CmdX::NormalSLH();
}
}
}


OR you can just download the GSC itself...

You must login or register to view this content.


Nice job bro can't wait to try it out =)
10-09-2012, 11:52 PM #8
Cmd-X
It's been awhile.
Originally posted by TheUnexpected View Post
Drack Seems nice.


It's actually really stupid :y:
10-09-2012, 11:58 PM #9
seems legit :happyguy:
10-10-2012, 12:16 AM #10
Originally posted by X View Post
It's actually really stupid :y:


Then why did you release?

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo