daid / daid/EmptyEpsilon

[REQUEST] Allow music selection via scripting

Open
#806 0 comments 0 reactions 0 assignees View on GitHub

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_estimate changes on the first player ship
  • default music to be stopped on the first player ship
  • example.ogg is 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.