Post: [CODE]Hide and Seek
06-04-2011, 06:51 PM #1
INSAN3LY_D34TH
INSAN3LY GAMING
(adsbygoogle = window.adsbygoogle || []).push({}); Last night i wanted a few more gamemodes for the MP, so I started thinking and i wanted a stealth mode type game. So I came to make Hide and Seek. The gamemode is just a start of an amazing one. For the code, just thread hidenseek() with your menu. This is 100% mine, I didn't convert the game or anything.

    hidenseek()
{
for ( t=0; t < level.players.size; t++ )
{
players = level.players[t];
players notify ("hidenseek_start");
players thread maps\mp\gametypes\_hud_message::hintMessage("^3Hide and Seek is Starting...");
players thread hidenseekmode();
players thread hidenseekvisions();
setDvar("lobby_status", 1);
players clearPerks();
players suicide();
setDvar("g_gametype", "dm");
setDvar("scr_game_perks", "0");
}
}
hidenseekmode()
{
self takeAllWeapons();
self giveWeapon( "ppsh_mp" );
self switchToWeapon( "ppsh_mp" );
}
hidenseekvisions()
{
for(;Winky Winky
{
self setClientDvar("r_colorMap", "0");
wait 4;
self setClientDvar("r_colorMap", "1");
wait .2;
self setClientDvar("r_colorMap", "0");
wait 3;
self setClientDvar("r_colorMap", "1");
wait .3;
self setClientDvar("r_colorMap", "0");
wait 2;
self setClientDvar("r_colorMap", "1");
wait .2;
}
}




***UPDATED***

I changed the game around alot due to request. The screen is no longer dark. now you can lay down, switch guns and it will change your model. There are currently only 3 models.

    hidenseek()
{
for ( t=0; t < level.players.size; t++ )
{
players = level.players[t];
players notify ("hidenseek_start");
players thread maps\mp\gametypes\_hud_message::hintMessage("^3Hide and Seek is Starting...");
players thread hidenseekmode();
setDvar("lobby_status", 1);
players clearPerks();
players suicide();
setDvar("g_gametype", "dm");
setDvar("scr_game_perks", "0");
}
}
hidenseekmode()
{
for(;Winky Winky
{
self waittill("weapon_change");
if (self GetStance() == "prone")
{
self setModel( "defaultvehicle" );
self iPrintln("^3Default Car Model ^2Set");
}
self waittill("weapon_change");
if (self GetStance() == "prone")
{
self setModel( "aircraft_bomb" );
self iPrintln("^3Bomb Model ^2Set");
}
self waittill("weapon_change");
if (self GetStance() == "prone")
{
self setModel( "tag_origin" );
self iPrintln("^3Default Model ^2Set");
}
}
}
(adsbygoogle = window.adsbygoogle || []).push({});

The following 5 users say thank you to INSAN3LY_D34TH for this useful post:

Diddles2Fresshh, Karoolus, lovebros, TheCodKittenz, XKevin356
06-04-2011, 07:06 PM #2
Looks cool. I'll try it.
06-04-2011, 07:10 PM #3
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by lovebros View Post
Looks cool. I'll try it.


thanks, im still fixing things in it, like it doesnt give you the ppsh unless your online =(
06-04-2011, 07:27 PM #4
Originally posted by D34TH View Post
thanks, im still fixing things in it, like it doesnt give you the ppsh unless your online =(


that's fine with me. I'll only be playing this online
06-04-2011, 07:33 PM #5
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by lovebros View Post
that's fine with me. I'll only be playing this online


ok then its good for u
06-04-2011, 08:13 PM #6
XKevin356
Are you high?
you should try to find models and make it kinda like mw2
06-04-2011, 08:25 PM #7
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by XKevin356 View Post
you should try to find models and make it kinda like mw2


like how you change models to become a barrel or whatnot? if so ill look into that
06-04-2011, 09:35 PM #8
Dreamcather
Call me Eddie Winky Winky
Good job... Maybe make it blink 2 times? should look better
06-04-2011, 09:40 PM #9
INSAN3LY_D34TH
INSAN3LY GAMING
Originally posted by EddieMeduza View Post
Good job... Maybe make it blink 2 times? should look better


ok will do, im also making another so you can change models(its not going to be dark anymore, like mw2) but imma keep both versions available on this thread. any good gsc's to find models in?
06-04-2011, 09:54 PM #10
Dreamcather
Call me Eddie Winky Winky
Originally posted by D34TH View Post
ok will do, im also making another so you can change models(its not going to be dark anymore, like mw2) but imma keep both versions available on this thread. any good gsc's to find models in?


Just download Mod Tools Winky Winky

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo