Support | News | Classic | F.A.Q. | Discord | Discussions | Wiki | Roadmap

Walt OK, got it.

I got a new problem which shouldn't be: FirstCrewJobPriority (see end of page)
Solved

Lafiel OverrideIn = <Effects/particles.txt>

You're overriding the particles file, not the priorities file.

Also, I'm working to reduce the number of annoying ../../../ path references in part files to make them easier to mod. Should have improvements in the next version sometime today.

Walt Argh. Didn't see that.
My will my new path edits until now still work?

Lafiel Also, just FYI, you don't actually have to put the priorities in the priorities.txt file. I just did that because I like seeing all the priorities in one place. If it's easier for you, in your mod you can simply do:

FirstCrewJobPriority = 100

Or you can make your own priorities file and reference that.

Lafiel My will my new path edits until now still work?

Yes, those should still work fine since I'm not actually moving the priorities.txt file, I'm just providing another way to access that file without having to use a directory path.

Walt Cool.

Froze again. This time the log doesn't help.

Halfling.ObjectText.OTNavigateException: Unable to find node at path "<Effects/priorities.txt>".
Halfling.ObjectText.OTNode.FindAtPath(String path) in C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\ObjectText\OTNode.cs:line 254.
Cosmoteer.Mods.ModOverridesAction.ApplyAction(OTFile rulesFile) in C:\Users\Walt\Documents\Code\Cosmoteer\Source\Mods\ModOverridesAction.cs:line 21.
Cosmoteer.Mods.ModInfo.ApplyMod(OTFile rulesFile) in C:\Users\Walt\Documents\Code\Cosmoteer\Source\Mods\ModInfo.cs:line 43.
Cosmoteer.Assets.ApplyMods(OTFile rulesFile) in C:\Users\Walt\Documents\Code\Cosmoteer\Source\Assets.cs:line 256.
Cosmoteer.Assets.LoaderThread() in C:\Users\Walt\Documents\Code\Cosmoteer\Source\Assets.cs:line 231.

Lafiel Unable to find node at path "<Effects/priorities.txt>".

The priorities.txt file is in Ships/Terran, not Effects. I think you've been starting at your code for too long. 😉

Walt HUH!?
I see it under Data!!!

Lafiel The priorities file is at <Ships/Terran/priorities.txt>. Is it possible you accidentally moved the file?

Walt Alright fixed. I think I need a break.

Lafiel I know how you feel! 😉

2 months later

Is there supposed to be an example mod for rooms?

Stormageddon01 Is there supposed to be an example mod for rooms?

Check out the Abh Mod, which has just been updated to work with 0.12.x.

Walt

this mod looks like star trek : )

    4 days later

    Walt How do you add ammo? if it's possible.

      5 days later

      Kontra How do you add ammo?

      i have wondered the same thing and tried lots of things to add my own custom ammo, but it keeps giving me these errors: Halfling.Serialization.DeserializeException: Deserialization from source "<C:\Program Files\Cosmoteer\Data\rules.txt>" failed. ---> System.Reflection.TargetInvocationException: The purpose of a call has caused an exception. ---> Halfling.Serialization.DeserializeException: Unable to find source for non-optional field "ID" in source "<C:\Program Files\Cosmoteer\Mods\sky_mod\sky_uranium\uranium.txt>/Ammo".

        ketrab2004 Please start a new topic.

          @Walt I wanted to make a mod but i didnt know how so i went to the wiki that you made and i didnt know how to edit the mod.txt file so iwent to the main modding page but then every other link from there just didnt show any content, are you sure you even finished them? Also i would like the wiki guide to be a little less complicated so if you can change that, it would be awesome.

          Deactivated-Account The Wiki is not done, sorry. It's just not a high priority right now.