-
Posts
27 -
Joined
-
Last visited
Reputation
0 NeutralProfile Information
-
About me
Rocketeer
-
Update #3 Gathered art assets, concept art and sound files/FX Retouched the GUI to be more efficiant and 'clean' added ability to choose the colour of the Ion's beam Listen to Sound Effects here:
-
Not sure exactly, but I did see some API stuff on the wiki, you would have to make a plugin if you want to disable it automatically. or disable it manually on your ship. Alternatively, you could not have the module on the part itself, instead use the plugin to attach the module type when it meets certain conditions (like being active, or landed) Read over these for a bit; http://wiki.kerbalspaceprogram.com/wiki/API:ConfigNode & http://wiki.kerbalspaceprogram.com/wiki/API:Part Reference: http://wiki.kerbalspaceprogram.com/wiki/Community_API_Documentation
-
so, I have a question that I can't find on the wiki tutorials. anyone know how to make a ship rotate using the modules like SAS? or even better specify a custom reaction wheel and make that give torque? it needs to find the cannon module, and find its downward vector and align that towards the target, then update the difference in current angle/target angle and return that as a variable. something like what Mechjeb does.
-
Holy WOW, I would have never gotten that by myself. finding resources is one thing but how can you know something without knowing what you're looking for in the first place? Reeper, you have my thanks. I spent the last 3 hours fiddling with it and learning what it does (just need to apply the skin, technical reasons but when I used "GUI.skin" it actually made my GUI invisible) Here is it in action! LINK
-
@Parameciumkid I totally agree that the parts need an overhaul, not so much that it should be deleted, but sorted. what is lacking subcatagories. Squad have the system ready to go but haven't implimented it. they need to be organized into solid fuels, tanks, jets, etc etc. as its at a point where its a mess of items and 5 main tabs aren't enough.
-
DropPod working Files: If someone is keen on coding something, this could use some love. IonStorm_DropPod Download (WIP) (once we have this working I'll do a better quality model and texture) Ideally the module should be able to be entered through EVA and IVA, and contain no usable resources until activated. once activated (requires a kerbal inside) you would have 15 mono and 35 energy to manipulate the escape pod. The escape pod needs to detach from its coupling and jet off/away for half a second at a downward 45 degree angle. When it enters atmosphere when a parachute would normally take effect, the Drop Pods should open its break flaps to help slow it down. and a tricky part would actually having the capsule 'imbed' itself in the terrain, could probably be faked. by simply overwriting the modules position relative to the planet and just set its new transform slightly into the ground and freezing it in place.
-
Day 2 Started the foundations for the orbital drop pods/escape capsules. might have to make a script.dll to trick these things to work as the part.cfg seems really limited for this. The idea is that once a kerbal is in it, you activate it and it jets off and you can use the limited RCS to angle/steer it. you can't attach items to the pod, but you should be able to move kerbals too it, currently you have to go EVA and so far the kerbals refuse to enter it. More investigating required. I'm also having trouble getting the texture for them to work, but its not a high priority. DropPod DropPod Spider and Got more of the GUI developed, built a modular window that toggles, just need to make it only appear when that specific module has at least 1 kerbil inside... not sure how yet. I also killed Jeb in parts testing. that's like dividing by 0
-
Just curious, but how did you manage to get that mic button down at the bottom? I'm thinking of minimizing my GUI like that and have it sit next to yours. Thanks in advance!
-
Fixed second Concept and changed it. as for the project; I need to find how to.... Tell the ship to auto rotate using modules so the cannon aims at the current target when told too. Tell the game to destroy/delete Ships/parts/junk/asteroids in space after a time limit. Find all ship parts/junk/asteroids that are within range, I'm talking within 5AU How to detect how many modules of a certain type/name are on the ship (need to count all Ion accelerators are attached and add them together to calculate the targeting distance and accuracy) how to list available targets in a select-able list In-game Progress on GUI LINK Estimated scale: LINK
-
Day 1 Downloaded and installed Mono Development generic now know as Xamarin (I shall miss mono dev) Downloaded partGen 3.1 for KSP to get modules started Created Base Script in C# following these tutorials: Created Custom Fuel to the Ion Generator Started working on ideal 3D proportions Failed to find KSP GUI calls to create the GUI I need Created Forum Post
-
This is a relaunch of my Ion Cannon Mod from way back in .1x-something I'll document all my progress in this thread like a blog. A disclaimer that I am an amateur coder, not new to coding but never learned advanced cool stuff. Project; Company: Ion Storm Industries Premise: Ion Storm has developed a powerful Orbital Defense Satellite that generates Ionized Antimatter before projecting it using Near Speed of Light (Sol) acceleration Concepts Concept1 Concept2 Modules; (Functional) Ion Command Small - Small control pod, holds 1 Kerbal Ion Command Large - Large control Center, holds 8 Kerbal Ion Generator - Module Generate custom Fuel 'Ion Charge' and heat from electricity Ion Coolant Pump - Module that saps heat from Connected Module (Ion Generator) Ion Barrel A - Main Cannon, used for aligning to target and fire effects. Ion Barrel B - Main Cannon, used for aligning to target and fire effects. Ion Barrel C - Main Cannon, used for aligning to target and fire effects. Ion Accel Magnet - Increases Range/accuracy at the cost of overheating and energy cost to fire. Ion Reaction Wheel - Super large structure, used to rotate the whole station effectively creating its own gravity field rotate. Ion Shielded Solar Panel A - Large long Solar panel, curved to focus light and is more effective then standard panels Ion Shielded Solar Panel A - Large short Solar panel, curved to focus light and is more effective then standard panels Ion Solar Curtain - A massive stationary solar array that deploys into a curtain like structure, high surface area, very fragile. (Structure) Ion Wings A Ion Wings B Ion Structure A Ion Structure B Statistics: (May change depending on feedback) Generate a singe shot requires 125k Energy Requires 32k Energy to fire Ion Solar Panels (18e*10n)+35q = 243e
-
Not sure, but I remember reading about them being Private variables, but you could use Unity code to hack it if KSP doesn't have any nodes or w/e their called My guess would be that the Kerbals when EVA don't share their resource information apart from when you hover the mouse over them. In other news I think I'm trying to tackle a problem that's a bit big for an noob like me to tackle. I realized I want a list of targets for my plugin, looking at the scripts prior but can't figure out how I would use it. Ideally I would have buttons or a roll-out and a search feature that would list targets in a select-able list... but that's insane, I wouldn't even know where to start. I believe a enum list would be a start, then a target button to tell the ship to target that, then an align button to tell the ship to align enum Mode {Mode1, Mode2, Mode3} var mode : Mode;
-
Welp, Decided to give MonoDevelop now known as Xamarin a go as my main Program. After following the Wiki and the tutorial basic tutorial I get some errors. Error CS0103: The name 'RenderManager' does not exist in the current context (CS0103) Error CS0103: The name 'Highlogic' does not exist in the current context (CS0103) using System; using System.Collections.Generic; using System.Linq; using System.Text; using UnityEngine; namespace IonStormCommand { public class IonStormCommand : PartModule { private Rect _windowPosition = new Rect(); private GUIStyle _windowStyle, _labelStyle; private bool _initStyles = false; public override void OnStart(StartState state) { if (state != StartState.Editor) { if (!_initStyles) InitStyles(); RenderManager.AddToPostDrawQueue (0, OnDraw); } } private void OnDraw() { if (this.vessel == FlightGlobals.ActiveVessel) _windowPosition = GUILayout.Window(10, _windowPosition, OnWindow, "This is the Title", _windowStyle); } private void OnWindow(int windowID) { GUILayout.BeginHorizontal(); GUILayout.Label("this is a label", _labelStyle); GUILayout.EndHorizontal(); GUI.DragWindow(); } private void InitStyles() { _windowStyle = new GUIStyle(Highlogic.Skin.window); _windowStyle.fixedWidth = 250f; _labelStyle = new GUIStyle(Highlogic.Skin.label); _labelStyle.stretchWidth = true; _initStyles = true; } } } I must be doing something obvious wrong.
-
Hey guys, Just skimmed through the forums and thought I might ask for some advice. I'm interested in relaunching my Ion Cannon mod now with the new mod/plugin section (it's been a while) I'd like to move past or ignore the old 'overheating' method and simply destroy the target that's more then 2.5km away (asteroids too?) What I'd like to know is if there's code to delete objects in space, and how to check that the ship has direct line of sight. I'm not a skilled coder, so tutorials or code snippets would be great. If you'd like to collab, my skype is digi_byte