FFHBUG beta

There's a signature mis-match in the FFMainInterface.py (possibly in MainInterface.py too). If you hover the PlotList icon for a floating eye (or other flying unit), airCurrCombatStr() fails to match and you get a python error popup.

For now I've just removed the offending bit of code, as there are practically no examples of units with AirCombatStrength in FFH (the only one I can think of is the Chislev Rock Raven - and that's one that I added anyway).

Code:
		# strength 
		if (eUnitDomain == DomainTypes.DOMAIN_AIR):
			fCurrStrength 	= float(pUnit.airCurrCombatStr()*0.01)  #### Mismatch Here
			fMaxStrength 	= float(pUnit.airMaxCombatStr()*0.01)
		else:
			fCurrStrength 	= float(pUnit.baseCombatStr())*float(1.0-pUnit.getDamage()*0.01)
			fMaxStrength 	= float(pUnit.baseCombatStr())
 
Would that cause a problem if I were to use it with my modmod? I'm giving lots of units (all archers, all siege units except rams, and bird upgrades) air combat.
 
I'd assume it's only a problem if you're allowing python popups...
 
Sevopedia has a problem that there does not seem to be anywhere else to report. That is, there is no connection between heroes and civilizations. From Sevopedia you would not know, for instance, that Govannon is an Amurite.
 
what if the tech rate was recorded "before" you enter anarchy?
then it could be used as an approximation
 
charleswatkins: does this link appear in standard FfH Civiliopedia?
 
Pretty sure that the direct support for FfH BUG was stated to be on hiatus until FfH itself is done updating at the end of the year (or BUG decides it is a "final version" if that happens earlier by some miraculous quirk).

Main reason: PITA to keep up with 2 changing code bases. And a LOT of BUG needs to be changed to make sense with FfH. Most notably would be the expanded F1 screen. Tons of nice options, but many of them are somewhat buggy, or just nonsense with FfH's unique environment.
 
Keeping up with FfH is relatively simple, most of the time I didn't really need to make changes when a new version came out. But BUG itself is going full-tilt in a dozen directions at once, and some of those are moving away from FfH compatibility. It basically became too much work to maintain.

What would be needed is an in-depth rewrite of the whole thing, starting from FfH and its particular needs and desires.
 
i've sucessfully added some of BUG to FFH .34 by merging some of the python documents. i only really needed civ4alerts, raw yields, the new score maps, and the GP bar, so those are the ones i focused on. have yet to test the new military advisor to see if it works or not.

PLE is way too complicated for me ^^'

i kinda started it as a way to teach myself python, but it seems like i'm just doing a lot of guessing, and trial and error.
 
yeah, i have a hard time playing without it ^^'

i'm still in the process of working out some kinks in it... the mana icons in the mana bar don't show and it seems to slow down the game some, but once i get it working right i'd be happy to share it.
 
More people love BUG for FfH, and I'm also one of them! :)

Would be even more awesome still if it was joined with Unit statistics... :D
 
Alright, i know this isn't really a release-worthy version, but I needed to post the code anyway to see if someone could help me out, so here it is. I take no credit in anyway for any of the code, all I've done is patch Falc's mod up to version g of ffh2 .34.

the current stand-alone version of BUG mod is about a hundred times more complex than this one, so I've opted to use the older code since I'm still learning Python.

Bug Features that work in this release:
-Reminder
-GP Bar
-Civ4lerts
-Custom Domestic Adviser (the data may not be helpful for FFH, i haven't reallly looked into it.)
-UnitStatistics (but not the button to access it. how helpful is that?)

Bug Features to be added:
-Raw Yields
-Ruff_Hi's new graph screen

Known bugs (haha, get it?):
-no button to access unitstatistics (next on my list)

Instillation:
Since this is essentially an alpha release, I would recommend backing up your Fall From Heaven 2 034 directory some where else, in case you want to revert it back.

Afterwards, just extract the zip file into your FFH2 directory, and overwrite anything it asks you to.

Again, any feedback of any sort would be greatly appreciated!
 

Attachments

Back
Top Bottom