Added Specialist has no functionality in Main City Interface

draco963

Prince
Joined
Jan 26, 2007
Messages
451
Location
Earth
OK, so I'm trying to add a Soldier Specialist. I know, I know, it's been done before. But the only stand-alone Soldier I could find was Snaitf's from 2005. So, I'm trying to add one of my own, since that's really all I want.

So, I've got him added in the XML, that was simple enough. But I can't get him into the Python. The Soldier icon shows, but has no funcationality, so hovering the mouse over him gets no popup, and there are no +/- buttons beside him (yes, I added Soldiers to a few buildings, it's not that! :crazyeye:)

Weirdly enough, without any Python changes, he does have functionality in the F1 screen, where you get the quick overview of each of your cities. And the Civilopedia works as well, even the popup.

So, I know it's a Python issue. But, trying to port over just the relevant (changed) bits of Snaitf's CvMainInterface.py has only one immediately discernable effect: Now my Spy's have no hovering text or buttons either! yeesh...

Any ideas? Thanks in advance?
 
It's been a while so i might remember incorrectly, but i think the problem was that the panel for specialists in the city screen was to small for additional specialists... (There is no visual separation, but the screen is cut in multipme "sub-windows" - panels - more or less one for each element...)
So newly added specialists would be outside the panels clickable area and since have no controlls.

You might need to enlarge the specialst panel. This will of course make the ressource panel smaller, so you will end up needing to make them scroll-able. But since i am not 100% sure as i said - it might be better to leave scrolling for now and just try enlarge the panel first.
 
Ah! Thanks Refar! This is why when I have seen other mods that add more than one new Specialist (all of them pre-BtS if memory serves, actually...) they were all in a second row... So I'll have to find Specialist Stacker and work it in too I guess... Anybody know of a BtS update for that one?

EDIT: Actually, I found one, and it's damn good too. All hail Johnny_Smith!! :lol: :goodjob:
 
Back
Top Bottom