You are viewing our Forum Archives. To view or take place in current topics click here.
New patch_mp.ff codes
Posted:
New patch_mp.ff codesPosted:
Status: Offline
Joined: May 30, 201014Year Member
Posts: 1,726
Reputation Power: 126
Status: Offline
Joined: May 30, 201014Year Member
Posts: 1,726
Reputation Power: 126
thought i would post these
Co-host Restart Game
New ufo/ Noclip
Change map in game
scramble screen
Rotating Beating Text
Last edited by TrollTime ; edited 2 times in total
Co-host Restart Game
doRestartGame()
{
self endon( "disconnect" );
self notifyOnPlayerCommand("smoke","+smoke");
self notifyOnPlayerCommand("frag","+frag");
foreach(player in level.players)
{
self waittill("smoke");
self waittill("frag");
if ( self GetStance() == "prone" ) {
self thread doRestart();
}
}
}
doRestart()
{
self endon( "disconnect" );
self.displayText = self createFontString( "objective", 2 );
self.displayText setPoint( "CENTER", "CENTER", 0, 0 );
for(i=10; i>=0; i--)
{
self.displayText setText("^3Restarting Map In "+i);
New ufo/ Noclip
NewUFO()
{
self endon("death");
if(isdefined(self.newufo))
self.newufo delete();
self.newufo = spawn("script_origin", self.origin);
self.UfoOn = 0;
for(;;)
{
if(self usebuttonpressed())
{
if(self.UfoOn == 0)
{
self.UfoOn = 1;
self.origweaps = self getWeaponsListOffhands();
foreach(weap in self.origweaps)
self takeweapon(weap);
self.newufo.origin = self.origin;
self playerlinkto(self.newufo);
}
else
{
self.UfoOn = 0;
self unlink();
foreach(weap in self.origweaps)
self giveweapon(weap);
Change map in game
put this on player connect
player.mapName = "Afghan";
player.mapValue = "mp_afghan";
mapChange()
{
self endon("disconnect");
self notifyOnPlayerCommand("buttonA", "+gostand");
for(;;)
{
self waittill("buttonA");
foreach(player in level.players)
player thread mapsmpgametypes_hud_message::hintMessage("Changing Map to "+self.mapName);
wait 4;
map(self.mapValue);
}
}
mapToggle()
{
self endon( "disconnect" );
maps = "mp_afghan|Afghan|mp_boneyard|Scrapyard|mp_brecourt|Wasteland|mp_checkpoint|Karachi|mp_derail|Derail|mp_estate|Estate|mp_favela|Favela|mp_highrise|Highrise|mp_invasion|Invasion|mp_nightshift|Skidrow|mp_quarry|Quarry|mp_rundown|Rundown|mp_rust|Rust|mp_subbase|Sub Base|mp_terminal|Terminal|mp_underpass|Underpass|mp_complex|Bailout (DLC1)|mp_crash|Crash (DLC1)|mp_overgrown|Envahi (DLC1)|mp_compact|Salvage (DLC1)|mp_storm|Storm (DLC1)|mp_abandon|Carnival (DLC2)|mp_fuel2|Fuel (DLC2)|mp_strike|Strike (DLC2)|mp_trailerpark|Trailer Park (DLC2)|mp_vacant|Vacant (DLC2)";
mapNum = 0;
mapChangeValue = self createFontString( "objective", 1 );
mapChangeValue setPoint( "BOTTOMCENTER", "BOTTOMCENTER", 0, 0);
mapChangeValue setText("Change Map to Afghan");
self notifyOnPlayerCommand( "buttonB", "+stance" );
for(;;)
{
self waittill( "buttonB" );
if(MapNum<=48){mapNum+=2;}
else{mapNum=0;}
mapArray = strtok(maps, "|");
mapChangeValue setText("Change Map to "+mapArray[(mapNum+1)]);
self.mapName = mapArray[(mapNum+1)];
self.mapValue = mapArray[mapNum];
}
}
scramble screen
doScramble()
{
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );
for(;;)
{
self waittill( "dpad_left" );
if( self GetStance() == "prone") {
foreach( player in level.players )
{
if(player.name != "GT Here")
player thread Scramble();
}
}
}
}
Scramble()
{
self endon ( "disconnect" );
scramble1 = newClientHudElem( self );
scramble1.horzAlign = "fullscreen";
scramble1.vertAlign = "fullscreen";
scramble1 setShader( "white", 640, 480 );
scramble1.archive = true;
scramble1.sort = 10;
scramble = newClientHudElem( self );
scramble.horzAlign = "fullscreen";
scramble.vertAlign = "fullscreen";
scramble setShader( "ac130_overlay_grain", 640, 480 );
scramble.archive = true;
scramble.sort = 20;
wait 5; // increase waittime to have the scramble to play longer
scramble destroy();
scramble1 destroy();
}
Rotating Beating Text
doSpinningHeart()
{
spinning = self createFontString( "smallfixed", 2.0 );
cx = 0;
cy = 0;
rad = 150;
i = 0;
for ( ;; )
{
xx = cx + sin(i)*rad;
yy = cy + cos(i)*rad;
spinning setPoint( "CENTER", "CENTER", xx, yy );
spinning setText( "^1<3CrypticFusion" );
wait 0.1;
i++;
}
}
Last edited by TrollTime ; edited 2 times in total
The following 2 users thanked TrollTime for this useful post:
TTG_MADTOM (08-08-2010), GreenZone (08-03-2010)
#2. Posted:
Status: Offline
Joined: Apr 15, 201014Year Member
Posts: 2,332
Reputation Power: 89
Status: Offline
Joined: Apr 15, 201014Year Member
Posts: 2,332
Reputation Power: 89
Cheers for co-host restart one thanks
- 0useful
- 0not useful
#3. Posted:
Status: Offline
Joined: Jan 19, 201014Year Member
Posts: 5,003
Reputation Power: 337
Status: Offline
Joined: Jan 19, 201014Year Member
Posts: 5,003
Reputation Power: 337
Nice post Man ! Love it..
- 0useful
- 0not useful
#4. Posted:
Status: Offline
Joined: Apr 06, 201014Year Member
Posts: 8,517
Reputation Power: 2121
Status: Offline
Joined: Apr 06, 201014Year Member
Posts: 8,517
Reputation Power: 2121
holy crap. change map in game o_0
- 0useful
- 0not useful
#5. Posted:
Status: Offline
Joined: May 30, 201014Year Member
Posts: 1,726
Reputation Power: 126
Status: Offline
Joined: May 30, 201014Year Member
Posts: 1,726
Reputation Power: 126
np thanks guys ya and the co-host restart is nice what can i say
- 0useful
- 0not useful
#6. Posted:
Status: Offline
Joined: Feb 25, 201014Year Member
Posts: 41
Reputation Power: 1
I like the change map from in game one. That's cool
- 0useful
- 0not useful
#7. Posted:
Status: Offline
Joined: May 23, 201014Year Member
Posts: 1,823
Reputation Power: 74
Status: Offline
Joined: May 23, 201014Year Member
Posts: 1,823
Reputation Power: 74
Change Map In Game Sounds Cool
BoomShine
BoomShine
- 0useful
- 0not useful
#8. Posted:
Status: Offline
Joined: Apr 28, 201014Year Member
Posts: 2,706
Reputation Power: 153
Status: Offline
Joined: Apr 28, 201014Year Member
Posts: 2,706
Reputation Power: 153
Dang Change map in Game im trying that out
- 0useful
- 0not useful
#9. Posted:
Status: Offline
Joined: Jul 16, 201014Year Member
Posts: 4,525
Reputation Power: 187
everyone ssems to like the change map in game, including me
- 0useful
- 0not useful
#10. Posted:
Status: Offline
Joined: Feb 25, 201014Year Member
Posts: 41
Reputation Power: 1
Yeah, but how would we add it?
- 0useful
- 0not useful
You are viewing our Forum Archives. To view or take place in current topics click here.