Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Enthusiast Zone > Gaming > Quake 2 and AppleScript questions

Quake 2 and AppleScript questions
Thread Tools
Fresh-Faced Recruit
Join Date: Jan 2000
Status: Offline
Reply With Quote
Jan 21, 2002, 10:39 PM
 
I'm trying to setup my old 7500 w/ 132MHz 604 as a Quake 2 dedicated server. I'd really like to have it start the server when the Mac boots.

I wrote an AppleScript to start the server:

tell application "Quake 2™"
run params "+set dedicated 1; +set game rogue; +exec RogueServer.cfg"
end tell

I then added an alias to the script in my Startup Items folder.

When I boot the Mac, it starts regular Quake 2, but not in dedicated server mode, and not running the Rogue expansion. But, I can quit Quake 2, and then double-click the alias, and it starts the dedicated server just fine. The only problem here is that Quake 2 is not the foreground app; I have to switch to it.

I also wrote the following script to start the Rogue expansion so I wouldn't have to hold down Option and type in the command line parameters:

tell application "Quake 2™"
run params "+set game rogue"
end tell

When I double-click this script, it starts Quake 2 with the Rogue expansion, but again, the Quake 2 app is not the foreground app. I have to switch to it via Alt-Tab.

It's a PowerMac 7500 with a 132MHz 604, MacOS 9.1, 96MB of RAM. I'm running Quake 2, v3.20 with the Ground Zero expansion pack by Rogue Entertainment. I've also got the gameppc.lib files for the expansion from Logicware.

Any ideas?

I don't mind that Quake 2 is not the foreground app after I run my AppleScripts, but I'd really like to know how to get that dedicated server to start when I boot the Mac.

Thanks,

Gron-gron
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:27 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2