Kreative Korner > Maps & Mapping

Killing Floor Mapping Tutorial

<< < (8/11) > >>

JD:

--- Quote from: N3Cr0 on November 13, 2011, 17:11 ---Maybe you could write a batch file which first opens a dedicated server with the map and then it starts the game connecting to localhost / IP 127.0.0.1
Never tried, but it may be an option.

--- End quote ---

Hmm, that sounds like an excellent idea! Thanks, Necro!

[MiA]Raj:

--- Quote from: N3Cr0 on November 13, 2011, 17:11 ---Maybe you could write a batch file which first opens a dedicated server with the map and then it starts the game connecting to localhost / IP 127.0.0.1
Never tried, but it may be an option.

--- End quote ---

Something like this

--- Code: ---UCC server KF-Doorway-to-Hell.ut2?game=KFmod.KFGameType?Other_options=blablabla ini=KFMod20.ini log=KFmod20.log -mod=KFMod20
UT2004 127.0.0.1 -mod=KFMod20

--- End code ---

The last command is actually a pretty quick way for joining our server, avoiding waiting for slow master server or typing the IP.
Eg, make a shortcut to UT2004.exe somewhere with arguments, like this:
"UT2004.exe 108.61.255.109 -mod=KFMod20"
Or "UT2004.exe gs1.themiasma.com -mod=KFMod20"

N3Cr0:
Exactly as Raj says.
But there might be a way to execute both commands at the same time.
Under Linux I would do that with "&&"  or "|" for pipe commands and maybe a short sleep time.
like this:

--- Code: ---UCC server KF-Doorway-to-Hell.ut2?game=KFmod.KFGameType?Other_options=blablabla ini=KFMod20.ini log=KFmod20.log -mod=KFMod20 && sleep 3; UT2004 127.0.0.1 -mod=KFMod20

--- End code ---

But under I'm not sure if it works that way under Windows. I will try it later.

N3Cr0:
OK, just tried it.
Make a batch file with following content and place it in yout UT2004/system directory:

--- Code: ---start UCC server KF-Doorway-to-Hell.ut2?game=KFmod.KFGameType?Other_options=blablabla ini=KFMod20.ini log=KFmod20.log -mod=KFMod20
start UT2004 127.0.0.1 -mod=KFMod20

--- End code ---

if your game starts before the server you should try to make the system wait a little, unfortunately there's no sleep command under Windows, but you can let the system wait by pinging yourself, like this


--- Code: ---cls
@ echo off
start UCC server KF-Doorway-to-Hell.ut2?game=KFmod.KFGameType?Other_options=blablabla ini=KFMod20.ini log=KFmod20.log -mod=KFMod20
ping 127.0.0.1 -n 6
start UT2004 127.0.0.1 -mod=KFMod20

--- End code ---

JD:
Whoa! This sure is some useful stuff! Much thanks again! :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version