Monster Hunt cheats and voice menu fix

Need some nice Mods? Here, you are right!
Post Reply
Buggie
Average
Posts: 77
Joined: Sat Mar 21, 2020 5:32 am

Monster Hunt cheats and voice menu fix

Post by Buggie » Tue Jun 23, 2020 6:50 pm

As it turned out, you can modify UTMenu.u and the game does not check its integrity.

This allowed to fix the voice menu and add cheats for Monster Hunt.
scr_1592934462.png
Voice Menu:
1. Added numbers in front of menu items.
2. The menu displays 10 items, not 8.
3. Down and up arrows shift the current menu by 10 points up / down, not 1.

This allows you to use keyboard shortcuts to access the entire list of commands.
For example, for Female Voice Two:
4 ↓ ↓ 5 "My house!"
scr_1592934431.png
The UTConsole class has been modified to display cheats on Monster Hunt:
1. For weapons: the difference in coordinates is displayed, and type (stationary point, drop or carries by a monster).
2. Reedemer out on separate line.
3. Insta out on separate line.
4. The nearest weapon that is not in inventory is displayed.
5. The coordinates and lives of the nearest monster are displayed.

If you are guiding a Reedemer rocket, then all distances are counted from the rocket.

If you wish, you can even make a mini-radar, or display all this information on an existing radar.

Installation - replace the existing UTMenu.u. This is for UT v436.
UTMenu20200623204946.rar
(1.48 MiB) Downloaded 12 times

User avatar
Barbie
Godlike
Posts: 1858
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Monster Hunt cheats and voice menu fix

Post by Barbie » Tue Jun 23, 2020 10:10 pm

In my next maps I'll use a ThingFactory to produce an Insta, when a player arrives there... :lol2:
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

Buggie
Average
Posts: 77
Joined: Sat Mar 21, 2020 5:32 am

Re: Monster Hunt cheats and voice menu fix

Post by Buggie » Sat Jun 27, 2020 9:14 pm

Next version.

1. Added yellow label above player with name and health. Useful for understand who is who and how many hp is has. So you not fire from flak near teammate with 20hp. Or tell him where located health on map.
2. If you carries Health Gun, then on left side appear list of your teammates which you can heal.
3. If you select CoopTranslocator, then on left side listed all players with their hp, score and used weapon. Useful if you not want tele to player with insta and die. Also allow you fast see which players increase score - so they in battle with monsters, so you can help them.
UTMenu20200627231342.rar
(1.49 MiB) Downloaded 9 times

User avatar
Barbie
Godlike
Posts: 1858
Joined: Fri Sep 25, 2015 9:01 pm
Location: moved without proper hashing

Re: Monster Hunt cheats and voice menu fix

Post by Barbie » Sun Jun 28, 2020 2:14 pm

There are some maps and servers that use the package "HealingGunBeta" for a healing gun, so you may expand the code line to:

Code: Select all

if (Inv.isA('SBHealingGun') || Inv.isA('HealingGun'))
(I'm not sure "isA()" works without respecting the package name? I have published the packages "SBHealingGunV0", "SBHealingGunV1", "SBHealingGunV2", but all contain the class "SBHealingGun"). I don't know how many mappers and server use "SBHealingGun" at all. UnrealArchive.org for example doesn't know it.

Code: Select all

if (player[i].Health >= 550) continue;
The property "SBHealingGun.MaxHealth" is configurable (see SBHealingGunV2-Readme). I set this to a bit more (550) than the healing amount of the HealthPack (500) so that players have a motivation to use the healing gun. So the value 550 is very specific to my server.
We could add your PostRender stuff directly to the weapon instead.

For the other PostRender stuff I recommend using a Mutator instead of hacking UT files. That would also had the advantage that it could be used on a server.
"Multiple exclamation marks," he went on, shaking his head, "are a sure sign of a diseased mind." --Terry Pratchett

Buggie
Average
Posts: 77
Joined: Sat Mar 21, 2020 5:32 am

Re: Monster Hunt cheats and voice menu fix

Post by Buggie » Sun Jun 28, 2020 4:09 pm

Hmm. I will try spawn local Mutator on client, but not sure if it is possible.

Usually you can not use Mutator on client which not in server list. In any case it will be hack.

Next version.
1. Fixed some bugs connected with weapon detection if monster carry it.
2. Black outline around yellow label above players. This allow read it even on white background. (will be good if same workaround will be implemented in MonterHunt code which display monsters names with health)
3. Now use MaxHealth property from Heal gun and support "HealingGun" name.
3. If you carry heal gun and can heal this player, then his health surrounded with ">>> " and " <<<".
3. Add proper crosshair (white with black outline) which visible on any surface. Even on white. It is 3*3 px white square with 1 px black stroke around it.
For original crosshair need set black color which mean no crosshair at all.
scr_1593355120.png
scr_1593353346.png
scr_1593353338.png
scr_1593353320.png
UTMenu20200628180305.rar
(1.49 MiB) Downloaded 5 times

User avatar
papercoffee
Godlike
Posts: 9638
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: Monster Hunt cheats and voice menu fix

Post by papercoffee » Sun Jun 28, 2020 5:04 pm

I need this crosshair !!
How accurate is this thing?

Buggie
Average
Posts: 77
Joined: Sat Mar 21, 2020 5:32 am

Re: Monster Hunt cheats and voice menu fix

Post by Buggie » Sun Jun 28, 2020 5:23 pm

Unfortunately, I don’t know the way to read the class field without requiring loading this class.
GetPropertyText works locally, but returns an empty string on the server. Therefore, if there is zero, I will set 550.

Code: Select all

if (Inv.isA('SBHealingGun') || Inv.isA('HealingGun')) {
heal = int(Inv.GetPropertyText("MaxHealth"));
if (heal == 0) heal = 550;
I try watch value via editactor and there default "500" (but GetPropertyText return empty string). So I think this value not replicate to client so can not be accessed from client side.

Crosshair code very simple:

Code: Select all

				C.Font = C.SmallFont; // C is Canvas

				C.DrawColor.R = 0; C.DrawColor.G = 0; C.DrawColor.B = 0;

				C.SetPos(C.ClipX/2 - 2, C.ClipY/2 - 4);
				C.DrawText("o"); // black outline

				C.DrawColor.R = 255; C.DrawColor.G = 255; C.DrawColor.B = 255;

				C.SetPos(C.ClipX/2 - 2, C.ClipY/2 - 4);
				C.DrawText("+"); // draw white '+'
				C.SetPos(C.ClipX/2 - 2, C.ClipY/2 - 4); C.DrawText(chr(215)); // make white square 3x3 px
You can comment last line and get "+" crosshair 3*3 px, inside black circle. IDK maybe it is better for you.

Here examples for labels above players.
scr_1593361131.png
scr_1593361146.png
scr_1593361146.png (64.4 KiB) Viewed 199 times
On bad background:
scr_1593367752.png
scr_1593367752.png (33.19 KiB) Viewed 189 times
New version.
1. Fix for heal gun on network play.
UTMenu20200628192150.rar
(1.49 MiB) Downloaded 9 times
papercoffee wrote:
Sun Jun 28, 2020 5:04 pm
I need this crosshair !!
Install file as described on first post in the topic.

But I'm afraid any anti-cheat will detect a change in system files and will not let you into the server where this anti-cheat exists. This is not true for monsterHunt, but true for detamatch servers.

This problem cannot be solved. The only exception is that this code will be embedded in UTPure or something similar and will be installed on each server. Something like special settings - to replace the crosshair of the client, which can be turned on.

Or use third-party software that will draw a picture in the center of the screen, on top of the game output.
No anti-cheat can track this.
papercoffee wrote:
Sun Jun 28, 2020 5:04 pm
How accurate is this thing?
Maximum accuracy. The sight is strictly in the pixel grid and does not go anywhere.
Like the original.

But weapons can shoot anywhere and anyhow. It does not depend on crosshair. With the original crosshair the same story.

PulseGun and ripper shoot from a weapon to the endless point that the center of the screen points to. Therefore, projectiles fly near the player, to the right and below the crosshair.

You can not make the original crosshair transparent, but make it a large cross or a large dot and compare.

Buggie
Average
Posts: 77
Joined: Sat Mar 21, 2020 5:32 am

Re: Monster Hunt cheats and voice menu fix

Post by Buggie » Mon Jun 29, 2020 3:37 pm

New version.
1. If selected coop translocator you see miniscreen for each teammate, labeled with hp, score and carried gun. First tile left empty for you see selection on translocator. This useful for spy for teammates. And see where you teleport to.
scr_1593438880.png
scr_1593468487.png
scr_1593469123.png
2. Near mover (close to distance 200) draw red line from mover to trigger which can activate this mover. This useful for understand what action need do for open door where you stuck. Just small hint.
scr_1593440406.png
scr_1593440144.png
3. If no ScriptedPawn found then search MonsterEnd. It is useful on some maps where hard to find mh end after kill all monsters.
4. Label for closest ScriptedPawn draw even if it is not visible. Useful for find last monsters.
UTMenu20200629173314.rar
(1.49 MiB) Downloaded 6 times

Buggie
Average
Posts: 77
Joined: Sat Mar 21, 2020 5:32 am

Re: Monster Hunt cheats and voice menu fix

Post by Buggie » Wed Jul 01, 2020 4:39 pm

New version.

1. Red border around tile with selected teammate for translocate.
Order of tiles different from order of teammate select because CoopTranslocator use very chaotic way for find next teammate. It is good for find next player but bad for list all players.
So it is "feature" not a bug. Can not be fixed.
scr_1593617253.png
2. Better outline for labels.
scr_1593617568.png
UTMenu20200701183445.rar
(1.49 MiB) Downloaded 6 times

Buggie
Average
Posts: 77
Joined: Sat Mar 21, 2020 5:32 am

Re: Monster Hunt cheats and voice menu fix

Post by Buggie » Sat Jul 11, 2020 7:32 pm

New version.

- Some bug fixes.
- Red line from movers disabled because create lags on some cases.
- if you view some players then all on screen calculated from this player. Work only for humans, not for bots. So you can get advice for your teammates how find last monsters.
- Added preview for teleporters for recognize teleport traps/secrets in MH.
scr_1594491995.png
UTMenu20200711212657.rar
(1.5 MiB) Downloaded 2 times

Post Reply