How do I change the map of SoD v4.1 - SOLVED

Users who are viewing this thread

Thelvyn

Recruit
How do I change the map of SoD v4.1

SOLVED


Answer to this is on Page 2. 5th post down by Thelvyn. Or lower if folks ask for more explination on it.


I messaged Mordachai about this, but he said he did not have much expierence with maps, and suggested I ask Jik and the others on the mod makers forum as they are very helpful and experienced.
So... here I am.


The Sword of Domacles 4.1 uses the vanilla Native map. I've spent a little over a week learning Thorgrim's Map Editor and practicing with it. My practice project is basically a rework of the original Caladria map. I've become quite fond of my reworking of the map, and thought I would throw it into my SoD module to replace the vanilla one.
(I know you have to start a new game when you replace the map files or your character will be unable to move/interact on the map. That isn't the issue here.)

Once I swapped out map files, I loaded into SoD and when I started a new game the map loaded, but all the cities, towns, and castles were out of whack. Just about every single one was one of the 4 different faction colors. Like Reyvadin was White and said (Neutral), but the 3 towns connected to it were Green, Blue, and Purple.
This is true for the entire map.
Towns have lords in them but don't show anything except a flag above it, I'm unable to enter the cities, gives you the choice of leave or fight the peasants. And all the faction holdings are just messed up everywhere. Looks like a rainbow exploded across the map on the Castles/Towns.

So, if anyone knows why my map doesn't seem to work with SoD, and would be kind enough to explain what's wrong and or possibly help me with a solution, that would be wonderful.

I love the SoD module, but the vanilla map is just... blah.
If I could use my own modified Caladria map, that would be great.

I thought of "releasing" my reworked Caladria map but decided against it. I'm sure no one would care that yet another person reworked the original map into something more attractive haha.

-Thel
 
To me it sounds like you're having trouble with your parties.txt.

Do you know how to use the module?
If so, you could try to manually set the positions (X,Y) in parties.py

Then compile the module and use the new parties.txt.
This way you can also see what will happen with the parties, and they will not get screwed up.

This is just a thought and it should work in theory. But I'm sure someone else will have a better solution. This is one, I guess.

Hope it helps.
 
NaglFaar said:
To me it sounds like you're having trouble with your parties.txt.

Do you know how to use the module?
If so, you could try to manually set the positions (X,Y) in parties.py

Then compile the module and use the new parties.txt.
This way you can also see what will happen with the parties, and they will not get screwed up.

This is just a thought and it should work in theory. But I'm sure someone else will have a better solution. This is one, I guess.

Hope it helps.

Well it's weird.
It works if I load my vanilla Native Module, but for some reason SoD does not like my map. That's what lead me to think that it was something with SoD rather than my parties file.
As far as I've been able to discover though. SoD is using a vanilla map.
Maybe they've changed/added something in parties I've overlooked *shrug*

While waiting for assistance from you skilled folks, I'll pretend like I have even a slight clue as to what I'm doing.

-Thel
 
Thelvyn said:
NaglFaar said:
To me it sounds like you're having trouble with your parties.txt.

Do you know how to use the module?
If so, you could try to manually set the positions (X,Y) in parties.py

Then compile the module and use the new parties.txt.
This way you can also see what will happen with the parties, and they will not get screwed up.

This is just a thought and it should work in theory. But I'm sure someone else will have a better solution. This is one, I guess.

Hope it helps.

Well it's weird.
It works if I load my vanilla Native Module, but for some reason SoD does not like my map. That's what lead me to think that it was something with SoD rather than my parties file.
As far as I've been able to discover though. SoD is using a vanilla map.
Maybe they've changed/added something in parties I've overlooked *shrug*

While waiting for assistance from you skilled folks, I'll pretend like I have even a slight clue as to what I'm doing.

-Thel

I just finished a 3rd go through the module_parties.py file manually setting each village, castle, and city. Which by the way was a huge pain in the arse haha.

Same result each time.
Any other thoughts?
 
This happened to me once. And Marnid was ruler of the commoners' Rivacheg, and Tihr was ruled by Khergits and so on...
I deleted the mod files. Good that I haven't begun the real work for my module...
 
You know. I made a Scandinavian map using their module once. (By mistake)
And it worked fine. I don't see why this happens. Something is missing.

When you find out what it is, please post the solution for others to read.
 
First off, the most basic of questions:

Did you start a new saved game?

After that, you have to understand that the Module System and the unofficial editors work at different levels.  The editors change values on the TXT files.  This would overwrite things set in the MS.  Also know that running a compile with the MS will overwrite town/castle/village locations that were created with the map editor.  It's difficult to get the 2 to work together.

If you were to compile the parties.py file it would overwrite the locations you set on the map. 

The point is they do things in different ways, that are not easily combined.  I recreated a map for what I wanted in my mod, but I did not place the parties/party_templates in the map editor.  Instead, I wrote down the locations, and I edited that in the MS.  This way, every time I compile the MS, it will not affect the parties locations, because that's where it's set.

(didn't know my name was becoming a M&B household name... :wink: )
 
jik said:
(didn't know my name was becoming a M&B household name... :wink: )

Of course it is. If I've written the updated ModuleSystem tutorial and helped tons of people, my name was going to become household too. htp://forums.taleworlds.com/index.php/topic,63638.0.html - Instead, I made the (Almost) Invisble posts tutorial.
Note: one of the "t"'s in http is deleted so the post is invisible
 
jik said:
First off, the most basic of questions:

Did you start a new saved game?

After that, you have to understand that the Module System and the unofficial editors work at different levels.  The editors change values on the TXT files.  This would overwrite things set in the MS.  Also know that running a compile with the MS will overwrite town/castle/village locations that were created with the map editor.  It's difficult to get the 2 to work together.

If you were to compile the parties.py file it would overwrite the locations you set on the map. 

The point is they do things in different ways, that are not easily combined.  I recreated a map for what I wanted in my mod, but I did not place the parties/party_templates in the map editor.  Instead, I wrote down the locations, and I edited that in the MS.  This way, every time I compile the MS, it will not affect the parties locations, because that's where it's set.

(didn't know my name was becoming a M&B household name... :wink: )

Yes, new game started each time I try and test it.
I also went into Map editor and wrote down the X,Y of everything then opened module_parties.py and put it all in manually.

I know that build_module overwrites the module folder it's building into. Thus anything in that folder like my parties.txt file.

 
hmmm...  Got me stumped right now...  New savegame, ran the build_module.bat.  That should work.  One last (silly) question.  You are compiling the SoD Modules right?  and you are pointing it to the right module folder?

I re-created my map and I have the parties.py file manage my town locations.  it all is working for me.  Then again, I started from scratch with this.  Could be that something in the SoD mod is messing things up?
 
jik said:
hmmm...  Got me stumped right now...  New savegame, ran the build_module.bat.  That should work.  One last (silly) question.  You are compiling the SoD Modules right?  and you are pointing it to the right module folder?

I re-created my map and I have the parties.py file manage my town locations.  it all is working for me.  Then again, I started from scratch with this.  Could be that something in the SoD mod is messing things up?

No, I'm not compliing the SoD module. I don't have the module files just the SoD 4.1 release. I'm simply trying to replace the vanilla map SoD uses with my own reoworked Caladria map.
It has to be something in the SoD parties file that is not vanilla. I'll have to read every single line and try to make my parties match it.

if I had the module_parties.py file for SoD I prolly wouldn't have this issue haha. But you don't exactly hand out your module files due to jerks that would steal it and give it a different name and release their "new" mod.
 
Thelvyn said:
jik said:
hmmm...  Got me stumped right now...  New savegame, ran the build_module.bat.  That should work.  One last (silly) question.  You are compiling the SoD Modules right?  and you are pointing it to the right module folder?

I re-created my map and I have the parties.py file manage my town locations.  it all is working for me.  Then again, I started from scratch with this.  Could be that something in the SoD mod is messing things up?

No, I'm not compliing the SoD module. I don't have the module files just the SoD 4.1 release. I'm simply trying to replace the vanilla map SoD uses with my own reoworked Caladria map.
It has to be something in the SoD parties file that is not vanilla. I'll have to read every single line and try to make my parties match it.

if I had the module_parties.py file for SoD I prolly wouldn't have this issue haha. But you don't exactly hand out your module files due to jerks that would steal it and give it a different name and release their "new" mod.

There's your problem.  You need to compile the SoD Modules to have it updated the parties.txt file.  Mount & Blade doesn't read the module system files at all (the module_*.py files).

Also, not all feel that way about releasing codes and modules.  BUT, some will hold on to it until they release their full mod.

That all aside, if you use the map editor, and save it, it should be updating the parties.txt file.  Nothing else should be touching it after, so I don't see why you are having issues.  Strange...  I'll have to think about this more, but I don't see where the problem is occurring.
 
jik said:
Thelvyn said:
jik said:
hmmm...  Got me stumped right now...  New savegame, ran the build_module.bat.  That should work.  One last (silly) question.  You are compiling the SoD Modules right?  and you are pointing it to the right module folder?

I re-created my map and I have the parties.py file manage my town locations.  it all is working for me.  Then again, I started from scratch with this.  Could be that something in the SoD mod is messing things up?

No, I'm not compliing the SoD module. I don't have the module files just the SoD 4.1 release. I'm simply trying to replace the vanilla map SoD uses with my own reoworked Caladria map.
It has to be something in the SoD parties file that is not vanilla. I'll have to read every single line and try to make my parties match it.

if I had the module_parties.py file for SoD I prolly wouldn't have this issue haha. But you don't exactly hand out your module files due to jerks that would steal it and give it a different name and release their "new" mod.

There's your problem.  You need to compile the SoD Modules to have it updated the parties.txt file.  Mount & Blade doesn't read the module system files at all (the module_*.py files).

Also, not all feel that way about releasing codes and modules.  BUT, some will hold on to it until they release their full mod.

That all aside, if you use the map editor, and save it, it should be updating the parties.txt file.  Nothing else should be touching it after, so I don't see why you are having issues.  Strange...  I'll have to think about this more, but I don't see where the problem is occurring.

Did SoD release their module files?

I have just been swapping out my parties.txt with theirs and that's where the issue arises. They've changed some things in theirs I'm pretty sure. But since I do not have access to the SoD Module python files, there isn't a whole heck of a lot I can do to change that.

If I replace their map.txt with my map.txt from the Editor. It goes in fine. Just, of course, none of the towns are relocated where they are in my map. That's all handled by the parties.txt file.

When I change parties.txt files that's when the map goes bonkers and every town and castle is owned by a different faction and the cities are neutral haha.

I'll just have to sit down and read the parties.txt file I guess and hope that I can mimic the parties file without the module_parties file from SoD..

Unless they've released the module files, and then which case I can just use their module_parties.py file and put in the X,Y there and that should solve it.
 
It might help if you take a screenshot of your map, so we can see what is going on. What have you moved? Did you only move towns? Did you move everything around? Could you have unknowingly mix-matched different faction villages? Have you tried manually changing town names in the parties.txt and copying only the coordinate information from your parties.txt, or have you just been copying full lines of text?
 
Septa Scarabae said:
Could you have unknowingly mix-matched different faction villages?

This one, you should be careful with. Very careful.
I once ended up with the rhodoks owning half of the nord kingdom.

-EDIT-

NaglFaar said:
I hope this is what you are looking for.



Rhodok

Jelkala  - serindar - Dirigense
Veluca  - Emer - Ruldi - Chaeza - Fedner- Ilvia
Yalen    - Reveran - Glunmar - Chelez - Epeshe - Veidar
Almerra    Castle - Sarimish
Maras      Castle - Pagundur
Ergellon  Castle - Buvran
Ibdeles    Castle - Ibdeles
Etrosq    Castle - Dumar
Culmarr    Castle - Istinar
Grunwalder Castle - Saren
Jamiche    Castle - Jamiche


Kherghit Khante

Ichamur  - Amashke
Malayurg  Castle - Tash Kulun
Sungetche  Castle - Tismirr
Asugan    Castle - Peshmi
Tulga    - Dugan - Dirigh Aban
Halmar  - Dusturil - Zagush
Tulbuk    Castle - Tulbuk
Uhuun      Castle - Uhuun
Unuzdaq    Castle - Kedelke
Distar    Castle - Bulugur
Narra    - Ada Kulum - Dashbigba

Swadia

Praven  - Yaragar - Burglen - Tosdhar
Uxhal    - Amere - Tshibtin
Tevarin    Castle - Iyindah
Haringoth  Castle - Tahlberl
Derchios  Castle - Ibran
Vyincourd  Castle - Rduna
Rindyar    Castle - Chide
Dhirim  - Nemeja - Azgad - Ushkuru - Balanli
Kelredan  Castle - Nomar
Ryibelet  Castle - Ryibelet
Suno    - Yalibe - Elberl - Ruluns
Reindi    Castle - Emirin
Senuzgda  Castle - Ehlerdahl

Nords

Sargoth  - Kulum - Fearishen - Kwynn
Thir    - Odasan - Fenada - Buillin - Gisim
Wercheg  - Udiniad - Jayek
Alburq    Castle - Ruvar
Knudarr    Castle - Vayejeg
Tehlrog    Castle - Ambean
Hrus      Castle - Rizi
Chalbek    Castle - Aldelen
Curin      Castle - Haen
Jelbegi    Castle - Jelbegi

Vaegir

Reyvadin - Sumbuja - Rebache - Ayyike
Rivacheg - Mazen - Shapeshte
Tiblaut    Castle - Mechin
Jeribe    Castle - Tadasmesh
Bulugha    Castle - Fisdnar
Dramug    Castle - Vezin
Yruma      Castle - Karindi
Slezkh    Castle - Slezkh
Nelag      Castle - Hanun
Ismirala  Castle - Ismirala
Curaw    - Shulus - Bazeck - Uslum
Khudan  - Bhulaban - Ulburban
Radoghir  Castle - Tebandra

Use this when moving parties.
I just remembered it.

Hope it helps.
 
Septa Scarabae said:
It might help if you take a screenshot of your map, so we can see what is going on. What have you moved? Did you only move towns? Did you move everything around? Could you have unknowingly mix-matched different faction villages? Have you tried manually changing town names in the parties.txt and copying only the coordinate information from your parties.txt, or have you just been copying full lines of text?

The town names are unchanged, just their locations are changed. I only change the cords.
The villages/castles aren't mixed and matched as I have a written list I made of each factions holdings and I spent hours making sure I had the correct factions with the correct factions... If that makes sense haha.


I'll screen shot the map to show you the rainbow effect as I call it:
Wonky Map ErrorScreenshot

 
I don't have much experience with "tweaking" this game.  I don't think you can just take a TXT file from one mod and drop it into another.  Well, I guess you can, but there may be references in other files that can cause unknown issues.  What I would do is use the Map editor on the SoD map file.  When you make changes it will put these changes into both the map and parties TXT files.  Make sure that you back up the TXT files before doing this.  That should work.
 
jik said:
I don't have much experience with "tweaking" this game.  I don't think you can just take a TXT file from one mod and drop it into another.  Well, I guess you can, but there may be references in other files that can cause unknown issues.  What I would do is use the Map editor on the SoD map file.  When you make changes it will put these changes into both the map and parties TXT files.  Make sure that you back up the TXT files before doing this.  That should work.

I spoke with Vonmistont in PMs, and he gave me a few things to try. Only now that I've done them the game crashes when I try to start a new game, haha.

My parties.txt file and the SoD parties.txt file are identical in every way except for the cordinates for the towns/cities/castles.

That still hasn't worked, so it looks like I will just have to toss out all my hard work on my map and attempt to redo it on the SoD map.
I just wanted to try and avoid that option so my work was a big waste. Well I guess it wasn't a waste really, it's how I learned to make maps haha.
I guess I can throw my Caladria remake up for anyone that wants it though *shrug*

I'm going to wait to see if Vonmistont, or anyone on this thread,  has any more ideas to try before I throw in the towel though.
 
I finally managed to get it to work correctly.

After a great deal of help from Vonmistont, I was able to get my custom Caladria map working with SoD.
We tried altering the crap out of my modified parties.txt file that went with my map.txt file.

The easiest(And I say that very loosely) way to get your own map into SoD is to write down the X/Y cordinates of all the towns/cities/castles and basically put them into the SoD parties file in place of the ones SoD already uses.

So:
Thelvyn's Module:
Code:
 1 37 37 p_town_1 Sargoth 4219916 0 0 3 0 0 0 0 0 -0.841408 87.395103 -0.841408 87.395103 -0.841408 87.395103 0.0 0 
1.107061

I take this:
Code:
-0.841408 87.395103 -0.841408 87.395103 -0.841408 87.395103 0.0 0

Find the corresponding town in SoD which is...
SoD File:
Code:
 1 37 37 p_town_1 Sargoth 4219916 0 0 3 0 0 0 0 0 -1.550000 66.450000 -1.550000 66.450000 -1.550000 66.450000 0.0 0 
2.967060

and paste my cords over the SoD default cords. So I end up with:
Code:
 1 37 37 p_town_1 Sargoth 4219916 0 0 3 0 0 0 0 0 -0.841408 87.395103 -0.841408 87.395103 -0.841408 87.395103 0.0 0
---
Thelvyn's Module = My map.txt and parties.txt file that I had reworked form the original Caladria map. Not a real mod, but I needed a separate folder to keep it in so I didn't accidentally mess up my Native.
This explanation is for my ease of typing the solution that I got to work.

---

I had to do this to every single entry in the parties file. Well, almost all of them. It can be difficult to find certain things in SoD because some of the orders of the villages/cities listed in parties.txt have been changed. They're somehow lower down in the list. I just used Ctrl-F to find each entry.


Hmm... I fail at explanations...
If anyone wants to take a crack at explaining this better, haha. I'll answer questions though if anyone else wants to play on a non vanilla map for SoD. It wasn't to hard once I figured it out, it just takes some time to alter every entry in the parties.txt.



A huge thanks to Jik and Vonmistont for the assistance.
Also NaglFaar for finding me that list of each factions holdings. I had written them down in my notepad, but had no copy on my PC, now I do.
 
Back
Top Bottom