Killing Floor Mapping Tutorial  (Read 57309 times)

JD

  • Junior Member
  • *
  • Posts: 27
  • Country: hu
  • Let's make cupcakes!!!
Re: Killing Floor Mapping Tutorial
« Reply #30 on: November 13, 2011, 15:21 »
Yeah, I know about that method, but I find it too slow...I mean, save map->run kfmod->create server->choose map->wait 'till it loads->bring coffe->yadda yadda....I was hoping there are some faster methods to test maps in KF, like in ut2004.

Hicks

  • Sr. Member
  • *
  • Posts: 238
  • Country: kz
  • Lurker
    • id8
Re: Killing Floor Mapping Tutorial
« Reply #31 on: November 13, 2011, 15:27 »
That's how I do it. I never run the map from editor. I just run the game and open it ingame.
I don't see the problem...

But remember: Every KF map needs "KF" before it. You can't find it ingame when you don't name it "KF-blah" for example.
That's right! :D I'm testing my maps exactly like that.
Don't run map from editor, JD. Run it ingame. And some maps need to be tested on dedicated server too, if you're use some kind triggers.

JD

  • Junior Member
  • *
  • Posts: 27
  • Country: hu
  • Let's make cupcakes!!!
Re: Killing Floor Mapping Tutorial
« Reply #32 on: November 13, 2011, 15:46 »
Well, at least I learned something new today. Thanks everyone! :3

Vanico

  • 1337
  • *
  • Posts: 336
  • Country: de
  • Loves KF and makes maps.
Re: Killing Floor Mapping Tutorial
« Reply #33 on: November 13, 2011, 15:58 »
Yeah, I know about that method, but I find it too slow...I mean, save map->run kfmod->create server->choose map->wait 'till it loads->bring coffe->yadda yadda....I was hoping there are some faster methods to test maps in KF, like in ut2004.

My KF + Map is opened in 5 Seconds :p

N3Cr0

  • 1337
  • *
  • Posts: 641
  • Country: de
Re: Killing Floor Mapping Tutorial
« Reply #34 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.
http://n3cr0.itch.io/

xmpp: n3cr0@jabber.ccc.de

JD

  • Junior Member
  • *
  • Posts: 27
  • Country: hu
  • Let's make cupcakes!!!
Re: Killing Floor Mapping Tutorial
« Reply #35 on: November 13, 2011, 17:48 »
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.

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

[MiA]Raj

  • 1337
  • *
  • Posts: 1274
  • Country: ee
    • rajliv
Re: Killing Floor Mapping Tutorial
« Reply #36 on: November 13, 2011, 18:42 »
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.

Something like this
Code: [Select]
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

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

  • 1337
  • *
  • Posts: 641
  • Country: de
Re: Killing Floor Mapping Tutorial
« Reply #37 on: November 13, 2011, 19:19 »
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: [Select]
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

But under I'm not sure if it works that way under Windows. I will try it later.
http://n3cr0.itch.io/

xmpp: n3cr0@jabber.ccc.de

N3Cr0

  • 1337
  • *
  • Posts: 641
  • Country: de
Re: Killing Floor Mapping Tutorial
« Reply #38 on: November 13, 2011, 20:16 »
OK, just tried it.
Make a batch file with following content and place it in yout UT2004/system directory:
Code: [Select]
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

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: [Select]
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
http://n3cr0.itch.io/

xmpp: n3cr0@jabber.ccc.de

JD

  • Junior Member
  • *
  • Posts: 27
  • Country: hu
  • Let's make cupcakes!!!
Re: Killing Floor Mapping Tutorial
« Reply #39 on: November 13, 2011, 22:06 »
Whoa! This sure is some useful stuff! Much thanks again! :)

poompoom500

  • 1337
  • *
  • Posts: 708
  • Country: us
  • For my one and only Dottie.
    • poompoom500
    • poompoom500
Re: Killing Floor Mapping Tutorial
« Reply #40 on: November 13, 2011, 23:17 »
 :( To JD,

Yep. You can do those things above, or you can also make a batch file and an icon that links to the batch for a one click start.

1. Make a copy of your "Play KF.bat" file from your C:\Program Files\Unreal Tournament 2004\KFMod20.
2. Edit it by pasting the code below:
Code: [Select]
@ECHO OFF
SET MOD_NAME=KFMod20
START ..\System\UT2004.exe 108.61.255.109 -MOD=%MOD_NAME%
3. Rename that file to "Play KFMiasma.bat".


4. Then make an icon for it in your desktop - copy your "Killing Floor 252" icon and rename it "Killing Floor 252 Miasma"; right click on the icon and get the properties; you should be in the "Shortcut" tab; then go to "Target:" and paste the code below:
Code: [Select]
"C:\Program Files\Unreal Tournament 2004\KFMod20\Play KFMiasma.bat"
click "OK"; and you're good!



[MiA]Raj

  • 1337
  • *
  • Posts: 1274
  • Country: ee
    • rajliv
Re: Killing Floor Mapping Tutorial
« Reply #41 on: November 14, 2011, 12:37 »

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

Actually, in Windows Vista and 7 there's timeout command. Eg "timeout 10" to wait 10 secs.

And if that doesn't work for some reason or you got XP, get Windows Server 2003 Resource Kit Tools, it gives you the "sleep" command.

@Poom, instead of using batch files, you could just make a shortcut of UT2004.exe somewhere and change the arguments of it.
Oh, and server IP might change. Use this URL instead of IP: gs1.themiasma.com.


« Last Edit: November 14, 2011, 12:59 by [MiA]Raj »

poompoom500

  • 1337
  • *
  • Posts: 708
  • Country: us
  • For my one and only Dottie.
    • poompoom500
    • poompoom500
Re: Killing Floor Mapping Tutorial
« Reply #42 on: November 22, 2011, 16:43 »
 :-[ To MiA Raj,

It's more this way - "C:\Program Files\Unreal Tournament 2004\System\UT2004.exe" gs1.themiasma.com -MOD=KFMod20.

[MiA]Raj

  • 1337
  • *
  • Posts: 1274
  • Country: ee
    • rajliv
Re: Killing Floor Mapping Tutorial
« Reply #43 on: November 22, 2011, 16:59 »
You mean those quotes? Doesn't make a difference here...

N3Cr0

  • 1337
  • *
  • Posts: 641
  • Country: de
Re: Killing Floor Mapping Tutorial
« Reply #44 on: November 22, 2011, 20:59 »
Spaces are not supported by Windows (because they seperate the .exe/command from additional parameters).
In case of a directory called Unreal Tournament 2004 we have two of them.
So we need the quotes here.
Linux is easier here, it would be like  .../Unreal\ Tournament\ 2004/...
http://n3cr0.itch.io/

xmpp: n3cr0@jabber.ccc.de