logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,642
Total Threads: 8,744
Posts: 95,513

Administrators:
DeeZire, Redemption

There are currently 30 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 02-08-2004, 04:25 PM   #1 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: USA
Posts: 223
Default ZH -mod command line parameter?

Quote:
Originally Posted by From the 1.02 Patch readme
NEW COMMAND LINE PARAMETERS - Added "-quickstart" and "-mod" command line parameters to the Zero Hour executable.
Okay, so I share my computer with someone else who detests my feeble attemts at modding. How do I set up this -mod extention stuff so that I can start up my mod with a separate shortcut?
needleman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-08-2004, 05:10 PM   #2 (permalink)
Member
 
Join Date: Jun 2003
Location: Earth
Posts: 93
Send a message via AIM to Zrakh Send a message via MSN to Zrakh Send a message via Yahoo to Zrakh
Default

Copy your shortcut, paste it, rename it, go to properties on it, add -mod modname.BIG one space after the final "
Zrakh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-08-2004, 05:26 PM   #3 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: USA
Posts: 223
Default

Umm.... whenever I put a .big file in the ZH folder or any subfolder, the graphics files take effect if they overlap anything, no matter what the file's name, without the -mod thingy. Ditto with INI files. What's the point?

Besides, it's a pain in the ass to recompile a .big every time you make a single change. Is there any way to set up a -mod in a subfolder?
needleman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-08-2004, 09:54 PM   #4 (permalink)
Junior Member
 
Join Date: Nov 2003
Posts: 1
Default Development VS Release

The idea would be that you develop the mod as separate files then package them together as a BIG (and test it) when you release. The advantage of the -mod parameter is that it allows players - the users of your mod - to have multiple mods installed but easily pick and choose between them when launching the game.

Of course I still think the best would be an ingame mod menu, but that's probably not going to happen to Gen or ZH.
HeXetic is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-08-2004, 11:23 PM   #5 (permalink)
Senior Member
 
Join Date: Aug 2003
Posts: 1,087
Default

rename your ini and art folders when you start/finish.Maybe you could even make a little script that does it for you with a mouse click, I dont know.
key0p is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-09-2004, 02:17 AM   #6 (permalink)
ccs
Senior Member
 
Join Date: Sep 2003
Location: the mighty planet of doom (NZ)
Posts: 269
Send a message via AIM to ccs Send a message via MSN to ccs Send a message via Yahoo to ccs
Default

take your shortcut and copy it
then edit it so that after the command code it says "-mod %#$#.big"
and it should work
ccs is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-09-2004, 01:31 PM   #7 (permalink)
Member
 
Join Date: Jun 2003
Location: Earth
Posts: 93
Send a message via AIM to Zrakh Send a message via MSN to Zrakh Send a message via Yahoo to Zrakh
Default

Quote:
Originally Posted by needleman
Umm.... whenever I put a .big file in the ZH folder or any subfolder, the graphics files take effect if they overlap anything, no matter what the file's name, without the -mod thingy. Ditto with INI files. What's the point?

Besides, it's a pain in the #$@! to recompile a .big every time you make a single change. Is there any way to set up a -mod in a subfolder?
The advantage is testing, especially for cluzy forgetful oafs like me. When I'm modding I have a test1.big and a test2.big. I rotate compilings, so if I royally screw up (it happened once after about 15 changes I made without saving, had to re-do them all) I can just un-pack from the last version and not have to re-do anything but my most recent change.
Zrakh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-09-2004, 05:28 PM   #8 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: USA
Posts: 223
Default

Well, my method for that is to leave the TextPad windows for the .ini files open while I test. TextPad can undo a huge number of steps (and I've had to). But I see your point. Hmm... maybe I'll just set up a batch file like KeyOp suggested. Althogh my roomate hasn't been complaining at the changes yet. Then again, I haven't done anything really big yet.
needleman is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting 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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Command Line Switches DeeZire Generals & Zero Hour Editing 23 02-16-2005 07:13 PM
Line RedLeader Generals & Zero Hour Editing 4 12-02-2004 03:31 PM
Generals Zero hour... syntax command line LinsoN Generals & Zero Hour Editing 11 10-27-2003 06:31 AM
Command line switches Visceroidman Generals & Zero Hour Editing 0 07-06-2003 08:38 PM
scanning parameter LordShay Map Authoring 0 06-05-2003 02:30 AM


All times are GMT -4. The time now is 05:28 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.