Jump to content

catgirltech

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by catgirltech

  1. is there anything that could potentially break that? i've had it setup as a [KSPField(guiActive = true, guiName="Max Resource Types")] and it doesn't load the value from the config file. i've tried having it an int and a float. i've tried grabbing it from the ConfigNode that gets passed to the OnLoad. ok. so i just made a really simple class with nothing else to test this and it worked for that one. i guess if all else fails i just have the other module load the values i need. :/ edit: it's not working anywhere for me now.... edit again: ok now it's working. i have no idea why it wasn't working before. the only real change is now isPersistant = true.... but i'm sure i tried that before. ah well. thank you for your help. :3
  2. how do i access a field from the part.cfg? i want to be able to use the same module for several parts and have the part.cfg contain some values for them. part.cfg PART { // ... MODULE { name = MyPartModel mySpecialValue = 50; } // ... } so far i've found nothing that makes any sense what so ever. all i can find are partial examples of IConfigNode classes and i can't even follow how that's supposed to get loaded or where? and nothing i've done with the [KSPField] has done anything (other than saving data in the persistent file and displaying gui stuff on the context menu) is there a simple example of loading a value from the config file into the PartModule? this just seems like it should be such a basic thing but i can't find anything but people asking how to do it and no real examples.
  3. i've been playing ksp for the last few months. i'm currently working on my first mod. it's going to be a fuel/resource manager that will be perfect for refueling stations in orbit. you just add all your tanks to the resource manager and then you can use it to transfer resource in and out of your docked vessels. :3 i have some other ideas for mods i want to work on.
  4. hi. i'm working on a resource manager module. is there a way to add a resource display to the part's guiActive bubble? i have the module setup so you can add parts from the vessel to a list and select which resource types you want to manage. i want to have it display the resources it manages. (ideally i want to have it do resource transfers like any other two parts. but one step at a time.)
×
×
  • Create New...