rafalh / dashfaction

A community patch for the Red Faction (2001) FPS game
https://www.factionfiles.com/ff.php?action=file&id=6252
Mozilla Public License 2.0
61 stars 11 forks source link

Please add a command to display the date from the level file #238

Closed natarii closed 3 weeks ago

natarii commented 6 months ago

This information is displayed at the bottom of the screen upon level load, but this is easily missed. It would be nice to have a console command that would print it for the currently loaded level.

is-this-c commented 6 months ago

I think it would be useful if it prints the name and author along with the date.

rafalh commented 6 months ago

Would you prefer adding more information in info command or adding a new command like level_info?

is-this-c commented 5 months ago

A separate command keeps things succinct and level_info isn't too clear. I like map_about.

GooberRF commented 5 months ago

Would you prefer adding more information in info command or adding a new command like level_info?

I never realized it before now, but apparently the level_info command already exists? Currently it only prints the rfl filename, but that would seem to be the most appropriate place to put this additional info.

Perhaps it's worth considering simply making this command print all the level info from the level properties panel in RED, rather than just name/author/date? Currently there is no way to display most of this info in-game, and it would be good to change that.

This is the info from level properties:

rafalh commented 3 weeks ago

I decided that for now filename+name+author+date is enough. Both names map_info and level_info are supported. I didn't want to output all possible information about the level because it would make it less useful for normal people who don't care about fog color or level hardness and just want to check basic metadata. All that more advanced information can be found in the editor if someone is interested.