Page 1 of 1
Map opening with direction
Posted: Sun Feb 12, 2017 7:37 pm
by ƤØŢĀŤ0|Co
Is there a way to open map with command which will open map with directory like C:\Users\mamahole\AppData\Roaming\Dick\maps\huj.map
Re: Map opening with direction
Posted: Sun Feb 12, 2017 7:41 pm
by RayB.
Probably with a macro somehow
https://msdn.microsoft.com/en-us/library/c02as0cs.aspx
Honestly im not sure if I understand what you want exactly.
Re: Map opening with direction
Posted: Sun Feb 12, 2017 8:12 pm
by ƤØŢĀŤ0|Co
i mean in f2

in game
Re: Map opening with direction
Posted: Mon Feb 13, 2017 5:12 pm
by Index
From my understanding the folder structure is relative to "%AppData%\Teeworlds\maps".
So change_map "../xy" would open the map xy.map in the directory "%AppData%\Teeworlds".
With this you might be able to use any directory you want, but it's kind complicated :o
There is maybe an easier way though .__.
Re: Map opening with direction
Posted: Thu Feb 16, 2017 1:56 pm
by ƤØŢĀŤ0|Co
Index wrote:From my understanding the folder structure is relative to "%AppData%\Teeworlds\maps".
So change_map "../xy" would open the map xy.map in the directory "%AppData%\Teeworlds".
With this you might be able to use any directory you want, but it's kind complicated

There is maybe an easier way though .__.
Give me example please.
Re: Map opening with direction
Posted: Thu Feb 16, 2017 2:05 pm
by Index
That already was an example lel
../xy = %AppData%\Teeworlds
So just google directory navigation. That was just the rough direction you might want to look at, sry :p
Re: Map opening with direction
Posted: Thu Feb 16, 2017 2:18 pm
by ƤØŢĀŤ0|Co
wtf is (../xy =)?
Re: Map opening with direction
Posted: Thu Feb 16, 2017 6:17 pm
by Ryozuki
Imagine a directory structure like
Teeworlds/maps
If you are CURRENTLY in the maps folder and do ../command it will be excuted as if it were on the TEEWORLDS folder, NOT MAPS folder. Thats what he is trying to explain.
So if you have a map in Teeworlds folder and not map folder, do ../somemap.map
You can then with this, search in the entire pc.
[mod=Index]yeah, thanks :3[/mod]
Re: Map opening with direction
Posted: Fri Feb 17, 2017 12:30 am
by ƤØŢĀŤ0|Co
Ryozuki wrote:Imagine a directory structure like
Teeworlds/maps
If you are CURRENTLY in the maps folder and do ../command it will be excuted as if it were on the TEEWORLDS folder, NOT MAPS folder. Thats what he is trying to explain.
So if you have a map in Teeworlds folder and not map folder, do ../somemap.map
You can then with this, search in the entire pc.
give me example of command please. im too stupid.