7 Commits

Author SHA1 Message Date
cclecle
05457131c1 update to SSB109 2022-07-20 01:21:27 +02:00
3e27a1b5cb Mise à jour de 'Run.sh' 2022-06-10 21:58:16 +00:00
cclecle
e3e8c9d402 update to 108c 2022-06-09 08:47:46 +02:00
ba4be519bd Mise à jour de 'Run.sh' 2022-05-15 21:56:20 +00:00
81d416e55f integ 2022-05-14 11:28:34 +02:00
df0badafd1 Mise à jour de 'Run.sh' 2022-05-08 23:19:03 +00:00
4baa56d466 fix install script 2022-05-08 19:20:25 +02:00
5 changed files with 140 additions and 25 deletions

View File

@@ -5,21 +5,21 @@ See http://www.proasm.com for more detail.
SmartSB Installation
--------------------
Add SmartSB107.u to your UTServer/System folder.
Add SmartSB109.u to your UTServer/System folder.
Add SmartSBStats.u to your UTServer/System folder.
Open your Server.ini file and add under:
[Engine.GameEngine]
ServerPackages=SmartSB107
ServerPackages=SmartSB109
ServerPackages=SmartSBStats
Add in the command line: ?Mutators=SmartSB107.SmartSB
Add in the command line: ?Mutators=SmartSB109.SmartSB
Or as an alternate to the Mutator:
[Engine.GameEngine]
ServerActors=SmartSB107.SmartSBServerActor
ServerActors=SmartSB109.SmartSBServerActor
For those that use Nexgen112N
NexgenSSB is a Nexgen plugin to allow SmartSB ServerInfo when pressing F2.
@@ -31,9 +31,98 @@ If you experience a MultiKill display or sound problem, set:
bEnhancedMultiKill=False
Then use another mod like 2k4Combos
-------------------------------------
Changes and Fixes in SmartSB102 Betas
-------------------------------------
-----------------------------------
Changes and Fixes in SmartSB Betas
-----------------------------------
Changes to 109
--------------
108j renamed for release.
Fixed CTF flag count down.
Changes to 108j
---------------
Added zooming to beacons.
Fixed several accessed nones in huds.
Removed individual weapon accuracy.
Changes to 108i
---------------
Realigned TDM alt mini scoreboard.
Added back bTeamMatesOnly for beacons.
Added bUseAltMethod beacon option for test.
Changes to 108h
---------------
Fixed Duel scoreboard.
Added text shadow option for beacons.
Removed bTeamMatesOnly from beacons till further notice.
Changes to 108g
---------------
Fixed MiniSniper scoreboard in CTF.
Made additional checks in bTournament games.
Fixed return sound not working.
Added bAltReturnedSound for CTF.
Changes to 108f
---------------
Added Player Beacons with bUsePlayerBeacons.
Added Bot headshots to player BotFrags.
Added bUseBotKillsInStats for dummies.
Changes to 108e
---------------
Added bSniperZoomInfo for name and health.
Fixed bNoTop20Indicators on left and right sides.
Renamed bNoTop20Indicators to bTop20Indicators
Fixed Top20 and Top10 regarding no bot kills.
Removed bTop20NoBotKills now under bUseBotsInStats
Removed small scoreboard stats at game end.
Added Top TDM names to icons.
Created new GRI for Stats only.
Moved Top20ResetCount to SmartSBPlayerStats.
Moved bNoTop20Indicators to SmartSBPlayerStats.
Moved bSetTop20RightSide to SmartSBPlayerStats.
Moved bDisableTop20Faces to SmartSBPlayerStats.
Moved bTop20StatsCommandOnly to SmartSBPlayerStats.
Moved bShowLastBackground to bTopLastBackground in SmartSBPlayerStats.
Moved ShowTopBackground to bTopLastBackground in SmartSBPlayerStats.
Moved bTop20Indicators to bTop20Indicators in SmartSBPlayerStats.
Removed Removed Team Icons and Beacons, now one of each only.
Changes to 108d
---------------
Fixed bTop20NoBotKills=True again.
Added option to remove top20 indicators, bNoTop20Indicators.
Added bUseAltMiniBoard for sniper DM and TDM.
Added addition X and size for splash logo.
Changes to 108c
---------------
Added user defined splash logo.
Added tournament purple flag to DM and Duel.
Added Checkboxes for Hudsizes, 4,5,6
Added if bTop20NoBotKills=True bot kills do not count.
Fixed flag timeout when returned.
Added Returned sound when flag returns.
Fixed several accessed nones and out of bound errors.
Changes to 108b
---------------
Adjusted Playername in DM Mini SB.
Fixed greyed out mini headers in menu.
Added bUseMiniDMHeaders to all mini scoreboards.
Re-aligned all Team and CTF icons etc.
Changes to 108a
---------------
Added Burger CTF compatibility.
Added Jailbreak compatible Hud and Scoreboard.
Added Re-alignment of CTF4 Flag Carrier display positions.
Added Back all 105 stats sorting and Top20 at game start.
Added Increased indicator reset default from 9 to 25.
Removed sorting of deaths , suicides , headshots and games.
Changes to 107
---------------

58
Run.sh
View File

@@ -1,15 +1,45 @@
#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
OUTPUT_DIR="$2"
CFG_FILE="$3"
DEFAULT_CFG_FILE=UnrealTournament.ini
function add_iniKeyEx() {
crudini --set $OUTPUT_DIR/System/$1 $2 __$3 $4
# Warning: ugly hack with sed to allow multiple key instances + to remove space around '='
sed -i "s/[[:space:]]*__$(echo $3 | sed -e 's/\([[\/.*]\|\]\)/\\&/g')[[:space:]]*=[[:space:]]*/$(echo $3 | sed -e 's/\([[\/.*]\|\]\)/\\&/g')=/g" $OUTPUT_DIR/System/$1
}
# !!Warning!! section is not considered
function del_iniKeyEx() {
sed -i "/[[:space:]]*$(echo $3 | sed -e 's/\([[\/.*]\|\]\)/\\&/g')[[:space:]]*=[[:space:]]*$(echo $4 | sed -e 's/\([[\/.*]\|\]\)/\\&/g')/d" $OUTPUT_DIR/System/$1
}
function add_iniKey() {
add_iniKeyEx $CFG_FILE $1 $2 $3
}
# !!Warning!! section is not considered
function del_iniKey() {
del_iniKeyEx $CFG_FILE $1 $2 $3
}
function add_ServerPackage() {
add_iniKey 'Engine.GameEngine' ServerPackages $1
add_iniKey 'XC_Engine.XC_GameEngine' ServerPackages $1
}
function del_ServerPackage() {
del_iniKey 'Engine.GameEngine' ServerPackages $1
del_iniKey 'XC_Engine.XC_GameEngine' ServerPackages $1
}
function add_ServerActors() {
add_iniKey 'Engine.GameEngine' ServerActors $1
add_iniKey 'XC_Engine.XC_GameEngine' ServerActors $1
}
function del_ServerActors() {
del_iniKey 'Engine.GameEngine' ServerActors $1
del_iniKey 'XC_Engine.XC_GameEngine' ServerActors $1
}
function install() {
cp $SCRIPT_DIR/Help $OUTPUT_DIR/Help -R
cp $SCRIPT_DIR/System $OUTPUT_DIR/System -R
cp $SCRIPT_DIR/Textures $OUTPUT_DIR/Textures -R
rsync -a $SCRIPT_DIR/Help/ $OUTPUT_DIR/Help/ --exclude '.git'
rsync -a $SCRIPT_DIR/System/ $OUTPUT_DIR/System/ --exclude '.git'
rsync -a $SCRIPT_DIR/Textures/ $OUTPUT_DIR/Textures/ --exclude '.git'
echo install ok
}
@@ -18,15 +48,11 @@ function enable() {
SSBUFile=$(find $OUTPUT_DIR/System -type f -iname "SmartSB*.u" ! -name "SmartSBStats.u" -exec basename {} \;)
SSBBaseName="${SSBUFile%.*}"
# Warning: ugly hack with sed to allow multiple key instances
crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.GameEngine' _ServerPackages $SSBBaseName
sed -i 's/_ServerPackages/ServerPackages/g' $OUTPUT_DIR/System/$CFG_FILE
add_ServerPackage $SSBBaseName
add_ServerPackage SmartSBStats
add_ServerActors $SSBBaseName.SmartSBServerActor
crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.GameEngine' _ServerPackages SmartSBStats
sed -i 's/_ServerPackages/ServerPackages/g' $OUTPUT_DIR/System/$CFG_FILE
crudini --set $OUTPUT_DIR/System/$CFG_FILE 'Engine.GameEngine' _ServerActors $SSBBaseName.SmartSBServerActor
sed -i 's/_ServerActors/ServerActors/g' $OUTPUT_DIR/System/$CFG_FILE
#todo: config SSB ?
echo enable ok
}
@@ -35,9 +61,9 @@ function disable() {
SSBUFile=$(find $OUTPUT_DIR/System -type f -iname "SmartSB*.u" ! -name "SmartSBStats.u" -exec basename {} \;)
SSBBaseName="${SSBUFile%.*}"
sed -i "/ServerPackages[[:space:]]*=[[:space:]]*$SSBBaseName/d" $OUTPUT_DIR/System/$CFG_FILE
sed -i "/ServerPackages[[:space:]]*=[[:space:]]*SmartSBStats/d" $OUTPUT_DIR/System/$CFG_FILE
sed -i "/ServerActors[[:space:]]*=[[:space:]]*$SSBBaseName.SmartSBServerActor/d" $OUTPUT_DIR/System/$CFG_FILE
del_ServerPackage $SSBBaseName
del_ServerPackage SmartSBStats
del_ServerActors $SSBBaseName.SmartSBServerActor
echo disable ok
}

View File

@@ -1,2 +0,0 @@
[Public]
Object=(Name=SmartSB107.SmartSB,Class=Class,MetaClass=Engine.Mutator,Description="SmartSB v107")

2
System/SmartSB109.int Normal file
View File

@@ -0,0 +1,2 @@
[Public]
Object=(Name=SmartSB109.SmartSB,Class=Class,MetaClass=Engine.Mutator,Description="SmartSB v109")