2025-07-18 17:03 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0005979Spring engineLuapublic2018-05-11 17:58
ReporterFloris 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionno change required 
Product Version104.0 +git 
Target VersionFixed in Version 
Summary0005979: cant replace sounds
Descriptionwhen BAR modoption is loaded, i want to replace all unit/weapon sounds to their bar equivalent. I do this in alldefs_post but by then soundid's are already set in stone?

How to acchieve this?
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0019092

Floris (reporter)

oops i guess i only need to use gamedata/sounds.lua for it to handle the replacing

~0019093

Kloot (developer)

Last edited: 2018-05-10 16:22

View 2 revisions

no id (number) is set in stone until an ingame event causes a sound to be loaded for the first time.

I suspect your BAR sounds are named identically to the BA defaults and you forgot to add the proper path prefix to your sounds subtable entries.

~0019094

Floris (reporter)

sounds.lua cant read modoptions, but now loads bar stuff regardless.

its working
+Notes

-Issue History
Date Modified Username Field Change
2018-05-10 14:52 Floris New Issue
2018-05-10 16:20 Floris Note Added: 0019092
2018-05-10 16:21 Kloot Note Added: 0019093
2018-05-10 16:22 Kloot Note Edited: 0019093 View Revisions
2018-05-11 00:28 Floris Note Added: 0019094
2018-05-11 17:58 Kloot Status new => resolved
2018-05-11 17:58 Kloot Resolution open => no change required
+Issue History