You are viewing our Forum Archives. To view or take place in current topics click here.
[RELEASE] Hide n' Seek Modded Gametype
Posted:
[RELEASE] Hide n' Seek Modded GametypePosted:
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
all credit goes to drunksmods(.)com
This is the script for a modded gametype thats called Hide n' Seek.
In the game 1 person spawns and the rest of the people hide. The seeker gets 5 minutes to find everyone and everyone else gets 1 minute to hide in the begining.
Enjoy!
This is the script for a modded gametype thats called Hide n' Seek.
In the game 1 person spawns and the rest of the people hide. The seeker gets 5 minutes to find everyone and everyone else gets 1 minute to hide in the begining.
Enjoy!
OnPlayerSpawned:
self thread teams();
self thread determine();
timer1( time )
{
self waittill( "starthide" );
Timer = NewHudElem();
Timer.elemType = "timer";
Timer.alignX = "right";
Timer.alignY = "top";
Timer.horzAlign = "right";
Timer.vertAlign = "top";
Timer.y = 20;
Timer.x = -27;
Timer.foreground = true;
Timer.hideWhenInMenu = false;
Timer.fontScale = 1.3;
Timer.font = "default";
Timer.alpha = 1;
Timer.color = ( 100, 250, 30 );
Timer.glowColor = ( 0, 1, 1 );
Timer.glowAlpha = 25;
Timer SetTimer( time );
clockObject = spawn( "script_origin", ( 0, 0, 0 ) );
clockObject hide();
for( i = 0; i < time + 1; i++ )
{
clockObject playSound( "mpl_sab_ui_suitcasebomb_timer" );
wait 1;
}
Timer destroy();
self notify( "switch" );
}
timer2( time )
{
self waittill( "switch" );
wait .05;
Timer = NewHudElem();
Timer.elemType = "timer";
Timer.alignX = "right";
Timer.alignY = "top";
Timer.horzAlign = "right";
Timer.vertAlign = "top";
Timer.y = 20;
Timer.x = -27;
Timer.foreground = true;
Timer.hideWhenInMenu = false;
Timer.fontScale = 1.3;
Timer.font = "default";
Timer.alpha = 1;
Timer.color = ( 100, 250, 30 );
Timer.glowColor = ( 0, 1, 1 );
Timer.glowAlpha = 25;
Timer SetTimer( time );
clockObject = spawn( "script_origin", ( 0, 0, 0 ) );
clockObject hide();
for( i = 0; i < time + 1; i++ )
{
clockObject playSound( "mpl_sab_ui_suitcasebomb_timer" );
wait 1;
}
Timer destroy();
self notify( "switch" );
}
teams()
{
//Needs to be added
}
determine()
{
self endon("disconnect");
if(self.team == axis)
self.HDS = 0;
if(self.team == ally)
self.HDS = 1;
self endon("disconnect");
self endon("death");
self thread timer1( 60 );
self thread timer2( 300 );
if (HDS == 0)
{
self freeze_player_controls ( true );
self notify ("starthide");
self iPrintInBold("^2Hiders ^5Are ^2Hiding!");
self takeAllWeapons;
self waittill("switch")
self.HDS = 2;
}
if (HDS == 1)
{
self freeze_player_controls ( false );
self iPrintInBold("^5Run ^2And ^5Hide!");
self takeAllWeapons;
self waittill("switch")
self.HDS = 3;
}
if (HDS == 2)
{
self freeze_player_controls ( false );
self iPrintInBold("^5Find ^2The ^5Hiding!");
self takeAllWeapons;
self giveWeapon ("knife_ballistic_mp");
self waittill("endround")
self.health = 0;
}
if (HDS == 3)
{
self freeze_player_controls ( true );
self takeAllWeapons;
self iPrintInBold("^2Hope ^5Your ^2Not ^5Found!");
}
}
self thread teams();
self thread determine();
timer1( time )
{
self waittill( "starthide" );
Timer = NewHudElem();
Timer.elemType = "timer";
Timer.alignX = "right";
Timer.alignY = "top";
Timer.horzAlign = "right";
Timer.vertAlign = "top";
Timer.y = 20;
Timer.x = -27;
Timer.foreground = true;
Timer.hideWhenInMenu = false;
Timer.fontScale = 1.3;
Timer.font = "default";
Timer.alpha = 1;
Timer.color = ( 100, 250, 30 );
Timer.glowColor = ( 0, 1, 1 );
Timer.glowAlpha = 25;
Timer SetTimer( time );
clockObject = spawn( "script_origin", ( 0, 0, 0 ) );
clockObject hide();
for( i = 0; i < time + 1; i++ )
{
clockObject playSound( "mpl_sab_ui_suitcasebomb_timer" );
wait 1;
}
Timer destroy();
self notify( "switch" );
}
timer2( time )
{
self waittill( "switch" );
wait .05;
Timer = NewHudElem();
Timer.elemType = "timer";
Timer.alignX = "right";
Timer.alignY = "top";
Timer.horzAlign = "right";
Timer.vertAlign = "top";
Timer.y = 20;
Timer.x = -27;
Timer.foreground = true;
Timer.hideWhenInMenu = false;
Timer.fontScale = 1.3;
Timer.font = "default";
Timer.alpha = 1;
Timer.color = ( 100, 250, 30 );
Timer.glowColor = ( 0, 1, 1 );
Timer.glowAlpha = 25;
Timer SetTimer( time );
clockObject = spawn( "script_origin", ( 0, 0, 0 ) );
clockObject hide();
for( i = 0; i < time + 1; i++ )
{
clockObject playSound( "mpl_sab_ui_suitcasebomb_timer" );
wait 1;
}
Timer destroy();
self notify( "switch" );
}
teams()
{
//Needs to be added
}
determine()
{
self endon("disconnect");
if(self.team == axis)
self.HDS = 0;
if(self.team == ally)
self.HDS = 1;
self endon("disconnect");
self endon("death");
self thread timer1( 60 );
self thread timer2( 300 );
if (HDS == 0)
{
self freeze_player_controls ( true );
self notify ("starthide");
self iPrintInBold("^2Hiders ^5Are ^2Hiding!");
self takeAllWeapons;
self waittill("switch")
self.HDS = 2;
}
if (HDS == 1)
{
self freeze_player_controls ( false );
self iPrintInBold("^5Run ^2And ^5Hide!");
self takeAllWeapons;
self waittill("switch")
self.HDS = 3;
}
if (HDS == 2)
{
self freeze_player_controls ( false );
self iPrintInBold("^5Find ^2The ^5Hiding!");
self takeAllWeapons;
self giveWeapon ("knife_ballistic_mp");
self waittill("endround")
self.health = 0;
}
if (HDS == 3)
{
self freeze_player_controls ( true );
self takeAllWeapons;
self iPrintInBold("^2Hope ^5Your ^2Not ^5Found!");
}
}
#2. Posted:
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
any replies to this release?
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Nov 28, 201014Year Member
Posts: 1,699
Reputation Power: 66
Status: Offline
Joined: Nov 28, 201014Year Member
Posts: 1,699
Reputation Power: 66
what game console is it for?
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
TTGNiTroCiTy wrote what game console is it for?
lol for xbox buddy.........
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: Dec 08, 201014Year Member
Posts: 1,075
Reputation Power: 78
Status: Offline
Joined: Dec 08, 201014Year Member
Posts: 1,075
Reputation Power: 78
Looks good. Good work.
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Oct 12, 200915Year Member
Posts: 9,687
Reputation Power: 451
Status: Offline
Joined: Oct 12, 200915Year Member
Posts: 9,687
Reputation Power: 451
wow this looks awesome i may try it out later!
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
TTGxM40SNIPES wrote wow this looks awesome i may try it out later!
it's pretty sick
- 0useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
WahSheaMods wrote Looks good. Good work.
thanks bro!!! ........
- 0useful
- 0not useful
#9. Posted:
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
Status: Offline
Joined: Jan 24, 201113Year Member
Posts: 56
Reputation Power: 2
bumpbumpbumpbumpbumpbumpbumpbumpbump
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Feb 03, 201113Year Member
Posts: 6
Reputation Power: 0
Status: Offline
Joined: Feb 03, 201113Year Member
Posts: 6
Reputation Power: 0
not being stupid or owt but how do i put this on so ican play it?
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.