Just a quick question. id love to have that relaxing music while docked on one of my cap ships. how would one enable that as it always shuts off when I dock. combat music works so im guessing its possible just need ot tweek a 0 to a 1 somewhere?
thanks
Balog
Can you get music while docked on ships
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
doubt its just flipping a switch, but more like adding/defining music for interiors, didnt look into this topic in detail yet though..
EDIT: just compared a few files.. might be possible with this diff file:
and use this diff file for all files following this naming:
assets\interiors\rooms\macros\interiors_rooms_dockingbay_*
didnt test if it works, but it is a beginning
[/code]
EDIT: just compared a few files.. might be possible with this diff file:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<diff>
<add sel="//properties">
<sounds>
<music ref="music_cluster_a" />
</sounds>
</add>
</diff>
assets\interiors\rooms\macros\interiors_rooms_dockingbay_*
didnt test if it works, but it is a beginning

if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help

-
- Posts: 773
- Joined: Thu, 18. Dec 03, 09:00
-
- Posts: 419
- Joined: Wed, 11. Dec 13, 02:39
Maybe something like this could work:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<mdscript name="DockMusic" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="md.xsd">
<cues>
<cue name="PlayerDocked" instantiate="true">
<conditions>
<event_object_docked object="player.primaryship"/>
</conditions>
<actions>
<play_music music="'name_of_music'" lockscenemusic="true" lockfightmusic="true" />
</actions>
</cue>
<cue name="PlayerUndocked" instantiate="true">
<conditions>
<event_object_undocked object="player.primaryship"/>
</conditions>
<actions>
<stop_music />
</actions>
</cue>
</cues>
</mdscript>
-
- Posts: 5280
- Joined: Mon, 3. May 10, 14:39
-
- Posts: 773
- Joined: Thu, 18. Dec 03, 09:00
-
- Posts: 773
- Joined: Thu, 18. Dec 03, 09:00