Dielos
Members-
Posts
100 -
Joined
-
Last visited
Reputation
2 NeutralProfile Information
-
About me
Rocketry Enthusiast
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
[1.8.1] ETT - Engineering Tech Tree - May 4, 2020
Dielos replied to Probus's topic in KSP1 Mod Releases
Hello, I have been out of the game for almost three years and coming back now, so I might very well doing something very wrong. I'm trying to install this techtree, but when I select the techtree at the beginning of the game, I'm still presented with the one I had before, CTT. I have tried removing all the ModuleManager files from gamedata and uninstalling CTT, but I couldn't solve it yet. Is there any step I'm missing, or a conflict somewhere? Thanks! [EDIT]: Please forget about this. CKAN wasn't uninstalling CTT correctly. Manually removing it solved the issue!!!- 1,028 replies
-
- tech tree
- engineering
-
(and 1 more)
Tagged with:
-
[0.90] KSP Interstellar port maintance thread
Dielos replied to Boris-Barboris's topic in KSP1 Mod Development
Oh ok... Thanks... You're fixing this faster than I can type! I'll test this now. [EDIT]: Ok. Confirming that your fix works. I can finish the contract now. Thanks a bunch! -
[0.90] KSP Interstellar port maintance thread
Dielos replied to Boris-Barboris's topic in KSP1 Mod Development
Well, that was a fast answer... Thanks. I'm going to reinstall the last KSPI version with your bug fixes from this thread and confirm if it still happens there. And by the way, thanks for your hard work on getting this mod to work again! [EDIT]: Even updated OP already! You really are putting time on this! -
[0.90] KSP Interstellar port maintance thread
Dielos replied to Boris-Barboris's topic in KSP1 Mod Development
Hello. I have read here that seismic reader is having some problems. For me though it's working well. It registers impacts correctly and I can retrieve the data and get the science for it. Where it fails however is with the contracts. I have taken a Seismic Survey Contract and it does not register when I collect data, whether on impact or data collection. Is there any way I can fulfill this contract with the modified seismic reader? By the way, I'm not using the last update on this thread. My installation is from before this thread, although I did use the updated dll's found on the original mod thread. If it's a known problem and has been fixed in these releases, would updating have the need to relaunch the craft that are already on the field? Thanks for any help! -
Spain, Europe. Although I'm in Mexico City now on business. Just a couple of blocks away from Squad. Seriously thinking of knocking on their door to ask how the update is doing...
-
Thanks a lot Diazo, This is just what I need. I will study your code and see how to implement it. Hope you don't mind if I use some lines of code from your mod though! I'm just starting to mod, and I'm still a bit lost... For the GUI I have been using the KSP example on the wiki and trying to expand on it, so I might have to redo some bits. By the way, your code looks incredibly clean, you should see mine. I only have a couple of lines and I can't find anything in it already...
-
Hello, I have GUI set up, but I need to have a scrolling text log for it where I can input messages, similar to the debug log. At the moment I'm doing this through a label, as found in the Unity documentation, but it adds new lines through expanding the string, and I forsee problems here... scrollPosition = GUILayout.BeginScrollView(scrollPosition, GUILayout.Width(300), GUILayout.Height(300)); GUILayout.Label(longString); if (GUILayout.Button("Clear")) longString = ""; GUILayout.EndScrollView(); if (GUILayout.Button("Add More Text")) longString += "\nHere is another line"; Is there a way I could achieve this? Basically I need longstring to input a new line every time with a new string, and not expand it... I guess that label is not the way to go for this. Could a text box be better, although I don't need the player to write anything in it?
-
Play Sound without Part
Dielos replied to Dielos's topic in KSP1 C# Plugin Development Help and Support
xEvilReeperx, your code failed in my last attempt because I missed a line while integrating it into my plugin. I guess it was too late... Your code works now as expected. Thank you very much!!! -
Play Sound without Part
Dielos replied to Dielos's topic in KSP1 C# Plugin Development Help and Support
Ok, that seems simple... Thanks xEvilReeperx, but I still get the NullReferenceException everytime I use anything with audio it seems... And nothing else from the plugin runs after that. -
Play Sound without Part
Dielos replied to Dielos's topic in KSP1 C# Plugin Development Help and Support
Hi blizzy, no it's not. Just to be sure, I have this in front: if (!GameDatabase.Instance.ExistsAudioClip(SoundFile_OnLaunch)) { Debug.LogError("KerbalComms: Audio file not found: " + SoundFile_OnLaunch); return; } I even renamed my sound file to check that the error is displayed correctly... [EDIT]: Ok, just in case I'm forgetting something very basic, this is the code I have. It's mostly ripped off examples or other posts, as I'm still too new to this. The sound file is from Chatterer, for testing purposes. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; [KSPAddon(KSPAddon.Startup.Flight, false)] public class KerbalComms : MonoBehaviour { public string SoundFile_OnLaunch = "KerbalComms/Sounds/capcom_01"; public FXGroup SoundGroup = null; public void Awake() { } public void Start() { print("KerbalComms: Plugin started correctly!!"); GameEvents.onLaunch.Add(OnLaunch); } private void OnLaunch(EventReport eventReport) { print("KerbalComms: Aaaaaand... LIFTOFF !!! (OnLaunch)"); ScreenMessages.PostScreenMessage("Aaaaaand... LIFTOFF !!!", 5.0f, ScreenMessageStyle.UPPER_CENTER); if (!GameDatabase.Instance.ExistsAudioClip(SoundFile_OnLaunch)) { Debug.LogError("KerbalComms: Audio file not found: " + SoundFile_OnLaunch); return; } SoundGroup.audio = gameObject.AddComponent<AudioSource>(); SoundGroup.audio.clip = GameDatabase.Instance.GetAudioClip(SoundFile_OnLaunch); SoundGroup.audio.Play(); SoundGroup.audio.loop = false; } } -
Play Sound without Part
Dielos replied to Dielos's topic in KSP1 C# Plugin Development Help and Support
Thanks lo-fi. I'm very new in KSP modding, sorry. Do I have to create that module somewhere else too? Does it work like a dummy part? I guess it's not as easy as copying that line inside my Start()... The log says it can't find the part module. I'm trying to play the sound with this: SoundGroup.audio = gameObject.AddComponent<AudioSource>(); SoundGroup.audio.clip = GameDatabase.Instance.GetAudioClip(SoundFile_OnLaunch); SoundGroup.audio.Play(); But I get the following: NullReferenceException: Object reference not set to an instance of an object I guess setting an FXGroup is only good for a part... [EDIT]: By the way, I found this discussion between Blizzy and Athlonic, but I think I didn't understand how to implement it: http://forum.kerbalspaceprogram.com/threads/53305-Playing-sound-on-AudioSource-correctly-%28solved%29?highlight=play+sound -
Hi, I'm trying to play a sound from a file on certain events during flight, like launch, or decoupling. All examples I have found, seem to be using parts to play the sounds, and even Chatterer seems to use a dummy part. Is there any way I could play a sound file without the need of parts? The class I'm using is MonoBehaviour, and GameDatabase.Instance.ExistsAudioClip() finds the file correctly, and I can see it in the database too.
-
Mod-Oriented Tech Tree (Aug 3, v0.3.3 bug fixes)
Dielos replied to cvod's topic in KSP1 Mod Development
I would really try this. I'm running around 80 mods in x32, and using only 2,2 - 2,5 RAM. It's magical! And without the bugs from x64... http://forum.kerbalspaceprogram.com/threads/84203-Less-memory-usage-by-using-OpenGL It might solve all your problems, although there are some who experience some trouble. Read through the above thread... -
Hello Ackander, Are you considering updating this tree to adapt to new mods, and maybe remove non-updated ones? This is the tree I enjoyed the most back in 0.23, but I have the feeling that it's going to have too many empty nodes if leaving many of the mods that haven't been updated out. Maybe a light version could be done also, that supports the most common and updated mods and leaves landers (I like to build landers myself...) out? That might also solve the problems you're having with science. I found this tree to be the best balanced, fun, and rewarding to play, and I would love to jump back into it!
-
[1.0.X]Engineering Based Tech Tree (with flight first option)
Dielos replied to Probus's topic in KSP1 Mod Development
How many nodes does your tree have? I think treeloader chokes around 75 or 76. By the way, is B9 updated yet? I haven't installed this one yet because of this.