1

Topic: [OSX] Some Questions on Map Creation and Testing

I'm interested in creating some high quality maps for Teeworlds. I've already started making one and all has been going well, except I've been having problems figuring out how to playtest my map, which brings me to my first question:

1 - True/False: The only way to playtest your own map is to set up a server that runs your map; then connect to that server.

That'd mean an internet connection would be required just to playtest your own map. That seems awfully silly. F1 opens the console, right? Isn't there a command that loads a .map file from your own filesystem, in lieu of a server?

If creating a server is indeed the only (silly) way to playtest a map, then:

2 - What am I supposed to do with the "Teeworlds Server" Application that came bundled with the Teeworlds download?

When I run it, it just opens a "choose the file you'd like to open" window. No instructions or anything, Just an "open file" window. What does it want me to open? there's a settings.cfg file in the Application Support folder. Does that have any relevance? What should I point it to?

Thank you in advance, and thank you for such a great game.

2

Re: [OSX] Some Questions on Map Creation and Testing

to your 1. Question:
yes thats right, you need a server to test your map, but you dont need internet, you can make a server LAN
you only need the server creator (see other topic)

and then you can change map with f2 --> for example: change_map ctf4
or the name of your map

3 (edited by Argon 2009-07-12 16:30:02)

Re: [OSX] Some Questions on Map Creation and Testing

@2.) Select a .cfg file with your server's settings, if you select a random file the server will search for autoexec.cfg
But:

There is a map folder in the Teeworlds.app bundle, copy these maps and paste them into ~/Library/Application Support/Teeworlds/Maps
The maps folder located in your library is used by the server (you wish to set up) and empty on default, so don't forget to put some maps into the folder

4

Re: [OSX] Some Questions on Map Creation and Testing

You even don't need the server creator do start you own server.
Just read this.

5

Re: [OSX] Some Questions on Map Creation and Testing

Eh little question: where to find a map editor for OSX?
I found some for windows but nothing for osx...

6 (edited by FearlessLeader 2009-07-13 02:01:25)

Re: [OSX] Some Questions on Map Creation and Testing

First of all, thanks for your responses.

Argon wrote:

Eh little question: where to find a map editor for OSX?
I found some for windows but nothing for osx...

Ctrl+shift+e brings you to the map editor. Isn't that how it works on Windows, too?

-------

So, the settings.cfg file in "Application Support" is the file I select in the Server Creator? (once I've set the file up correctly)

What happens after I select it and click "Open"?

7 (edited by Argon 2009-07-13 09:48:51)

Re: [OSX] Some Questions on Map Creation and Testing

Ah thanks.


No, the settings.cfg holds your gamesettings.
By default, there is no server-settings file, you have to create it by yourself.
Command explanations and examples: http://www.teeworlds.com/?page=docs& … gUpAServer
Just create a new file (plain text) and name it whatever.cfg or autoexec.cfg.

If you open a .cfg file (in the server's promt) he will use this one, if you choose a non-cfg-file he'll search for "autoexec.cfg" in ~/Library/Apllication Support/Teeworlds

After pressing "open" some kind of status-window will appear. It tells you what happens including some error messages.

8

Re: [OSX] Some Questions on Map Creation and Testing

Ah, I see, I'm making progress now.

Here's what I've got so far:
I created a .cfg server settings file and gave it the default settings from the link you posted, then added the last line myself to make it a LAN server:

sv_name Teeworlds sample ctf
sv_map ctf2
sv_scorelimit 400
sv_gametype ctf
sv_rcon_password remember
sv_motd Teeworlds sample ctf configuration
sv_register 0

I launched the Teeworlds Server application, and selected my new .cfg file in the "open file" window.
Then I open Teeworlds, click on the LAN tab up at the top, and lo and behold, there it is! Success!

when I join the LAN server, ctf2 loads up, as expected.

However, if I try to change the map from ctf2 to my map, (named ctf6.map) my server disappears from the LAN server listing within Teeworlds.

It looks like that's my fault though. Even though my server didn't show up on the list, I could still connect via host address, since Teeworlds saves the address of the server you visited last in the box just above the "connect" button.

http://i29.tinypic.com/9suhs0.png

I guess you can't test incomplete maps, huh? smile

9

Re: [OSX] Some Questions on Map Creation and Testing

FearlessLeader wrote:

However, if I try to change the map from ctf2 to my map, (named ctf6.map) my server disappears from the LAN server listing within Teeworlds.

Edit your filter options, disable "Standard Maps".

FearlessLeader wrote:

http://i29.tinypic.com/9suhs0.png

I guess you can't test incomplete maps, huh? smile

Isn't background missing? Try "gfx_clear 1" at Console (F1).

check out these maps: infiltrate - choco - dustycloud

10

Re: [OSX] Some Questions on Map Creation and Testing

FearlessLeader wrote:

It looks like that's my fault though. Even though my server didn't show up on the list, I could still connect via host address, since Teeworlds saves the address of the server you visited last in the box just above the "connect" button.

sv_register 1
and your server will show up

11

Re: [OSX] Some Questions on Map Creation and Testing

Slinack wrote:

Edit your filter options, disable "Standard Maps"

oh. Duh. tongue Thanks. And yes, the background is missing.

Argon wrote:

sv_register 1
and your server will show up

Not quite. Slinack has it right. I'm keeping it at 0 for now so it stays on the LAN.

12

Re: [OSX] Some Questions on Map Creation and Testing

Yes but register 1 means your server will show up on the internet. ;-)

13

Re: [OSX] Some Questions on Map Creation and Testing

I know. =]

I think I have enough info now to create and play-test my maps. I may have more questions later once I get one working the way I want it to.

Thanks!

14 (edited by FearlessLeader 2009-07-14 23:47:35)

Re: [OSX] Some Questions on Map Creation and Testing

Sorry for the double post, but I wanted to catch your attention.

Here's a few more questions:

What's the best way to refresh the map on my LAN server? (Say, after making some minor tweaks in the editor)
Currently, I've been disconnecting from the server, and then quitting and then opening again the server application, and it's a bit tedious. A console command that reloads the map would be awesome.

Secondly, is there any reason you can think of why general movement and player crosshair is a bit jerky? Other maps are smooth as silk, but just recently, after loading my own map, things get a little shaky when I move.

Also, I think I'm going to turn this thread into a newbie tutorial for getting people started making maps, creating servers, and play testing.

15

Re: [OSX] Some Questions on Map Creation and Testing

When I have a server running with the map I'm currently making and I save the map, the server automatically reloads the map.

The server command for reloading is:

sv_map_reload 1
aka cheesy

16

Re: [OSX] Some Questions on Map Creation and Testing

Add a  new layer, configure it so Para X and Para Y is 0
Add a quad layer in it, add a quad, make it bigger and change it's colors.
The quad will follow the screen!!!

FearlessLeader wrote:

Ah, I see, I'm making progress now.

Here's what I've got so far:
I created a .cfg server settings file and gave it the default settings from the link you posted, then added the last line myself to make it a LAN server:

sv_name Teeworlds sample ctf
sv_map ctf2
sv_scorelimit 400
sv_gametype ctf
sv_rcon_password remember
sv_motd Teeworlds sample ctf configuration
sv_register 0

I launched the Teeworlds Server application, and selected my new .cfg file in the "open file" window.
Then I open Teeworlds, click on the LAN tab up at the top, and lo and behold, there it is! Success!

when I join the LAN server, ctf2 loads up, as expected.

However, if I try to change the map from ctf2 to my map, (named ctf6.map) my server disappears from the LAN server listing within Teeworlds.

It looks like that's my fault though. Even though my server didn't show up on the list, I could still connect via host address, since Teeworlds saves the address of the server you visited last in the box just above the "connect" button.

http://i29.tinypic.com/9suhs0.png

I guess you can't test incomplete maps, huh? smile

17

Re: [OSX] Some Questions on Map Creation and Testing

Please don't bump old topics. He's most likely figured it out already or doesn't care anymore so your answer is irrelevant.

Give others the respect you wish to be respected with. In the mean time, enjoy the website!

18

Re: [OSX] Some Questions on Map Creation and Testing

grummi wrote:

When I have a server running with the map I'm currently making and I save the map, the server automatically reloads the map.

The server command for reloading is:

sv_map_reload 1

In trunk, you can just type reload 1