16 Commits

Author SHA1 Message Date
chacha
26857087f9 update to 122 2026-01-26 20:50:58 +00:00
cclecle
a43e1cec86 update to 121f 2025-08-25 20:44:33 +02:00
cclecle
d85e5f0d16 update to 121 2024-10-11 20:49:07 +01:00
cclecle
196b208af2 update to version 120 2024-07-04 18:50:47 +01:00
cclecle
e731098dae update v111 -> v115d 2023-08-30 23:41:25 +01:00
81f7c798a9 Update 'Run.sh' 2023-04-15 20:03:38 +02:00
cclecle
91f9940aad remove old countryflag texture (packaged separately) 2022-11-13 14:09:28 +00:00
cclecle
6c17bfd942 update to 111c 2022-11-08 22:24:16 +00:00
94627e4c84 Mise à jour de 'Run.sh' 2022-07-27 15:00:40 +00:00
cclecle
991885366b update to 109e 2022-07-27 16:23:04 +02:00
b982a3b938 Mise à jour de 'Run.sh' 2022-07-27 14:19:45 +00:00
7c7c0b3fcb Mise à jour de 'Run.sh' 2022-07-27 03:00:40 +00:00
660d953263 Mise à jour de 'Run.sh' 2022-07-27 02:42:11 +00:00
29a321f217 Mise à jour de 'Run.sh' 2022-07-27 01:45:04 +00:00
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
8 changed files with 875 additions and 1319 deletions

View File

@@ -1,635 +0,0 @@
SmartSB Changelog
=================
See http://www.proasm.com for more detail.
SmartSB Installation
--------------------
Add SmartSB107.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=SmartSBStats
Add in the command line: ?Mutators=SmartSB107.SmartSB
Or as an alternate to the Mutator:
[Engine.GameEngine]
ServerActors=SmartSB107.SmartSBServerActor
For those that use Nexgen112N
NexgenSSB is a Nexgen plugin to allow SmartSB ServerInfo when pressing F2.
All Instructions in Readme.
http://www.proasm.com/files/ut/NexgenSSB.zip
MultiKill Problems.
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 to 107
---------------
Fixed 4 Team CTF flags and scaling.
Fixed Top20 and Last10 display saving.
Changes to 106
---------------
Fixed startup lag, re-wrote stats sorting.
Fixed Powerup icons in 4 way team games.
Removed PlayerCount in Max Hud size.
Remove bUsePlayerName in stats.
Added BotNames to BotInfo.
Added bUseBotNamesOnly to BotInfo.
Added Accuracy to all scoreboards.
Added Shots and Kills to personal scoreboard.
Changes to 105
---------------
Added Clientside ScrollInOutTime for Top20 and Last10 in menu.
Fixed several Accessed Nones in client.
Added up/dn/stable top 20 position indicators.
Removed Live Stat updates as they were troublesome.
Reduced flag dropped timeout to 26 secs.
Moved LastPlayers to SmartSBPlayerStats.ini
Added !ssbstats or Mutate SmartSB SSBStats for Top20 anytime.
Added scores to Top20 for possible up arrow.
Added lowering of left hud Powerups + clock in team games.
Added removal of SSB Team icons in FNN mode.
Added bTop20StatsCommandOnly for !SSBStats only, also in menu.
Added Top20ResetCount (default 9) for Top20 resets.
Replaced Dead and Bot icons with new ones.
Removed all bScroll's in replication.
Fixed Score/Rank/Spread viewing.
Improved on Last10 shade lag.
Added bSetTop20RightSide, displays Top20 etc on the right.
Added bDisableTop20Faces, this disables the faces in the Top20.
Added Last10 next to Top20 if bSetTop20RightSide=True.
Changes to 104
---------------
Added Clientside bDisableDeadIcon to have flag instead.
Added Refined use of FNN and also starts straight away in huds.
Added back local time with option in info menu.
Added fix for Score/Rank/Spread in menu.
Added Clientside ScrollInOutTime for Top20 and Last10.
Added larger menu height.
Added Disable Top20 admin option in menu.
Added Raised top20/last10 titles 2 pixels.
Added Lowering of CTF flag carrier names.
Added Top20 players title option.
Added CTF flag dropped timeout now 30 secs.
Added Top20 / Last10 Title color option.
Changes to 103
---------------
Added No Player Recovery for LMS game.
Added bShowLastPlayers and bShowLastBackground.
Added bShowTopPlayers and bShowTopBackground.
Added Auto scan for names and scores in Top 20 and Last Players.
Added 10 Game Name options to exclude in stats.
Added bExcludeStats in stats for above.
Added Made StealthAdmin compatible.
Added Spectators to see Top20 and Last Players.
Added Stats now highlight current player.
Added bEnableMouseClick clientside and in menu for above.
Added Menu tool tips in menu config window.
Added HeadHunter broadcast message.
Added Mutate SmartSB SortBots for sorting Bots in PlayerStats.
Added Client option in menu to enable scoreboard stats.
Added PlayerCount now default False.
Added Removal of Local clock time and Icon.
Added Player Time in Scoreboard Footer.
Added Tansparencies for D3D and D3D9 Renderers.
Added New individual Team PlayerCount textures.
Added Last 10 players title option.
-------------------------------------
Changes and Fixes in SmartSB102 Betas
-------------------------------------
Changes to 102y
---------------
Fixed CTF flag count downs.
Fixed 4 team flag displacements.
Fixed Playernum background transparency.
Removed bShowServerInfoHud as not exist.
Removed bUseBotsInCount clientside.
Added bNoBotsInPlayerCount serverside.
Added Disable Bots in PlayerNum in Admin Menu.
Added PlayerNum No Bots option in Team Games.
Changes to 102x
---------------
Fixed Player not seeing own say commands.
Fixed CTF flagcarrier names not fitting.
Fixed top time and boots after overtime.
Changes to 102w
---------------
Added back !ssb for ssb menu view.
Added bShowPlayerCount is now client option.
Added bShowSpecBotAmmo - Bot ammo for specs.
Added player armor, boots and time for specs.
Added bUseFragNewnet in clientside menu for Fnn compatibility.
Added Top Time left + Boots to minimized HUD.
Added bUseBotsInTop10 to exclude Bots in Top 10.
Changes to 102v
---------------
Added Last 10 players at logon.
Added bShowLastPlayers to menu.
Removed dead icons at game end.
Added bShowSmartSBHuds to disable SSB HUDs.
SSB huds now fnn135+ compatible.
Added bShowPlayerCount if fnn135+ not present.
Changes to 102u
---------------
Finalized 102t1-15
Fixed several Accessed None's
Changes to 102t_Beta15
----------------------
Fixed BotInfo not working.
Fixed Bot Flags for F2a.
Changes to 102t_Beta11-14
-------------------------
Further fixed vertical display.
Update stats if player join or leave.
Added bUseTopTenOnly and bNoLiveUpdates in admin menu.
Added 3 second delay on F2a
Added Bot flag icon option to stats.
Added Bot flag country nick option to stats.
Changes to 102t_Beta10
---------------------
Removed rank from ctf.
Added score to scoreboard ctf.
Added bEnablePlayerStats.
Added new Playerstats display.
Changes to 102t_Beta9
---------------------
Fixed Stats not sorting.
Removed bUseOldPlayerTime.
Fixed bNoLiveUpdates.
Changes to 102t_Beta8
---------------------
Fixed rank and other stuff.
Fixed score sorting.
Added TDM and CTF.
Added bNoLiveUpdates.
Added player local time in PRI.
Added bUseOldPlayerTime in case.
Added faces to Top10 display.
Added UT icon for Bot flags.
Changes to 102t_Beta1-7
-----------------------
Added F2 keybind and PlayerStats.
Added SortStats for sorting.
Added bUsePlayerName in SSBPlayerStats.
Added Winning Player flag in DM.
Added Spectator Stats and views.
Added Top 10 Player stats
Added Scoreboard stats.
Changes to 102s
---------------
Fixed more access nones.
Re-aligned personal SB Icons.
Default fonts set to medium.
Added overall accuracy to personal SB.
Changes to 102r
---------------
Fixed JumpBoots count above 3.
Fixed more PlayerReplicationInfo access nones.
Changes to 102q
---------------
Fixed Domination Scores
Changes to 102p
---------------
Fixed several serverside access nones.
Changes to 102o
---------------
Fixed CTF Game end stats. (again)
Changes to 102n
---------------
Fixed menu auto scaling.
Fixed over riding stat lines in CTF.
Added scoreboards for Team LMS.
Changes to 102m
---------------
Fixed F3 scoreboard switching in DM with 2 players.
Fixed 436/451 map switch crash.
Changes to 102L
---------------
Fixed Rank/Spread Timer.
Changes to 102k
---------------
Added back SCORE: in DM and LMS.
Added Rank/Spread refreshing.
Changes to 102j
---------------
Fixed CTF4 game captures and returns.
Fixed CTF4 multi flag displays.
Fixed MultiCTF captures and returns.
Added Autoscaling to Menus.
Adjusted Rank/Spread displays.
Adjusted Powerups display.
Changes to 102i
---------------
Added bDisableTimers for all top and bot timers.
Added Gamename 'No Timers' detection.
Added accuracy per weapon on duel and personal scoreboards.
Duel scoreboard now available for any game with only 2 players.
Fixed logon welcome message color.
Changes to 102h
---------------
Critical change to see a Duelgame correctly.
Changes to 102g
---------------
Added Bots weapon stats.
Added ElapsedTime for TimeLimit=0.
Added duelgame (maxplayers=2) scoreboard.
Removed Rank/Spread from SSB altogether.
Changes to 102f
---------------
Revamped 102c with 102b Huds.
Removed HudMutators which caused problems.
Added Boots to top Hud Timer.
Added top boots option in menu.
Removed Rank/Spread from team games.
Added local time to small hud time.
Removed many access nones in 469.
Removed bSwitchPlayerToSpec.
Changes to 102e
---------------
Experimental
Changes to 102d
---------------
Dumped
Changes to 102c
---------------
Removed all debug scriptlogs.
Changed Huds to HudMutators.
Newnet clock and boots now work.
Fixed Header display when server is empty.
Added bSwitchPlayerToSpec if server full.
Added startup timer option SSBStarUpTimer.
Added serverside bDisableAirKills and in Menu.
Added bOrgDone for Original HudClass.
Changes to 102b
---------------
Made more changes to multi kill traps.
Added bUseMultiKillTrap (default True).
Changes to 102a
---------------
Added custom Player Join/Leave sounds.
Remade all MultiKillMessages.
Added HUD trap for UT Multikill displays.
Added test for Nexgen.
Added Accuracy for Instagib games.
-------------------------------------
Changes and Fixes in SmartSB101 Betas
-------------------------------------
Changes to 101 Final
--------------------
Added bUsePartyScoreboard for new year party Scoreboards.
Fixed Bots getting flags in ServerInfo.
Changes to 101zx
----------------
Disabled Powerups for Domination.
Fixed duplicate remaining time in LMS.
Added bUseSnowyScoreboard for Xmas snowy Scoreboards.
Changes to 101z
---------------
Changed Domination FragLimit to ScoreLimit
Incorporated DOM with SCF scoreboard.
Added additional player sound exit check.
Changes to 101y
---------------
Dumped 800x600 resolution scoreboards.
Disabled Frags being cleared during LMS game.
Added bShowMaxCTFBoard for CTF Full and Alt scoreboards also in menu.
Added Frags to CTF and DOM Full & Alt Scoreboards.
Re-spaced all Frags, Scores and Deaths.
bExcludeBotsInStats now excludes Bots in F2 ServerInfo.
Player Owner now has LAN flag in ServerInfo if no countryflag.
Added bShowRankBadges to scoreboard options.
Changes to 101x
---------------
Adjusted IpToCountry init to accept spectators.
Fixed 4 team scoreboard not switching on F3.
Added configurable AltLineColor in scoreboard options.
Removed 0's from Killtypes and Pickups.
Fixed flag Saves and 'Nice catch'.
Fixed F3 keybinding for Assault Objectives.
Added Assault scoreboard with objectives.
Changes to 101w
---------------
Fixed Join/Leave sounds.
Fixed bGameEndLeaveSound also not working.
Fixed TopTime HUD Status size adjustment.
Adjusted the way Multikills are derived.
Changed purple stats to cream color.
Made IpToCountry initializing more positive.
Added Bot ID's to search incase different name.
Added local ping if bDisableBotInfo=false.
Changes to 101v
---------------
Reverted Multikill displays and sounds back to 101t + 101tt.
Fixed TripleKill not happening.
Changes to 101u
---------------
Rewrote all Multikill displays and sounds.
Removed bAltMultiKillDisplay.
Added bGameEndLeaveSound for leave sound at game end.
Added client option for Coloured/Green stat lines.
Spectators now see stats same as players.
Changes to 101t
---------------
Added bEnableJoinLeaveSounds for Player join and leave sounds.
Reduced WelcomeMessage font size below 1920x1080.
Added all pickups and multikills to Player Recovery.
Added bAltMultiKillDisplay for alternate multikill displays.
Changes to 101s
---------------
Fixed LowGR gravity detection for false airkills.
Fixed flag overlap on personal scoreboard.
Fixed Bot ping black colors when bDisableBotInfo=True.
Added WelcomeMessage to ini file.
Added bDisableFullScoreboard also in admin menu.
Rescaled Kill and Pickup Types (wider spaced).
Changes to 101r
---------------
If bDisableBotInfo clear bot flags, pings and stats.
Removed LastDeathTime in double kills.
Removed bShowCTFScoreboard.
Added InitializeBoard if player hits F1 before startup.
Syncronized Bot names to ping, flag etc.
Added BotNoFlagIcon= to SmartSBBotInfo.
Added BotNoFlagCountry= to SmartSBBotInfo.
Added MaxTeams=4 to TeamGamePlus if Domination 4 Team.
Changes to 101q
---------------
Renamed 101p to 101q for 436/451 mismatch versions.
Changes to 101p
---------------
Rescaled Personal Scoreboard.
Fixed unnecessary double kill stats.
Fixed Assists players and sound.
Added Assists timer for sound delay when 'Taken the Lead'.
Fixed all Personal Scoreboard stats not displaying.
Fixed player Scoreboard LocalTimes.
Added FlagReturns to Personal SB CTF stats.
Switched Powerups hide/show.
Changes to 101o
---------------
Added !SSB check to SmartSB chat minitoring.
Capped armor amount to 150 max.
Added detailed Personal scoreboard.
Added options in menu for various scoreboards.
Adjusted Assists to coincide with sound.
Removed Assists from bonus.
Added 800x600 to ServerInfo.
Changes to 101n
---------------
Re-aligned Powerups for all resolutions.
Set powerups default to Hide.
Removed Doublejump.
Fixed F2 ServerInfo startaup.
Added clear F2 ServerInfo in HUD menu.
Made small HUD timer seperate bShowHudTimer in ScoreBoard.
Changed all Powerup display to text.
Forced HUD transparency where necessary.
Added Dropped Flag Timeout.
Added drop flag timeout and flagname in HUD menu.
Flag playername and time in all 4 team games.
Added larger fonts to HUD scores if 469.
Standardized MultiCTF flags and scores.
Made Domination X's flexible to HUD movement.
Made Armor powerup standard 150 - 0.
Improved CTF flag names.
Fixed Amp counter when dead and pausing.
Scaled SSB Logo for better fit.
Rescaled top Timer.
Changes to 101m
---------------
Limited Hud score/rank/spread to 1024 max.
Removed background for score/rank etc.
Fixed spectator list repeating 'Player'.
Added new F2 Serverinfo Display.
Combined bCTFGameSounds with bOtherGameSounds.
Added all powerups to Hud + Menu.
Added top right TimeLeft option + menu.
Removed powerup display to spectators.
Added experimental DoubleJump option also in admin menu.
Changes to 101L
---------------
Experimental and reserved for maybe later use.
Changes to 101k
---------------
The sound "Nice Catch" will now also be played if you pickup the enemy flag after its been dropped within 15 meters of the enemy base.
The sound "Assist" will now also be played if you pickup the enemy flag after its been dropped within 15 meters of the your base.
Enabled UTPure to handle ServerInfo
Added show player scores when spectator
Made gold color more goldish
Fixed Survivability over run.
Fixed DM HUDColor by adding new DM Hud
Test for Nexgen and NewNetUnrealv0_9_15
Replaced Ü with U in Uber Long Range Kill.
Changes to 101j
---------------
Fixed Keybind not working in Info window.
Replaced Font boxes with slider (had to, due to above).
Added Survival (Surv) to all mini scoreboard's.
Added a separate WRI for Menu to open without scoreboard.
Added extra Lighter shade for scoreboard in Menu.
Added Time remaining to hud with Menu option.
Added all stats on Full and Alt Scoreboards in CTF game at game end.
Added extra devide line for full and alt scoreboard's.
Added control of all right side flags and icons.
Added right side CTF flags back.
Added scaled 4 Team Huds side flags and icons for most resolutions.
Added playername to right side flags in CTF games.
Added increased Ping font size.
Fixed LMS Kills registering incorrectly.
Created NexgenSSB plugin for Nexgen112N so F2 will function in SSB.
Changes to 101i
---------------
Fixed CTF and Team game side flags and scores.
Add additional small Font option.
Fixed red tint behind face and flag.
Adjusted various stats alignment.
Started work on F2 ServerInfo.
Changes to 101h
---------------
These change are experimental for later use.
Changes to 101g
---------------
Removed test 640x480 scoreboard.
Added 3 font options S,M,L in Menu.
Rescaled all fonts to medium.
Scoreboard vertical shade height now also rescales.
800x600 now only in mini scoreboard.
Added Keybind for F2 ServerInfo if Nexgen is present.
Vertically enlarged menu slightly.
Added Scoreboard devider option in menu.
Top endgame message now part of scoreboard.
Added HUD to override ServerInfo block.
Changes to 101f
---------------
Fixed end game last place sounds
HeadHunter only if not died
Made Provision for MonsterHunt with mini scoreboard
Added a cancel all scoreboards for MonsterMatch
Cater for nexgen top text box
Added Headers to Scoreboard position movement
Added scoreboard FooterFont to scaling
Removed indicator shade
Added new SmartSB logo
Added Mini SB header removal option
Added Mini SB header option in menu
Improved Playername size testing
Made all mini scoreboard text larger
Fixed many access nones
Added a DM mini scoreboard for 640x480
Changes to 101a to 101e
-----------------------
Added 4 Team TDM and CTF Scoreboards
This is a big step and is added for all 4 team games.
SmartSB auto recognizes CTF4 and MultiCTF games and auto switches to 4 team scoreboards.
To play with 4 team TDM games (not CTF) a setting in the UnrealTournament.ini file needs to be set.
[Botpack.TeamGamePlus]
MaxTeams=4
Changed logon Logo
Due to the name change, we felt a new logo was also needed.
The logo now senses different resolutions and sets itself accordingly.
Mini Scoreboards
Mini scoreboards have now been added to all games, DM, TDM, CTF and all 4 team games.
The CTF Mini scoreboards having up to 10 different stats which now switch 5 by 5 so no resolution looses any information.
Rank adjustments
Rank badges are now applied to all scoreboards, Full, Alt and Mini.
Scoreboard Indicator
This has also been updated in the upper right of the screen to show which scoreboard is currently in use.
A dark shading has also been added for better clarity.
Attention to 1024x768 and 800x600
Special attention has been paid to these 2 old resolutions for the many players still using these modes.
1024x768 now have all the stats in their Mini scoreboards that are normally only seen in 1920x1080.
This is done via a switching operation that switch 5 stats every 6 seconds or so.
Updated for Patch 469
The complete mod has been completely re-scaled to suite the new patch 469.
The scoreboards do look much nicer in 469 than previous so do update asap.
Sounds Added
Several new sounds have been added to most games, namely:
1. Double Kill.
2. Triple Kill.
3. Multi Kill.
4. Mega Kill.
5. Altra Kill.
6. Monster Kill.
7. Ludicious Kill.
8. Holy Shit.
9. Wicked Sick.
10. Headshot.
11. Head Hunter.
12. Flawless Victory.
13. Last Place. (4 to 6 players)
14. Humiliating Defeat. (7+ players)
Menu Sound Options
There are now 2 Sound options in the menu.
1. MultiKill Sounds
2. CTFGame Sounds
These sounds always used to be serverside and handled by the admin.
These have now been transfered to clientside for each player to select.
Air Kill
When a player kills another player while in the air.
This happens at approx the peak of a double jump.
It is available as a stat in all mini scoreboards.
Scoreboard adjustment
This has been added for each player which can be found in the Settings menu in the form of a Slider.
This will move the scoreboard up or down to where the player wants it.
This was added for the various amounts of text available at the top right.
Help Menu
The Help menu has been well updated to reflect all the abbreviations used in SmartSB.
SmartSB will detect if the player is using patch 469 and add a extra Font button.
This is to change the font size if the new GUIScale option has been changed in the UT Menu.
F3 Toggling
The F3 key now toggles the scoreboards, Full / Alt / Mini / Standard.
Which ever is last used is where it will be saved as default.
NB: The 4 Team scoreboards only toggle between Mini4 and Standard.
Fixed Items
Twice repeated kill broadcasts.
As many Access Nones as possible.
Fixed badges in DM mini SB.
Adjusted DM end game sounds if tie.
Removed old Overtime option settings.

File diff suppressed because it is too large Load Diff

53
Run.sh
View File

@@ -1,37 +1,46 @@
#!/bin/bash
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
OUTPUT_DIR="$2"
CFG_FILE="$3"
DEFAULT_CFG_FILE=UnrealTournament.ini
CFG_FILE="${3:-$DEFAULT_CFG_FILE}"
function add_iniKey() {
crudini --set $OUTPUT_DIR/System/$CFG_FILE $1 __$2 $3
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:]]*__$2[[:space:]]*=[[:space:]]*/$2=/g" $OUTPUT_DIR/System/$CFG_FILE
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() {
sed -i "/[[:space:]]*$2[[:space:]]*=[[:space:]]*$3/d" $OUTPUT_DIR/System/$CFG_FILE
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 getmodprefix() {
UFile=$(find $OUTPUT_DIR/System -type f -iname "SmartSB[[:digit:]]*\.u" -exec basename {} \;)
BaseName="${UFile%.*}"
echo "$BaseName"
}
function install() {
rsync -a $SCRIPT_DIR/Help/ $OUTPUT_DIR/Help/ --exclude '.git'
rsync -a $SCRIPT_DIR/System/ $OUTPUT_DIR/System/ --exclude '.git'
@@ -41,12 +50,11 @@ function install() {
}
function enable() {
SSBUFile=$(find $OUTPUT_DIR/System -type f -iname "SmartSB*.u" ! -name "SmartSBStats.u" -exec basename {} \;)
SSBBaseName="${SSBUFile%.*}"
BaseName="$(getmodprefix)"
add_ServerPackage $SSBBaseName
add_ServerPackage $BaseName
add_ServerPackage SmartSBStats
add_ServerActors $SSBBaseName.SmartSBServerActor
add_ServerActors $BaseName.SmartSBServerActor
#todo: config SSB ?
@@ -54,19 +62,18 @@ function enable() {
}
function disable() {
SSBUFile=$(find $OUTPUT_DIR/System -type f -iname "SmartSB*.u" ! -name "SmartSBStats.u" -exec basename {} \;)
SSBBaseName="${SSBUFile%.*}"
BaseName="$(getmodprefix)"
del_ServerPackage $SSBBaseName
del_ServerPackage $BaseName
del_ServerPackage SmartSBStats
del_ServerActors $SSBBaseName.SmartSBServerActor
del_ServerActors $BaseName.SmartSBServerActor
echo disable ok
}
function show_help() {
echo
echo "Usage: $0 { install | enable | disable } <UT99_INSTALL_DIR> [<UT99_CONFIG_FILE>]"
echo "Usage: $0 { getmodprefix | install | enable | disable } <UT99_INSTALL_DIR> [<UT99_CONFIG_FILE>]"
echo
}
@@ -98,6 +105,10 @@ function check_game_dir() {
}
case "$1" in
'getmodprefix')
check_game_dir
getmodprefix
;;
'install')
check_game_dir
install

View File

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

Binary file not shown.

3
System/SmartSB122.int Normal file
View File

@@ -0,0 +1,3 @@
[Public]
Object=(Name=SmartSB122.SmartSB,Class=Class,MetaClass=Engine.Mutator,Description="SmartSB v122")
Object=(Name=SmartSB122.SmartSBServerActor,Class=Class,MetaClass=Engine.Actor,Description="")

BIN
System/SmartSB122.u Normal file

Binary file not shown.

Binary file not shown.