AZUMIKKEL (08-08-2010)
This will disable the message(s) and the timer from the beginning in all gametypes. ( not tested if it works in all gametypes )
This might be useless or whatever you guys think. Or start flaming... *please dont*
But in case you EVER need it, you can find it here.
*just trying to help, hehe.*
Note: if this is useless, will a mod delete my thread please? :]
Enable/disable the movement:
This will enable or disable the movement of the player, depends on what you want.
- Open the file "_playerlogic.gsc"
- Search for the threadname:
Code:spawnPlayer()- Then scroll or search for this piece of code:
Code:if ( !gameFlag( "prematch_done" ) ) self freezeControlsWrapper( true ); else self freezeControlsWrapper( false );- Change the red marked to false to enable the movement, change it to true to disable the movement.
Remove the message:
To remove the message ''the match begins in do the following.
- Open the file "_gamelogic.gsc"
- Search for the threadname:
Code:prematchPeriod()- Then scroll or search for this piece of code:
Code:if ( level.prematchPeriod > 0 ) { if ( level.console ) { thread matchStartTimer( "match_starting_in", level.prematchPeriod); wait ( level.prematchPeriod ); } else { matchStartTimerPC(); } } else { matchStartTimerSkip(); }- Just change it to this:
Code:if ( level.prematchPeriod > 0 ) { if ( level.console ) { matchStartTimerSkip(); //thread matchStartTimer( "match_starting_in", level.prematchPeriod ); //wait ( level.prematchPeriod ); } else { matchStartTimerSkip(); //matchStartTimerPC(); } } else { matchStartTimerSkip(); }
Note: This will also disable ''eliminate the enemy players.''
And tada you're timer + message is gone!
Have fun...
AZUMIKKEL (08-08-2010)
Thx dude.
No problem, have fun!
I've replaced it with the ''Selecting Zombie In: '' the exact same way as the ''Match begins in''
Thanks 4 da info ;D
Thanks .
[center]
Back in '10
Got a question?PM/VM me!
I read them all.
Also contact me via MSN.
vlad@mpgh.net
thanks buddy !
it wolld be more fun if u would defreeze the host only and make the timer longer so everybody is like wtf just happend? cause everyone's control's are frozen and u can walk
awesome find mate, cheers
Wouldn't putting this in onPlayerSpawned do the same?Code:self freezeControlsWrapper( true ); matchStartTimerSkip();
if(self isHost())
freezeControlsWrapper( false );
else
freezeControlsWrapper( true );