Jump to content
Naval Games Community

Recommended Posts

Posted (edited)

Just thought I'd show something I threw together. All basics, but it works. Still some details to flesh out. Don't mind the insane negative fund, I got a $ error on crew 😝

For testing purposes I'm only using USA hulls and generic guns

54IoU0K.jpg

KIwdhUh.jpg

Qq4qQij.jpg

Edited by MDHansen
Posted (edited)

Well, it works. Not replacing any other major nation, just "promoting" Norway.

Now, I have two issues, and they ain't small either, though not breaking.

 

1. The flag. I just can't get it to appear. It is using the neutral minor flag with a ? inside, on map and in battle.

2. And probably somewhat connected to 1; Even if South/North Norway is set as home region, the game still treats it as colony. So initially in a new game, you have no standing army since you don't have a home population, and no crew pool. As soon as you conquer a new region you will have home population and an army, BUT, your home region is still considered colony and the new land is considered home.

EDIT: overlay colour stays in neutral colour aswell

If anyone have some ideas do let me know :D

 

Files I've edited within resources.assets :

aiAdmirals

aiPersonalities

partModels

parts

players

ports

provinces

relationMatrix

shipNames

I've also added to resources.assets

player-norway (type Material), but as far as I can tell it works fine without it

Edited by MDHansen
Posted

a somewhat related question, in terms of making a "new" nation...

is there anyway to edit / swap what ships a country uses? so...like.. Japan is using French ships?

Posted

Ok good to know it's possible!

I experimented with nations too.

There seem to be minor and medium types. My tries to make Ottoman playable ended beeing stuck in the initial loading screen.

Posted (edited)

Indeed.

There was a lot of text to tweak and add in the resource files. I do believe, however, that this is as far as I can get without some tools. There are files I can't just copy and change their names, since they have corresponding "containers" and I can't open them properly, nor make new files properly. And therein lies the problem I have with home region and flag

I got to add though that I am no experienced modder at all

Edited by MDHansen
Posted (edited)

Does the nation work in custom battle? Do you see the flag in the selector? You wrote that its not visible in most parts. This would allow at least some fun experiments there too.

Edited by Astor
Posted (edited)

totally forgot to check custom battle. Works a charm! Flag works in shipyard AND battle!

EDIT: well, just noticed the stern flag is white, but isn't that a vanilla bug?

 

XX7Pp0n.jpg

PHTQjTI.jpg

XuB3PEP.jpg

Edited by MDHansen
Posted

The placeholder flag could be maybe related to governments?

As I don't know if minor nations flag do change like major ones.

Posted

this is a valid question. I have edited the nation name, government and ruling party. but havent found a way to tie the different governments and parties to the nation, should it ever change. I was kind of assuming it would be a natural way of the game as things happens... hmm

Posted (edited)

@Bishotronyes thats possible, you can adjust the hulls for the nations. You can also add trade ship hull and Ironclads (Monitor / Virginia) to nations so you can build ships with those hulls.

Edited by Astor
  • 5 months later...
Posted (edited)

I am picking this up again. And I was hoping @Nick Thomadis could offer me an answer.

With the current tools and means we have to edit the files, is it at all possible to add a new major nation? (not replace a major, but new, like f.ex. Norway or Ottomans)

I have the same issues I had 6 months ago. I can add in a new nation as Major and it mostly works, except
1) Flag on the Map (in the resource.assets file, other majors have several "flag" entities, wich I can't add to for a minor/medium nation)
2) Home regions doesnt recognize population and armies (it is done correctly in provinces-assets)
3) Crew doesn't work, because of 2)

-I can "fix" crew through the savefile, but it won't increase. Again, because of 2

Edited by MDHansen
Posted

Well, this is exciting.

Can you force events? If you can, can you force a conquest event? Again, if you can, you can force a conquest of a home region at the beginning of the first turn and solve the pop/crew problem immediately, so long as your new major has at least two regions.

  • 6 months later...
Posted

May I ask what specific content you have edited in the files? I am also trying to add a new nation, but all I get is the result of getting stuck in the loading interface.

Posted

May I ask what specific content you have edited in the files? I am also trying to add a new nation, but all I get is the result of getting stuck in the loading screen.

Posted (edited)

@t5cy

aiAdmirals - follow the setup of the other nations
aiPersonalities - make a new personality (this strictly isnt needed as you can use one of the other majors)
partModels - either make a new set, or just use another nation (e.g. gun_16_x1_italy, newnationname)
parts - same as partModels (e.g. bb_7_bismarck,,hull,Super Battleship II,,-1,-1,2.33,1250,bismarck_hull_a,1.4,,,germany, newnationame,)
players - use the setup for the major nations when promoting the minor
provinces - add home nation to your country
relationMatrix - follow the setup in the file
shipNames - follow the setup of the other nations

Saying this. at the moment we can't add new home territory, because it is hardcoded, confirmed by Nick in my thread here 

I also highly suggest using MelonLoader and UnityExplorer when modding, as you get a live log on what's going on when you start the game.
However, there is a log in C:\Users\"name"\AppData\LocalLow\Game Labs\Ultimate Admiral Dreadnoughts\Player.txt / Player-prev.txt

Edited by MDHansen
Posted

It still doesn't work. I tried to do this test in Malaysia, and used AssetBundleExtractor to unpack and edit.

aiAdmirals.png

aipersonalities.png

partModels.png

parts.png

players.png

provinces.png

relationMatrix.png

shipnames.png

  • 2 weeks later...
Posted (edited)
On 5/14/2024 at 7:05 PM, t5cy said:

It still doesn't work. I tried to do this test in Malaysia, and used AssetBundleExtractor to unpack and edit.

...

relationMatrix.png

 

I can see your relations matrix is incomplete @t5cy. You have yo add

,0;0;0;0;0;0;            (or what ever numbers you wish to use)

after each of the rows to increase relations of your qustom nation with each other nation.

Edited by HMS Implosive

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...