User Tools

Site Tools


cw4:mverse

MVerse

It's a bit harder to test an Mverse script and messaging between instances.

Here is a Windows batch file that can assist in starting a second instance of CW4 on the same computer. Once you have this up, you can establish an Mverse session between the two instances by choosing the LAN option for Mverse hosting. Copy the invitation code on the host and press “paste” on the client side.

:!: You must use the LAN option to connect multiple instances on the same PC. The Internet option will not work.

In the file below, make sure to change the path to the path on *your* computer where you have CW4 installed. Also note that the name of the RPL.txt file can be changed. If it is not changed, you won't be able to write output to it since the other game instance(s) will also have attempted to open it for output (a sharing violation).

CW4Mverse.BAT
@Echo OFF	
 
START "" "E:\Steam\steamapps\common\Creeper World 4\CW4.exe" multirun rplfile=RPL2
 
EXIT /B

While in an Mverse session, you can enable the Editor with the following keyboard shortcut. Note you have to press both Ctrl keys simultaneously. CTRL + CTRL + keys for editor mode (default: Shift + E)

Tagging Maps

When uploading a map, remember to add the `mverse` tag to the list of tags. By convention, this tag can be used to filter Colonies maps for suitable multi-player maps.

cw4/mverse.txt · Last modified: 2021/06/22 11:17 by Karsten75