mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-28 12:40:28 +00:00
cleanup
This commit is contained in:
parent
5982de7e7d
commit
430e61a401
@ -1,10 +1,4 @@
|
|||||||
using QSB.Utility;
|
using UnityEngine;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace QSB.Audio
|
namespace QSB.Audio
|
||||||
{
|
{
|
||||||
@ -12,7 +6,6 @@ namespace QSB.Audio
|
|||||||
{
|
{
|
||||||
public static QSBPlayerAudioController InitRemote(Transform playerBody)
|
public static QSBPlayerAudioController InitRemote(Transform playerBody)
|
||||||
{
|
{
|
||||||
DebugLog.DebugWrite($"InitRemote {playerBody.name}");
|
|
||||||
var REMOTE_Audio_Player = new GameObject("REMOTE_Audio_Player");
|
var REMOTE_Audio_Player = new GameObject("REMOTE_Audio_Player");
|
||||||
REMOTE_Audio_Player.transform.parent = playerBody;
|
REMOTE_Audio_Player.transform.parent = playerBody;
|
||||||
REMOTE_Audio_Player.transform.localPosition = Vector3.zero;
|
REMOTE_Audio_Player.transform.localPosition = Vector3.zero;
|
||||||
|
@ -1,11 +1,4 @@
|
|||||||
using System;
|
namespace QSB.Audio
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace QSB.Audio
|
|
||||||
{
|
{
|
||||||
internal class QSBJetpackThrusterAudio : QSBThrusterAudio
|
internal class QSBJetpackThrusterAudio : QSBThrusterAudio
|
||||||
{
|
{
|
||||||
|
@ -1,32 +1,14 @@
|
|||||||
using QSB.Utility;
|
using UnityEngine;
|
||||||
using System;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace QSB.Audio
|
namespace QSB.Audio
|
||||||
{
|
{
|
||||||
public class QSBPlayerAudioController : MonoBehaviour
|
public class QSBPlayerAudioController : MonoBehaviour
|
||||||
{
|
{
|
||||||
//public OWAudioSource _oneShotSource;
|
|
||||||
public OWAudioSource _oneShotExternalSource;
|
public OWAudioSource _oneShotExternalSource;
|
||||||
//public OWAudioSource _mapTrackSource;
|
|
||||||
public OWAudioSource _repairToolSource;
|
public OWAudioSource _repairToolSource;
|
||||||
//public OWAudioSource _translatorSource;
|
|
||||||
//public OWAudioSource _damageAudioSource;
|
|
||||||
//public OWAudioSource _damageAudioSourceExternal;
|
|
||||||
//public OWAudioSource _notificationAudio;
|
|
||||||
//public OWAudioSource _fluidVolumeSource;
|
|
||||||
//public OWAudioSource _forceVolumeAudio;
|
|
||||||
//public OWAudioSource _oxygenLeakSource;
|
|
||||||
//public OWAudioSource _recorderLoopSource;
|
|
||||||
//public NomaiTextRevealAudioController[] _nomaiTextAudioControllers;
|
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
{
|
{
|
||||||
DebugLog.DebugWrite($"START");
|
|
||||||
_oneShotExternalSource = CreateBaseAudio(transform, "OneShotAudio_PlayerExternal", false, 0, 1, AudioType.None, OWAudioMixer.TrackName.Player_External, false);
|
_oneShotExternalSource = CreateBaseAudio(transform, "OneShotAudio_PlayerExternal", false, 0, 1, AudioType.None, OWAudioMixer.TrackName.Player_External, false);
|
||||||
_repairToolSource = CreateBaseAudio(transform, "RepairToolAudio", true, 128, 0.5f, AudioType.None, OWAudioMixer.TrackName.Player_External, false);
|
_repairToolSource = CreateBaseAudio(transform, "RepairToolAudio", true, 128, 0.5f, AudioType.None, OWAudioMixer.TrackName.Player_External, false);
|
||||||
|
|
||||||
@ -62,7 +44,6 @@ namespace QSB.Audio
|
|||||||
OWAudioMixer.TrackName track,
|
OWAudioMixer.TrackName track,
|
||||||
bool randomize)
|
bool randomize)
|
||||||
{
|
{
|
||||||
DebugLog.DebugWrite($"createBaseAudio {name}");
|
|
||||||
var go = new GameObject(name);
|
var go = new GameObject(name);
|
||||||
go.transform.parent = parent;
|
go.transform.parent = parent;
|
||||||
go.transform.localPosition = Vector3.zero;
|
go.transform.localPosition = Vector3.zero;
|
||||||
|
@ -1,9 +1,4 @@
|
|||||||
using System;
|
using UnityEngine;
|
||||||
using System.Collections.Generic;
|
|
||||||
using System.Linq;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
|
||||||
using UnityEngine;
|
|
||||||
|
|
||||||
namespace QSB.Audio
|
namespace QSB.Audio
|
||||||
{
|
{
|
||||||
|
@ -11,8 +11,6 @@ namespace QSB.Tools.ProbeLauncherTool
|
|||||||
|
|
||||||
public void RetrieveProbe(bool playEffects)
|
public void RetrieveProbe(bool playEffects)
|
||||||
{
|
{
|
||||||
DebugLog.DebugWrite($"{Player.PlayerId} retrieveProbe");
|
|
||||||
|
|
||||||
if (Effects._owAudioSource == null)
|
if (Effects._owAudioSource == null)
|
||||||
{
|
{
|
||||||
Effects._owAudioSource = Player.AudioController._repairToolSource;
|
Effects._owAudioSource = Player.AudioController._repairToolSource;
|
||||||
@ -28,7 +26,6 @@ namespace QSB.Tools.ProbeLauncherTool
|
|||||||
|
|
||||||
public void LaunchProbe()
|
public void LaunchProbe()
|
||||||
{
|
{
|
||||||
DebugLog.DebugWrite($"{Player.PlayerId} launchProbe");
|
|
||||||
PreLaunchProbeProxy.SetActive(false);
|
PreLaunchProbeProxy.SetActive(false);
|
||||||
|
|
||||||
if (Effects._owAudioSource == null)
|
if (Effects._owAudioSource == null)
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"debugMode": true,
|
"debugMode": true,
|
||||||
"drawLines": true,
|
"drawLines": false,
|
||||||
"showQuantumVisibilityObjects": false,
|
"showQuantumVisibilityObjects": false,
|
||||||
"showQuantumDebugBoxes": false,
|
"showQuantumDebugBoxes": false,
|
||||||
"avoidTimeSync": false,
|
"avoidTimeSync": false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user