Mod-Modders Guide to Fall Further

Setting the <bUnique> tag on his unitclass, and adding him to the Bannor civilization info like I showed, will make him only buildable by the Bannor.

But doesn't this mean I'd have to copy the entire Bannor entry from the civilizationinfos?

That would overwrite any future additions to that, wouldn't it?
 
Yes, but the only alternative is copying every OTHER civilization's entry, and putting in
Code:
<Unit>
	<UnitClassType>UNITCLASS_SABATHIEL</UnitClassType>
	<UnitType>NONE</UnitType>
</Unit>

It's not a file that is changed too often, so if you just use winmerge to compare it with each patch you should be fine... Eventually you may have to make a change, but I don't see the Bannor gaining any tile yields, and they already have a civ trait, so it should be fine.
 
Yes, but the only alternative is copying every OTHER civilization's entry, and putting in
Code:
<Unit>
	<UnitClassType>UNITCLASS_SABATHIEL</UnitClassType>
	<UnitType>NONE</UnitType>
</Unit>

It's not a file that is changed too often, so if you just use winmerge to compare it with each patch you should be fine... Eventually you may have to make a change, but I don't see the Bannor gaining any tile yields, and they already have a civ trait, so it should be fine.

But they'll be gaining new UUs.
Cleric UU is slated for the next patch. And Iceciro is working on bannor, so possibly more UU in future.

I guess I'll have to do a little maintaining, if this is the only way.
 
Ok, I thought I was done, but it refuses to work.
I get xml errors in unitinfos and unitclassinfos. It just says failed to load xml.
Also, it tells me UNITCLASS_SABATHIEL is incorrect, in the unitinfos.

I've attached my progress so far. Could someone have a look at the aforementioned files, and tell me why it won't work?
 

Attachments

Yes, modular loading is definitely on, or I wouldn't even get errors.
The errors indicate it's trying to be read, and failing for some reason.

Edit: To note, I was testing in Fall Flat, but the only difference there as far as this is concerned, is the addition of the cleric UU to bannor. Remove that if testing in another version/modmod/thing
 
Last edited:
Hmm. For the text to show correctly, change sabathiel_CIV4GameText_FFH2 to sabathiel_CIV4GameText. Other than that, I get no errors while loading. In game, however, is rather odd. When clicking on the pedia, the background becomes black, and the unit art for Sabathiel cannot be manipulated... Maybe something to do with his artwork?

Edit: Huh. Even after deleting the module, my pedia background stays black.....
 
Last edited:
The errors were not there before starting the game with the module, they are there after. Can't be completely sure though... Trying to reinstall, but the downloads database is down and of course I don't have the FfH installer. :lol:

Edit: Error APPEARS to be gone after reinstalling BTS, but I still can't grab FfH.
 
Are you running any modmods, or significant changes, that might cause differing results?

For the Art, I just copied the seraph's artdefine, and increased the scale a bit.
 
;-;

But whyyyyy
all I did was some minor xml editing

And we haven't even figured out why it loaded at all for you, and not me.
Don't suppose anyone else could give it a try.

Edit: Hooray, I made it work, by deleting all other modules in my folder. Perhaps something was conflicting with it.

Not seeing any graphical issues like you described
 
Last edited:
Ok, everything is working cool now. I will have to find out what the conflict was, though.

As to your graphical issue, I think I know that. I get it all the time. Like every half hour or so while playing. I also get the same issue in a ton of other games. I suspect it's a video card thing.

Just saving the game and then reloading, fixes it. It's pretty simple.
 
Your issues may have been due to the button. I was using his popup image, and I got a MAF when I clicked it in the city screen, and an error about image dimensions,

I was about to make a better icon. Turns out that would have been silly. There already is one.

in the unpak-ed pak0.fpk , Art/interface/LeaderHeads/Sabathiel button.dds

apparently there's a ready made button version of every leaderhead, so I just linked to that, and it works perfectly.

Now, the next thing I wanted to do, is give him a unique sword. Like a Good version of War. Lowers the AC as he kills stuff. I have all the necessary xml for that, but what else do I need to do for an equipment promo? Am I going to have to make a unit for it to appear in game? What about the spells to take/drop it. Do those have to be made too?
 
You need to make the promotion, a unit, a unitclass for the unit, and several spells... One to take it, one to drop it. So long as you copy existing equipment info, it should work.

Edit: And I completely missed that button, but I should've known it was there... I've used those same buttons on the Wiki. :lol:
 
Back
Top Bottom