Author Topic: Custom level icons/sorting  (Read 6726 times)

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Custom level icons/sorting
« on: July 12, 2010, 04:15:27 AM »
Is there any way to add icons to the custom level list, as an example maybe a little round-edged square with a simplified cutout of a virus in it if it uses annikk's Infected AI? Or maybe clicking on the level name would bring up an information box about it, with a play button, like the main levels? Something else I was thinking about was a way to sort the levels, by author, or average game length, or something.

Bonobo

  • Achiever
  • Old Oak
  • ****
  • Thank You
  • -Given: 145
  • -Receive: 14
  • Posts: 675
  • Eufloria: Yes
Re: Custom level icons/sorting
« Reply #1 on: July 12, 2010, 05:07:17 AM »
Good idea, I’d love that!

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 15
  • Posts: 1,035
Re: Custom level icons/sorting
« Reply #2 on: July 12, 2010, 08:52:42 PM »
I think the best I could do would be to put in an interface that let you sort the levels into your own directory structure... e.g. annikk.exe/Infinity.lua, Bonobo/gorilla.lua, etc etc. "uses the infected AI" could be a hard one to spot as the AI may have been modified etc.

Bonobo

  • Achiever
  • Old Oak
  • ****
  • Thank You
  • -Given: 145
  • -Receive: 14
  • Posts: 675
  • Eufloria: Yes
Re: Custom level icons/sorting
« Reply #3 on: July 13, 2010, 02:01:46 AM »
Well,  own directory structure would be a great progressm IMHO.

BTW could you please post the names of the original levels which are in the maps folder? Meanwhile I have quite a chaos in there and I’d like to clean it up a bit w/o installing anew.

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 15
  • Posts: 1,035
Re: Custom level icons/sorting
« Reply #4 on: July 13, 2010, 04:27:11 AM »
I don't think there's anything in there on installation but the zip of the game's regular levels.

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: Custom level icons/sorting
« Reply #5 on: July 13, 2010, 04:36:55 AM »
Like the main game levels?
cool that sound that you can used as a campaign menu?
i am making now a campaign of ( at the moment ) 2 levels about 1 story...

Bonobo

  • Achiever
  • Old Oak
  • ****
  • Thank You
  • -Given: 145
  • -Receive: 14
  • Posts: 675
  • Eufloria: Yes
Re: Custom level icons/sorting
« Reply #6 on: July 13, 2010, 04:44:04 AM »
Thx @Alex

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 15
  • Posts: 1,035
Re: Custom level icons/sorting
« Reply #7 on: July 13, 2010, 06:00:04 AM »
Yeah I might add a campaign style interface but it's not a priority atm. Naming conventions could solve most of the problems there, apart from recording which levels have been completed.

Pilchard123

  • Tester
  • Old Oak
  • ****
  • Thank You
  • -Given: 4
  • -Receive: 24
  • Posts: 932
  • Eufloria: Yes
Re: Custom level icons/sorting
« Reply #8 on: July 13, 2010, 04:59:53 PM »
"uses the infected AI" could be a hard one to spot as the AI may have been modified etc.

It could be doable. If the information was set by the author of the level, not worked out by the game, then surely it would just have to check a tag on the file, or or an extra bit at the top of the LUA file for the level, or something.

Like this, maybe (obviously this is completely made up...):
Code: [Select]
LevelInfo.Author = "Pilchard123"
LevelInfo.ReleaseDate = 32/13/1806
LevelInfo.Difficulty = 2  --1 = easyest, 5 = hardest
LevelInfo.UsesInfected = true
LevelInfo.InfectedVersion = 0 -- version 0 is a customised/altered Infected AI
LevelInfo.Length = 1.25 --rough time in hours to complete
LevelInfo.GravityMap = true

w4tc

  • Achiever
  • Shrub
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 170
Re: Custom level icons/sorting
« Reply #9 on: July 13, 2010, 10:38:58 PM »
Yeah I might add a campaign style interface but it's not a priority atm. Naming conventions could solve most of the problems there, apart from recording which levels have been completed.
That sound super cool ;D!
but but :'( it not fair GRRRRR. I understand that, so we'll have to wait :)

AWS

  • Achiever
  • Arboreal Being
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 275
Re: Custom level icons/sorting
« Reply #10 on: December 03, 2010, 07:38:41 AM »
i still think the best method of sorting custom levels is to sort it first by number of times played, then by average game length (info that is collected over time of course).
that would be easier, quicker to implement and simple to navigate, just sort it either A-Z, or Z-A...

aws