[REQUEST] Allow music selection via scripting
Open
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 869
- Forks
- 222
- Avg merge
- 18h 33m
- Merged PRs (30d)
- 1
Description
Pinning an idea from @k9lego's discord; what would be required to allow script-triggered music selection?
For example, say I want to disable threat estimates and manually trigger music in a scenario. So I'd write:
player = getPlayerShip(-1)
maestro = getMusicControl()
maestro:disableThreatEstimate(player)
maestro:stopMusic(player)
... things happen ...
maestro:playMusic(player, 'music/ambient/example.ogg')
and that would cause
- music to not respond to
threat_estimatechanges on the first player ship - default music to be stopped on the first player ship
example.oggis played on the first player ship- normal music behavior on the rest of the player ships
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are identified. Start by locating the scripting API and the existing music-control and threat-estimate behavior; the work is done when scripts can independently disable threat estimates, stop default music, play a selected track, and leave other player ships unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- game-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100