Nyx: random of only a subset of pics

Do you think Milovana.com is perfect in every way? Hopefully not, so what can we do to improve? Every idea, suggestion or criticism is highly appreciated.
Post Reply
User avatar
camel
Explorer At Heart
Explorer At Heart
Posts: 331
Joined: Fri Sep 29, 2006 4:40 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

Nyx: random of only a subset of pics

Post by camel »

As I'm thinking more about this, I want to make a tease that has an introduction, a bunch of random pics, and an end. So I want to use pic() to show random pics, but I only want to show a subset of the pics, keeping the intro pictures and the ending pictures out of the possible range. Extending this, I can see a desire to have different categories of pics. For example, 10 pics of a red head in random order, then 10 pics of a brunette in random order.

Is it possible to either group pictures into different categories for randomization and have a new different function like randompic(category)

... or allow for wildcards so that pic("blue*.jpg") will choose between blueballs.jpg, blue2.jpg, blue3.jpg, but not endpic.jpg

... or maybe the best way (in my opinion) would be to have unlimited arguments for pic that will randomize between the choices like pic("3.jpg", "4.jpg", "5.jpg", "6.jpg", "7.jpg", "8.jpg", "9.jpg", "10.jpg"). This way, we can include the same pics in mutliple random pools. (e.g. a tease could have a beginner set of nice pics shown at random, and then progress to a wider set that include those same nice pics plus a few mean ones)

... or some other way?
seraph0x
Administrator
Administrator
Posts: 2666
Joined: Sun Jul 23, 2006 8:58 am

Re: Nyx: random of only a subset of pics

Post by seraph0x »

camel wrote:... or allow for wildcards so that pic("blue*.jpg") will choose between blueballs.jpg, blue2.jpg, blue3.jpg, but not endpic.jpg
Hehe, that's already possible. (Try entering pic("blue*.jpg") in the script view.)

Of course it's a high priority feature for the visual editor as well. Let me put it on the todo real quick. (Generally there is A LOT that the script view already allows that the visual editor has no clue about as of now.)
camel wrote:... or maybe the best way (in my opinion) would be to have unlimited arguments for pic that will randomize between the choices like pic("3.jpg", "4.jpg", "5.jpg", "6.jpg", "7.jpg", "8.jpg", "9.jpg", "10.jpg"). This way, we can include the same pics in mutliple random pools. (e.g. a tease could have a beginner set of nice pics shown at random, and then progress to a wider set that include those same nice pics plus a few mean ones)
I like that as well. Not sure about the exact implementation, maybe this would be something to develop in conjunction with the slideshow command idea.
User avatar
camel
Explorer At Heart
Explorer At Heart
Posts: 331
Joined: Fri Sep 29, 2006 4:40 pm
Gender: Male
Sexual Orientation: Straight
I am a: Switch

ARGH! :-)

Post by camel »

Hehe, that's already possible. (Try entering pic("blue*.jpg") in the script view.)
:whistle:

Seriously, though, it didn't work the first time I tried it! I probably made a syntax error or something.

DAMN.
Post Reply