TommySoucy / H3MP

A mod for Hotdogs, Horseshoes and Handgrenades that adds multiplayer to the game.
GNU General Public License v3.0
52 stars 7 forks source link

H3MP - Multiplayer mod for H3VR

As the title says, this is a mod that adds multiplayer to the virtual reality game Hotdogs, Horseshoes and Handgrenades.

MAIN BUILD - H3 Beta should be set to "None"

IMPORTANT

Manual Installation

  1. Download and install the latest (not pre-release) version of BepinEx
  2. Download the latest release of H3MP
  3. Put the H3MP folder from the zip file into the plugins folder (H3VR\BepInEx\plugins)

So you should end up with a H3VR\BepInEx\plugins\H3MP folder, containing H3MP.dll and other files.

Automatic Installation

Can be done through thunderstore using r2modman mod manager

Usage

All H3MP functions can be accessed through the wristmenu, in-game.

Hosting and joining can be done entirely from the in-game server list, accessible through H3MP's wristmenu section. The server list will let you host and join directly, as well as list your server publicly and join public servers. Upon hosting, you will have a check mark labeled "Forwarded". If left unchecked, UPnP will be used to open the entered port. Otherwise you will be expected to have already forwarded the port.

Direct connection, as could be done before without the server list, can still be done exactly the same way. To join a server directly, you will have to have set the IP and port of the server in your config file (see Config section below), then, in the wristmenu, press H3MP->Join. To host directly, you will have to open a port, set that port in your config file, and then, in the wristmenu, press H3MP->Host.

If you forgot to set these before going in-game and restarting the game is too much of a hassle, mainly for people with 200+ mods that I figured probably take a while to load, you can set your config, then go to H3MP->Options->Reload config in the wristmenu which will reload your configs, after which you can connect/host

Options

In the wristmenu, some options are available:

Config

The config refers to a file in the H3MP folder called Config.json which contains a few important settings.

Hosting

Can now be done directly from the server list.

For direct connection, you can either use the server list's Join/Host buttons on the first page, or use direct connection as was required before:

To host a server on a local network, anyone who wants to connect to you will have to set their config's IP to your machine's local IP address, which can be found by running the "ipconfig" command in CMD.

To host a server for public access, anyone who wants to connect to you will have to set their config's IP to your machine's public IP address, which can be found by searching "what is my IP" on google.

For public access, you will need to port foward the port you have set in your config. Important: Port forward needs to be both TCP and UDP.

In both cases, both host and client will have to set their port to the portforwarded one.

The default port of 7861 can be used safely (Unless you already have something running on your machine that uses it), though most numbers between 0 and 65535 should work fine apart from very specific ones. If you want to use a different one, look it up online first to see if it is reserved for anything else. Some specific ones may also be blocked by your ISP.

To start the server, in the wristmenu, press H3MP->Host

Incompatibilities

Upcoming support