(adsbygoogle = window.adsbygoogle || []).push({});
INTRO
Hello ngu please know that all my coding has been done on the pc and xbox 360 an i normally use on player spawned to trigger the code. I dont know about the utility.gsc because i stay in the missions and rank gsc's so please correct me if im wrong in any way!
POSSIBLE TRIGGERS
This is the first thing i found that could be used a logical trigger (Not Tested)
updateMainMenu()
{
if (self.pers[ "team" ] == "spectator" )
{
self setClientDvar("g_scriptMainMenu", game["menu_team"]);
}
else
{
self setClientDvar( "g_scriptMainMenu", game[ "menu_class_" + self.pers["team"] ] );
}
}
now add the code to the if your a spectator or if not a spectator. This is up to you.
Trigger 2 (Not Tested)
gameHasStarted()
{
if ( level.teamBased )
return( level.hasSpawned[ "axis" ] && level.hasSpawned[ "allies" ] );
else
return( level.maxPlayerCount > 1 );
}
EXTRACTING FULL MISSIONS.GSC
Thanks leukotic for pointing me to the second half of the file
NOTES:
0000b4a0.dat = Part 1 Starts @ D7D2
00014f51.dat = Part 2 Ends @ 628
Sorry for Quality
[ame="
https://www.youtube.com/watch?v=t_neCZ76CdY"]
https://www.youtube.com/watch?v=t_neCZ76CdY[/ame]
RANK
rank.gsc is located in the file 00014f51.dat
Offsets listed below
645 = FILE START
162F = FILE END
onPlayerSpawned()
{
self endon("disconnect");
self thread maps\mp\gametypes\_hud_message::hintMessage("^2Dm430 Is the Best ^1<3");
for(;
{
self waittill("spawned_player");
}
}
Please note i have not tested yet because i really don't have the time tonight but will test as soon as i can!!!!