Jump to content

linuxgurugamer

Bug Hunter
  • Posts

    24,896
  • Joined

  • Last visited

Everything posted by linuxgurugamer

  1. Is it possible to have an array or list of information stored as a persistent field in the game file? I know I can do strings, ints, etc. I'd like to avoid having to convert an array of ints to a string and then decode it back when the game loads.
  2. I have more to learn, but: I added the IVesselAutoRename to my PartModule class, and it seemed to work: public class PersistentDynamicPodNames: PartModule, IVesselAutoRename Still a bit concerned that it might be called multiple times for the same ship, especially if the ship has multiple command pods in the inactive section, but testing will show me what happens. Any additional pointers would help @sarbian, but thanks "No." Ummm, "Yes", thanks to @sarbian and some research
  3. Funny you should say that, that is exactly what I'm writing: Persistent Dynamic Pod Names. Unfortunately, the game still appends the craft type to the name after staging, but only to the staged parts which are not active. My test case is the following stack: Top part: MK1 Command Pod Middle part: MK1-2 Command Pod Bottom: PPD-12 Cupola Each separated from the other by a stack separator. Set the staging to go from bottom to stop, then launch the ship. Stage everything, then look at the ship names. The bottom one will have "Lander" appended, the other two will have "Ship" appended @sarbian I saw that, but don't know enough about c# to understand it properly. Right now my code inherits PartModule, if I also inherit the IVesselAutoRename, and implement the "GetVesselName", will that override stock? I'll do some digging, but if you could point me to an example, that would help. Thanks
  4. Subject says it. When staging, the parts which become the non-active vessel seem to get renamed, with a suffix which indicates the type of vessel (ie: Ship, etc). Is there any easy way to prevent this from happening? Thanks
  5. Bill Watterson said it best: 'Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.'
  6. I need your log file so I can see what other mods you are using. There must be an incompatibility with one or more of the muds
  7. I don't understand,what's the problem? is it that it is horizontal? If so, please make sure you are running the latest version
  8. They land on sand, but aren't reusable.
  9. parachutes are heavy. Desert is sandy. Imagine sand in a rocket engine? Also, in order to land in a desert, would require launching over land, something no one really wants to do
  10. Sorry, I haven't had time to look at this yet. I'll see if I can put some time in this week
  11. The update is being worked on, read the last 2 pages of the thread
  12. You take it to the CKAN thread. Or post an NetKan issue report. There is a link in the OP of the CKAN thread. To complicate matters @RoverDudedoes do his own NetKAN. I have already be directed to raise an Issue with him. Although I honestly think in this case it is not a problem with sounding rockets. Without any help from Module Manager. The mods in Gamedata go through alphabetically I think. USI mods come in later in the default load order. So a past error in Surface Experiments. Was a typo that was breaking our ScienceDefs which broke any that loaded afterwards. That typo has been fixed now. So that leaves a NetKAN bot picking Surface Science Experiments automatically from Spacedock and doing the indexing. With that last change 7 days ago. Therefore take it to the CKAN people. If the bot needs to learn both mods are now compatible. I don't know what you are smoking, but you are wrong. I suppose you are thinking that anything uploaded to Spacedock can automatically have a netkan created. That's true, but many times it's not correct, and besides, it doesn't include any dependencies, suggestions or anything else. If a mod has an unusual layout, it needs to be custom designed. RoverDude does not like CKAN, and he doesn't do his own, they are handwritten by the CKAN people. Anytime a .netkan has "depends", "recommends", "suggests", "filter" or anyone of a number of other special keywords, it is a handwritten .netkan and, if there is a conflict with another mod, will sometimes need updating by the author. I'm speaking as a mod author who has helped other people with their .netkan files as well as all of my own mods; Spacedock cannot handle my mods. For a not-so-simple example, take a look at KWRocketryRedux. There are actually 3 .netkan files used: KWRocketryRedux.netkan KWRocketryRedux-GraduatedPwr.netkan KWRocketryRedux-InstantPwr.netkan and any KWRedux install actually needs two of them; the requirements and dependencies are handled inside the hand-written files Since SoundingRockets was written by Roverdude, and he doesn't support CKAN, it is appropriate to contact the CKAN people about that particular mod
  13. I've sent @Ezriilc a new dll to test for a beta, fixes the exploding on eve issue @Ezriilc The first file I sent you was wrong, please use the second.
  14. Ok, so, if there are multiple parts with the module, will the OnSave get called sequentially (ie: first module, then second module, etc), or do I need to worry about possible race conditions (ie: multiple modules running the onSave at the same time)
  15. looks like it's written in Applesoft
  16. thank you. So if you don't intercept the call, how do you make CraftHistory work?
  17. Oh, I don't want to depend on CraftHistory. I just need to update a module in all the command pods with current data ok. If that's not available, then how can I detect anytime a command pod is added to the craft?
  18. I have a need to be able to call a function when a craftfile save is done. This function needs to be called before the file is saved so that some data values can be updated. Since I don't see the new code on Github yet, can you tell me how to do this? Thanks in advance LGG
  19. Well, since I'm already adding a module to every command pod, I'm just going to add this data field to each one and then add code to keep all the command-pods up-to-date in regards to this field. Not too happy about it, but seems that there is no other easy way to do this. Can you show me how to do that? I'd like to be able to have a function called whenever a save of a craft file is done, haven't yet figured out how to do that. Thanks
×
×
  • Create New...