[project1dev] Re: Project1 - SVN Update 546

  • From: Kent Petersen <kentkmp@xxxxxxxxx>
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Fri, 1 Jan 2010 23:44:00 -0800

sweet

On Fri, Jan 1, 2010 at 11:32 PM, Alan Wolfe <alan.wolfe@xxxxxxxxx> wrote:

> here's a pro tip, i think you are gonna like this.
>
> open console and type "place art\models\personal\alan\alanmap\" and press
> tab.  lots of files right? lots of files that don't matter too (tons of
> tga's when we only care about ms3d files)
>
> change it to "place art\models\personal\alan\alanmap\p*.ms3d" and press tab
> again.
>
> all you get are the files that match p*.ms3d in that directory (:
>
>
> On Fri, Jan 1, 2010 at 11:29 PM, Kent Petersen <kentkmp@xxxxxxxxx> wrote:
>
>> Dude that's awesome
>>
>>
>> On Fri, Jan 1, 2010 at 11:19 PM, Apache User <
>> dhapache@xxxxxxxxxxxxxxxxxxx> wrote:
>>
>>> User:atrix256
>>>
>>> Message: Special request from Chris R: Tab file completion is in for the
>>> console now.
>>>
>>> So before, it was really tedious to type out file names to load a map or
>>> to place a new model in the editor.
>>>
>>> Now, you can start typing and press tab and it will complete the
>>> filename/directory name for you if there is a match, or show you all of the
>>> matches if there is more than one.
>>>
>>> Example to see what i mean (this is pretty helpful stuff)
>>>
>>> #1 - fire up the game and open the console
>>> #2 - type "load sc" and then press tab it will become "load Scripts\"
>>> #3 - press tab again and it will show you the contents of the scripts
>>> directory.
>>> #4 - type "per" and press tab to make it become "load Scripts\Personal\"
>>> #5 - type "al" and press tab to make it become "load
>>> Scripts\Personal\Alan\"
>>> #6 - type "sp" and press tab to make it become "load
>>> Scripts\Personal\Alan\Spacemap.lua"
>>> #7 - press enter to load the map
>>>
>>> tab file completion works in the console with any command: load, place,
>>> edit, new, save, etc.
>>>
>>> To get this working, i had to change some things about how the game works
>>> with filenames so if you hit any new bugs when editing maps or anything let
>>> me know!
>>>
>>> <Files Changed>
>>> U   ARRelease.exe
>>> U   AR_DebugConsole.cpp
>>> U   AR_DebugConsole.h
>>> U   AR_Editor.cpp
>>> U   AR_LuaFuncs.cpp
>>> U   AR_Map.cpp
>>> U   LowLevel.cpp
>>> U   LowLevel.h
>>>
>>>
>>>
>>
>

Other related posts: