Skip to content

Commit ed02108

Browse files
authored
Localisation, Reveng map updates, bot updates (#23)
Co-authored-by: Kenneth Watson <--global>
1 parent 887c712 commit ed02108

27 files changed

+323
-364
lines changed

CHANGELOG.md

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,32 @@
11
# Changelog
22

3+
## 608 to 609:
4+
- Properly support `bEnabled` on `MonsterWaypoint`, to allow for more complex AI navigation orchestration
5+
- waypoint can now be disabled at start, and then triggered to enable (default is enabled)
6+
- Adjust bot behaviour to try to clear monsters in an area before proceeding to next waypoint
7+
- Localisation templates and Spanish Localisation (thanks Neon_Knight)
8+
- Update build scripts/templates to support localised template variables
9+
- Optimise `MonsterWaypoint` startup, only do `AllActors` traversal if/when touched and only if events configured
10+
- Add icons on the scoreboard:
11+
- a skull for players with no remaining lives
12+
- a star "award" at the end for players with no deaths for the whole round
13+
- Re-worked and improved MH-Revenge]\[ map, included as MH-Revenge]\[-SE
14+
- Add option to hide objectives on HUD. Can be Set in `User.ini`:
15+
- under `[MonsterHunt.MonsterHUD]` section, set `bHideObjectives=true` (default is false)
16+
317
## 607 to 608:
4-
- Re-worked and improved MH-NaliVillage]\[ map, included as MH-NaliVillage][-SE
5-
- Include monster difficulty in scoreboard footer message
6-
- Show objectives on scoreboard
7-
- Reduce volume of objective activated/completed sounds
8-
- Only include unfriendly creatures in monsters remaining count
9-
- Tweak levers/waypoints in MH-NaliVillage]\[ map to prevent double-triggering by AI
18+
- Re-worked and improved MH-NaliVillage]\[ map, included as MH-NaliVillage]\[-SE
19+
- Include monster difficulty in scoreboard footer message
20+
- Show objectives on scoreboard
21+
- Reduce volume of objective activated/completed sounds
22+
- Only include unfriendly creatures in monsters remaining count
23+
- Tweak levers/waypoints in MH-NaliVillage]\[ map to prevent double-triggering by AI
1024

1125
## 606 to 607:
12-
- Introduction of support for optional objectives in maps, which can show up on the HUD, and tell players what they need to be doing
13-
- Cleaned up some chat log kill messaging, and do not show suicide messages as "Player1 killed Player1"
14-
- Polish pass for MH-Lonely][, fixing bad geometry, general cleanup and visual improvements
15-
- Added objectives to all standard MH maps
26+
- Introduction of support for optional objectives in maps, which can show up on the HUD, and tell players what they need to be doing
27+
- Cleaned up some chat log kill messaging, and do not show suicide messages as "Player1 killed Player1"
28+
- Polish pass for MH-Lonely][, fixing bad geometry, general cleanup and visual improvements
29+
- Added objectives to all standard MH maps
1630

1731
## 605 to 606:
1832
- Fix incorrect view offsets for U1 weapons making them seem invisible

buildscript/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ $(DIR_TARG)/System/ucc-bin: | auto-download expect-cmd-tar expect-cmd-gunzip exp
104104
tar xjpmvf "$(DIR_DEPS)/OldUnreal-UTPatch469b-Linux.tar.bz2" --overwrite -C "$(DIR_TARG)" ;\
105105
echo Done.
106106

107-
$(DIR_DIST)/$(PACKAGE_NAME)/$(BUILD_NUM)/$(PACKAGE_NAME)-$(BUILD_NUM).zip: $(DIR_TARG)/System/ucc-bin $(PACKAGE_ROOT)/Classes/*.uc $(PACKAGE_ROOT)/template.int $(PACKAGE_ROOT)/template-options.yml $(SCRIPTS_DIR)/buildconfig.sh | expect-cmd-tar expect-cmd-gzip expect-cmd-bzip2 expect-cmd-zip expect-cmd-bash
107+
$(DIR_DIST)/$(PACKAGE_NAME)/$(BUILD_NUM)/$(PACKAGE_NAME)-$(BUILD_NUM).zip: $(DIR_TARG)/System/ucc-bin $(PACKAGE_ROOT)/Classes/*.uc $(PACKAGE_ROOT)/template-options.yml $(SCRIPTS_DIR)/buildconfig.sh | expect-cmd-tar expect-cmd-gzip expect-cmd-bzip2 expect-cmd-zip expect-cmd-bash
108108
echo "Building distribution: $(DIR_DIST)/$(PACKAGE_NAME)/$(BUILD_NUM)/$(PACKAGE_NAME)-$(BUILD_NUM).zip"
109109
echo "Build directory: $(DIR_TARG_PACKAGE)"
110110
echo '=== Starting build!' ;\

buildscript/_build.sh

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -80,26 +80,34 @@ cleanup() {
8080
)
8181
code=$?; [[ $code == 0 ]] || exit $code
8282

83-
# Format .int with Mustache
84-
echo "Formatting: System/$packagefull.int"
85-
"$MUSTACHE" "$PACKAGE_SRC_DIR/template.int" < "$TMP_YML" > "System/$packagefull.int"
86-
8783
# Create the final package template directory
8884
PACKAGED="$packagefull"/packaged
8985
mkdir -p "$PACKAGED"/System
9086

91-
# Move over system files
92-
mv -v "System/$packagefull.int" "System/$packagefull.u" "$PACKAGED"/System
87+
# Format localisation files
88+
echo "Formatting localised files: $PACKAGE_RES_DIR"
89+
if [[ -d $PACKAGE_RES_DIR ]]; then
90+
for res in "$PACKAGE_RES_DIR"/System/*; do
91+
res="$(basename "$res")"
92+
if [[ $res == 'LocalisationTemplates' ]]; then continue; fi
93+
"$MUSTACHE" "$PACKAGE_RES_DIR/System/$res" < "$TMP_YML" > "$PACKAGED"/System/"$res"
94+
done
95+
fi
9396

9497
# Overlay additional resources if present
95-
echo $PACKAGE_RES_DIR
98+
echo "Copy resources directory: $PACKAGE_RES_DIR"
9699
if [[ -d $PACKAGE_RES_DIR ]]; then
97100
for res in "$PACKAGE_RES_DIR"/**; do
98101
res="$(basename "$res")"
102+
if [[ $res == 'System' ]]; then continue; fi
99103
cp -rvf "$PACKAGE_RES_DIR/$res" "$PACKAGED/$res"
100104
done
101105
fi
102106

107+
# Move over system files
108+
mv -v "System/$packagefull.u" "$PACKAGED"/System
109+
110+
echo "Packaging up..."
103111
(
104112
cd $PACKAGED
105113

@@ -110,12 +118,11 @@ cleanup() {
110118
)
111119

112120
# Move to dist
113-
echo Packaging up...
114121
mkdir -p "$dist/$package/$build"
115122
mv "$packagedist."{tar.*,zip} "$dist/$package/$build"
116123

117124
# Update dist/latest
118-
echo Organizing dist directory...
125+
echo "Organizing dist directory..."
119126
mkdir -p "$dist/$package/latest"
120127
rm -f "$dist/$package/latest/"*
121128
cp "$dist/$package/$build/"* "$dist/$package/latest"
@@ -129,7 +136,7 @@ code=$?
129136
rm "$TMP_YML"
130137
rm "$TMP_INI"
131138

132-
echo Cleaning up...
139+
echo "Cleaning up..."
133140
cleanup
134141

135142
exit $code

buildscript/buildconfig.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ SCRIPTS_DIR=$(dirname $(realpath $0))
77

88
export name="Monster Hunt"
99
export package=MonsterHunt
10-
export build=608
11-
export version=608
10+
export build=609
11+
export version=609
1212
export packagefull=$package
1313
export packagedist=$package$version
1414
export debug=1

resources/Maps/MH-Revenge][-SE.unr

2.97 MB
Binary file not shown.

0 commit comments

Comments
 (0)