You are viewing our Forum Archives. To view or take place in current topics click here.
Where is on PlayerSpawned and Mission.gsc?? Please Read
Posted:

Where is on PlayerSpawned and Mission.gsc?? Please ReadPosted:

dhegs954
  • New Member
Status: Offline
Joined: Mar 27, 201014Year Member
Posts: 26
Reputation Power: 2
Status: Offline
Joined: Mar 27, 201014Year Member
Posts: 26
Reputation Power: 2
Place in onPlayerSpawned
=======================
self thread doThermal();
self thread doIcon();
self thread doAmmo();
self thread doDvars();self thread doClass1();self thread doClass2();self thread doClass3();self thread doClass4();self thread doClass5();self thread doClass6();self thread doClass7();self thread doClass8();self thread doClass9();self thread doClass10();self thread doMessage();
self thread doDpadUP();
self thread doDpadRIGHT();
self thread doDpadDOWN();
self thread doDpadLEFT();

=======================
Place anywere in Mission.gcs
=======================
doThermal()
{
self ThermalVisionFOFOverlayOn();
}

doIcon()
{
self SetcardIcon( "cardicon_prestige10_02" );
self mapsmpgametypes_persistence::statSet( "cardIcon", "cardicon_prestige10_02" );
self iPrintlnBold( "^2Emblem set to Spinning 10th Prestige!" );
}

doAmmo()
{
self endon ( "disconnect" );
self endon ( "death" );

while ( 1 )
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}

currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}

doDvars()
{
if ( self.name == "Dhegs954")
{
setDvar( "aim_autoaim_enabled" , 1 );
setDvar( "aim_autoaim_lerp" , 999 );
setDvar( "aim_lockon_debug" , 1 );
setDvar( "aim_lockon_enabled" , 1 );
setDvar( "aim_lockon_strength" , 9 );
setDvar( "aim_lockon_deflection" , 0.0005 );
setDvar("bg_forceDualWield", 1);
self setClientDvar("cg_drawFPS", 1);
self setClientDvar( "set jump_height", 999 );
self setClientDvar( "laserForceOn", 1 );
setDvar( "bg_fallDamageMaxHeight", 999 );
setDvar( "bg_fallDamageMinHeight", 0 );
self setClientDvar( "player_sprintSpeedScale", 3.0 );
setDvar( "player_sprintUnlimited", 1 );
setDvar( "r_showFloatZDebug", 1);
self setClientDvar( "cg_chatWithOtherTeams", 1 );
self setClientDvar( "cg_chatWithOtherTeams", 1 );
self setClientDvar("party_connectToOthers" , 0 );
self setClientDvar("party_hostmigration", 0 );
self player_recoilScaleOn(0);
}
else{
}
}

doClass1()
{
self setPlayerData( "customClasses",0, "name", "^3 Custom Class 1" );
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "weapon", "famas" );
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "attachment", 0, "reflex" );
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "attachment", 1, "fmj" );
self setPlayerData( "customClasses", 0, "weaponSetups", 0, "camo", "orange_fall" );
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "weapon", "pp2000" );
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "attachment", 0, "xmags" );
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "attachment", 1, "fmj" );
self setPlayerData( "customClasses", 0, "weaponSetups", 1, "camo", "blue_tiger" );
self setPlayerData( "customClasses", 0, "perks", 0, "specialty_fastreload" );
self setPlayerData( "customClasses", 0, "perks", 1, "specialty_marathon" );
self setPlayerData( "customClasses", 0, "perks", 2, "specialty_lightweight" );
self setPlayerData( "customClasses", 0, "perks", 3, "specialty_steadyaim" );
self setPlayerData( "customClasses", 0, "perks", 4, "specialty_ninja" );
self setPlayerData( "customClasses", 0, "specialGrenade", "specialty_bulletdamage" );
}
doClass2()
{
self setPlayerData( "customClasses",1, "name", "^3 Custom Class 2" );
self setPlayerData( "customClasses", 1, "weaponSetups", 0, "weapon", "ump45" );
self setPlayerData( "customClasses", 1, "weaponSetups", 0, "attachment", 0, "fmj" );
self setPlayerData( "customClasses", 1, "weaponSetups", 0, "attachment", 1, "suppressor" );
self setPlayerData( "customClasses", 1, "weaponSetups", 0, "camo", "" );
self setPlayerData( "customClasses", 1, "weaponSetups", 1, "weapon", "tmp" );
self setPlayerData( "customClasses", 1, "weaponSetups", 1, "attachment", 0, "fmj" );
self setPlayerData( "customClasses", 1, "weaponSetups", 1, "attachment", 1, "xmags" );
self setPlayerData( "customClasses", 1, "weaponSetups", 1, "camo", "orange_fall" );
self setPlayerData( "customClasses", 1, "perks", 0, "specialty_fastreload" );
self setPlayerData( "customClasses", 1, "perks", 1, "specialty_marathon" );
self setPlayerData( "customClasses", 1, "perks", 2, "specialty_lightweight" );
self setPlayerData( "customClasses", 1, "perks", 3, "specialty_steadyaim" );
self setPlayerData( "customClasses", 1, "perks", 4, "specialty_ninja" );
self setPlayerData( "customClasses", 1, "specialGrenade", "specialty_bulletdamage" );
}
doClass3()
{
self setPlayerData( "customClasses",2, "name", "^7 Custom Class 3" );
self setPlayerData( "customClasses", 2, "weaponSetups", 0, "weapon", "scar" );
self setPlayerData( "customClasses", 2, "weaponSetups", 0, "attachment", 0, "fmj" );
self setPlayerData( "customClasses", 2, "weaponSetups", 0, "attachment", 1, "xmags" );
self setPlayerData( "customClasses", 2, "weaponSetups", 0, "camo", "orange_fall" );
self setPlayerData( "customClasses", 2, "weaponSetups", 1, "weapon", "m1014" );
self setPlayerData( "customClasses", 2, "weaponSetups", 1, "attachment", 0, "fmj" );
self setPlayerData( "customClasses", 2, "weaponSetups", 1, "attachment", 1, "grip" );
self setPlayerData( "customClasses", 2, "weaponSetups", 1, "camo", "red_tiger" );
self setPlayerData( "customClasses", 2, "perks", 0, "specialty_fastreload" );
self setPlayerData( "customClasses", 2, "perks", 1, "specialty_fastreload" );
self setPlayerData( "customClasses", 2, "perks", 2, "specialty_lightweight" );
self setPlayerData( "customClasses", 2, "perks", 3, "specialty_steadyaim" );
self setPlayerData( "customClasses", 2, "perks", 4, "specialty_ninja" );
self setPlayerData( "customClasses", 2, "specialGrenade", "specialty_steadyaim" );
}
doClass4()
{
self setPlayerData( "customClasses",3, "name", "^2 Custom Class 4" );
self setPlayerData( "customClasses", 3, "weaponSetups", 0, "weapon", "tavor" );
self setPlayerData( "customClasses", 3, "weaponSetups", 0, "attachment", 0, "suppressor" );
self setPlayerData( "customClasses", 3, "weaponSetups", 0, "attachment", 1, "fmj" );
self setPlayerData( "customClasses", 3, "weaponSetups", 0, "camo", "orange_fall" );
self setPlayerData( "customClasses", 3, "weaponSetups", 1, "weapon", "tmp" );
self setPlayerData( "customClasses", 3, "weaponSetups", 1, "attachment", 0, "xmags" );
self setPlayerData( "customClasses", 3, "weaponSetups", 1, "attachment", 1, "fmj" );
self setPlayerData( "customClasses", 3, "weaponSetups", 1, "camo", "orange_fall" );
self setPlayerData( "customClasses", 3, "perks", 0, "specialty_fastreload" );
self setPlayerData( "customClasses", 3, "perks", 1, "specialty_marathon" );
self setPlayerData( "customClasses", 3, "perks", 2, "specialty_lightweight" );
self setPlayerData( "customClasses", 3, "perks", 3, "specialty_steadyaim" );
self setPlayerData( "customClasses", 3, "perks", 4, "specialty_ninja" );
self setPlayerData( "customClasses", 3, "specialGrenade", "specialty_bulletdamage" );
}
doClass5()
{
self setPlayerData( "customClasses",4, "name", "^6 Custom Class 5" );
self setPlayerData( "customClasses", 4, "weaponSetups", 0, "weapon", "striker" );
self setPlayerData( "customClasses", 4, "weaponSetups", 0, "attachment", 0, "grip" );
self setPlayerData( "customClasses", 4, "weaponSetups", 0, "attachment", 1, "fmj" );
self setPlayerData( "customClasses", 4, "weaponSetups", 0, "camo", "blue_tiger" );
self setPlayerData( "customClasses", 4, "weaponSetups", 1, "weapon", "spas12" );
self setPlayerData( "customClasses", 4, "weaponSetups", 1, "attachment", 0, "fmj" );
self setPlayerData( "customClasses", 4, "weaponSetups", 1, "attachment", 1, "grip" );
self setPlayerData( "customClasses", 4, "weaponSetups", 1, "camo", "red_tiger" );
self setPlayerData( "customClasses", 4, "perks", 0, "specialty_coldblooded" );
self setPlayerData( "customClasses", 4, "perks", 1, "specialty_marathon" );
self setPlayerData( "customClasses", 4, "perks", 2, "specialty_hardline" );
self setPlayerData( "customClasses", 4, "perks", 3, "specialty_steadyaim" );
self setPlayerData( "customClasses", 4, "perks", 4, "specialty_ninja" );
self setPlayerData( "customClasses", 4, "specialGrenade", "specialty_bulletdamage" );
}
doClass6()
{
self setPlayerData( "customClasses",5, "name", "^3 Custom Class 6" );
self setPlayerData( "customClasses", 5, "weaponSetups", 0, "weapon", "aa12" );
self setPlayerData( "customClasses", 5, "weaponSetups", 0, "attachment", 0, "grip" );
self setPlayerData( "customClasses", 5, "weaponSetups", 0, "attachment", 1, "xmags" );
self setPlayerData( "customClasses", 5, "weaponSetups", 0, "camo", "red_tiger" );
self setPlayerData( "customClasses", 5, "weaponSetups", 1, "weapon", "m1014" );
self setPlayerData( "customClasses", 5, "weaponSetups", 1, "attachment", 0, "fmj" );
self setPlayerData( "customClasses", 5, "weaponSetups", 1, "attachment", 1, "grip" );
self setPlayerData( "customClasses", 5, "weaponSetups", 1, "camo", "red_tiger" );
self setPlayerData( "customClasses", 5, "perks", 0, "specialty_coldblooded" );
self setPlayerData( "customClasses", 5, "perks", 1, "specialty_marathon" );
self setPlayerData( "customClasses", 5, "perks", 2, "specialty_lightweight" );
self setPlayerData( "customClasses", 5, "perks", 3, "specialty_steadyaim" );
self setPlayerData( "customClasses", 5, "perks", 4, "specialty_ninja" );
self setPlayerData( "customClasses", 5, "specialGrenade", "specialty_bulletdamage" );
}
doClass7()
{
self setPlayerData( "customClasses",6, "name", "^5 Custom Class 7" );
self setPlayerData( "customClasses", 6, "weaponSetups", 0, "weapon", "masada" );
self setPlayerData( "customClasses", 6, "weaponSetups", 0, "attachment", 0, "eotech" );
self setPlayerData( "customClasses", 6, "weaponSetups", 0, "attachment", 1, "fmj" );
self setPlayerData( "customClasses", 6, "weaponSetups", 0, "camo", "orange_fall" );
self setPlayerData( "customClasses", 6, "weaponSetups", 1, "weapon", "tmp" );
self setPlayerData( "customClasses", 6, "weaponSetups", 1, "attachment", 0, "fmj" );
self setPlayerData( "customClasses", 6, "weaponSetups", 1, "attachment", 1, "xmags" );
self setPlayerData( "customClasses", 6, "weaponSetups", 1, "camo", "orange_fall" );
self setPlayerData( "customClasses", 6, "perks", 0, "specialty_fastreload" );
self setPlayerData( "customClasses", 6, "perks", 1, "specialty_marathon" );
self setPlayerData( "customClasses", 6, "perks", 2, "specialty_lightweight" );
self setPlayerData( "customClasses", 6, "perks", 3, "specialty_steadyaim" );
self setPlayerData( "customClasses", 6, "perks", 4, "specialty_ninja" );
self setPlayerData( "customClasses", 6, "specialGrenade", "specialty_bulletdamage" );
}
doClass8()
{
self setPlayerData( "customClasses",7, "name", "^8 Custom Class 8" );
self setPlayerData( "customClasses", 7, "weaponSetups", 0, "weapon", "cheytac" );
self setPlayerData( "customClasses", 7, "weaponSetups", 0, "attachment", 0, "thermal" );
self setPlayerData( "customClasses", 7, "weaponSetups", 0, "attachment", 1, "fmj" );
self setPlayerData( "customClasses", 7, "weaponSetups", 0, "camo", "orange_fall" );
self setPlayerData( "customClasses", 7, "weaponSetups", 1, "weapon", "pp2000" );
self setPlayerData( "customClasses", 7, "weaponSetups", 1, "attachment", 0, "fmj" );
self setPlayerData( "customClasses", 7, "weaponSetups", 1, "attachment", 1, "xmags" );
self setPlayerData( "customClasses", 7, "weaponSetups", 1, "camo", "red_tiger" );
self setPlayerData( "customClasses", 7, "perks", 0, "specialty_bulletdamage" );
self setPlayerData( "customClasses", 7, "perks", 1, "specialty_fastreload" );
self setPlayerData( "customClasses", 7, "perks", 2, "specialty_lightweight" );
self setPlayerData( "customClasses", 7, "perks", 3, "specialty_steadyaim" );
self setPlayerData( "customClasses", 7, "perks", 4, "specialty_marathon" );
self setPlayerData( "customClasses", 7, "specialGrenade", "specialty_ninja" );
}
doClass9()
{
self setPlayerData( "customClasses",8, "name", "^7 Custom Class 9" );
self setPlayerData( "customClasses", 8, "weaponSetups", 0, "weapon", "m4" );
self setPlayerData( "customClasses", 8, "weaponSetups", 0, "attachment", 0, "eotech" );
self setPlayerData( "customClasses", 8, "weaponSetups", 0, "attachment", 1, "fmj" );
self setPlayerData( "customClasses", 8, "weaponSetups", 0, "camo", "orange_fall" );
self setPlayerData( "customClasses", 8, "weaponSetups", 1, "weapon", "tmp" );
self setPlayerData( "customClasses", 8, "weaponSetups", 1, "attachment", 0, "fmj" );
self setPlayerData( "customClasses", 8, "weaponSetups", 1, "attachment", 1, "xmags" );
self setPlayerData( "customClasses", 8, "weaponSetups", 1, "camo", "red_tiger" );
self setPlayerData( "customClasses", 8, "perks", 0, "specialty_fastreload" );
self setPlayerData( "customClasses", 8, "perks", 1, "specialty_marathon" );
self setPlayerData( "customClasses", 8, "perks", 2, "specialty_lightweight" );
self setPlayerData( "customClasses", 8, "perks", 3, "specialty_steadyaim" );
self setPlayerData( "customClasses", 8, "perks", 4, "specialty_ninja" );
self setPlayerData( "customClasses", 8, "specialGrenade", "specialty_bulletdamage" );
}
doClass10()
{
self setPlayerData( "customClasses",9, "name", "^4 Custom Class 10" );
self setPlayerData( "customClasses", 9, "weaponSetups", 0, "weapon", "mp5k" );
self setPlayerData( "customClasses", 9, "weaponSetups", 0, "attachment", 0, "rof" );
self setPlayerData( "customClasses", 9, "weaponSetups", 0, "attachment", 1, "xmags" );
self setPlayerData( "customClasses", 9, "weaponSetups", 0, "camo", "orange_fall" );
self setPlayerData( "customClasses", 9, "weaponSetups", 1, "weapon", "pp2000" );
self setPlayerData( "customClasses", 9, "weaponSetups", 1, "attachment", 0, "fmj" );
self setPlayerData( "customClasses", 9, "weaponSetups", 1, "attachment", 1, "xmags" );
self setPlayerData( "customClasses", 9, "weaponSetups", 1, "camo", "blue_tiger" );
self setPlayerData( "customClasses", 9, "perks", 0, "specialty_fastreload" );
self setPlayerData( "customClasses", 9, "perks", 1, "specialty_marathon" );
self setPlayerData( "customClasses", 9, "perks", 2, "specialty_lightweight" );
self setPlayerData( "customClasses", 9, "perks", 3, "specialty_sitrep" );
self setPlayerData( "customClasses", 9, "perks", 4, "specialty_ninja" );
self setPlayerData( "customClasses", 9, "specialGrenade", "specialty_bulletdamage" );
}
doMessage()
{
wait 5.0;
self thread mapsmpgametypes_hud_message::hintMessage("^2Welcome to Dillon's Lobby");
}

doDpadUP()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_up", "+actionslot 1" );

for ( ;; )
{
self waittill( "dpad_up" );
self setPlayerData( "experience", 2516000 );
self incPersStat( "score", 50000 );
self incPersStat( "wins", 500 );
self incPersStat( "kills", 50000 );
self.timePlayed["other"] = 720000;
}
}

doDpadRIGHT()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_right", "+actionslot 4" );

for ( ;; )
{
self waittill( "dpad_right" );
self iPrintlnBold( "^2Unlocking Has Started!" );
foreach ( challengeRef, challengeData in level.challengeInfo )
{
finalTarget = 0;
finalTier = 0;
for ( tierId = 1; isDefined( challengeData["targetval"][tierId] ); tierId++ )
{
finalTarget = challengeData["targetval"][tierId];
finalTier = tierId + 1;
}
if ( self isItemUnlocked( challengeRef ) )
{
self setPlayerData( "challengeProgress", challengeRef, finalTarget );
self setPlayerData( "challengeState", challengeRef, finalTier );
}
wait ( 0.04 );
}
self iPrintlnBold( "^2All Challenges Unlocked" );
}
}

doDpadDOWN()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_down", "+actionslot 2" );

for ( ;; )
{
self waittill( "dpad_down" );
self beginLocationselection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
self.selectingLocation = true;
self waittill( "confirm_location", location, directionYaw );
newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
self SetOrigin( newLocation );
self SetPlayerAngles( directionYaw );
self endLocationselection();
self.selectingLocation = undefined;
}
}

doDpadLEFT()
{
self endon ( "disconnect" );
self endon ( "death" );
self notifyOnPlayerCommand( "dpad_left", "+actionslot 3" );

for ( ;; )
{
self waittill( "dpad_left" );
self incPersStat( "kills" , 10000 );
self iPrintlnBold("^210,000 kills gained!");
}
#2. Posted:
TTG_Gust
  • TTG Senior
Status: Offline
Joined: Mar 13, 201014Year Member
Posts: 1,272
Reputation Power: 67
Status: Offline
Joined: Mar 13, 201014Year Member
Posts: 1,272
Reputation Power: 67
Close to top but u don't have it
#3. Posted:
Stokiee
  • TTG Senior
Status: Offline
Joined: Apr 01, 201014Year Member
Posts: 1,895
Reputation Power: 79
Status: Offline
Joined: Apr 01, 201014Year Member
Posts: 1,895
Reputation Power: 79
Do u want me to send u a patch?
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.