Jump to content

Need help creating override compatible file


Recommended Posts

So I've been digging around, fiddling with files. I can do everything just fine on my end, altering my game's files, however I want to be able to publish my changes. 

 

I can read the code passably enough to edit my existing gamedata files to do what I want (IE removing disposition penalties for paladins). I can find and edit the gamedata just fine, I'm struggling with redistribution and turning my changes into a mod belonging to the override folder. 

 

I'm trying to reverse engineer some of the other override mods, but I don't think I'm having a lot of success. I could upload an edited core gamedata file (and see these on the nexus), but IDK if that's exactly legal and it doesnt allow multi-mod compatibility. 

 

I've attached the attempt at a gamedatabundle file for the mod, I've tried to give it the correct JSON format using Notepad ++, but it's clearly not right, and neither a new or old paladin has their penalties removed. I expect I didn't format everything correctly and there's glaring and obvious holes in what I'm trying to do. 

 

If anyone has the time to help me out, I'd be greatly appreciative! 

 

EDIT: Can't upload gamedata, zip, or rar files here. Github isn't noob friendly at all. Unsure where to post the file. 

Edited by JESUSSSAYSNO
Link to comment
Share on other sites

An override gamedatabundle should look something like this:

{
  "GameDataObjects": [
    {
      "$type": "Game.GameData.TYPE_HERE, Assembly-CSharp",
      "DebugName": "DEBUG_NAME_HERE",
      "ID": "ID-GUID-HERE",
      "Components": [
        ...
      ]
    },
    {
      "$type": "Game.GameData.TYPE_HERE, Assembly-CSharp",
      "DebugName": "DEBUG_NAME_OF_ANOTHER_THING",
      "ID": "ID-GUID-OF-ANOTHER-THING",
      "Components": [
        ...
      ]
    }
  ]
}
  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...