mirror of
https://github.com/s1lentq/ReGameDLL_CS.git
synced 2025-01-13 23:28:04 +03:00
Revert initialize game.cfg into GameDLLInit, now use game_init.cfg instead this.
This commit is contained in:
parent
70d2f4855b
commit
3f5448da59
8
dist/game.cfg
vendored
8
dist/game.cfg
vendored
@ -1,3 +1,5 @@
|
||||
echo Executing ReGameDLL Configuration File
|
||||
|
||||
// The style of gameplay where there aren't any teams (FFA mode)
|
||||
// 0 - disabled (default behaviour)
|
||||
// 1 - enabled
|
||||
@ -208,12 +210,6 @@ mp_kill_filled_spawn "1"
|
||||
// Default value: "0"
|
||||
mp_allow_point_servercommand "0"
|
||||
|
||||
// Sets mins/maxs hull bounds for the player.
|
||||
// 0 - disabled (default behaviour, sets engine)
|
||||
// 1 - enabled (sets gamedll)
|
||||
// Default value: "1"
|
||||
mp_hullbounds_sets "1"
|
||||
|
||||
// Show 'HP' field into a scoreboard
|
||||
// 0 - don't send any update for 'HP' field to any clients
|
||||
// 1 - show only Terrorist 'HP' field to all clients
|
||||
|
5
dist/game_init.cfg
vendored
Normal file
5
dist/game_init.cfg
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
// Sets mins/maxs hull bounds for the player.
|
||||
// 0 - disabled (default behaviour, sets engine)
|
||||
// 1 - enabled (sets gamedll)
|
||||
// Default value: "1"
|
||||
mp_hullbounds_sets "1"
|
@ -44,7 +44,12 @@ task publishPrepareFiles {
|
||||
// copy files from folder dist
|
||||
copy {
|
||||
from('dist')
|
||||
into 'publish/publishRoot'
|
||||
into 'publish/publishRoot/bin/win32/cstrike'
|
||||
}
|
||||
|
||||
copy {
|
||||
from('dist')
|
||||
into 'publish/publishRoot/bin/linux32/cstrike'
|
||||
}
|
||||
|
||||
// cssdk
|
||||
|
@ -317,7 +317,7 @@ void EXT_FUNC GameDLLInit()
|
||||
|
||||
#ifdef REGAMEDLL_ADD
|
||||
// execute initial pre-configurations
|
||||
SERVER_COMMAND("exec game.cfg\n");
|
||||
SERVER_COMMAND("exec game_init.cfg\n");
|
||||
SERVER_EXECUTE();
|
||||
#endif
|
||||
|
||||
|
@ -133,11 +133,6 @@ LINK_HOOK_CHAIN2(CGameRules *, InstallGameRules)
|
||||
|
||||
CGameRules *EXT_FUNC __API_HOOK(InstallGameRules)()
|
||||
{
|
||||
#ifdef REGAMEDLL_ADD
|
||||
// execute post-configurations
|
||||
SERVER_PRINT("Executing ReGameDLL Configuration File\n");
|
||||
#endif
|
||||
|
||||
SERVER_COMMAND("exec game.cfg\n");
|
||||
SERVER_EXECUTE();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user