Custom Shortcut to Automatically Load Map? -1 reply

Please wait...

editor obi-wan

Beware the squared-chined jedi

50 XP

24th October 2002

0 Uploads

2,785 Posts

0 Threads

#1 11 years ago

I know it's possible to create shortcuts for JA mutiplayer that will automatically load mods. I'm trying to speed up the testing process for testing my maps and I was wondering if there's a way to create a shortcut so the multiplayer version of the game loads and the map automatically opens.




^Pirate

I want to be like the Admins

50 XP

27th November 2006

0 Uploads

258 Posts

0 Threads

#2 11 years ago

I think it would be possible, since you can also edit the custom bat shortcut to connect to a certain server if you like.




editor obi-wan

Beware the squared-chined jedi

50 XP

24th October 2002

0 Uploads

2,785 Posts

0 Threads

#3 11 years ago

Well that sounds encouraging. It's just a question of whether or not you can create a shortcut that will automatically execute a chosen console command. Then I can just use /map testmap and away I go.

Does anyone have any ideas how, though? I've searched around on the net and can only find out how to execute a certain mod automatically and I can't seem to adapt it to work to open a map. By the looks of it, it opens JA and then loads the mod file, which doesn't help me because all I have is a .pk3 containing the map file.




^Pirate

I want to be like the Admins

50 XP

27th November 2006

0 Uploads

258 Posts

0 Threads

#4 11 years ago

Well, if you were to just run a server, that would have it's starting map on the map you want. You could just add: +connect "IP to the server" in the bat. And it would automatically connect and launch your map.




editor obi-wan

Beware the squared-chined jedi

50 XP

24th October 2002

0 Uploads

2,785 Posts

0 Threads

#5 11 years ago

That's not really an ideal solution. I'd have to start the game up, set up a server and leave it running while I'm editing and re-compiling my map all the time - taking up valuable RAM.




Deathspike

Freelance Programmer

50 XP

2nd May 2004

0 Uploads

129 Posts

0 Threads

#6 11 years ago

call jamp.exe +map mp/ffa1

O_o, thats a very simple bat. You can do shortcut too.. same idea. o.o




editor obi-wan

Beware the squared-chined jedi

50 XP

24th October 2002

0 Uploads

2,785 Posts

0 Threads

#7 11 years ago

Thanks, Deathspike. It works like a charm. :)

Problem Solved.




^Pirate

I want to be like the Admins

50 XP

27th November 2006

0 Uploads

258 Posts

0 Threads

#8 11 years ago

I tried that, but it didn't work. Perhaps because I wrote +map "mp/ffa1". Good to know.