Mise à jour de 'Run.sh'
remove serveractors injectors because it work beter with mutators
This commit is contained in:
73
Run.sh
73
Run.sh
@@ -93,49 +93,9 @@ function disable() {
|
|||||||
echo disable ok
|
echo disable ok
|
||||||
}
|
}
|
||||||
|
|
||||||
function enableCG() {
|
|
||||||
UNBaseName="$(getmodprefix)"
|
|
||||||
add_ServerActors $UNBaseName.NewNetCG
|
|
||||||
echo enable ok
|
|
||||||
}
|
|
||||||
|
|
||||||
function disableCG() {
|
|
||||||
UNBaseName="$(getmodprefix)"
|
|
||||||
del_ServerActors $UNBaseName.NewNetCG
|
|
||||||
echo disable ok
|
|
||||||
}
|
|
||||||
|
|
||||||
function enableDJ() {
|
|
||||||
UNBaseName="$(getmodprefix)"
|
|
||||||
add_ServerActors $UNBaseName.DoubleJump
|
|
||||||
echo enable ok
|
|
||||||
}
|
|
||||||
|
|
||||||
function disableDJ() {
|
|
||||||
UNBaseName="$(getmodprefix)"
|
|
||||||
del_ServerActors $UNBaseName.DoubleJump
|
|
||||||
echo disable ok
|
|
||||||
}
|
|
||||||
|
|
||||||
function enableGM() {
|
|
||||||
UNBaseName="$(getmodprefix)"
|
|
||||||
add_ServerActors $UNBaseName.GrapMut
|
|
||||||
echo enable ok
|
|
||||||
}
|
|
||||||
|
|
||||||
function disableGM() {
|
|
||||||
UNBaseName="$(getmodprefix)"
|
|
||||||
del_ServerActors $UNBaseName.GrapMut
|
|
||||||
echo disable ok
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
function show_help() {
|
function show_help() {
|
||||||
echo
|
echo
|
||||||
echo "Usage: $0 { getmodprefix |install | enable | disable } <UT99_INSTALL_DIR> [<UT99_CONFIG_FILE>]"
|
echo "Usage: $0 { getmodprefix |install | enable | disable } <UT99_INSTALL_DIR> [<UT99_CONFIG_FILE>]"
|
||||||
echo " $0 { enableCG | disableCG } <UT99_INSTALL_DIR> [<UT99_CONFIG_FILE>]"
|
|
||||||
echo " $0 { enableDJ | disableDJ } <UT99_INSTALL_DIR> [<UT99_CONFIG_FILE>]"
|
|
||||||
echo " $0 { enableGM | disableGM } <UT99_INSTALL_DIR> [<UT99_CONFIG_FILE>]"
|
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -186,39 +146,6 @@ case "$1" in
|
|||||||
check_cfg_file
|
check_cfg_file
|
||||||
disable
|
disable
|
||||||
;;
|
;;
|
||||||
'enableCG')
|
|
||||||
check_game_dir
|
|
||||||
check_cfg_file
|
|
||||||
disableCG
|
|
||||||
enableCG
|
|
||||||
;;
|
|
||||||
'disableCG')
|
|
||||||
check_game_dir
|
|
||||||
check_cfg_file
|
|
||||||
disableCG
|
|
||||||
;;
|
|
||||||
'enableDJ')
|
|
||||||
check_game_dir
|
|
||||||
check_cfg_file
|
|
||||||
disableDJ
|
|
||||||
enableDJ
|
|
||||||
;;
|
|
||||||
'disableDJ')
|
|
||||||
check_game_dir
|
|
||||||
check_cfg_file
|
|
||||||
disableDJ
|
|
||||||
;;
|
|
||||||
'enableGM')
|
|
||||||
check_game_dir
|
|
||||||
check_cfg_file
|
|
||||||
disableGM
|
|
||||||
enableGM
|
|
||||||
;;
|
|
||||||
'disableGM')
|
|
||||||
check_game_dir
|
|
||||||
check_cfg_file
|
|
||||||
disableGM
|
|
||||||
;;
|
|
||||||
*)
|
*)
|
||||||
show_help
|
show_help
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user