Map opening with direction

Discuss and share everything else.., it's the trash-section.
Forum rules
Please follow the common behaviour rules (viewtopic.php?f=113&t=2199) and write english-only.
Post Reply
ƤØŢĀŤ0|Co
COMMUNITY Team
Posts: 117
Joined: Sun May 01, 2016 7:44 pm
Location: Finland
Player profile: https://ddnet.org/players/ƤØŢĀŤ0|Co/
Mapper profile: https://ddnet.tw/mappers/ƤØŢĀŤ0|Co/

Map opening with direction

Post 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
ƤØŢĀŤ0|Co
RayB.
Posts: 1169
Joined: Mon Dec 01, 2014 9:24 pm
Clan: TOP

Re: Map opening with direction

Post 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.
ƤØŢĀŤ0|Co
COMMUNITY Team
Posts: 117
Joined: Sun May 01, 2016 7:44 pm
Location: Finland
Player profile: https://ddnet.org/players/ƤØŢĀŤ0|Co/
Mapper profile: https://ddnet.tw/mappers/ƤØŢĀŤ0|Co/

Re: Map opening with direction

Post by ƤØŢĀŤ0|Co »

i mean in f2 :D in game
ƤØŢĀŤ0|Co
Index
Posts: 1136
Joined: Mon May 05, 2014 7:30 pm
Clan: Eagle

Re: Map opening with direction

Post 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 .__.
ƤØŢĀŤ0|Co
COMMUNITY Team
Posts: 117
Joined: Sun May 01, 2016 7:44 pm
Location: Finland
Player profile: https://ddnet.org/players/ƤØŢĀŤ0|Co/
Mapper profile: https://ddnet.tw/mappers/ƤØŢĀŤ0|Co/

Re: Map opening with direction

Post 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 :o
There is maybe an easier way though .__.
Give me example please.
ƤØŢĀŤ0|Co
Index
Posts: 1136
Joined: Mon May 05, 2014 7:30 pm
Clan: Eagle

Re: Map opening with direction

Post 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
ƤØŢĀŤ0|Co
COMMUNITY Team
Posts: 117
Joined: Sun May 01, 2016 7:44 pm
Location: Finland
Player profile: https://ddnet.org/players/ƤØŢĀŤ0|Co/
Mapper profile: https://ddnet.tw/mappers/ƤØŢĀŤ0|Co/

Re: Map opening with direction

Post by ƤØŢĀŤ0|Co »

wtf is (../xy =)?
ƤØŢĀŤ0|Co
User avatar
Ryozuki
Posts: 1748
Joined: Tue Feb 24, 2015 7:28 am
Location: Catalonia
Player profile: http://ddnet.org/players/Ryozuki/
Mapper profile: http://ddnet.tw/mappers/Ryozuki/
Clan: Unique
Website: https://edgarluque.com
Discord: Ryozuki#2188

Re: Map opening with direction

Post 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]
ƤØŢĀŤ0|Co
COMMUNITY Team
Posts: 117
Joined: Sun May 01, 2016 7:44 pm
Location: Finland
Player profile: https://ddnet.org/players/ƤØŢĀŤ0|Co/
Mapper profile: https://ddnet.tw/mappers/ƤØŢĀŤ0|Co/

Re: Map opening with direction

Post 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.
ƤØŢĀŤ0|Co
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests