PDA

View Full Version : Adding new factions in VI



Stavka
05-20-2003, 01:28
Reply to a thread in the Dungeon


Quote[/b] ]Grell, did you make any changes to any of the unit stats in the Prod 11 files? I am curious because in the VIKINGS txt file you can declare (point to) the prod files that startpos will use.But in the early,high,late txts you do not have that option so if you make changes to the units in the original prod 11 files you might need to do it in the vikikngs prod 11 file also if it reads both files (a guess on my part) and theres a diffrence in the units stats between the prod files that might cause the crash, now mind you this is just a speculation on my part, but it cant hurt to check into it.



The unit and building prod-files are declarable also in the early, high and late files. And location of map-textures and such. It's just that the original files don't include the comments... I think that all the startpos-files are treated the same way (it wouldn't make sense otherwise), so what's declarable in one of them is also declarable in all.

The Early, High, and Late campaigns are actually completely separate, but they all point to the same unit and prod files and maps and so on. So there's no need to edit all of them for for an Early-based campaign.

This way it's much easier to use mods and still have the original files untouched. All relevant files can have different names from the originals. Except for the files in loc\Eng, it seems.

Also, I have been able to do custom battles with all units from new factions. It was after editing the file d.txt in battle\FacShield\Hires. I noticed that all the included units already worked fine, so I just added new ones and after that they worked too. But still it doesn't seem to work in campaign mode.

Gregoshi
05-20-2003, 03:33
Hello Stavka. Thanks for joining us and thanks for your contribution. I've copied your reply into the topic in the Dungeon.

Stavka
05-20-2003, 16:51
Hello Gregoshi, and thanks Here's another reply to that thread:


Quote[/b] ]I admit I haven't assigned Hires and Lores shields for my new factions but why would that make a difference to someone like Kerns, for example? They don't come under that bracket, do they?

I don't bother with the shields themselves, I just edited the d.txt file in the Hires direcotry. The file's just a list of unit names. And for whatever reason, units that I added to that list worked fine for me in custom battles with new factions. I have no clue whatsoever why this works. Tried and tested it a few times now. Unit not in list does not work until added. Really strange, I know...

vortex
05-20-2003, 18:11
thanks, stavka, this should be helpful for me (and hopefully some others too http://www.totalwar.org/forum/non-cgi/emoticons/smile.gif )

Gregoshi
05-21-2003, 03:09
Done.

Stavka
05-23-2003, 09:41
Thanks kind moderator, here's a new one:


Quote[/b] ]The FacShield entires are not the problem as I have added in new faccheilds (both hi res and low res for the new faction I was testing) and as The Blind King of Bohemia pointed out Kerns dont even use facshields and crash.

Also to answer the Pagan question, in the Early campaign you can do what I did set the CULTURE to Orthodox (or Cath) and the RELIGION to Paga and it works fine, they dont have to be the same. PAGAN culture in the normal campaigns is the Mongols. I have also had catholic culture faction with heretic religion (I was doing an Algibesian crusdae mod but abadoned it).

Still no answer/fix to the weird unit Battle crash??

I am playing the new factions but resorting to selecting auto calculate battle when they are involced in a battle with me (I will release a final version of my mod when (if?) this problemn is sortred)

Just tried adding 12 factions to the Viking startpos file, bringing the total number of factions to 20 (all MAJOR, don't know if it matters). Everything worked fine, campaign battles perfectly... no problems.
So, I added another one, a 21st faction... start up the campaign with them, attack random province, battle starts loading... but crashes, just like when adding a 21st faction to the medieval campaigns.

The game does not simply seem to be able to handle a 21st faction in battles.


About the d.txt: I'm fully aware that most units don't have these shields, and that this file shouldn't matter at all. Don't know if your custom battles work with new factions already, but for me it did not work with units not added to the d.txt. Of this I'm 100% sure. Or perhaps it's completely random and they happened to work after adding them. Not very likely, but I'll test it some more.

And I must repeat: I did not add shields or anything else, I ONLY added unit names in that file. Nothing else.

Gregoshi
05-23-2003, 18:30
Done again. We gotta get you a set of keys to the Dungeon. http://www.totalwar.org/forum/non-cgi/emoticons/joker.gif