Urban Terror

Locked
wojki
Posts: 2
Joined: Wed Dec 14, 2005 11:42 am

Urban Terror

Post by wojki »

Enybody knows how to set UTR to start directly from finder withouit starting Quake first?

than you for your cooperation
:)
Canis
Posts: 3798
Joined: Sun Jan 14, 2001 8:00 am

Post by Canis »

make an applescript that calls this command: /Applications/Quake\ 3/Quake\ 3.app/Contents/MacOS/Quake\ 3 +set fs_game "Q3UT" (or whatever the mod folder name is for UT).

Save the script as an application and stick it in your Dock or wherever you want, and then it should open UrT directly.
wojki
Posts: 2
Joined: Wed Dec 14, 2005 11:42 am

Post by wojki »

yes im trying, buy its not working, maybe cos i have mac os 10.4?
it looks like this:

tell application "Finder"
activate
open application file "Quake3.app" of folder "quake3" of folder "Applications" of startup disk
end tell


bur id dont know where to add the "+set fs_game "Q3UT""
Canis
Posts: 3798
Joined: Sun Jan 14, 2001 8:00 am

Post by Canis »

No. That's telling the finder to perform the command. I'm not sure what the applescript command is for it, but there is a command to call a "command line" of some sort, or something like that. It would be something like:

[call command] "/Applications/Quake\ 3/Quake\ 3.app/Contents/MacOS/Quake\ 3 +set fs_game Q3UT"

...not sure what the "call command" is though. It will work under all versions of OS X, so having 10.4 isnt an issue. Try opening up the terminal and entering that command such that it points to the Quake3 application (within the Quake3.app folder) and has the +set variables set properly. It will start UrT directly.
Locked