first commit
This commit is contained in:
76
Help/ReadMe_Gibalicious2.htm
Normal file
76
Help/ReadMe_Gibalicious2.htm
Normal file
@@ -0,0 +1,76 @@
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-Language" content="en-gb">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
||||
<title>Gibalicious 2</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<p align="center"><u><font size="7">Gibalicious 2</font></u></p>
|
||||
<p align="center">UT2004 version - 20<sup>th</sup> March 2004</p>
|
||||
<p align="center">Miles Asvachin</p>
|
||||
<p align="center"><a href="http://come.to/MrEvil">http://come.to/MrEvil</a></p>
|
||||
<p align="center"><a href="mailto:miles@cheese83.freeserve.co.uk">
|
||||
mailto:miles@cheese83.freeserve.co.uk</a></p>
|
||||
<p align="center"><font face="Arial">Dedicated to
|
||||
<a target="_blank" href="http://www.elliotsworld.co.uk">King Mustard</a> and all
|
||||
the other sick sadists at the
|
||||
<a target="_blank" href="http://www.ina-community.com/forums/forumdisplay.php?forumid=249">
|
||||
Atari Forums</a></font></p>
|
||||
<p><font size="4"><b>Description:</b></font></p>
|
||||
<p>A UT2004 mutator to increase gore.</p>
|
||||
<p align="center"><img border="0" src="10x.jpg" width="320" height="240"></p>
|
||||
<p><font size="4"><b>Installation:</b></font></p>
|
||||
<p><b>UT2MOD Installation:</b></p>
|
||||
<p>Simply double-click on the .ut2mod file and click a few buttons.</p>
|
||||
<p> </p>
|
||||
<p><b>Manual Installation:</b></p>
|
||||
<p>If you would rather do a manual install, then you must first extract the
|
||||
files from the ut2mod. There is a utility available for this purpose, called '<a href="http://www.filefront.com/r.b/page__file_info/_filepath__/gamingfiles/Unreal_Tournament_2003/Utilities/Miscellaneous_Tools/ut2modextractor_v2.0.zip/_clear__page,filepath/_output.html" target="_blank">UT2MODExtractor</a>'.</p>
|
||||
<p>Once that is done, put the following files in the indicated directories:</p>
|
||||
<p>Gibalicious2.u
|
||||
-> UT2003\System<br>
|
||||
Gibalicious2.int
|
||||
-> UT2003\System<br>
|
||||
Gibalicious2.ini
|
||||
-> UT2003\System<br>
|
||||
Gibalicious2.ucl
|
||||
-> UT2003\System</p>
|
||||
<p align="center"><img border="0" src="100x.jpg" width="512" height="240"></p>
|
||||
<p><b><font size="4">Usage:</font></b></p>
|
||||
<p>Add the mutator like any other. The mutator can be configured (add it to the
|
||||
selected mutator list then click on 'Configure Mutators' in the bottom right
|
||||
corner of the screen). There are two configurable properties:</p>
|
||||
<ul>
|
||||
<li><b>Always gib:</b> If ticked, players will be gibbed on every death.</li>
|
||||
<li><b>Gib factor: </b>The number of gibs will be increased by this factor.
|
||||
Setting very high will slow down your computer. Setting ridiculously high may
|
||||
cause a crash.</li>
|
||||
</ul>
|
||||
<p>Both options are client-side.</p>
|
||||
<p>If you run a server with the mutator, you must add the package to the server
|
||||
packages list in UT2004.ini. Add the line <b>ServerPackages=Gibalicious2</b> under the
|
||||
section labelled <b>[Engine.GameEngine]</b>, making sure there are no spaces at
|
||||
the end of the line.</p>
|
||||
<p align="center"><img border="0" src="1000x.jpg" width="512" height="240"></p>
|
||||
<p><b><font size="4">Changes since UT2003 version:</font></b></p>
|
||||
<ul>
|
||||
<li>Both settings are now client-side.</li>
|
||||
<li>Settings no longer persist until game is exited.</li>
|
||||
<li>Works with custom weapons now.</li>
|
||||
</ul>
|
||||
<p align="center"> </p>
|
||||
<p>
|
||||
<b><font size="4">Known bugs:</font></b></p>
|
||||
<ul type="circle">
|
||||
<li>None!</li>
|
||||
</ul>
|
||||
|
||||
<p>If you find any bugs or have any suggestions or comments, please e-mail them
|
||||
to me.</p>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
3
Readme.md
Normal file
3
Readme.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# Gibalicious Release GIT repository
|
||||
|
||||
checkout official page : https://www.moddb.com/games/unreal-tournament-2004/downloads/gibalicious
|
||||
121
Run.sh
Normal file
121
Run.sh
Normal file
@@ -0,0 +1,121 @@
|
||||
#!/bin/bash
|
||||
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
OUTPUT_DIR="$2"
|
||||
CFG_FILE="$3"
|
||||
DEFAULT_CFG_FILE=UT2004.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
|
||||
}
|
||||
function del_ServerPackage() {
|
||||
del_iniKey 'Engine.GameEngine' ServerPackages $1
|
||||
}
|
||||
function add_ServerActors() {
|
||||
add_iniKey 'Engine.GameEngine' ServerActors $1
|
||||
}
|
||||
function del_ServerActors() {
|
||||
del_iniKey 'Engine.GameEngine' ServerActors $1
|
||||
}
|
||||
|
||||
function getmodprefix() {
|
||||
_File=$(find $OUTPUT_DIR/System -type f -iname "Gibalicious*\.u" -exec basename {} \; | sort -nr | head -n 1)
|
||||
BaseName="${_File%.*}"
|
||||
echo "$BaseName"
|
||||
}
|
||||
|
||||
function install() {
|
||||
rsync -a $SCRIPT_DIR/Help/ $OUTPUT_DIR/Help/ --exclude '.git'
|
||||
rsync -a $SCRIPT_DIR/System/ $OUTPUT_DIR/System/ --exclude '.git'
|
||||
|
||||
echo install ok
|
||||
}
|
||||
|
||||
function enable() {
|
||||
BaseName="$(getmodprefix)"
|
||||
add_ServerPackage $BaseName
|
||||
|
||||
echo enable ok
|
||||
}
|
||||
|
||||
function disable() {
|
||||
BaseName="$(getmodprefix)"
|
||||
del_ServerPackage $BaseName
|
||||
|
||||
echo disable ok
|
||||
}
|
||||
|
||||
function show_help() {
|
||||
echo
|
||||
echo "Usage: $0 { getmodprefix | install | enable | disable } <UT2k4_INSTALL_DIR> [<UT2k4_CONFIG_FILE>]"
|
||||
echo
|
||||
}
|
||||
|
||||
function check_cfg_file() {
|
||||
if [ -z ${CFG_FILE} ]
|
||||
then
|
||||
echo "CFG_FILE is unset, setting it to $DEFAULT_CFG_FILE"
|
||||
CFG_FILE=$DEFAULT_CFG_FILE
|
||||
else
|
||||
echo "CFG_FILE is set to '$CFG_FILE'"
|
||||
fi
|
||||
|
||||
if [ ! -f $OUTPUT_DIR/System/$CFG_FILE ]
|
||||
then
|
||||
echo "$OUTPUT_DIR/System/$CFG_FILE does not exist"
|
||||
show_help
|
||||
exit 9999 # die with error code 9999
|
||||
fi
|
||||
}
|
||||
|
||||
function check_game_dir() {
|
||||
### Check if a directory does not exist ###
|
||||
if [ ! -d $OUTPUT_DIR ]
|
||||
then
|
||||
echo "incorrect <UT2k4_INSTALL_DIR>"
|
||||
show_help
|
||||
exit 9999 # die with error code 9999
|
||||
fi
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
'getmodprefix')
|
||||
check_game_dir
|
||||
getmodprefix
|
||||
;;
|
||||
'install')
|
||||
check_game_dir
|
||||
install
|
||||
;;
|
||||
'enable')
|
||||
check_game_dir
|
||||
check_cfg_file
|
||||
disable
|
||||
enable
|
||||
;;
|
||||
'disable')
|
||||
check_game_dir
|
||||
check_cfg_file
|
||||
disable
|
||||
;;
|
||||
*)
|
||||
show_help
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
||||
4
System/Gibalicious2.ini
Normal file
4
System/Gibalicious2.ini
Normal file
@@ -0,0 +1,4 @@
|
||||
[Gibalicious2.MutGibaliciousII]
|
||||
GibFactor=10
|
||||
GibMore=True
|
||||
|
||||
8
System/Gibalicious2.int
Normal file
8
System/Gibalicious2.int
Normal file
@@ -0,0 +1,8 @@
|
||||
[MutGibaliciousII]
|
||||
GibMoreText="Always Gib"
|
||||
GibFactorText="Gib Factor"
|
||||
GibMoreDesc="Corpses always gib"
|
||||
GibFactorDesc="Number of gibs multiplied by this number"
|
||||
FriendlyName="GibaliciousII"
|
||||
Description="Extra gore. This could get messy."
|
||||
|
||||
BIN
System/Gibalicious2.u
Normal file
BIN
System/Gibalicious2.u
Normal file
Binary file not shown.
1
System/Gibalicious2.ucl
Normal file
1
System/Gibalicious2.ucl
Normal file
@@ -0,0 +1 @@
|
||||
Mutator=(ClassName=Gibalicious2.MutGibaliciousII,IconMaterialName=MutatorArt.nosym,FriendlyName=Gibalicious2.MutGibaliciousII.FriendlyName,Description=Gibalicious2.MutGibaliciousII.Description,FriendlyName=Gibalicious2.MutGibaliciousII.FriendlyName,FallbackName="GibaliciousII",FallbackDesc="Extra gore. This could get messy.")
|
||||
Reference in New Issue
Block a user