Opened 2 years ago

Last modified 16 months ago

#6445 assigned defect

Allow Music tracks to be ordered.

Reported by: Stan Owned by: Neinea
Priority: Should Have Milestone: Backlog
Component: Music & Sound FX Keywords: simple
Cc: Patch: Phab:D4802

Description

As pointed out by @wowgetoffyourcellphone and @samulis it would be nice if tracks could be ordered, so that you could have a main track that's always played and some other tracks played in order, or any order.

Related files: gui/common/music.js simulation/data/civs

A simple solution could be to add an Order parameter to civ.json files

{
    "File": "Whistler.ogg",
    "Type": "peace",
    "Order": 1,
}

Then removing the shuffling from the js file or only shuffling tracks with no order

Music.prototype.ANY_ORDER = -1;

Change History (6)

comment:1 by Stan, 2 years ago

In 26573:

Add 24 new music tracks.
Patch by: @Samulis, Omri Lahav
Refs: #6445

comment:2 by Stan, 2 years ago

Milestone: Alpha 26Alpha 27

Unlikely to get done for A26

comment:3 by Neinea, 19 months ago

Owner: set to Neinea
Status: newassigned

comment:4 by Neinea, 19 months ago

Revision done here https://code.wildfiregames.com/D4802 to implement this feature.

comment:5 by phosit, 19 months ago

Patch: Phab:D4802

comment:6 by Freagarach, 16 months ago

Milestone: Alpha 27Backlog

Pushing back.

Note: See TracTickets for help on using tickets.