Author Topic: Exclusions in menus  (Read 2190 times)

Zorchenhimer

  • Autococker
  • Posts: 2614
Exclusions in menus
« on: March 24, 2007, 11:07:59 AM »
Is there a way for the select widget to exclude or ignore files. Like a menu that list all demos except the auto recorded? Thanks.

PS. Jits, I like the fix of the blank select widget flipping out. :)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Exclusions in menus
« Reply #1 on: March 25, 2007, 03:41:25 PM »
I don't think so, unless there's some crazy file listing wildcard I don't know about.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Exclusions in menus
« Reply #2 on: March 26, 2007, 08:40:37 AM »
I thought I couldn't use those complicated wildcards. :P
Well... TO GOOGLE!

{appy Hamper

  • VM-68
  • Posts: 128
Re: Exclusions in menus
« Reply #3 on: March 27, 2007, 05:59:36 PM »
I think you could do it if you renamed all the demos you wanted to show up, and then wrote the command to only list those files...

or you could just do the same thing we did in the siege and favs maps categories, using separate directories.  The files would all still have to be in the demo file, but you could copy/paste them anywhere else you want.

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Exclusions in menus
« Reply #4 on: March 27, 2007, 07:47:06 PM »
That would completely defeat my purpose: an option to show all demos except the auto recorded ones. This way would be much less time consuming, which is why I'm asking if it is possible in the first place. :P

{appy Hamper

  • VM-68
  • Posts: 128
Re: Exclusions in menus
« Reply #5 on: March 28, 2007, 05:11:33 PM »
I haven't seen the auto-recorded ones.  Are they saved by the date?  as opposed to the ones you name when you record?

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Exclusions in menus
« Reply #6 on: March 28, 2007, 05:18:24 PM »
Yea, for some reason the version in the dorms doesn't have the auto record thing (except mine :) ), but this it the format:

Quote
auto_20070306_144657_pb2dm1.dm2

What it means:

"auto"
Should be obvious

"20070306"
Date. This one is: 03-06-2007

"144657"
Time. 24 hour. This one is: 2:46.57 P.M. (I think)

"pb2dm1"
Map. (duh)

KiLo

  • Autococker
  • Posts: 2086
Re: Exclusions in menus
« Reply #7 on: March 28, 2007, 06:37:55 PM »
"144657" Time. 24 hour. This one is: 2:46.57 P.M. (I think)

Right you are on the time. :)

{appy Hamper

  • VM-68
  • Posts: 128
Re: Exclusions in menus
« Reply #8 on: March 30, 2007, 10:47:22 AM »
can you use variables in the middle?

Something like setting the list command to "auto_$.dm2"

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Exclusions in menus
« Reply #9 on: March 30, 2007, 10:56:57 AM »
No. And yes, I posted in the feature request thread:

Quote
2: Variables in menu widgets (for map preview screenshots) - Zorchenhimer, l1g