Originally Posted by
barrycarey
Good fun man, I just played for a half hour or so and had a great time. I really like being able to buy perks. The only suggestion I have atm is adding a little more time when it comes time to buy perks
You can buy them during the game aswell, even when you're dead. You just have to not spectate anyone or watch killcam(bo on free spectator). As I said i didnt test it because i couldn't, so I didnt check if 10 seconds is enough.
You can modify that in the _gamelogic.gsc. Find endgame() and in 3/4 of that funct you should find that:
Code:
if(!level.forcedEnd&&level.store)
{
foreach ( player in level.players )
{
player notify("reset_outcome");
player.StoreItems = 5;
player.StorePos = 1;
player.StoreScroll = 0;
}
Message = NewHudElem();
Message.font = "hudbig";
Message.fontScale = 1;
Message.alignX = "center";
Message.alignY = "top";
Message.horzAlign = "center";
Message.vertAlign = "top";
Message.color = ( 1.0, 1.0, 1.0 );
Message.alpha = 1;
Message setText("Shop time (Press ^3[{+actionslot 3}]^7 to open store)");
timer = createServerTimer( "hudbig", 1 );
timer.alignX = "center";
timer.alignY = "bottom";
timer.horzAlign = "center";
timer.vertAlign = "bottom";
timer.color = ( 1.0, 1.0, 1.0 );
timer.alpha = 1;
timer setTimer(10);
wait 7;
Message fadeOverTime( 3 );
Message.alpha = 0;
timer.color = ( 1.0, 0.1, 0.1 );
wait 3;
Message destroy();
timer destroy();
}
Things to change i marked on red. In this case 10 is the time of total waiting, but you also have to change that wait to your time minus three. For example if you want to set it on 20 seconds you have to change it like this:
Code:
setTimer(20);
wait 17;