Euflorium: The Eufloria Community

Eufloria => Eufloria Classic => Topic started by: Pilchard123 on July 12, 2010, 04:15:27 AM

Title: Custom level icons/sorting
Post by: Pilchard123 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.
Title: Re: Custom level icons/sorting
Post by: Bonobo on July 12, 2010, 05:07:17 AM
Good idea, I’d love that!
Title: Re: Custom level icons/sorting
Post by: Alex 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.
Title: Re: Custom level icons/sorting
Post by: Bonobo 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.
Title: Re: Custom level icons/sorting
Post by: Alex 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.
Title: Re: Custom level icons/sorting
Post by: w4tc 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...
Title: Re: Custom level icons/sorting
Post by: Bonobo on July 13, 2010, 04:44:04 AM
Thx @Alex
Title: Re: Custom level icons/sorting
Post by: Alex 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.
Title: Re: Custom level icons/sorting
Post by: Pilchard123 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
Title: Re: Custom level icons/sorting
Post by: w4tc 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 :)
Title: Re: Custom level icons/sorting
Post by: AWS 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