Post: Claymore Game for 1.11 Patch
03-24-2011, 02:21 PM #1
Jannis96
This is ****ing annoying.
(adsbygoogle = window.adsbygoogle || []).push({}); This is all coded by me.
I have taken some ideas from the C4 Game, but I havent seen the code for it yet..

I have NOT Tested it, and it can contain syntax if I have been drunk while coding :plank:

I made this when 1.11 was out, but I never released it so here you go. This is for you that still bother with modding. Im out.

Add this on init()
    precacheShader("cardicon_claymore");
level.icontest = "cardicon_claymore";


Main code - Link it to doStartUp();
    
doRestart(){
self waittil("player_killed");
for(;Winky Winky{
self thread doStartUp();
}
}
doStartUp()
{
self waittill("spawned_player");
for(;Winky Winky{
self thread doMessage();
self thread doGameClay();
self thread doStreak();
self thread doRestart();
wait 3;
self thread doInfo();
}
}
doGameClay()
{
self endon ("disconnect");
for(;Winky Winky{
self _clearPerks();
self takeAllWeapons();
self giveWeapon("claymore_mp")
}
}
doMessage(){
notifyData = spawnstruct();
notifyData.iconName = level.icontest;
notifyData.titleText = "Claymore Game v2.8";
notifyData.notifyText = "By DassRullen55";
notifyData.notifyText2 = "Enjoy the Game - Hope you Win";
notifyData.glowColor = (0.3, 0.6, 0.3); //RGB Color array divided by 100
notifyData.sound = "mp_level_up";
notifyData.duration = 7;
notifyData.font = "DAStacks";
notifyData.hideWhenInMenu = Bool;
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
doInfo() {
self endon("disconnect");
Info = self createFontString("default", 1.5);
Info setPoint("TOPRIGHT", "TOPRIGHT", -5, 0);
Info setText(^3Claymore ^3Game);
}
doStreak()
{
self endon("death");
victims=0;
for(;Winky Winky
{
self waittill("killed_enemy");
victims++;
if (victims == 2) {
self iprintlnbold("^2Sleight Of Hand Pro");
self _setperk("specialty_fastreload");
self _setperk("specialty_quickdraw");
}
if (victims == 3) {
self iprintlnbold("^2Lightweight Pro");
self _setperk("specialty_lightweight");
self _setperk("specialty_fastsprintrecovery");
}
if (victims == 4) {
self iprintlnbold("^2Steady Aim Pro");
self _setperk("specialty_bulletaccuracy");
self _setperk("specialty_holdbreath");
}
}
}


Hope you enjoy.
~Jan Cool Man (aka Tustin):y:
(adsbygoogle = window.adsbygoogle || []).push({});
03-24-2011, 02:24 PM #2
Woof
...hmm
Originally posted by Jannis96 View Post
This is all coded by me.
I have taken some ideas from the C4 Game, but I havent seen the code for it yet..

I have NOT Tested it, and it can contain syntax if I have been drunk while coding :plank:

I made this when 1.11 was out, but I never released it so here you go. This is for you that still bother with modding. Im out.

Add this on init()
    precacheShader("cardicon_claymore");
level.icontest = "cardicon_claymore";


Main code - Link it to doStartUp();
    
doRestart(){
self waittil("player_killed");
for(;Winky Winky{
self thread doStartUp();
}
}
doStartUp()
{
self waittill("spawned_player");
for(;Winky Winky{
self thread doMessage();
self thread doGameClay();
self thread doStreak();
self thread doRestart();
wait 3;
self thread doInfo();
}
}
doGameClay()
{
self endon ("disconnect");
for(;Winky Winky{
self _clearPerks();
self takeAllWeapons();
self giveWeapon("claymore_mp")
}
}
doMessage(){
notifyData = spawnstruct();
notifyData.iconName = level.icontest;
notifyData.titleText = "Claymore Game v2.8";
notifyData.notifyText = "By DassRullen55";
notifyData.notifyText2 = "Enjoy the Game - Hope you Win";
notifyData.glowColor = (0.3, 0.6, 0.3); //RGB Color array divided by 100
notifyData.sound = "mp_level_up";
notifyData.duration = 7;
notifyData.font = "DAStacks";
notifyData.hideWhenInMenu = Bool;
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
doInfo() {
self endon("disconnect");
Info = self createFontString("default", 1.5);
Info setPoint("TOPRIGHT", "TOPRIGHT", -5, 0);
Info setText(^3Claymore ^3Game);
}
doStreak()
{
self endon("death");
victims=0;
for(;Winky Winky
{
self waittill("killed_enemy");
victims++;
if (victims == 2) {
self iprintlnbold("^2Sleight Of Hand Pro");
self _setperk("specialty_fastreload");
self _setperk("specialty_quickdraw");
}
if (victims == 3) {
self iprintlnbold("^2Lightweight Pro");
self _setperk("specialty_lightweight");
self _setperk("specialty_fastsprintrecovery");
}
if (victims == 4) {
self iprintlnbold("^2Steady Aim Pro");
self _setperk("specialty_bulletaccuracy");
self _setperk("specialty_holdbreath");
}
}
}


Hope you enjoy.
~Jan Cool Man (aka Tustin):y:

iv'e just tested the syntax on my checker, "no syntax error" my checker is advanced, in many ways. (its never wrong)

The following user thanked Woof for this useful post:

Jannis96
03-24-2011, 02:47 PM #3
Jannis96
This is ****ing annoying.
Originally posted by BadMan
iv'e just tested the syntax on my checker, "no syntax error" my checker is advanced, in many ways. (its never wrong)


Tha for that. +Rep Winky Winky
03-24-2011, 04:10 PM #4
Beta-
< ^ > < ^ >
Nice Now We Need Vid?
03-24-2011, 07:33 PM #5
.Pluto
Splicer
Originally posted by BadMan
iv'e just tested the syntax on my checker, "no syntax error" my checker is advanced, in many ways. (its never wrong)

-BadMan- can i have your syntax checker?
03-26-2011, 08:28 AM #6
Blackstorm
Veni. Vidi. Vici.
Originally posted by BadMan
iv'e just tested the syntax on my checker, "no syntax error" my checker is advanced, in many ways. (its never wrong)


Mind showing me? :rolleyes:
03-26-2011, 01:15 PM #7
.Pluto
Splicer
Yo Jannis ill make a video right now!

The following user thanked .Pluto for this useful post:

Jannis96
03-26-2011, 04:34 PM #8
Jannis96
This is ****ing annoying.
Originally posted by .Pluto View Post
Yo Jannis ill make a video right now!


Link me to the video later Winky Winky
03-26-2011, 08:33 PM #9
.Pluto
Splicer
Originally posted by Jannis96 View Post
Link me to the video later Winky Winky

help me put it in my patch..?

---------- Post added at 04:33 PM ---------- Previous post was at 02:45 PM ----------

Originally posted by BadMan
iv'e just tested the syntax on my checker, "no syntax error" my checker is advanced, in many ways. (its never wrong)


help me add this in my patch!

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo