PDA

View Full Version : [TUT] (Novice) Creating More Efficient Shortcuts



MetKiller Joe
May 19th, 2008, 10:18 PM
http://img261.imageshack.us/img261/3723/shortcuttutll4.jpg


Say one has a map they've been working on fervently. This person probably does not want to keep typing:



<Halo CE root directory>\tool structure levels\foo foo

or

<Halo CE root directory>\tool lightmaps levels\foo\foo foo 0 0.9
[debug]

or even

<Halo CE root directory>\tool build-cache-file levels\foo\foo

Presumably, this person is a novice, and novices get a lot of tool/sapien errors. Having a simple one-time, work-around, method is nice to keep doing what is really important and less of what is just plane mundane.

I will show you how to make one shortcut that will decrease all steps to one step: double-click on the shortcut.

Open up your tool shortcut; we will make a shortcut that will execute tool along with the following commands:



structure levels\foo foo
The syntax for this is:



<Halo CE root directory>\cmd.exe" /k "tool structure levels\foo foo"
As demonstrated here:

http://img166.imageshack.us/img166/5233/tutqy9.jpg

The same syntax can be applied to any tool command; the syntax for multi-purpose use is:



"<Halo CE root directory>\cmd.exe" /k "tool <command> <syntax of given command as defined in tool>"
And yes, the quotation marks are something you need as well.

Credits go to my friend who showed me this method.

supersniper
May 20th, 2008, 02:27 AM
Very useful for people who are lazy.

Sel
May 21st, 2008, 08:25 AM
Actually I never knew that, but then I only really type it in once anyway and then just press up to cycle through old commands.

Roostervier
May 21st, 2008, 02:50 PM
You could do the same thing with batch files, but I suppose this is nifty nonetheless.

kenney001
May 23rd, 2008, 01:31 AM
This looks more elegant than batch files....